using CommunityToolkit.Mvvm.ComponentModel; namespace ZB.MOM.WW.OtOpcUa.Client.UI.ViewModels; /// /// Represents a single historical value row. /// public class HistoryValueViewModel : ObservableObject { /// Initializes a new instance of the class. /// The historical value. /// The status code or text. /// The source timestamp in string format. /// The server timestamp in string format. public HistoryValueViewModel(string value, string status, string sourceTimestamp, string serverTimestamp) { Value = value; Status = status; SourceTimestamp = sourceTimestamp; ServerTimestamp = serverTimestamp; } /// Gets the historical value. public string Value { get; } /// Gets the status code or text. public string Status { get; } /// Gets the source timestamp in string format. public string SourceTimestamp { get; } /// Gets the server timestamp in string format. public string ServerTimestamp { get; } }