using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
namespace IStation.Model
{
///
/// 监测报警配置
///
public partial class MonitorAlarmConfigure : System.ICloneable
{
///
///
///
public MonitorAlarmConfigure() { }
///
///
///
public MonitorAlarmConfigure(MonitorAlarmConfigure rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.MonitorPointID = rhs.MonitorPointID;
this.SignalID = rhs.SignalID;
this.SignalType = rhs.SignalType;
this.AlarmName = rhs.AlarmName;
this.AlarmType = rhs.AlarmType;
this.AlarmLevel = rhs.AlarmLevel;
this.ThresholdValue = rhs.ThresholdValue;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
///
///
public void Reset(MonitorAlarmConfigure rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.MonitorPointID = rhs.MonitorPointID;
this.SignalID = rhs.SignalID;
this.SignalType = rhs.SignalType;
this.AlarmName = rhs.AlarmName;
this.AlarmType = rhs.AlarmType;
this.AlarmLevel = rhs.AlarmLevel;
this.ThresholdValue = rhs.ThresholdValue;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 标识
///
public long ID { get; set; }
///
/// 客户标识
///
public long CorpID { get; set; }
///
/// 测点标识
///
public long? MonitorPointID { get; set; }
///
/// 信号标识
///
public long? SignalID { get; set; }
///
/// 信号类型
///
public string SignalType { get; set; }
///
/// 报警名称
///
public string AlarmName { get; set; }
///
/// 报警类型
///
public string AlarmType { get; set; }
///
/// 报警等级
///
public int AlarmLevel { get; set; }
///
/// 阀值
///
public string ThresholdValue { get; set; }
///
/// 使用状态
///
public eUseStatus UseStatus { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public MonitorAlarmConfigure Clone()
{
return (MonitorAlarmConfigure)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}