Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static readonly Dictionary<Measure, string> ExpectedUnits
- = new Dictionary<Measure, string>
- {
- { Measure.Pwm, "%" },
- { Measure.Pressure, "kPa" },
- };
- if (actualUnits != Helper.ExpectedUnits[measurement]) { ... }
Add Comment
Please, Sign In to add comment