public static class EnvironmentSensor.MaxTolerance extends EnvironmentSensor.BooleanSensor
EnvironmentSensor.AlignmentSensor, EnvironmentSensor.BooleanSensor, EnvironmentSensor.CabinSpeedSensor, EnvironmentSensor.CabinWeightSensor, EnvironmentSensor.DoorSensor, EnvironmentSensor.EmergencyHardware, EnvironmentSensor.FireSensor, EnvironmentSensor.HazardSensor, EnvironmentSensor.MaxTolerance, EnvironmentSensor.MotorSensor, EnvironmentSensor.VibrationSensor| Constructor and Description |
|---|
MaxTolerance(float maxVal,
java.lang.String units)
A dummy sensor
|
| Modifier and Type | Method and Description |
|---|---|
float |
getCurrVal() |
EnvironmentSensor.BooleanSensor |
reset()
Reset this sensor
|
java.lang.String |
toString() |
EnvironmentSensor.BooleanSensor |
trigger()
Set this sensor to display adverse conditions, represents that by placing the current value outside the max
value
|
conditionsNormal, experienceProblem, operationalpublic MaxTolerance(float maxVal,
java.lang.String units)
maxVal - maximum allowableunits - the type of units the values are stored aspublic EnvironmentSensor.BooleanSensor trigger()
trigger in class EnvironmentSensor.BooleanSensorpublic EnvironmentSensor.BooleanSensor reset()
EnvironmentSensor.BooleanSensorreset in class EnvironmentSensor.BooleanSensorpublic float getCurrVal()
public java.lang.String toString()
toString in class EnvironmentSensor.BooleanSensor