public class FastRepairs extends iRacingGauge
Gauge.Type
Constructor and Description |
---|
FastRepairs(java.lang.String type,
iRacingCar car,
Track track,
IODriver IODriver) |
Modifier and Type | Method and Description |
---|---|
void |
_onDataVersionChange(State status,
int currentLap,
double sessionTime,
double lapCompletedPercent,
double trackLength) |
void |
_resetDetected() |
Data |
getCount()
Returns the number of times this gauge was used.
|
Data |
getLapsHistorical()
Returns the number of laps since the last change.
|
Data |
getMaxCount()
Returns the number of times this gauge can be changed.
|
Data |
getValueCurrent(java.lang.String UOM)
Returns the current value of the gauge.
|
Data |
getValueHistorical(java.lang.String UOM)
Returns the historical value of the gauge taken at the time it was changed.
|
Data |
setChangeFlag(boolean flag)
Sets the change flag for this gauge and all the gauges grouped with it.
|
_clearSIMCommandTimestamp, _getSIMCommandTimestamp, _getSIMCommandValue, _setSIMCommandTimestamp, getLaps, getValueCurrent
_addStateRange, _addStateRange, _addStateRange, _removeStateRange, _setCapacityIncrement, _setCapacityMaximum, _setCapacityMinimum, _setIsChangable, _setIsDirty, _setIsFixed, _setMajorIncrement, _setMaximum, _setMinimum, _setMinorIncrement, _setOnResetChange, decrementValueNext, decrementValueNext, getCapacityIncrement, getCapacityIncrement, getCapacityMaximum, getCapacityMaximum, getCapacityMaximumRaw, getCapacityMinimum, getCapacityMinimum, getCapacityMinimumRaw, getChangeFlag, getIsChangeable, getIsDirty, getIsFixed, getLapChanged, getLaps, getLaps, getMajorIncrement, getMajorIncrement, getMaximum, getMaximum, getMinimum, getMinimum, getMinorIncrement, getMinorIncrement, getMultiplier, getName, getOnResetChange, getType, getTypeName, getUOM, getValueCurrent, getValueHistorical, getValueNext, getValueNext, incrementValueNext, incrementValueNext, setChangeFlag, setValueNext, setValueNext, setValueNext, setValueNext, toString
public FastRepairs(java.lang.String type, iRacingCar car, Track track, IODriver IODriver)
public Data getValueCurrent(java.lang.String UOM)
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/ValueCurrent/(UOM)
getValueCurrent
in class iRacingGauge
UOM
- (Optional) The unit of measure to return, default to the gauges UOM.public Data setChangeFlag(boolean flag)
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/setChangeFlag/(FLAG)
setChangeFlag
in class Gauge
flag
- Y or N to change or not to changepublic Data getValueHistorical(java.lang.String UOM)
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/ValueHistorical/(UOM)
getValueHistorical
in class Gauge
UOM
- (Optional) The unit of measure to return it in, defaults to the gauges UOM.public void _resetDetected()
_resetDetected
in class iRacingGauge
public Data getLapsHistorical()
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/LapsHistorical
getLapsHistorical
in class Gauge
public void _onDataVersionChange(State status, int currentLap, double sessionTime, double lapCompletedPercent, double trackLength)
_onDataVersionChange
in class iRacingGauge
public Data getCount()
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/Count
1.2
public Data getMaxCount()
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/MaxCount
1.13
getMaxCount
in class Gauge