| | |
| | | using System.Text; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Runtime.Serialization; |
| | | using System.Runtime.Serialization; |
| | | |
| | | namespace IStation.Model |
| | | { |
| | |
| | | /// 信号类型 |
| | | /// </summary> |
| | | public partial class SignalType : System.ICloneable |
| | | { |
| | | { |
| | | public SignalType() { } |
| | | |
| | | |
| | | public SignalType(SignalType rhs) |
| | | { |
| | | this.Id = rhs.Id; |
| | |
| | | this.SortCode = rhs.SortCode; |
| | | this.Description = rhs.Description; |
| | | } |
| | | |
| | | |
| | | public void Reset(SignalType rhs) |
| | | { |
| | | this.Id = rhs.Id; |
| | |
| | | /// <summary> |
| | | /// 标识 |
| | | /// </summary> |
| | | public long Id { get; set; } |
| | | public long Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 组标识 |
| | |
| | | /// <summary> |
| | | /// 单位类型 |
| | | /// </summary> |
| | | public eUnitType UnitType { get; set; } |
| | | public IStation.Unit.eUnitType UnitType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 单位值 |
| | |
| | | /// <summary> |
| | | /// 值类型 |
| | | /// </summary> |
| | | public eValueType ValueType { get; set; } |
| | | public Monitor.eValueType ValueType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 值设置 |
| | |
| | | /// 说明 |
| | | /// </summary> |
| | | public string Description { get; set; } |
| | | |
| | | |
| | | public SignalType Clone() |
| | | { |
| | | return (SignalType)this.MemberwiseClone(); |