using System; namespace IStation.Model { /// /// 信号类型 /// public partial class SignalType : BaseModel, System.ICloneable { public SignalType() { } public SignalType(SignalType rhs) { this.ID = rhs.ID; this.Identifier = rhs.Identifier; this.GroupID = rhs.GroupID; this.Name = rhs.Name; this.UnitType = rhs.UnitType; this.UnitValue = rhs.UnitValue; this.FormatType = rhs.FormatType; this.FormatParas = rhs.FormatParas; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } public void Reset(SignalType rhs) { this.ID = rhs.ID; this.Identifier = rhs.Identifier; this.GroupID = rhs.GroupID; this.Name = rhs.Name; this.UnitType = rhs.UnitType; this.UnitValue = rhs.UnitValue; this.FormatType = rhs.FormatType; this.FormatParas = rhs.FormatParas; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 组标识 /// public long GroupID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 唯一标识 /// public string Identifier { get; set; } /// /// 单位类型 /// public IStation.Unit.eUnitType UnitType { get; set; } /// /// 单位值 /// public string UnitValue { 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 (SignalType)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }