Click or drag to resize

StationStateChanged Class

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": 2200,
  "OldStateDuration": "00:01:25",
  "NewState": 1100,
  "RelatedFault": null
}

Example 2 (State change with related fault):

{
  "OldState": 1100,
  "OldStateDuration": "00:00:25",
  "NewState": 5500,
  "RelatedFault": {
    "Cause": "MechanicalFailure",
    "Severity": "Error",
    "FaultCode": "ERROR 3943480",
    "FaultOccurrenceId": "3de0cfce-42f4-4302-982b-96dba4ec3de0",
    "Lane": null,
    "Stage": null,
    "SideLocation": "Unknown",
    "AccessType": "Unknown"
  }
}
Inheritance Hierarchy
SystemObject
  CFXCFXMessage
    CFX.ResourcePerformanceStationStateChanged

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

The StationStateChanged type exposes the following members.

Constructors
 NameDescription
Public methodStationStateChanged Default Constructor
Top
Properties
 NameDescription
Public propertyNewE58State Exposes vendor specific new state code (like 3312, for example), as its equivalent Semi E58 enumerated value. READ-ONLY HELPER PROPERTY, NOT A DATA PROPERTY. WILL NOT APPEAR IN JSON DATA.
Public propertyNewState The new state
Public propertyOldE58State Exposes vendor specific old state code (like 3312, for example) as its equivalent Semi E58 enumerated value. READ-ONLY HELPER PROPERTY, NOT A DATA PROPERTY. WILL NOT APPEAR IN JSON DATA.
Public propertyOldState An enumeration indicating the previous state prior to this state change
Public propertyOldStateDuration The amount of time spent in the previous state. Note: There may be certain circumstances where it is impossible to provide this duration (as in the case of an unexpected power faillure or other extreme events). In this case it is acceptable to report a duration of "null", which will be interpreted as "unknown" by the receiver of this event.
Public propertyRelatedFault In the case of a stoppage, information about the Fault which caused the stoppage. Otherwise null.
Top
See Also