AITFFUData.cs 869 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. namespace OldWorldData.CommonData.DeviceData;
  2. [DataContract]
  3. [Serializable]
  4. public class AITFFUData
  5. {
  6. public enum FFUStatusEnum
  7. {
  8. OFF,
  9. ON,
  10. Error,
  11. Unknown
  12. }
  13. /// <summary>
  14. /// 显示在界面上的名称
  15. /// </summary>
  16. [DataMember]
  17. public string DisplayName { get; set; }
  18. /// <summary>
  19. /// 当前设定值
  20. /// </summary>
  21. [DataMember]
  22. public float SetPoint { get; set; }
  23. /// <summary>
  24. /// 最大速度
  25. /// </summary>
  26. [DataMember]
  27. public double Max { get; set; }
  28. [DataMember]
  29. public double Min { get; set; }
  30. /// <summary>
  31. /// 实际反馈值
  32. /// </summary>
  33. [DataMember]
  34. public float Feedback { get; set; }
  35. /// <summary>
  36. /// 实际状态反馈值
  37. /// </summary>
  38. [DataMember]
  39. public bool IsSwitchOn { get; set; }
  40. }