using Yw.Model; namespace IStation.Model { /// /// 业务dma /// public partial class LogicDma : BaseModel, ICode, IParas, IFlags, ITagName, ISorter, IUseStatus, System.ICloneable { /// /// /// public LogicDma() { } /// /// /// public LogicDma(LogicDma rhs) : base(rhs) { this.Name = rhs.Name; this.Code = rhs.Code; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(LogicDma rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.Code = rhs.Code; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get; set; } /// /// 编码 /// public string Code { 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 LogicDma Clone() { return new LogicDma(this); } object ICloneable.Clone() { return Clone(); } } }