lewis.devices.linkam_t95.devices.states

Members

DefaultCoolState

DefaultHeatState

DefaultHoldState

DefaultInitState

DefaultStartedState

DefaultStoppedState

class lewis.devices.linkam_t95.devices.states.DefaultCoolState[source]

Bases: State

in_state(dt) None[source]

Handle in-state event.

Raised repeatedly, once per cycle, while idling in this state. Exactly one in-state event occurs per cycle for every StateMachine. This is always the last event of the cycle.

Parameters:

dt – Delta T since last cycle.

on_exit(dt) None[source]

Handle exit event. Raised once, when this state is exited.

Parameters:

dt – Delta T since last cycle.

class lewis.devices.linkam_t95.devices.states.DefaultHeatState[source]

Bases: State

in_state(dt) None[source]

Handle in-state event.

Raised repeatedly, once per cycle, while idling in this state. Exactly one in-state event occurs per cycle for every StateMachine. This is always the last event of the cycle.

Parameters:

dt – Delta T since last cycle.

class lewis.devices.linkam_t95.devices.states.DefaultHoldState[source]

Bases: State

class lewis.devices.linkam_t95.devices.states.DefaultInitState[source]

Bases: State

class lewis.devices.linkam_t95.devices.states.DefaultStartedState[source]

Bases: State

on_entry(dt) None[source]

Handle entry event. Raised once, when this state is entered.

Parameters:

dt – Delta T since last cycle.

class lewis.devices.linkam_t95.devices.states.DefaultStoppedState[source]

Bases: State

on_entry(dt) None[source]

Handle entry event. Raised once, when this state is entered.

Parameters:

dt – Delta T since last cycle.