namespace IStation.Server { /// /// 能效工位分析上下文项 /// public class EMWSEtaWorkAnalyContextItem { /// /// /// public EMWSEtaWorkAnalyContextItem() { } /// /// /// public EMWSEtaWorkAnalyContextItem(Yw.Model.EMWSWorkSite rhs) { this.ID = rhs.ID; this.ParentID = rhs.ParentIds.LastOrDefault(); this.Name = rhs.Name; this.Code = rhs.Code; this.WorkType = rhs.WorkType; this.SerialNO = rhs.SerialNO; this.Paras = rhs.Paras; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; this.Children = new List(); } /// /// id /// public long ID { get; set; } /// /// 父级id /// public long ParentID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { get; set; } /// /// 工作类型 /// public string WorkType { get; set; } /// /// 序列号 /// public int SerialNO { get; set; } /// /// 参数字典 /// public Dictionary Paras { get; set; } /// /// 标签列表 /// public List Flags { get; set; } /// /// 标志名称 /// public string TagName { get; set; } /// /// 使用状态 /// public Yw.Model.eUseStatus UseStatus { get; set; } /// /// 排序 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// 子级列表 /// public List Children { get; set; } /// /// 监测上下文项列表 /// public List MonitorContextItemList { get; set; } /// /// 泵上下文项 /// public EMWSEtaPumpAnalyContextItem PumpContextItem { get; set; } } }