using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Model { /// /// 能效测点分析上下文项 /// public class EtaMonitorPointAnalyContextitem { /// /// /// /// public EtaMonitorPointAnalyContextitem(Model.MonitorPoint monitorPoint) { this.ObjectID = monitorPoint.ID; this.Name = monitorPoint.Name; this.Elevation = monitorPoint.Elevation; this.PipeDia = monitorPoint.PipeDia; this.Flags = monitorPoint.Flags?.ToList(); this.TagName = monitorPoint.TagName; this.UseStatus = monitorPoint.UseStatus; } /// /// 测点标识 /// public long ObjectID { get; set; } /// /// 测点名称 /// public string Name { get; set; } /// /// 管路标识 /// public long PipeLineID { get; set; } /// /// 标高 /// public double? Elevation { get; set; } /// /// 管径(mm) /// public double? PipeDia { get; set; } /// /// 信号类型 /// public string SignalType { get; set; } /// /// 标签列表 /// public List Flags { get; set; } /// /// 标签名称 /// public string TagName { get; set; } /// /// 数据值 /// public double DataValue { get; set; } /// /// 使用状态 /// public Model.eUseStatus UseStatus { get; set; } } }