|
@ -121,6 +121,7 @@ void DisinfectionCtrlService::startDisinfection(int loglevel, float roomVol) { |
|
|
// bool preHeartFinishedFlag = false;
|
|
|
// bool preHeartFinishedFlag = false;
|
|
|
|
|
|
|
|
|
logger->info("startDisinfection {} {} {}", loglevel, roomVol, m_disinfectionID); |
|
|
logger->info("startDisinfection {} {} {}", loglevel, roomVol, m_disinfectionID); |
|
|
|
|
|
m_zcanHost->warning_light_ctrl_c1002(1, 1, 1, 1, 0); |
|
|
|
|
|
|
|
|
auto starttime = zsteady_clock().now(); |
|
|
auto starttime = zsteady_clock().now(); |
|
|
heartingPlate_setPower(true); |
|
|
heartingPlate_setPower(true); |
|
@ -162,6 +163,7 @@ void DisinfectionCtrlService::startDisinfection(int loglevel, float roomVol) { |
|
|
usleep(1000 * 1000); |
|
|
usleep(1000 * 1000); |
|
|
heartingPlate_setPower(false); |
|
|
heartingPlate_setPower(false); |
|
|
m_disinfectionWorkState = 3; |
|
|
m_disinfectionWorkState = 3; |
|
|
|
|
|
m_zcanHost->warning_light_ctrl_c1002(1, 0, 0, 0, 0); |
|
|
})); |
|
|
})); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|