using System;

namespace MECF.Framework.RT.EquipmentLibrary.HardwareUnits.Temps;

public class TempPoint
{
    public TempPoint(double value)
    {
        Value = value;
        TimeStamp = DateTime.Now.Ticks;
    }
    
    /// <summary>
    /// 返回温度值。
    /// </summary>
    public double Value { get; }
    
    /// <summary>
    /// 返回时间戳。
    /// </summary>
    public long TimeStamp { get; }
}