using Opc.Ua;
namespace ZB.MOM.WW.OtOpcUa.Client.Shared.Models;
///
/// One entry of an OPC UA Part 11 modified-value history read (HistoryReadRaw with IsReadModified = true): the
/// value as it was BEFORE the modification plus the server's .
///
/// The prior value at its source timestamp (an insert had none: null value, Bad status).
/// When the modification was applied.
/// The Part 11 update type (Insert / Replace / Update / Delete).
/// Who made the modification (the server's recorded principal).
public sealed record HistoryModifiedEntry(
DataValue Value,
DateTime ModificationTime,
HistoryUpdateType UpdateType,
string? UserName);