using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 管路 /// public partial class PipeLine : System.ICloneable { /// /// /// public PipeLine() { } /// /// /// public PipeLine(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?.ToList(); this.Position = rhs.Position; 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 void Reset(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?.ToList(); this.Position = rhs.Position; 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 eDirection Direction { get; set; } /// /// 标志列表 /// public List Flags { get; set; } /// /// 位置信息 /// public string Position { 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 eUseStatus UseStatus { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public PipeLine Clone() { return (PipeLine)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }