ExampleType.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace MV485.model
  7. {
  8. public class Example
  9. {
  10. public static Dictionary<ExampleType, string> ExampleMap = new Dictionary<ExampleType, string>
  11. {
  12. {ExampleType.MeterType,"水表类型" },
  13. {ExampleType.DnValue,"水表口径" },
  14. {ExampleType.DigitCount,"数字个数" },
  15. {ExampleType.IndicatorCount,"指针个数" },
  16. {ExampleType.BrightVal,"亮度系数" },
  17. {ExampleType.LastUnit,"尾数单位" },
  18. {ExampleType.LastValue,"表底读数" },
  19. {ExampleType.LastTime,"读数时间" },
  20. {ExampleType.MeterRegion,"表盘范围" },
  21. {ExampleType.DigitRegion,"数字范围" },
  22. {ExampleType.FWRegion,"首尾同刻度坐标" },
  23. {ExampleType.SampleInterval,"采样间隔" },
  24. {ExampleType.SampleFirstHour,"首采时间" },
  25. {ExampleType.UploadRedind,"是否上传红色指针读数" },
  26. };
  27. }
  28. public enum ExampleType
  29. {
  30. MeterType,
  31. DnValue,
  32. DigitCount,
  33. IndicatorCount,
  34. BrightVal,
  35. LastUnit,
  36. LastValue,
  37. LastTime,
  38. MeterRegion,
  39. DigitRegion,
  40. FWRegion,
  41. SampleInterval,
  42. SampleFirstHour,
  43. UploadRedind,
  44. }
  45. }