using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; namespace IStation.Entity { /// /// 测点映射 /// 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; } /// /// 测点标识 /// public long MonitorPointId { get { return _monitorpointid; } set { _monitorpointid = value; } } private long _monitorpointid; /// /// 对象类型 /// public string ObjectType { get { return _objecttype; } set { _objecttype = value; } } private string _objecttype; /// /// 对象标识 /// public long ObjectId { get { return _objectid; } set { _objectid = value; } } private long _objectid; /// /// 排序码 /// 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(); } } }