| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 | 
							- using System;
 
- using System.Collections.Generic;
 
- using System.ComponentModel;
 
- using System.Linq;
 
- using System.Reflection;
 
- using System.Runtime.Serialization;
 
- using System.Text;
 
- using System.Windows.Input;
 
- using Aitex.Core.UI.MVVM;
 
- using MECF.Framework.Common.CommonData;
 
- namespace Aitex.Core.Common.DeviceData
 
- {
 
-     [DataContract]
 
-     [Serializable]
 
-     public class AITPumpData : NotifiableItem
 
-     {
 
-         [DataMember]
 
-         public string DeviceModule { get; set; }
 
-         [DataMember]
 
-         public string DeviceName { get; set; }
 
-         /// <summary>
 
-         /// 显示在界面上的名称
 
-         /// </summary>
 
-         [DataMember]
 
-         public string DisplayName { get; set; }
 
-         /// <summary>
 
-         /// IO 表中定义的物理编号,物理追溯使用 比如: V122
 
-         /// </summary>
 
-         [DataMember]
 
-         public string DeviceSchematicId { get; set; }
 
-         /// <summary>
 
-         /// 当前设定值
 
-         /// </summary>
 
-         [DataMember]
 
-         public bool IsOn { get; set; }
 
-         /// <summary>
 
-         /// 默认值
 
-         /// </summary>
 
-         [DataMember]
 
-         public bool IsWarning { get; set; }
 
-         /// <summary>
 
-         /// 实际反馈值
 
-         /// </summary>
 
-         [DataMember]
 
-         public bool IsError { get; set; }
 
-         [DataMember]
 
-         public int Speed { get; set; }
 
-         [DataMember]
 
-         public bool OverTemp { get; set; }
 
-         [DataMember]
 
-         public bool AtSpeed { get; set; }
 
-         [DataMember]
 
-         public int Temperature { get; set; }
 
-         [DataMember]
 
-         public int LocalRemoteMode { get; set; }
 
-         [DataMember]
 
-         public double WaterFlow { get; set; }
 
-         [DataMember]
 
-         public bool IsDryPumpEnable { get; set; }
 
-         [DataMember]
 
-         public bool IsN2PressureEnable { get; set; }
 
-         [DataMember]
 
-         public bool N2PressureWarning { get; set; }
 
-         [DataMember]
 
-         public bool N2PressureAlarm { get; set; }
 
-         [DataMember]
 
-         public bool IsWaterFlowEnable { get; set; }
 
-         [DataMember]
 
-         public bool WaterFlowWarning { get; set; }
 
-         [DataMember]
 
-         public bool WaterFlowAlarm { get; set; }
 
-         public AITPumpData()
 
-         {
 
-             DisplayName = "未定义";
 
-         }
 
-         public void Update(IDeviceData data)
 
-         {
 
-             AITPumpData item = data as AITPumpData;
 
-             if (item == null)
 
-                 return;
 
-             InvokePropertyChanged();
 
-         }
 
-     }
 
-     public enum AITPumpOperation
 
-     {
 
-         SetOnOff,
 
-         PumpOn,
 
-         PumpOff,
 
-     }
 
-     public class AITPumpProperty
 
-     {
 
-         public const string EnableWaterFlow = "EnableWaterFlow";
 
-         public const string WaterFlowValue = "WaterFlowValue";
 
-         public const string WaterFlowMinValue = "WaterFlowMinValue";
 
-         public const string WaterFlowMaxValue = "WaterFlowMaxValue";
 
-         public const string WaterFlowAlarm = "WaterFlowAlarm";
 
-         public const string WaterFlowAlarmSetPoint = "WaterFlowAlarmSetPoint";
 
-         public const string WaterFlowWarning = "WaterFlowWarning";
 
-         public const string WaterFlowAlarmTime = "WaterFlowAlarmTime";
 
-         public const string WaterFlowWarningTime = "WaterFlowWarningTime";
 
-         public const string EnableN2Pressure = "EnableN2Pressure";
 
-         public const string N2PressureValue = "N2PressureValue";
 
-         public const string N2PressureMinValue = "N2PressureMinValue";
 
-         public const string N2PressureMaxValue = "N2PressureMaxValue";
 
-         public const string N2PressureAlarm = "N2PressureAlarm";
 
-         public const string N2PressureAlarmSetPoint = "N2PressureAlarmSetPoint";
 
-         public const string N2PressureWarning = "N2PressureWarning";
 
-         public const string N2PressureAlarmTime = "N2PressureAlarmTime";
 
-         public const string N2PressureWarningTime = "N2PressureWarningTime";
 
-         public const string EnableDryPump = "EnableDryPump";
 
-         public const string PumpBreakerStatus = "PumpBreakerStatus";
 
-         public const string IsOverTemp = "IsOverTemp";
 
-         public const string IsRunning = "IsRunning";
 
-         public const string IsControl = "IsControl";
 
-         public const string IsError = "IsError";
 
-         public const string IsStart = "IsStart";
 
-         public const string IsStop = "IsStop";
 
-     }
 
- }
 
 
  |