using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace Edge.WebHost.Models.OnlineMonitor { public enum Criteria { 气液比, 燃油速度, 油气速度, 油气浓度, 液阻压力 } public class QueryInfo { /// <summary> /// The format should be yyyy-mm-dd /// </summary> public string StartDate { get; set; } /// <summary> /// The format should be yyyy-mm-dd /// </summary> public string EndDate { get; set; } /// <summary> /// Nozzle Number /// </summary> public string NozzleId { get; set; } /// <summary> /// 选择的查询条件:气液比、燃油速度、油气速度、油气浓度、液阻压力 /// </summary> public Criteria CurrentCriteria { get; set; } /// <summary> /// 用作气液比的图表查询页面,供客户选择按什么标准查询 气液比、燃油速度、油气速度、油气浓度、液阻压力 /// 目前只支持气液比 /// </summary> public List<String> OptionalCriteria { get; set; } /// <summary> /// 站里所有的油枪 /// </summary> public List<string> OptionalNozzleId { get; set; } } }