public class TireCompound extends Tire
Gauge.Type
Constructor and Description |
---|
TireCompound(java.lang.String type,
iRacingCar car,
Track track,
IODriver IODriver) |
Modifier and Type | Method and Description |
---|---|
void |
_tireChanged(Tire tire) |
void |
_tireCurrent(Tire tire) |
Data |
setValueNext(double d,
java.lang.String UOM)
Sets the next value to be applied at the next pit stop.
|
getCount, getLapsHistorical, getMaxCount, getValueCurrent, getValueHistorical, getValueNext
_clearSIMCommandTimestamp, _getSIMCommandTimestamp, _getSIMCommandValue, _onDataVersionChange, _resetDetected, _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, getValue, getValue, getValue, getValue, getValue, getValue, getValueCurrent, getValueHistorical, getValueNext, incrementValueNext, incrementValueNext, setChangeFlag, setChangeFlag, setValueNext, setValueNext, setValueNext, toString
public TireCompound(java.lang.String type, iRacingCar car, Track track, IODriver IODriver)
public Data setValueNext(double d, java.lang.String UOM)
Gauge
Gauge._setCapacityIncrement(double,String)
.
The change flag is set to Y even if the new value and the old value are the same.
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/setValueNext/(VALUE)/(UOM)
setValueNext
in class Gauge
d
- (Optional) The value to be set. Default 0.UOM
- (Optional) The unit of measure the new measure to be set is in. Also affects return value. Default to gauge's UOM.public void _tireCurrent(Tire tire)
public void _tireChanged(Tire tire)