|
@ -104,7 +104,6 @@ int DeviceIoControlServiceTest::heatingStrip_getcurrentValue() { |
|
|
return 0; |
|
|
return 0; |
|
|
} |
|
|
} |
|
|
//
|
|
|
//
|
|
|
int DeviceIoControlServiceTest::getChargingPump_PumpRPM() { return 0; } |
|
|
|
|
|
|
|
|
|
|
|
static bool drainingPump_state; |
|
|
static bool drainingPump_state; |
|
|
void DeviceIoControlServiceTest::drainingPump_open() { |
|
|
void DeviceIoControlServiceTest::drainingPump_open() { |
|
@ -116,28 +115,40 @@ void DeviceIoControlServiceTest::drainingPump_close() { |
|
|
drainingPump_state = false; |
|
|
drainingPump_state = false; |
|
|
} |
|
|
} |
|
|
static bool replenishingFluidsPump_state; |
|
|
static bool replenishingFluidsPump_state; |
|
|
|
|
|
static int replenishingFluidsPump_gpm; |
|
|
void DeviceIoControlServiceTest::replenishingFluidsPump_open() { |
|
|
void DeviceIoControlServiceTest::replenishingFluidsPump_open() { |
|
|
logger->info("replenishingFluidsPump_open"); |
|
|
logger->info("replenishingFluidsPump_open"); |
|
|
replenishingFluidsPump_state = true; |
|
|
replenishingFluidsPump_state = true; |
|
|
|
|
|
replenishingFluidsPump_gpm = 20; |
|
|
} |
|
|
} |
|
|
void DeviceIoControlServiceTest::replenishingFluidsPump_close() { |
|
|
void DeviceIoControlServiceTest::replenishingFluidsPump_close() { |
|
|
logger->info("replenishingFluidsPump_close"); |
|
|
logger->info("replenishingFluidsPump_close"); |
|
|
replenishingFluidsPump_state = false; |
|
|
replenishingFluidsPump_state = false; |
|
|
|
|
|
replenishingFluidsPump_gpm = 0; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
void DeviceIoControlServiceTest::replenishingFluidsPump_open_for_test(int gpm) { |
|
|
void DeviceIoControlServiceTest::replenishingFluidsPump_open_for_test(int gpm) { |
|
|
logger->info("replenishingFluidsPump_open_for_test {}", gpm); |
|
|
logger->info("replenishingFluidsPump_open_for_test {}", gpm); |
|
|
replenishingFluidsPump_state = true; |
|
|
replenishingFluidsPump_state = true; |
|
|
|
|
|
replenishingFluidsPump_gpm = gpm; |
|
|
} |
|
|
} |
|
|
void DeviceIoControlServiceTest::replenishingFluidsPump_close_for_test() { |
|
|
void DeviceIoControlServiceTest::replenishingFluidsPump_close_for_test() { |
|
|
logger->info("replenishingFluidsPump_close_for_test"); |
|
|
logger->info("replenishingFluidsPump_close_for_test"); |
|
|
replenishingFluidsPump_state = false; |
|
|
replenishingFluidsPump_state = false; |
|
|
|
|
|
replenishingFluidsPump_gpm = 0; |
|
|
} |
|
|
} |
|
|
|
|
|
int DeviceIoControlServiceTest::getChargingPump_PumpRPM() { |
|
|
|
|
|
if (replenishingFluidsPump_state) { |
|
|
|
|
|
return replenishingFluidsPump_gpm; |
|
|
|
|
|
} |
|
|
|
|
|
return 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
/*******************************************************************************
|
|
|
* sprayLiquidPump * |
|
|
* sprayLiquidPump * |
|
|
*******************************************************************************/ |
|
|
*******************************************************************************/ |
|
|
static bool sprayLiquidPump_state; |
|
|
static bool sprayLiquidPump_state; |
|
|
static int sprayLiquidPump_gpm; |
|
|
|
|
|
|
|
|
static int sprayLiquidPump_gpm; |
|
|
void DeviceIoControlServiceTest::sprayLiquidPump_open(int gpm) { |
|
|
void DeviceIoControlServiceTest::sprayLiquidPump_open(int gpm) { |
|
|
logger->info("sprayLiquidPump_open"); |
|
|
logger->info("sprayLiquidPump_open"); |
|
|
sprayLiquidPump_state = true; |
|
|
sprayLiquidPump_state = true; |
|
|