Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

R3.3 : Create a new PIVOT object for the output status point and copy to it all fields from the received input status point (convert if needed the <PivotType>  section to match the type of the output status point).

R3.4 : Set the following values on the PIVOT object based on the operation type :

  • OR:
    • PIVOT.GTIS.Identifier = Pivot ID of the output status point
    • If output is a simple point data type: PIVOT.GTIS.<PivotType>.stVal = operation result.
    • If output is a double point data type: PIVOT.GTIS.<PivotType>.stVal = "on" if operation result is 1, else "off".
    • PIVOT.GTIS.<PivotType>.q.Source = "substituted".

R4 : If any of the mandatory PIVOT fields necessary to identify or compute the operation is missing in the received reading, no output reading is generated for the operation.

...

The data read from the pivots format are :

  • PIVOT.GTIMGTIS.SpsTyp.stVal => input value in bool format [0-1]
  • PIVOT.GTIMGTIS.DpsTyp.stVal => input value in enum format ("intermediate-state" | "off" | "on" | "bad-state")

...

  • For a simple point data type :
    • PIVOT.GTIS.* = copy from input PIVOT.GITS

       

      .*

    • PIVOT.GTIS.Identifier = output status point pivot ID
    • PIVOT.GTIS.SpsTyp.* = copy from input GTIS PIVOT.GITS.<PivotType>.*
    • PIVOT.GTIS.SpsTyp.stVal = operation result
    • PIVOT.GTIS.SpsTyp.q.Source = "substituted"
  • For a double point data type :
    • PIVOT.GTIS.* = copy from input PIVOT.GITS.*
    • PIVOT.GTIS.Identifier = output status point pivot ID
    • PIVOT.GTIS.DpsTyp.* = copy from input PIVOT.GTISGITS.<PivotType> .*
    • PIVOT.GTIS.DpsTyp.stVal"on" if operation result is 1, else "off"
    • PIVOT.GTIS.DpsTyp.q.Source = "substituted"

...