Important update:
- DataTree->GetStr return Member->Value or NULL if not found - Rename DeviceCore EDataType to EMBDataType, avoid conflict with JSONpaser - Add DataTree to FunctionCore with LoadConfig() method - Change ProcessName to char * (from char[]) - JSONparse: - Rename RootPath to BasePath on all methods to reduce confusion - Allow FilePath to be NULL, add '/' if not present - Fixed Parsing sequence in ParseObject & ParseArray
This commit is contained in:
@@ -217,7 +217,7 @@ bool CDeviceCore::DestroyDevice( TDevice ** Device )
|
||||
}
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
TDeviceParam * CDeviceCore::AddDeviceParam( TDevice * Device, const char * ParamName, EDataType DataType, int ParamLen )
|
||||
TDeviceParam * CDeviceCore::AddDeviceParam( TDevice * Device, const char * ParamName, EMBDataType DataType, int ParamLen )
|
||||
{
|
||||
// Get register or end of list
|
||||
TDeviceParam ** Param = &Device->FirstParam;
|
||||
|
||||
Reference in New Issue
Block a user