operator¶
- property StopCondition.operator: OperatorBase
The comparison operator to use to check if the stop condition is valid.
The available operators are:
StopCondition.greater_thanto check if thesensorvalue is greater than thethresholdvalue,StopCondition.greater_than_or_equal_toto check if thesensorvalue is greater than or equal to thethresholdvalue,StopCondition.equal_toto check if thesensorvalue is equal to thethresholdvalue,StopCondition.less_thanto check if thesensorvalue is less than thethresholdvalue,StopCondition.less_than_or_equal_toto check if thesensorvalue is less than or equal to thethresholdvalue.
Returns¶
OperatorBaseThe comparison operator to use to check if the stop condition is valid.
Raises
TypeErrorIf
operatoris not an instance ofOperatorBase.