# `DevState`

digraph inheritance5ef42db713 { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "DevState" [URL="#taurus.core.tango.DevState",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="This is the taurus.core.tango equivalent to PyTango.DevState."]; "IntEnum" -> "DevState" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Enum" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Create a collection of name/value pairs."]; "IntEnum" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Enum where members are also (and must be) ints"]; "ReprEnum" -> "IntEnum" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ReprEnum" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Only changes the repr(), leaving str() and format() to the mixed-in type."]; "Enum" -> "ReprEnum" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

class DevState(*values)

  This 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

  Import from `taurus.core.tango` as:

      from taurus.core.tango import DevState

  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