Data.cs 626 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. namespace RTCommunicatorBase;
  3. public class DataQueryCondition
  4. {
  5. public DateTime StartTime { get; set; }
  6. public DateTime EndTime { get; set; }
  7. public byte Mini8Index { get; set; }
  8. public byte ChannelIndex { get; set; }
  9. }
  10. public enum AlarmType
  11. {
  12. Undefined = 0,
  13. CapsOverFlow = 1,
  14. FloorOverFlow = 2,
  15. TcBroken = 3
  16. }
  17. public struct ST_ALARM
  18. {
  19. public byte Mini8Index { get; set; }
  20. public byte ChannelIndex { get; set; }
  21. public float PV { get; set; }
  22. public float Caps { get; set; }
  23. public float Floor { get; set; }
  24. public AlarmType AlarmType { get; set; }
  25. }