using Opc.Ua;
namespace ZB.MOM.WW.OtOpcUa.Client.Shared.Models;
///
/// Event data for a monitored data value change.
///
public sealed class DataChangedEventArgs : EventArgs
{
/// Initializes a new instance of the DataChangedEventArgs class.
/// The node ID that changed.
/// The new data value.
public DataChangedEventArgs(string nodeId, DataValue value)
{
NodeId = nodeId;
Value = value;
}
/// The string representation of the node that changed.
public string NodeId { get; }
/// The new data value from the server.
public DataValue Value { get; }
}