Esempio n. 1
0
 /// <summary> Get the address of a BrewTroller Temperature Sensor </summary>
 /// <param name="tsLocation">Location of Temperature Sensor</param>
 public TSAddress GetTempSensorAddress(TSLocation tsLocation)
 {
     var tsAddr = new TSAddress(tsLocation);
     ProcessBTCommand(BTCommand.GetTempSensorAddr, tsAddr, new List<int> { (int)tsLocation });
     return tsAddr;
 }
Esempio n. 2
0
 public void TempSensor(TSLocation location, UInt64 address)
 {
     var tsAddress = new TSAddress(location, address);
     _btCom.SetTempSensorAddress(tsAddress);
     var val = _btCom.GetTempSensorAddress(location);
     Assert.AreEqual(tsAddress, val, "Heat Output Config: Get TSAddress not equal to Set TSAddress.");
 }