Important Update:
- Renamed JSON parameter: PollGroup -> ParamGroup
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user