using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
namespace IStation.Entity
{
///
/// 测点组
///
public class MonitorPointGroup : BaseEntity, System.ICloneable,ITreeSorter,ITagName
{
public MonitorPointGroup() { }
public MonitorPointGroup(MonitorPointGroup rhs) : base(rhs)
{
this.ParentIds = rhs.ParentIds;
this.Name = rhs.Name;
this.BelongType = rhs.BelongType;
this.BelongId = rhs.BelongId;
this.Flags = rhs.Flags;
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 父节点标识
///
public string ParentIds
{
get { return _parentIds; }
set { _parentIds = value; }
}
private string _parentIds;
///
/// 名称
///
public string Name
{
get { return _name; }
set { _name = value; }
}
private string _name;
///
/// 所属类型
///
public string BelongType
{
get { return _belongtype; }
set { _belongtype = value; }
}
private string _belongtype;
///
/// 所属标识
///
public long BelongId
{
get { return _belongid; }
set { _belongid = value; }
}
private long _belongid;
///
/// 标签列表
///
public string Flags
{
get { return _tags; }
set { _tags = value; }
}
private string _tags;
///
/// 标签名称
///
public string TagName
{
get { return _tagname; }
set { _tagname = value; }
}
private string _tagname;
///
/// 排序码
///
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();
}
}
}