diff --git a/appsrc/service/dm_gas_path_mgr_service.cpp b/appsrc/service/dm_gas_path_mgr_service.cpp index fab91f2..aeb284e 100644 --- a/appsrc/service/dm_gas_path_mgr_service.cpp +++ b/appsrc/service/dm_gas_path_mgr_service.cpp @@ -27,6 +27,9 @@ void DMGasPathMgrService::initialize() { REG_CLASS("气路通道控制服务"); REG_EXTFN(selectChannel, void(DMGasPath), dmGasPath); REG_EXTFN_DISPNAME(selectChannel, "选择通道"); + + REG_EXTFN(setOnlineState, void(bool), isOnline); + REG_EXTFN_DISPNAME(setOnlineState, "设置在线状态(DebugOnly)"); } /**