...
The content under <Root> will convert the HNZ data objet to a pivot object as follow:
Key | Type | Default Value | HNZ.command_object.<...> | Note | Mandatory (of co field) |
---|---|---|---|---|---|
<Root>.ComingFrom | String | "hnzip" | NO | ||
<Root>.Identifier | String | co_type + co_addr | exchanged_data.datapoints.pivot_id | YES | |
<Root>.<type> | {CDC} | co_type | SpcTyp (TC) | DpcTyp (TC) | IncTyp (TVC) | YES | |
<Root>.SpcTyp.ctlVal | Boolean | co_value | [0..1] | YES (if TC Simple) | |
<Root>.DpcTyp.ctlVal | String | co_value | off | on | YES (if TC Double) | |
<Root>.IncTyp.ctlVal | Int | co_value | Int 32 | YES (if TVC) |
Filter rules
CENTER => (ASDU) IEC104 NORTH => (IEC104 DP) IEC104TOPIVOT =>(PIVOT DP) PIVOTTOHNZ => (HNZ DP) HNZ SOUTH=> (ASDU) STATION
...
Rules 1 : GTIC pivot object is converted to a TC HNZ object
Rules 2 :
<Root>.<type>.q.Validity | <Root>.<type>.q.DetailQuality.oldData | <Root>.<type>.t.TimeQuality.clockNotSynchronized | <Root>.TmValidity.stVal | do_ts_c | do_ts_s | do_valid | do_outdated | do_ts_iv |
---|---|---|---|---|---|---|---|---|
good | <undefined> | <undefined> | good | 0 | 0 | 0 | 0 | 0 |
good | <undefined> | <undefined> | invalid | 0 | 0 | 0 | 0 | 1 |
good | <undefined> | <undefined> | questionnable | 0 | 0 | 0 | 0 | 1 |
good | <undefined> | true | good | 0 | 1 | 0 | 0 | 0 |
good | <undefined> | true | invalid | 0 | 1 | 0 | 0 | 1 |
good | <undefined> | true | questionnable | 0 | 1 | 0 | 0 | 1 |
good | true | true | good | 1 | 1 | 0 | 1 | 0 |
good | true | true | invalid | 1 | 1 | 0 | 1 | 1 |
good | true | true | questionnable | 1 | 1 | 0 | 1 | 1 |
good | true | <undefined> | good | 1 | 0 | 0 | 1 | 0 |
good | true | <undefined> | invalid | 1 | 0 | 0 | 1 | 1 |
good | true | <undefined> | questionnable | 1 | 0 | 0 | 1 | 1 |
questionnable | true | <undefined> | good | 1 | 1 | 0 | 1 | 0 |
questionnable | true | <undefined> | invalid | 1 | 1 | 0 | 1 | 1 |
questionnable | true | <undefined> | questionnable | 1 | 1 | 0 | 1 | 1 |
invalid | true | <undefined> | good | 1 | 1 | 1 | 1 | 0 |
invalid | true | <undefined> | invalid | 1 | 1 | 1 | 1 | 1 |
invalid | true | <undefined> | questionnable | 1 | 1 | 1 | 1 | 1 |