Sleep |
** NOTE: ADDED in CFX 1.3 **
Sent by a process endpoint when the sleep state transitions from one state to another.Example 1 (Sleep State change to deeper sleep state):
{ "OldSleepState": "Awake", "NewSleepState": "Shallow", "TransitionTimeRemaining": null }
Example 2 (Sleep State change to shallower sleep state):
{ "OldSleepState": "Hibernate", "NewSleepState": "Awake", "Stage": { "StageSequence": 2, "StageName": "Stage 1", "StageType": "Work" }, "Lane": null, "TransitionTimeRemaining": "00:00:45" }
The SleepStateChanged type exposes the following members.
Name | Description | |
---|---|---|
![]() | SleepStateChanged | Default Constructor |
Name | Description | |
---|---|---|
![]() | Lane | The relevant production lane (if applicable) |
![]() | NewSleepState | The new sleep state |
![]() | OldSleepState | An enumeration indicating the previous sleep state prior to this state change |
![]() | Stage | The stage that has changed sleep state. If omitted then the sleep state for the whole station has been changed. |
![]() | TransitionTimeRemaining | If the new sleep state requires less wake up time than the old, this indicates that the state is in the process of being changed. Time interval can be nullable (for example if there is no time remaining). |