|
|
@ -137,9 +137,11 @@ void DeviceIoControlServiceTest::replenishingFluidsPump_close_for_test() { |
|
|
|
* sprayLiquidPump * |
|
|
|
*******************************************************************************/ |
|
|
|
static bool sprayLiquidPump_state; |
|
|
|
static int sprayLiquidPump_gpm; |
|
|
|
void DeviceIoControlServiceTest::sprayLiquidPump_open(int gpm) { |
|
|
|
logger->info("sprayLiquidPump_open"); |
|
|
|
sprayLiquidPump_state = true; |
|
|
|
sprayLiquidPump_gpm = gpm; |
|
|
|
} |
|
|
|
void DeviceIoControlServiceTest::sprayLiquidPump_close() { |
|
|
|
logger->info("sprayLiquidPump_close"); |
|
|
@ -157,14 +159,14 @@ void DeviceIoControlServiceTest::sprayLiquidPump_close_for_test() { |
|
|
|
|
|
|
|
int DeviceIoControlServiceTest::sprayLiquidPump_getRPM() { |
|
|
|
if (sprayLiquidPump_state) { |
|
|
|
return 300; |
|
|
|
return sprayLiquidPump_gpm; |
|
|
|
} else { |
|
|
|
return 0; |
|
|
|
} |
|
|
|
} |
|
|
|
int DeviceIoControlServiceTest::sprayLiquidPump_getGPM() { |
|
|
|
if (sprayLiquidPump_state) { |
|
|
|
return 30; |
|
|
|
return sprayLiquidPump_gpm; |
|
|
|
} else { |
|
|
|
return 0; |
|
|
|
} |
|
|
|