|
|
@ -37,42 +37,42 @@ static bool isInTestMode() { |
|
|
|
void DeviceIoControlService::initialize() { |
|
|
|
GET_TO_SERVICE(m_config); |
|
|
|
|
|
|
|
REG_FN_VOID(AddLiquidPump_addLiquid, void()); |
|
|
|
REG_FN_VOID(AddLiquidPump_addLiquid, void(void)); |
|
|
|
REG_FN(AddLiquidPump_run, void(int), rpm); |
|
|
|
REG_FN_VOID(AddLiquidPump_drainLiquid, void()); |
|
|
|
REG_FN_VOID(AddLiquidPump_stop, void()); |
|
|
|
REG_FN_VOID(AddLiquidPump_drainLiquid, void(void)); |
|
|
|
REG_FN_VOID(AddLiquidPump_stop, void(void)); |
|
|
|
REG_FN(SprayPump_start, void(int32_t), gpm); |
|
|
|
REG_FN(SprayPump_startInRPM, void(int32_t), rpm); |
|
|
|
REG_FN_VOID(SprayPump_stop, void()); |
|
|
|
REG_FN_VOID(SprayPump_stop, void(void)); |
|
|
|
REG_FN(Blower_ctrl, void(int32_t), val); |
|
|
|
REG_FN_VOID(Blower_close, void()); |
|
|
|
REG_FN_VOID(Blower_readEI, void()); |
|
|
|
REG_FN_VOID(Blower_close, void(void)); |
|
|
|
REG_FN_VOID(Blower_readEI, void(void)); |
|
|
|
REG_FN(AC_ctrl, void(int32_t), val); |
|
|
|
REG_FN_VOID(AC_close, void()); |
|
|
|
REG_FN_VOID(AC_readEI, void()); |
|
|
|
REG_FN_VOID(AC_close, void(void)); |
|
|
|
REG_FN_VOID(AC_readEI, void(void)); |
|
|
|
REG_FN(Heater_ctrl, void(int32_t), val); |
|
|
|
REG_FN_VOID(Heater_close, void()); |
|
|
|
REG_FN_VOID(Heater_readEI, void()); |
|
|
|
REG_FN_VOID(Heater_readTemperature, void()); |
|
|
|
REG_FN_VOID(Heater_close, void(void)); |
|
|
|
REG_FN_VOID(Heater_readEI, void(void)); |
|
|
|
REG_FN_VOID(Heater_readTemperature, void(void)); |
|
|
|
REG_FN(WarningLight_setState, void(int, int, int, int), r, g, b, warning); |
|
|
|
REG_FN(PosiPressureProp_setValve, void(int), val); |
|
|
|
REG_FN_VOID(PosiPressureProp_readPos, void()); |
|
|
|
REG_FN_VOID(PosiPressureProp_isBusy, void()); |
|
|
|
REG_FN_VOID(PosiPressureProp_readPos, void(void)); |
|
|
|
REG_FN_VOID(PosiPressureProp_isBusy, void(void)); |
|
|
|
REG_FN(NegaPressureProp_setValve, void(int32_t), val); |
|
|
|
REG_FN_VOID(NegaPressureProp_readPos, void()); |
|
|
|
REG_FN_VOID(NegaPressureProp_isBusy, void()); |
|
|
|
REG_FN_VOID(NegaPressureProp_readPos, void(void)); |
|
|
|
REG_FN_VOID(NegaPressureProp_isBusy, void(void)); |
|
|
|
REG_FN(AirLeakDetectTestModeCtrl_setMode, void(int32_t), val); |
|
|
|
REG_FN_VOID(AirLeakDetectTestModeCtrl_getMode, void()); |
|
|
|
REG_FN_VOID(AirLeakDetectTestModeCtrl_getMode, void(void)); |
|
|
|
REG_FN(ExtChSelector_selectCh, void(int32_t), val); |
|
|
|
REG_FN(ExtChSelector_trySelectCh, void(int32_t), val); |
|
|
|
REG_FN_VOID(ExtChSelector_isOnline, void()); |
|
|
|
REG_FN_VOID(WaterSensor_readEvaporationBin, void()); |
|
|
|
REG_FN_VOID(WaterSensor_readDeviceBottom, void()); |
|
|
|
REG_FN_VOID(ACPostPS_readPa, void()); |
|
|
|
REG_FN_VOID(AirLeakDetectPS_readPa, void()); |
|
|
|
REG_FN_VOID(LiquidWeightPS_readPa, void()); |
|
|
|
REG_FN_VOID(SprayPumpPostPS_readPa, void()); |
|
|
|
REG_FN_VOID(AddLiquidPumpPostPS_readPa, void()); |
|
|
|
REG_FN_VOID(ExtChSelector_isOnline, void(void)); |
|
|
|
REG_FN_VOID(WaterSensor_readEvaporationBin, void(void)); |
|
|
|
REG_FN_VOID(WaterSensor_readDeviceBottom, void(void)); |
|
|
|
REG_FN_VOID(ACPostPS_readPa, void(void)); |
|
|
|
REG_FN_VOID(AirLeakDetectPS_readPa, void(void)); |
|
|
|
REG_FN_VOID(LiquidWeightPS_readPa, void(void)); |
|
|
|
REG_FN_VOID(SprayPumpPostPS_readPa, void(void)); |
|
|
|
REG_FN_VOID(AddLiquidPumpPostPS_readPa, void(void)); |
|
|
|
|
|
|
|
if (isInTestMode()) { |
|
|
|
logger->warn("run in pc, skip initialize device io control service"); |
|
|
|