using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Application { /// /// 管路 /// public class PipeLineLogicDto { /// /// /// public PipeLineLogicDto() { } /// /// /// public PipeLineLogicDto(Model.PipeLine rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.BelongType = rhs.BelongType; this.BelongID = rhs.BelongID; this.Catalog = rhs.Catalog; this.Name = rhs.Name; this.HeadID = rhs.HeadID; this.TailID = rhs.TailID; this.Direction = rhs.Direction; this.Flags = rhs.Flags; this.SerialNO = rhs.SerialNO; this.IsEta = rhs.IsEta; this.IsExtend = rhs.IsExtend; this.TerminalId = rhs.TerminalId; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; } /// /// 标识 /// public long ID { get; set; } /// /// 客户标识 /// public long CorpID { get; set; } /// /// 所属类型 /// public string BelongType { get; set; } /// /// 所属标识 /// public long BelongID { get; set; } /// /// 类别 /// public string Catalog { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 头部标识 /// public long HeadID { get; set; } /// /// 尾部标识 /// public long TailID { get; set; } /// /// 方向 /// public Model.PipeLine.eDirection Direction { get; set; } /// /// 标志列表 /// public List Flags { get; set; } /// /// 序列号 /// public int? SerialNO { get; set; } /// /// 是否为能效项 /// public bool IsEta { get; set; } /// /// 是否为拓展项 /// public bool IsExtend { get; set; } /// /// 终端标识 /// public string TerminalId { get; set; } /// /// 标签名称 /// public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 使用状态 /// public Model.eUseStatus UseStatus { get; set; } /// /// 说明 /// public string Description { get; set; } } }