Click or drag to resize

CFX.InformationSystem.UnitValidation Namespace

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": 50.45,
      "Y": 80.66,
      "Rotation": 0.0,
      "FlipX": false,
      "FlipY": false
    },
    {
      "UnitIdentifier": "CARRIER5566",
      "PositionNumber": 2,
      "PositionName": "CIRCUIT2",
      "X": 70.45,
      "Y": 80.66,
      "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"
  },
  "ValidationResults": [
    {
      "UniqueIdentifier": "CARRIER5566",
      "PositionNumber": 1,
      "Result": "Passed",
      "FailureCode": 0,
      "Message": "OK"
    },
    {
      "UniqueIdentifier": "CARRIER5566",
      "PositionNumber": 2,
      "Result": "Passed",
      "FailureCode": 0,
      "Message": "OK"
    }
  ]
}