public void Init() { mockConsumer = new MMeterConsumer(); mockMeter = new ThermoMeter<Celsius>(mockConsumer); mockMeter.LowerThreshold = new Celsius(0); mockMeter.UpperThreshold = new Celsius(100); mockMeter.Fluctuation = new Celsius(1); mockMeter.ReadInterval = 500; mockInputReader = new MInputReader<Celsius>(); }
public void Init() { mockConsumer = new MMeterConsumer(); mockMeter = new ThermoMeter<Fahrenheit>(mockConsumer, new Celsius(0), new Celsius(100), new Celsius(1), 200); }