MOLineDataItem.cs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Runtime.Serialization;
  6. namespace Aitex.Core.UI.ControlDataContext
  7. {
  8. [DataContract]
  9. [Serializable]
  10. public class MOLineDataItem
  11. {
  12. /// <summary>
  13. /// 阀的唯一名称,UI与RT交互的ID
  14. /// </summary>
  15. [DataMember]
  16. public string DeviceName { get; set; }
  17. /// <summary>
  18. /// 显示在界面上的名称
  19. /// </summary>
  20. [DataMember]
  21. public string DisplayName { get; set; }
  22. /// <summary>
  23. /// IO 表中定义的物理编号,物理追溯使用 比如: V122
  24. /// </summary>
  25. [DataMember]
  26. public string DeviceId { get; set; }
  27. [DataMember]
  28. public bool IsDummyMo;
  29. [DataMember]
  30. public double MoAlarmLimit;
  31. [DataMember]
  32. public double MoTotalWeight;
  33. [DataMember]
  34. public double MoWeightCalFactor;
  35. [DataMember]
  36. public double IntegralUsedWeight;
  37. [DataMember]
  38. public bool IsMoRemainedWeightAlarm;
  39. [DataMember]
  40. public double MoRemainedPercentage;
  41. [DataMember]
  42. public double MoRemainedWeight;
  43. [DataMember]
  44. public double MoUsedWeight;
  45. [DataMember]
  46. public double ToChamFlowRate;
  47. [DataMember]
  48. public double AveragedMoWeightLostPerMin;/*平均每分钟的MO消耗量计算值*/
  49. }
  50. }