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;