using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
|
namespace IStation.Entity
|
{
|
/// <summary>
|
/// 测点映射
|
/// </summary>
|
public class MonitorPointMapping :BaseEntity, System.ICloneable,ISorter
|
{
|
public MonitorPointMapping() { }
|
public MonitorPointMapping(MonitorPointMapping rhs):base(rhs)
|
{
|
this.MonitorPointId = rhs.MonitorPointId;
|
this.ObjectType = rhs.ObjectType;
|
this.ObjectId = rhs.ObjectId;
|
this.SortCode = rhs.SortCode;
|
}
|
|
/// <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;
|
|
public MonitorPointMapping Clone()
|
{
|
return (MonitorPointMapping)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|