コード例 #1
0
 public ThermistorTemperatureReader(IAnalogToDigitalConvertor adc, Settings settings, ThermistorCalculator thermistorCalculator)
 {
     _adc = adc;
     _settings = settings;
     _thermistorCalculator = thermistorCalculator;
     adc.ReferenceVoltage = settings.AdcReferenceVoltage;
 }
コード例 #2
0
		public ElementStrategyTests()
		{
			_settings = new Settings();
			_elementStrategy = new ElementStrategy(_settings);
		}
コード例 #3
0
		public ElementStrategy(Settings settings)
		{
			_settings = settings;
		}
コード例 #4
0
		public PumpStrategy(Settings settings)
		{
			_settings = settings;
		}