Skip to content

Commit

Permalink
Merge pull request #9 from fledge-power/8-do_quality_iv-issue
Browse files Browse the repository at this point in the history
fixed iv quality mapping
  • Loading branch information
aklira authored Jul 4, 2023
2 parents 70a44bb + a35a940 commit ad075b9
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 ad075b9

Please sign in to comment.