示例#1
0
 public OfficeTemperatureReporter(OfficeTemperatureConfig config)
 {
     this.config       = config;
     temperatureSensor = new Ds18B20(new OneWire(config.TemperatureSensorPort));
 }
		public OfficeTemperatureReporter(OfficeTemperatureConfig config)
		{
			this.config = config;
			temperatureSensor = new Ds18B20(new OneWire(config.TemperatureSensorPort));
		}