From 4a0df3492deeaad0f834fed554488dd28937b282 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Fri, 17 May 2024 12:27:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=8A=E7=94=B5=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E5=90=8E=E4=BA=AE=E7=BB=BF=E7=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main_control_service.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/main_control_service.cpp b/src/main_control_service.cpp index 1c214af..34332f1 100644 --- a/src/main_control_service.cpp +++ b/src/main_control_service.cpp @@ -103,4 +103,16 @@ void MainControlService::initialize() { #ifdef PROJECT_TYPE_PIPE_DISINFECTION GET_SERVICE(PipelineDisinfectionCmdAppend)->initialize(); #endif + + m_deviceIoControlService->warningLightCtrl(0, 1, 0, 0); //绿色灯亮 + + m_deviceIoControlService->airCompressor_setState(0); + m_deviceIoControlService->airBlower_setState(0); +#ifdef PROJECT_TYPE_PIPE_DISINFECTION + m_deviceIoControlService->AirInletProportionalValve_setState(0); + m_deviceIoControlService->AirOutletProportionalValve_setState(0); +#endif + m_deviceIoControlService->heartingPlate_setPower(false); + m_deviceIoControlService->drainingPump_close(); + m_deviceIoControlService->sprayLiquidPump_close(); };