namespace IStation.Server { /// /// /// public class EpEtaSignalAnalyContextItem { /// /// /// public EpEtaSignalAnalyContextItem() { } /// /// /// public EpEtaSignalAnalyContextItem(Yw.Model.Signal rhs, Yw.Model.SignalType signalType) { this.ID = rhs.ID; this.Name = rhs.Name; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; this.SignalTypeContextItem = new EpEtaSignalTypeAnalyContextItem(signalType); } /// /// /// public EpEtaSignalAnalyContextItem(Yw.Model.Signal_SignalType rhs) : this(rhs, rhs.SignalType) { } /// /// id /// public long ID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 标记 /// public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// 数据值 /// public double DataValue { get; set; } /// /// 信号类型上下文项 /// public EpEtaSignalTypeAnalyContextItem SignalTypeContextItem { get; set; } } }