17 changed files with 269 additions and 134 deletions
-
2app_protocols/apperrorcode/apperrorcode.hpp
-
3appsrc/appbase/appbase.hpp
-
3appsrc/appbase/appbean/device_state.cpp
-
13appsrc/appbase/appbean/device_state.hpp
-
9appsrc/appsetting/project_port/basic/project_constant.hpp
-
20appsrc/appsetting/project_port/project_port.cpp
-
8appsrc/appsetting/project_port/project_port.hpp
-
11appsrc/baseservice/devicestate/device_state_service.hpp
-
90appsrc/service/app/add_liquid_service.cpp
-
14appsrc/service/app/add_liquid_service.hpp
-
2appsrc/service/app/air_leak_detect_test.cpp
-
0appsrc/service/app/air_leak_detect_test.hpp
-
11appsrc/service/hardware/device_ctrl_service.cpp
-
1appsrc/service/hardware/device_ctrl_service.hpp
-
2appsrc/service/main_control_service.cpp
@ -0,0 +1,3 @@ |
|||
#include "device_state.hpp"
|
|||
|
|||
DeviceState_ZENUM_IMPL; |
@ -0,0 +1,13 @@ |
|||
#pragma once
|
|||
|
|||
#include "iflytop/core/components/zenum_template/zenum_template.hpp"
|
|||
|
|||
#define DeviceState_ZENUM_IMPL ZENUM_IMPL(DeviceState, DeviceState_LIST)
|
|||
#define DeviceState_LIST(type, marco) /**/ \
|
|||
marco(type, Idle) /**/ \ |
|||
marco(type, Disinfection) /**/ \ |
|||
marco(type, AddingLiquid) /**/ \ |
|||
marco(type, DrainingLiquid) /**/ \ |
|||
marco(type, AirLeakDetectTesting) /**/ |
|||
|
|||
ZENUM_DECLAR(DeviceState, DeviceState_LIST); |
@ -1,4 +1,4 @@ |
|||
#include "air_tightness_test.hpp"
|
|||
#include "air_leak_detect_test.hpp"
|
|||
using namespace iflytop; |
|||
void AirLeakDetectTest::initialize() { |
|||
logger->info("AirLeakDetectTest initialize"); |
Write
Preview
Loading…
Cancel
Save
Reference in new issue