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 AlarmLevel : System.ICloneable
{
///
///
///
public AlarmLevel() { }
///
///
///
public AlarmLevel(AlarmLevel rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.Name = rhs.Name;
this.Color = rhs.Color;
this.Grade = rhs.Grade;
this.Description = rhs.Description;
}
///
///
///
public void Reset(AlarmLevel rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.Name = rhs.Name;
this.Color = rhs.Color;
this.Grade = rhs.Grade;
this.Description = rhs.Description;
}
///
/// 标识
///
public long ID { get; set; }
///
/// 公司标识
///
public long CorpID { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 显示颜色
///
public string Color { get; set; }
///
/// 报警等级
///
public int Grade { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
///
public AlarmLevel Clone()
{
return (AlarmLevel)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}