From b679da9c29e5337d161f335cdb597900025a2942 Mon Sep 17 00:00:00 2001 From: Charl Wentzel Date: Wed, 9 Jan 2019 15:48:37 +0200 Subject: [PATCH] Important Update: - Renamed JSON parameter: PollGroup -> ParamGroup --- DeviceCore.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DeviceCore.cpp b/DeviceCore.cpp index 411eafc..a54fc9c 100644 --- a/DeviceCore.cpp +++ b/DeviceCore.cpp @@ -344,7 +344,7 @@ bool CDeviceCore::InitDeviceParam( TDevice * Device, CDataMember * ParamConfig, if ((Children = ParamConfig->GetChild( "Children", false ))) { // Data Branch - if ((ParamGroupName = (char*)ParamConfig->GetChStr( "PollGroup", NULL, false ))) { + if ((ParamGroupName = (char*)ParamConfig->GetChStr( "ParamGroup", NULL, false ))) { ParamGroup = AddParamGroup( Device, ParamGroupName ); } else { ParamGroup = ParentParamGroup; @@ -410,7 +410,7 @@ bool CDeviceCore::InitDeviceParam( TDevice * Device, CDataMember * ParamConfig, } } - if ((ParamGroupName = (char*)ParamConfig->GetChStr( "PollGroup", NULL, false ))) { + if ((ParamGroupName = (char*)ParamConfig->GetChStr( "ParamGroup", NULL, false ))) { ParamGroup = AddParamGroup( Device, ParamGroupName ); } else { ParamGroup = ParentParamGroup;