using Yw.Model;
namespace IStation.Model
{
///
/// 业务站
///
public partial class LogicSite : BaseModel, ICode, IParas, IFlags, ITagName, ISorter, IUseStatus, System.ICloneable
{
///
///
///
public LogicSite() { }
///
///
///
public LogicSite(LogicSite 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(LogicSite 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 LogicSite Clone()
{
return new LogicSite(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}