using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 测点组 /// [SugarTable("monitor_point_group")] public class MonitorPointGroup : CorpEntity, System.ICloneable,ITreeSorter,IUseStatus,ITagName,ITerminalId { /// /// /// public MonitorPointGroup() { } /// /// /// public MonitorPointGroup(MonitorPointGroup rhs) : base(rhs) { this.BelongType = rhs.BelongType; this.BelongID = rhs.BelongID; this.ParentIds = rhs.ParentIds; this.Name = rhs.Name; this.Flags = rhs.Flags; this.TagName = rhs.TagName; this.TerminalId = rhs.TerminalId; this.UseStatus = rhs.UseStatus; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 所属类型 /// [DataMember] public string BelongType { get { return _belongtype; } set { _belongtype = value; } } private string _belongtype; /// /// 所属标识 /// [DataMember] public long BelongID { get { return _belongid; } set { _belongid = value; } } private long _belongid; /// /// 父节点标识 /// [DataMember] public string ParentIds { get { return _parentids; } set { _parentids = value; } } private string _parentids; /// /// 名称 /// [DataMember] public string Name { get { return _name; } set { _name = value; } } private string _name; /// /// 标签列表 /// [DataMember] public string Flags { get { return _tags; } set { _tags = value; } } private string _tags; /// /// 终端标识 /// public string TerminalId { get { return _terminalid; } set { _terminalid = value; } } private string _terminalid; /// /// 标签名称 /// public string TagName { get { return _tagname; } set { _tagname = value; } } private string _tagname; /// /// 使用状态 /// public int UseStatus { get { return _usestatus; } set { _usestatus = value; } } private int _usestatus; /// /// 排序码 /// public int SortCode { get { return _sortcode; } set { _sortcode = value; } } private int _sortcode; /// /// 备注 /// public string Description { get { return _description; } set { _description = value; } } private string _description; /// /// /// public MonitorPointGroup Clone() { return (MonitorPointGroup)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }