public void Test_SwitchOff() { using (var helper = new SwitchTestHelper()) { helper.SwitchCommand = SwitchStatus.Off; helper.DevicePort = GetDevicePort(); helper.DeviceBaudRate = GetDeviceSerialBaudRate(); helper.SimulatorPort = GetSimulatorPort(); helper.SimulatorBaudRate = GetSimulatorSerialBaudRate(); helper.TestSwitch(); } }
public void Test_SwitchAuto_WaterNotNeeded() { using (var helper = new SwitchTestHelper()) { helper.SwitchCommand = SwitchStatus.Auto; helper.SimulatedVoltagePercentage = 80; helper.DevicePort = GetDevicePort(); helper.DeviceBaudRate = GetDeviceSerialBaudRate(); helper.SimulatorPort = GetSimulatorPort(); helper.SimulatorBaudRate = GetSimulatorSerialBaudRate(); helper.TestSwitch(); } }