#!/router/bin/python # define the states in which a TRex can hold during its lifetime # TRexStatus = Enum('TRexStatus', 'Idle Starting Running') IDLE = 1 STARTING = 2 RUNNING = 3