Skip to content

Field Device Configuration .json sample missing Point objects for extension points #103

Description

@GCoxCasey

The example 'Filed Configuration.json' file in this repo contains two extension points as shown below in JSON.
https://github.com/LucidProtocol/Lucid-Specification/blob/master/Field%20Device%20Configuration.json

"extPoint": [
    {
      "parent": 1,
      "parentType": "ai",
      "num": 1,
      "name": "pump 1.Flow Average",
      "className": "Water.Pumps.ACME 245M",
      "type": "Mean",
      "resetPeriod": 86400000,
      "resetOffset": 0,
      "reportPeriod": 900000,
      "scale": 1.0,
      "units": "litres"
    },
    {
      "parent": 1,
      "parentType": "bi",
      "num": 2,
      "name": "pump 1.Run Time",
      "className": "Water.Pumps.ACME 245M",
      "type": "Run Time",
      "resetPeriod": 86400000,
      "resetOffset": 0,
      "reportPeriod": 900000,
      "scale": 1.0,
      "state": 1,
      "units": "s"
    }
  ],

But the Point section earlier in the same file does not show entries for the two extension points:

"point": [
    {
      "parent": 1,
      "num": 1,
      "type": "ai",
      "name": "pump 1.Flow",
      "className": "Water.Pumps.Acme 245M",
      "scan": true,
      "canOverride": true,
      "logRate": 900000,
      "logOffset": 0
    },
    {
      "parent": 1,
      "num": 1,
      "type": "ao",
      "name": "pump 1.Demand",
      "className": "Water.Pumps.Acme 245M",
      "scan": true,
      "canOverride": true,
      "logRate": 900000,
      "logOffset": 0,
      "whenRestart": 2
    },
    {
      "parent": 1,
      "num": 1,
      "type": "bi",
      "name": "pump 1.Status",
      "className": "Water.Pumps.Acme 245M",
      "scan": true,
      "canOverride": true,
      "logRate": 3600000,
      "logOffset": 0
    },
    {
      "parent": 1,
      "num": 1,
      "type": "c",
      "name": "pump 1.Starts",
      "className": "Water.Pumps.Acme 245M",
      "scan": true,
      "canOverride": true,
      "logRate": 3600000,
      "logOffset": 0
    },
    {
      "parent": 2,
      "num": 1,
      "name": "pump 1.Flow Filtered",
      "className": "Water.Pumps.ACME 245M",
      "type": "ai",
      "units": "litres",
      "canOverride": true,
      "scanRate": 900000,
      "scanOffset": 0,
      "calcCode": [
        34,
        31,
        10, 0, 1,
        120,
        1, 2
      ]
    },
    {
      "parent": 2,
      "num": 2,
      "name": "pump 1.Status point quality",
      "className": "Water.Pumps.ACME 245M",
      "type": "bi",
      "canOverride": false,
      "calcOnChange": true,
      "calcCode": [
        11, 1, 1, 1
      ]
    }
  ],

We would expect two extra Point entries with type "x" for the two extension points.
"num": 1, "type": "x",
"num": 2, "type": "x",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions