update mrf stealth gauge support

git-svn-id: https://svn2.assembla.com/svn/romraider/trunk@288 38686702-15cf-42e4-a595-3071df8bf5ea
This commit is contained in:
kascade 2010-05-24 10:55:16 +00:00
parent 7542e86af3
commit f6a0fe2090
2 changed files with 9 additions and 3 deletions

View File

@ -25,6 +25,8 @@ import com.romraider.logger.external.core.ExternalDataSource;
import com.romraider.logger.external.mrf.io.MrfRunner;
import static com.romraider.logger.external.mrf.plugin.MrfSensorType.AFR;
import static com.romraider.logger.external.mrf.plugin.MrfSensorType.EGT;
import static com.romraider.logger.external.mrf.plugin.MrfSensorType.FUEL_PRESS;
import static com.romraider.logger.external.mrf.plugin.MrfSensorType.MANIFOLD_TEMP;
import static com.romraider.logger.external.mrf.plugin.MrfSensorType.MAP;
import static com.romraider.logger.external.mrf.plugin.MrfSensorType.OIL_PRESS;
import static com.romraider.logger.external.mrf.plugin.MrfSensorType.OIL_TEMP;
@ -44,9 +46,11 @@ public final class MrfDataSource implements ExternalDataSource {
{
dataItems.put(AFR, new MrfDataItem("AFR", "AFR"));
dataItems.put(MAP, new MrfDataItem("MAP", "Vacuum(inHg)/Boost(PSI)"));
dataItems.put(EGT, new MrfDataItem("EGT", "?"));
dataItems.put(OIL_TEMP, new MrfDataItem("Oil Temp", "?"));
dataItems.put(EGT, new MrfDataItem("EGT", "F"));
dataItems.put(OIL_TEMP, new MrfDataItem("Oil Temp", "F"));
dataItems.put(OIL_PRESS, new MrfDataItem("Oil Press", "PSI"));
dataItems.put(FUEL_PRESS, new MrfDataItem("Fuel Press", "PSI"));
dataItems.put(MANIFOLD_TEMP, new MrfDataItem("Manifold Temp", "F"));
}
public String getId() {

View File

@ -24,7 +24,9 @@ public enum MrfSensorType {
EGT(1),
MAP(2),
OIL_PRESS(3),
AFR(4);
AFR(4),
FUEL_PRESS(5),
MANIFOLD_TEMP(6);
private final int index;