Click or drag to resize

WorkCompleted Class

Sent by a process endpoint when all work has been completed at a process endpoint.

Generic example

{
  "TransactionID": "2c24590d-39c5-4039-96a5-91900cecedfa",
  "Result": "Completed",
  "PrimaryIdentifier": null,
  "HermesIdentifier": null,
  "UnitCount": 0,
  "Units": []
}

Example with PerformanceImpact empty - no performance impact

{
  "TransactionID": "2c24590d-39c5-4039-96a5-91900cecedfa",
  "Stage": {
    "StageSequence": 1,
    "StageName": "STAGE1",
    "StageType": "Work"
  },
  "Result": "Completed",
  "PerformanceImpacts": []
}

Example with PerformanceImpact

{
  "TransactionID": "2c24590d-39c5-4039-96a5-91900cecedfa",
  "Stage": {
    "StageSequence": 1,
    "StageName": "STAGE1",
    "StageType": "Work"
  },
  "Result": "Completed",
  "PerformanceImpacts": [
    {
      "Cause": "LowFeederSpeed"
    },
    {
      "Cause": "AlternativeTrackUsed"
    }
  ]
}
Inheritance Hierarchy
SystemObject
  CFXCFXMessage
    CFX.ProductionWorkCompleted

Namespace: CFX.Production
Assembly: CFX (in CFX.dll) Version: 1.7.3
Syntax
public class WorkCompleted : CFXMessage

The WorkCompleted type exposes the following members.

Constructors
 NameDescription
Public methodWorkCompleted Default constructor
Top
Properties
 NameDescription
Public propertyHermesIdentifier OPTIONAL. Only required if the actual identifiers were not available at the time that the trasnaction was started (at the time the WorkStarted message was transmitted). The Hermes BoardId of the carrier, a PCB panel or single production unit. If a single production unit is moving through the process, this would be the actual unique identifier of that individual unition unit. However, if multiple production units are moving through the process as a group (as in the case of a PCB panel, a fixture, or any sort of carrier), this would be an identifier that represents the entire group of units, such as a carrier UID, a PCB panel UID, etc. HermesIdentifier will be transfered between all machines which support Hermes. The PrimaryIdentifier is containing a barcode information. Both can be transferred.
Remarks
Espcially when the line does not support the Hermes standard in the hole line, the Hermes Identifier can be unique only in the a part of the line. The Primary Identifier can be used to correlate the parts of hermes sublines to correlate this data as well.
Public propertyPerformanceImpacts

** NOTE: ADDED in CFX 1.6 **

The total amount of productive time (in ms) that is expected to process one unit or group of units (as in the case of a carrier or panelized PCB), assuming no blocked or starved conditions at the station. This does not include any non-productive time, such as transfer, positioning, etc.
Public propertyPrimaryIdentifier OPTIONAL. Only required if the actual identifiers were not available at the time that the trasnaction was started (at the time the WorkStarted message was transmitted). The barcode, RFID, etc. that was most recently acquired by the scanner / reader. If a single production unit is moving through the process, this would be the actual unique identifier of that individual unition unit. However, if multiple production units are moving through the process as a group (as in the case of a PCB panel, a fixture, or any sort of carrier), this would be an identifier that represents the entire group of units, such as a carrier UID, a PCB panel UID, etc.
Public propertyResult An enumeration indicating the overall result of the work transaction.
Public propertyTransactionID Related Transaction ID specified previously by WorkStarted Message
Public propertyUnitCount OPTIONAL. Only required if the actual identifiers were not available at the time that the trasnaction was started (at the time the WorkStarted message was transmitted). The number of individual production units associated with this transaction. May be more than 1 in the case of a carrier or panel of multiple PCB’s.
Public propertyUnits OPTIONAL. Only required if the actual identifiers were not available at the time that the trasnaction was started (at the time the WorkStarted message was transmitted). Data that identifies each specific instance of production unit with a carrier or panel.
Top
See Also