using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
using SqlSugar;
|
|
namespace IStation.Entity
|
{
|
/// <summary>
|
/// 测点映射
|
/// </summary>
|
[SugarTable("monitor_point_mapping")]
|
public class MonitorPointMapping :CorpEntity, System.ICloneable,ISorter
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public MonitorPointMapping() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public MonitorPointMapping(MonitorPointMapping rhs):base(rhs)
|
{
|
this.MonitorPointID = rhs.MonitorPointID;
|
this.ObjectType = rhs.ObjectType;
|
this.ObjectID = rhs.ObjectID;
|
this.SortCode = rhs.SortCode;
|
this.AccordParas = rhs.AccordParas;
|
}
|
|
/// <summary>
|
/// 测点标识
|
/// </summary>
|
public long MonitorPointID
|
{
|
get { return _monitorpointid; }
|
set { _monitorpointid = value; }
|
}
|
private long _monitorpointid;
|
|
/// <summary>
|
/// 对象类型
|
/// </summary>
|
public string ObjectType
|
{
|
get { return _objecttype; }
|
set { _objecttype = value; }
|
}
|
private string _objecttype;
|
|
/// <summary>
|
/// 对象标识
|
/// </summary>
|
public long ObjectID
|
{
|
get { return _objectid; }
|
set { _objectid = value; }
|
}
|
private long _objectid;
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode
|
{
|
get { return _sortcode; }
|
set { _sortcode = value; }
|
}
|
private int _sortcode;
|
|
/// <summary>
|
/// 关联参数
|
/// </summary>
|
public string AccordParas
|
{
|
get { return _accordparas; }
|
set { _accordparas = value; }
|
}
|
private string _accordparas;
|
|
/// <summary>
|
///
|
/// </summary>
|
public MonitorPointMapping Clone()
|
{
|
return (MonitorPointMapping)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|