diff --git a/VERSION b/VERSION index 867bf6b..7dea76e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0-rc1 +1.0.1 diff --git a/src/iec104_pivot_object.cpp b/src/iec104_pivot_object.cpp index c072187..edf68eb 100644 --- a/src/iec104_pivot_object.cpp +++ b/src/iec104_pivot_object.cpp @@ -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));