using CommunityToolkit.Mvvm.ComponentModel;

namespace ZB.MOM.WW.OtOpcUa.Client.UI.ViewModels;

/// <summary>
///     Represents a single historical value row.
/// </summary>
public class HistoryValueViewModel : ObservableObject
{
    public HistoryValueViewModel(string value, string status, string sourceTimestamp, string serverTimestamp)
    {
        Value = value;
        Status = status;
        SourceTimestamp = sourceTimestamp;
        ServerTimestamp = serverTimestamp;
    }

    public string Value { get; }
    public string Status { get; }
    public string SourceTimestamp { get; }
    public string ServerTimestamp { get; }
}