Skip to content

Commit

Permalink
fixed iv quality mapping
Browse files Browse the repository at this point in the history
Signed-off-by: aklira <[email protected]>
  • Loading branch information
aklira committed Jul 4, 2023
1 parent 70a44bb commit a35a940
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0-rc1
1.0.1
2 changes: 1 addition & 1 deletion src/iec104_pivot_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ PivotObject::toIec104DataObject(IEC104PivotDataPoint* exchangeConfig)

addElementWithValue(dataObject, "do_test", (long)(Test() ? 1 : 0));

addElementWithValue(dataObject, "do_quality_iv", (long)(getValidity() == Validity::GOOD ? 0 : 1));
addElementWithValue(dataObject, "do_quality_iv", (long)(getValidity() == Validity::INVALID ? 1 : 0));

addElementWithValue(dataObject, "do_quality_bl", (long)(OperatorBlocked() ? 1 : 0));

Expand Down

0 comments on commit a35a940

Please sign in to comment.