12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace MV485.model
- {
- public class Example
- {
- public static Dictionary<ExampleType, string> ExampleMap = new Dictionary<ExampleType, string>
- {
- {ExampleType.MeterType,"水表类型" },
- {ExampleType.DnValue,"水表口径" },
- {ExampleType.DigitCount,"数字个数" },
- {ExampleType.IndicatorCount,"指针个数" },
- {ExampleType.BrightVal,"亮度系数" },
- {ExampleType.LastUnit,"尾数单位" },
- {ExampleType.LastValue,"表底读数" },
- {ExampleType.LastTime,"读数时间" },
- {ExampleType.MeterRegion,"表盘范围" },
- {ExampleType.DigitRegion,"数字范围" },
- {ExampleType.FWRegion,"首尾同刻度坐标" },
- {ExampleType.SampleInterval,"采样间隔" },
- {ExampleType.SampleFirstHour,"首采时间" },
- {ExampleType.UploadRedind,"是否上传红色指针读数" },
- };
- }
- public enum ExampleType
- {
- MeterType,
- DnValue,
- DigitCount,
- IndicatorCount,
- BrightVal,
- LastUnit,
- LastValue,
- LastTime,
- MeterRegion,
- DigitRegion,
- FWRegion,
- SampleInterval,
- SampleFirstHour,
- UploadRedind,
- }
- }
|