using System; namespace IStation.Model { /// /// 信号类型 /// public partial class SignalType : BaseModel, System.ICloneable { /// /// /// public SignalType() { } /// /// /// public SignalType(SignalType rhs) : base(rhs) { GroupID = rhs.GroupID; Name = rhs.Name; Identifier = rhs.Identifier; MeasureType = rhs.MeasureType; FormatType = rhs.FormatType; FormatParas = rhs.FormatParas; SortCode = rhs.SortCode; Description = rhs.Description; } /// /// /// public void Reset(SignalType rhs) { ID = rhs.ID; GroupID = rhs.GroupID; Name = rhs.Name; Identifier = rhs.Identifier; MeasureType = rhs.MeasureType; FormatType = rhs.FormatType; FormatParas = rhs.FormatParas; SortCode = rhs.SortCode; Description = rhs.Description; } /// /// 组id /// public long GroupID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 唯一标识 /// public string Identifier { get; set; } /// /// 计量类型 -瞬时或累计 /// public eMeasureType MeasureType { get; set; } /// /// 格式类型 /// public eFormatType FormatType { get; set; } /// /// 格式参数 /// public string FormatParas { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public SignalType Clone() { return new SignalType(this); } object ICloneable.Clone() { return Clone(); } } }