Click or drag to resize

StationStateChanged Class

[This is preliminary documentation and is subject to change.]

Sent by a process endpoint when the production state transitions from one state to another per its state model.

Example 1 (State change with no related fault):

{
  "OldState": "IdleStarved",
  "OldStateDuration": "00:01:25",
  "NewState": "ReadyProcessingActive",
  "RelatedFault": null
}

Example 2 (State change with related fault):

{
  "OldState": "ReadyProcessingExecuting",
  "OldStateDuration": "00:00:25",
  "NewState": "UnplannedDowntime",
  "RelatedFault": {
    "Cause": "MechanicalFailure",
    "Severity": "Error",
    "FaultCode": "ERROR 3943480",
    "FaultOccurrenceId": "84c6021f-9db9-431b-aa0b-567b961ac96f",
    "Lane": null,
    "Stage": null
  }
}
Inheritance Hierarchy
SystemObject
  CFXCFXMessage
    CFX.ResourcePerformanceStationStateChanged

Namespace:  CFX.ResourcePerformance
Assembly:  CFXnet46 (in CFXnet46.dll) Version: 1.0.5
Syntax
public class StationStateChanged : CFXMessage

The StationStateChanged type exposes the following members.

Properties
  NameDescription
Public propertyNewState
The new state
Public propertyOldState
The previous state prior to this state change
Public propertyOldStateDuration
The amount of time spent in the previous state
Public propertyRelatedFault
In the case of a stoppage, information about the Fault which caused the stoppage. Otherwise null.
Top
See Also