Click or drag to resize

CFX.InformationSystem.UnitValidation Namespace

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

CFX Topic implemented by enterprise information systems (such as an MES or ERP system) capable of validating the production history and status of a production unit, and its readiness for processing.
Classes
  ClassDescription
Public classValidateUnitsRequest
Sent from a process endpoint in order to validate the identifier of the next production unit. Process endpoints, where configured, should send this request before allowing the next unit to enter the process. Configuration must be provided to identify the endpoint that implements CFX.InformationSystem.UnitValidation Identification and is responsible to provide the response.
{
  "Validations": [
    "UnitRouteValidation",
    "UnitStatusValidation"
  ],
  "PrimaryIdentifier": "CARRIER2342",
  "Units": [
    {
      "UnitIdentifier": "CARRIER5566",
      "PositionNumber": 1,
      "PositionName": "CIRCUIT1",
      "X": 0.254,
      "Y": 0.556,
      "Rotation": 0.0,
      "FlipX": false,
      "FlipY": false
    },
    {
      "UnitIdentifier": "CARRIER5566",
      "PositionNumber": 1,
      "PositionName": "CIRCUIT2",
      "X": 6.254,
      "Y": 0.556,
      "Rotation": 90.0,
      "FlipX": false,
      "FlipY": false
    }
  ]
}
Public classValidateUnitsResponse
Sent from a process endpoint in order to validate the identifier of the next production unit. Process endpoints, where configured, should send this request before allowing the next unit to enter the process. Configuration must be provided to identify the endpoint that implements CFX.InformationSystem.UnitValidation Identification and is responsible to provide the response.
{
  "Result": {
    "Result": "Success",
    "ResultCode": 0,
    "Message": null
  },
  "PrimaryResult": {
    "UniqueIdentifier": "CARRIER5566",
    "PositionNumber": 0,
    "Result": "Passed",
    "FailureCode": 0,
    "Message": "OK"
  },
  "Results": [
    {
      "UniqueIdentifier": "CARRIER5566",
      "PositionNumber": 1,
      "Result": "Passed",
      "FailureCode": 0,
      "Message": "OK"
    },
    {
      "UniqueIdentifier": "CARRIER5566",
      "PositionNumber": 2,
      "Result": "Passed",
      "FailureCode": 0,
      "Message": "OK"
    }
  ]
}