public TSAddress TempSensorScan() { var tsAddr = new TSAddress(TSLocation.Undefined); ProcessBTCommand(BTCommand.ScanTempSensors, tsAddr, null); return tsAddr; }
/// <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; }
/// <summary> Set the Address of a BrewTroller Temperature Sensor </summary> /// public void SetTempSensorAddress(TSAddress tsAddress) { ProcessBTCommand(BTCommand.SetTempSensorAddr, tsAddress, null); }
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."); }