using Yw.Model; namespace IStation.Model { /// /// 业务区域 /// public class LogicArea : BaseModel, ICode, IParas, IFlags, ITagName, ISorter, IUseStatus, System.ICloneable { /// /// /// public LogicArea() { } /// /// /// /// public LogicArea(LogicArea rhs) : base(rhs) { this.PolicyID = rhs.PolicyID; 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(LogicArea rhs) { this.ID = rhs.ID; this.PolicyID = rhs.PolicyID; 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; } /// /// 策略id /// public long PolicyID { get; set; } /// /// 名称 /// 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 LogicArea Clone() { return (LogicArea)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }