|
@ -166,7 +166,7 @@ void DisinfectionCmdImpl::startFormula(json& cmd, json& receipt) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
int disinfectantVolumeG = m_deviceIoControlService->getDisinfectantVolume_g(); |
|
|
int disinfectantVolumeG = m_deviceIoControlService->getDisinfectantVolume_g(); |
|
|
if (disinfectantVolumeG < MIN_DISINFECTANT_VOLUME) { |
|
|
|
|
|
|
|
|
if (disinfectantVolumeG < (MIN_DISINFECTANT_VOLUME)) { |
|
|
logger->error("start disinfection failed, disinfectant volume not enough {} < {}", disinfectantVolumeG, MIN_DISINFECTANT_VOLUME); |
|
|
logger->error("start disinfection failed, disinfectant volume not enough {} < {}", disinfectantVolumeG, MIN_DISINFECTANT_VOLUME); |
|
|
receipt["ackcode"] = err::zecode(err::kce_disinfectant_insufficient); |
|
|
receipt["ackcode"] = err::zecode(err::kce_disinfectant_insufficient); |
|
|
receipt["ackcodeInfo"] = err::zecode2str(err::kce_disinfectant_insufficient); |
|
|
receipt["ackcodeInfo"] = err::zecode2str(err::kce_disinfectant_insufficient); |
|
|