QueryInfo.cs 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace Applications.UniversalApi_WebConsole_App.Models.OnlineMonitor
  6. {
  7. public enum Criteria
  8. {
  9. 气液比,
  10. 燃油速度,
  11. 油气速度,
  12. 油气浓度,
  13. 液阻压力
  14. }
  15. public class QueryInfo
  16. {
  17. /// <summary>
  18. /// The format should be yyyy-mm-dd
  19. /// </summary>
  20. public string StartDate { get; set; }
  21. /// <summary>
  22. /// The format should be yyyy-mm-dd
  23. /// </summary>
  24. public string EndDate { get; set; }
  25. /// <summary>
  26. /// Nozzle Number
  27. /// </summary>
  28. public string NozzleId { get; set; }
  29. /// <summary>
  30. /// 选择的查询条件:气液比、燃油速度、油气速度、油气浓度、液阻压力
  31. /// </summary>
  32. public Criteria CurrentCriteria { get; set; }
  33. /// <summary>
  34. /// 用作气液比的图表查询页面,供客户选择按什么标准查询 气液比、燃油速度、油气速度、油气浓度、液阻压力
  35. /// 目前只支持气液比
  36. /// </summary>
  37. public List<String> OptionalCriteria { get; set; }
  38. /// <summary>
  39. /// 站里所有的油枪
  40. /// </summary>
  41. public List<string> OptionalNozzleId { get; set; }
  42. }
  43. }