Skip to content

Commit ed4e3fb

Browse files
Fixed issue with MTConnectAgent.AddObservation() to return true if successful
1 parent 0a09f5f commit ed4e3fb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

libraries/MTConnect.NET-Common/Agents/MTConnectAgent.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1982,6 +1982,8 @@ public bool AddObservation(string deviceKey, IObservationInput observationInput,
19821982
else UpdateCurrentObservation(deviceUuid, dataItem, observation);
19831983

19841984
OnObservationAdded(observation);
1985+
1986+
success = true;
19851987
}
19861988
}
19871989
else success = true; // Return true if no update needed

0 commit comments

Comments
 (0)