using Yw.Entity;
namespace IStation.Entity
{
///
/// 测点
///
public partial class MonitorPoint : BaseEntity, System.ICloneable, IFlags, ITagName, IUseStatus, ISorter
{
///
///
///
public MonitorPoint() { }
///
///
///
public MonitorPoint(MonitorPoint rhs) : base(rhs)
{
this.BelongType = rhs.BelongType;
this.BelongID = rhs.BelongID;
this.GroupID = rhs.GroupID;
this.Name = rhs.Name;
this.SourceType = rhs.SourceType;
this.SourceParas = rhs.SourceParas;
this.SerialNO = rhs.SerialNO;
this.Importance = rhs.Importance;
this.Flags = rhs.Flags;
this.TagName = rhs.TagName;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 所属类型
///
public string BelongType { get; set; }
///
/// 所属id
///
public long BelongID { get; set; }
///
/// 组id
///
public long GroupID { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 来源类型
///
public int SourceType { get; set; }
///
/// 来源参数
///
public string SourceParas { get; set; }
///
/// 序列号-主要应用于逻辑顺序 如:分析顺序
///
public int SerialNO { get; set; }
///
/// 重要度 -主要应用于同等数量下的挑选
///
public int Importance { get; set; }
///
/// 标签列表
///
public string Flags { get; set; }
///
/// 标记名称
///
public string TagName { get; set; }
///
/// 使用状态
///
public int UseStatus { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public MonitorPoint Clone()
{
return new MonitorPoint(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}