DevState¶

-
class
DevState[source]¶ Bases:
enum.IntEnumThis is the taurus.core.tango equivalent to PyTango.DevState. It defines the same members and uses the same numerical values internally, allowing equality comparisons with
PyTango.DevState(but not identity checks!):from taurus.core.tango import DevState as D1 from PyTango import DevState as D2 D1.OPEN == D2.OPEN # --> True D1.OPEN in (D2.ON, D2.OPEN) # --> True D1.OPEN == 3 # --> True D1.OPEN is 3 # --> False D1.OPEN is D2.OPEN # --> False
-
ALARM= 11¶
-
CLOSE= 2¶
-
DISABLE= 12¶
-
EXTRACT= 5¶
-
FAULT= 8¶
-
INIT= 9¶
-
INSERT= 4¶
-
MOVING= 6¶
-
OFF= 1¶
-
ON= 0¶
-
OPEN= 3¶
-
RUNNING= 10¶
-
STANDBY= 7¶
-
UNKNOWN= 13¶
-