using System;
|
using System.Text;
|
using System.Collections.Generic;
|
using System.Data;
|
using System.Runtime.Serialization;
|
using System.ComponentModel.DataAnnotations;
|
|
namespace IStation.Model
|
{
|
/// <summary>
|
/// 测点映射
|
/// </summary>
|
public partial class MonitorPointMapping : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public MonitorPointMapping() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public MonitorPointMapping(MonitorPointMapping rhs)
|
{
|
this.ID = rhs.ID;
|
this.CorpID = rhs.CorpID;
|
this.MonitorPointID = rhs.MonitorPointID;
|
this.ObjectType = rhs.ObjectType;
|
this.ObjectID = rhs.ObjectID;
|
this.SortCode = rhs.SortCode;
|
this.AccordParas = rhs.AccordParas;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(MonitorPointMapping rhs)
|
{
|
this.ID = rhs.ID;
|
this.CorpID = rhs.CorpID;
|
this.MonitorPointID = rhs.MonitorPointID;
|
this.ObjectType = rhs.ObjectType;
|
this.ObjectID = rhs.ObjectID;
|
this.SortCode = rhs.SortCode;
|
this.AccordParas = rhs.AccordParas;
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 客户标识
|
/// </summary>
|
public long CorpID { get; set; }
|
|
/// <summary>
|
/// 测点标识
|
/// </summary>
|
public long MonitorPointID { get; set; }
|
|
/// <summary>
|
/// 对象类型
|
/// </summary>
|
public string ObjectType { get; set; }
|
|
/// <summary>
|
/// 对象标识
|
/// </summary>
|
public long ObjectID { get; set; }
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode { get; set; }
|
|
/// <summary>
|
/// 关联参数
|
/// </summary>
|
public string AccordParas { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public MonitorPointMapping Clone()
|
{
|
return (MonitorPointMapping)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|