|
@ -681,6 +681,13 @@ void DisinfectionService::processStatePreheat(disinfection_event_t* event) { |
|
|
m_deviceIoControlService->heartingPlate_setPower(true); |
|
|
m_deviceIoControlService->heartingPlate_setPower(true); |
|
|
m_deviceIoControlService->airBlower_setState(true); |
|
|
m_deviceIoControlService->airBlower_setState(true); |
|
|
#elif (defined PROJECT_TYPE_DRAW_BAR_BOX)
|
|
|
#elif (defined PROJECT_TYPE_DRAW_BAR_BOX)
|
|
|
|
|
|
m_deviceIoControlService->DBDB__miniPwmBlowerCtrl(DBDB_MINI_PWM_BLOWER_VAL); // 风量
|
|
|
|
|
|
|
|
|
|
|
|
usleep(1000 * 1000); |
|
|
|
|
|
|
|
|
|
|
|
m_deviceIoControlService->DBDB__heaterCtrl(true); |
|
|
|
|
|
usleep(100 * 1000); |
|
|
|
|
|
m_deviceIoControlService->DBDB__heaterCtrlSafeValve(true); |
|
|
#else
|
|
|
#else
|
|
|
#endif
|
|
|
#endif
|
|
|
} |
|
|
} |
|
@ -693,6 +700,12 @@ void DisinfectionService::processStatePreheat(disinfection_event_t* event) { |
|
|
m_deviceIoControlService->heartingPlate_setPower(false); |
|
|
m_deviceIoControlService->heartingPlate_setPower(false); |
|
|
m_deviceIoControlService->airBlower_setState(false); |
|
|
m_deviceIoControlService->airBlower_setState(false); |
|
|
#elif (defined PROJECT_TYPE_DRAW_BAR_BOX)
|
|
|
#elif (defined PROJECT_TYPE_DRAW_BAR_BOX)
|
|
|
|
|
|
|
|
|
|
|
|
m_deviceIoControlService->DBDB__miniPwmBlowerCtrl(0); // 风量
|
|
|
|
|
|
usleep(1000 * 1000); |
|
|
|
|
|
m_deviceIoControlService->DBDB__heaterCtrl(false); |
|
|
|
|
|
usleep(100 * 1000); |
|
|
|
|
|
m_deviceIoControlService->DBDB__heaterCtrlSafeValve(false); |
|
|
#else
|
|
|
#else
|
|
|
#endif
|
|
|
#endif
|
|
|
} |
|
|
} |
|
@ -756,9 +769,9 @@ void DisinfectionService::processStateDisinfection(disinfection_event_t* event) |
|
|
m_deviceIoControlService->DBDB__heaterCtrl(1); |
|
|
m_deviceIoControlService->DBDB__heaterCtrl(1); |
|
|
usleep(100 * 1000); |
|
|
usleep(100 * 1000); |
|
|
m_deviceIoControlService->DBDB__heaterCtrlSafeValve(1); |
|
|
m_deviceIoControlService->DBDB__heaterCtrlSafeValve(1); |
|
|
usleep(100 * 1000); |
|
|
|
|
|
|
|
|
usleep(1000 * 1000); |
|
|
m_deviceIoControlService->DBDB__miniPwmBlowerCtrl(DBDB_MINI_PWM_BLOWER_VAL); // 风量
|
|
|
m_deviceIoControlService->DBDB__miniPwmBlowerCtrl(DBDB_MINI_PWM_BLOWER_VAL); // 风量
|
|
|
usleep(100 * 1000); |
|
|
|
|
|
|
|
|
usleep(1000 * 1000); |
|
|
m_deviceIoControlService->DBDB__extValveCtrl(IF_DeviceIoContrlService::kExtValveChannel_disinfectionChannel); |
|
|
m_deviceIoControlService->DBDB__extValveCtrl(IF_DeviceIoContrlService::kExtValveChannel_disinfectionChannel); |
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
|
|
|