Пример #1
0
        public void Test_CalibrateWetEEPROM_1020()
        {
            using (var helper = new CalibrationEEPROMTestHelper())
            {
                helper.Label           = "wet";
                helper.Letter          = "W";
                helper.RawVoltageValue = 1020;

                helper.DevicePort     = GetDevicePort();
                helper.DeviceBaudRate = GetDeviceSerialBaudRate();

                helper.SimulatorPort     = GetSimulatorPort();
                helper.SimulatorBaudRate = GetSimulatorSerialBaudRate();

                helper.TestCalibrationEEPROM();
            }
        }
Пример #2
0
        public void Test_CalibrateDryEEPROM_200()
        {
            using (var helper = new CalibrationEEPROMTestHelper())
            {
                helper.Label           = "dry";
                helper.Letter          = "D";
                helper.RawVoltageValue = 200;

                helper.DevicePort     = GetDevicePort();
                helper.DeviceBaudRate = GetDeviceSerialBaudRate();

                helper.SimulatorPort     = GetSimulatorPort();
                helper.SimulatorBaudRate = GetSimulatorSerialBaudRate();

                helper.TestCalibrationEEPROM();
            }
        }