EquipmentDataDto.cs 1014 Bytes
namespace HHECS.DAQClient.Dto
{
    public class EquipmentDataDto
    {
        public Guid Plmeid { get; set; }

        /// <summary>
        /// 客户端Id
        /// </summary>
        public Guid ClientId { get; set; }

        /// <summary>
        /// 设备SN/设备编号
        /// </summary>
        public string EquipmentSN { get; set; } = null!;

        /// <summary>
        /// 数据源时间戳
        /// </summary>
        public long Timestamp { get; set; }

        /// <summary>
        /// 数据数组
        /// </summary>
        public List<TagItem> Reported { get; set; } = new List<TagItem>();

        /// <summary>
        /// 版本号
        /// </summary>
        public int Version { get; set; }
    }

    public class TagItem
    {
        /// <summary>
        /// 节点
        /// </summary>
        public string Tag { get; set; } = null!;

        /// <summary>
        /// 值
        /// </summary>
        public string Value { get; set; } = null!;
    }
}