Versions Compared

Key

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

...

Processing is conditioned by the presence of PIVOTTSPIVOT.GTIS.SpsTyp or PIVOTTSPIVOT.GTIS.DpsTyp in incoming data.

Filtering rules

R1 : Add a timestamp only to the status point received with a null timestamp (dictionary t missing or t.SecondSinceEpoch missing ort.SecondSinceEpoch is 0).

R2 : Add a timestamp to status point received following a general interrogation.

Data processing

This filter plugin expects readings to be a pivot model status points datapoints.

...

  • For single status point data type :
    • PIVOTTSPIVOT.GTIS.SpsTyp.t.SecondSinceEpoch
  • For double status point data type :
    • PIVOTTSPIVOT.GTIS.DpsTyp.t.SecondSinceEpoch

...

  • For single status point data type :
    • PIVOTTSPIVOT.GTIS.SpsTyp.t.SecondSinceEpoch is set to current gateway timestamp
    • PIVOT.GTIS.SpsTyp.t.FractionOfSecond is set the fraction of the current gateway second
    • PIVOTPIVOTTS.GTIS.TmOrg.stVal is set to "substituted"
    • PIVOTTSPIVOT.GTIS.TmValidity.stVal is set to "valid"
  • For double status point data type :
    • PIVOTTSPIVOT.GTIS.DpsTyp.t.SecondSinceEpoch = timestamp is set to current gateway timestamp
    • PIVOT.GTIS.DpsTyp.t.FractionOfSecond is set the fraction of the current gateway second
    • PIVOTPIVOTTS.GTIS.TmOrg.stVal is set to "substituted"
    • PIVOTTSPIVOT.GTIS.TmValidity.stVal is set to "valid"


If the timestamp of the gateway is unreliable then:

For single status point data type :

...

  • PIVOT.GTIS.SpsTyp.t.TimeQuality.clockFailure is set to "true"

...

  • PIVOT.GTIS.TmValidity.stVal is set to "invalid"

For double status point data type :

...

  • PIVOT.GTIS.DpsTyp.t.TimeQuality.clockFailure is set to "true"

...

  • PIVOT.GTIS.TmValidity.stVal is set to "invalid"


If the timestamp of the gateway is is not synchronized with the external UTC time then:

For single status point data type :

...

  • PIVOT.GTIS.SpsTyp.t.TimeQuality.clockNotSynchronized is set to "true"

...

  • PIVOT.GTIS.TmValidity.stVal is set to "invalid"

For double status point data type :

...

  • PIVOT.GTIS.DpsTyp.t.TimeQuality.clockNotSynchronized is set to "true"

...

  • PIVOT.GTIS.TmValidity.stVal is set to "invalid"