DBFormat.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using GeneralData;
  2. namespace DBData;
  3. public class DBFormat
  4. {
  5. public byte ChannelIndex { get; set; }
  6. public DateTime DateTime { get; set; }
  7. public float Caps { get; set; }
  8. public float Floor { get; set; }
  9. public float CapsWarning { get; set; }
  10. public float FloorWarning { get; set; }
  11. public float PV { get; set; }
  12. public float WorkingOutput { get; set; }
  13. public AutoTuneStatus AutoTuneStatus { get; set; }
  14. public float AutoTune_P { get; set; }
  15. public float AutoTune_I { get; set; }
  16. public float AutoTune_D { get; set; }
  17. public TcBorken SensorBreakAlarm { get; set; }
  18. public float SetPoint { get; set; }
  19. public ActiveTuneSet ActiveTuneSet { get; set; }
  20. public float Running_P { get; set; }
  21. public float Running_I { get; set; }
  22. public float Running_D { get; set; }
  23. public Inhibit Inhibit { get; set; }
  24. public float SetpointUpRate { get; set; }
  25. public float SetpointDownRate { get; set; }
  26. }
  27. public class DBWarning
  28. {
  29. public byte ChannelIndex { get; set; }
  30. public DateTime DateTime { get; set; }
  31. public AlarmType AlarmType { get; set; }
  32. public float PV { get; set; }
  33. public float Caps { get; set; }
  34. public float Floor { get; set; }
  35. }
  36. public enum AlarmType
  37. {
  38. OverRange,
  39. SensorBrake,
  40. }