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 MonitorAlarmConfigure : System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public MonitorAlarmConfigure() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
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;
|
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
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;
|
|
}
|
|
/// <summary>
|
/// 标识
|
/// </summary>
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 客户标识
|
/// </summary>
|
public long CorpID { get; set; }
|
|
/// <summary>
|
/// 测点标识
|
/// </summary>
|
public long? MonitorPointID { get; set; }
|
|
/// <summary>
|
/// 信号标识
|
/// </summary>
|
public long? SignalID { get; set; }
|
|
/// <summary>
|
/// 信号类型
|
/// </summary>
|
public string SignalType { get; set; }
|
|
/// <summary>
|
/// 报警名称
|
/// </summary>
|
public string AlarmName { get; set; }
|
|
/// <summary>
|
/// 报警类型
|
/// </summary>
|
public string AlarmType { get; set; }
|
|
/// <summary>
|
/// 报警等级
|
/// </summary>
|
public int AlarmLevel { get; set; }
|
|
/// <summary>
|
/// 阀值
|
/// </summary>
|
public string ThresholdValue { get; set; }
|
|
/// <summary>
|
/// 使用状态
|
/// </summary>
|
public eUseStatus UseStatus { get; set; }
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public MonitorAlarmConfigure Clone()
|
{
|
return (MonitorAlarmConfigure)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
|
}
|