Click or drag to resize

SleepStateChanged Class

** 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"
}
Inheritance Hierarchy
SystemObject
  CFXCFXMessage
    CFX.ResourcePerformanceSleepStateChanged

Namespace: CFX.ResourcePerformance
Assembly: CFX (in CFX.dll) Version: 1.7.3
Syntax
public class SleepStateChanged : CFXMessage

The SleepStateChanged type exposes the following members.

Constructors
 NameDescription
Public methodSleepStateChanged Default Constructor
Top
Properties
 NameDescription
Public propertyLane The relevant production lane (if applicable)
Public propertyNewSleepState The new sleep state
Public propertyOldSleepState An enumeration indicating the previous sleep state prior to this state change
Public propertyStage The stage that has changed sleep state. If omitted then the sleep state for the whole station has been changed.
Public propertyTransitionTimeRemaining 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).
Top
See Also