public void Test_PumpOff() { using (var helper = new PumpTestHelper()) { helper.PumpModeCommand = PumpMode.Off; helper.DevicePort = GetDevicePort(); helper.DeviceBaudRate = GetDeviceSerialBaudRate(); helper.SimulatorPort = GetSimulatorPort(); helper.SimulatorBaudRate = GetSimulatorSerialBaudRate(); helper.TestPump(); } }
public void Test_PumpAuto_WaterNotNeeded() { using (var helper = new PumpTestHelper()) { helper.PumpModeCommand = PumpMode.Auto; helper.SimulatedSoilMoisturePercentage = 80; helper.DevicePort = GetDevicePort(); helper.DeviceBaudRate = GetDeviceSerialBaudRate(); helper.SimulatorPort = GetSimulatorPort(); helper.SimulatorBaudRate = GetSimulatorSerialBaudRate(); helper.TestPump(); } }