Functions | |
void | _fwConfigurationDB_loadApplyValues (dyn_string &exceptionInfo) |
void | _fwConfigurationDB_savePropValuesToDB (dyn_string dpeList, dyn_int dpeIdList, dyn_string &exceptionInfo, bool storeIfAddrOut=true, bool storeIfAddrIn=true) |
void | _fwConfigurationDB_loadApplyAddresses (dyn_string &exceptionInfo) |
void | _fwConfigurationDB_savePropAddressToDB (dyn_string dpes, dyn_int ipropIds, dyn_string &exceptionInfo) |
void | _fwConfigurationDB_savePropAlertsToDB (dyn_string dpes, dyn_int ipropIds, dyn_string &exceptionInfo) |
void | _fwConfigurationDB_loadApplyAlerts (dyn_string &exceptionInfo) |
void | _fwConfigurationDB_loadApplySumAlerts (dyn_string &exceptionInfo) |
void | _fwConfigurationDB_loadApplyArchiving (dyn_string &exceptionInfo) |
void | _fwConfigurationDB_savePropArchivingToDB (dyn_string dpes, dyn_int ipropIds, dyn_string &exceptionInfo) |
void | _fwConfigurationDB_loadApplyDpFunctions (dyn_string &exceptionInfo, int options) |
_fwConfigurationDB_savePropDpFunctionToDB (dyn_string dpes, dyn_int ipropIds, dyn_string &exceptionInfo) | |
void | _fwConfigurationDB_loadApplyConversions (dyn_string &exceptionInfo) |
_fwConfigurationDB_savePropConversionToDB (dyn_string dpes, dyn_int ipropIds, dyn_string &exceptionInfo) | |
void | _fwConfigurationDB_loadApplyPvRanges (dyn_string &exceptionInfo) |
_fwConfigurationDB_savePropPVRangeToDB (dyn_string dpes, dyn_int ipropIds, dyn_string &exceptionInfo) | |
void | _fwConfigurationDB_loadApplySmoothing (dyn_string &exceptionInfo) |
_fwConfigurationDB_savePropSmoothingToDB (dyn_string dpes, dyn_int ipropIds, dyn_string &exceptionInfo) | |
void | _fwConfigurationDB_loadApplyUnitAndFormat (dyn_string &exceptionInfo) |
_fwConfigurationDB_savePropUnitAndFormatToDB (dyn_string dpes, dyn_int ipropIds, dyn_string &exceptionInfo) | |
void | fwConfigurationDB_saveDeviceConfigurationInDB (dyn_string deviceList, string hierarchyType, string configurationName, anytype saveConfigs, dyn_string &exceptionInfo, string systemName="", string confDescription="") |
void | fwConfigurationDB_saveDeviceConfiguration (dyn_string deviceList, string configurationName, string hierarchyType, dyn_string &exceptionInfo, int options=fwConfigurationDB_deviceConfig_ALLDEVPROPS) |
void | _fwConfigurationDB_saveItemsToDB (dyn_string deviceList, string hierarchyType, dyn_string &exceptionInfo) |
void | fwConfigurationDB_getDevicesInConfiguration (string configurationName, string hierarchyType, string topNode, dyn_dyn_mixed &deviceListObject, dyn_string &exceptionInfo) |
void | fwConfigurationDB_getPropsOfDeviceInConfiguration (string configurationName, string deviceName, dyn_string &propNames, dyn_int &ipropIds, dyn_string &exceptionInfo) |
Variables | |
global string | _fwConfigurationDB_fileVersion_fwConfigurationDB_DeviceConfiguration_ctl = "3.5.7" |
This package contains device-configuration functions of the Configuration Database tool
void _fwConfigurationDB_loadApplyValues | ( | dyn_string & | exceptionInfo | ) |
void _fwConfigurationDB_savePropValuesToDB | ( | dyn_string | dpeList, | |
dyn_int | dpeIdList, | |||
dyn_string & | exceptionInfo, | |||
bool | storeIfAddrOut = true , |
|||
bool | storeIfAddrIn = true | |||
) |
void _fwConfigurationDB_loadApplyAddresses | ( | dyn_string & | exceptionInfo | ) |
void _fwConfigurationDB_savePropAddressToDB | ( | dyn_string | dpes, | |
dyn_int | ipropIds, | |||
dyn_string & | exceptionInfo | |||
) |
Extracts addressing configuration from PVSS and save to DB
dpes | list of the data point element names for which configuration is requested | |
ipropIds | corresponding list of IPROP_ID identifiers (in the database) of the data-point elements |
we assume that the configuration was already created, and ipropIds are valid
void _fwConfigurationDB_savePropAlertsToDB | ( | dyn_string | dpes, | |
dyn_int | ipropIds, | |||
dyn_string & | exceptionInfo | |||
) |
Extracts alert configuration from PVSS and save to DB
dpes | list of the data point element names for which configuration is requested | |
ipropIds | corresponding list of IPROP_ID identifiers (in the database) of the data-point elements |
we assume that the configuration was already created, and ipropIds are valid
void _fwConfigurationDB_loadApplyAlerts | ( | dyn_string & | exceptionInfo | ) |
void _fwConfigurationDB_loadApplySumAlerts | ( | dyn_string & | exceptionInfo | ) |
void _fwConfigurationDB_loadApplyArchiving | ( | dyn_string & | exceptionInfo | ) |
void _fwConfigurationDB_savePropArchivingToDB | ( | dyn_string | dpes, | |
dyn_int | ipropIds, | |||
dyn_string & | exceptionInfo | |||
) |
Extracts archiving configuration from PVSS and save to DB
dpes | list of the data point element names for which configuration is requested | |
ipropIds | corresponding list of IPROP_ID identifiers (in the database) of the data-point elements |
we assume that the configuration was already created, and ipropIds are valid
void _fwConfigurationDB_loadApplyDpFunctions | ( | dyn_string & | exceptionInfo, | |
int | options | |||
) |
_fwConfigurationDB_savePropDpFunctionToDB | ( | dyn_string | dpes, | |
dyn_int | ipropIds, | |||
dyn_string & | exceptionInfo | |||
) |
void _fwConfigurationDB_loadApplyConversions | ( | dyn_string & | exceptionInfo | ) |
_fwConfigurationDB_savePropConversionToDB | ( | dyn_string | dpes, | |
dyn_int | ipropIds, | |||
dyn_string & | exceptionInfo | |||
) |
void _fwConfigurationDB_loadApplyPvRanges | ( | dyn_string & | exceptionInfo | ) |
_fwConfigurationDB_savePropPVRangeToDB | ( | dyn_string | dpes, | |
dyn_int | ipropIds, | |||
dyn_string & | exceptionInfo | |||
) |
void _fwConfigurationDB_loadApplySmoothing | ( | dyn_string & | exceptionInfo | ) |
_fwConfigurationDB_savePropSmoothingToDB | ( | dyn_string | dpes, | |
dyn_int | ipropIds, | |||
dyn_string & | exceptionInfo | |||
) |
void _fwConfigurationDB_loadApplyUnitAndFormat | ( | dyn_string & | exceptionInfo | ) |
_fwConfigurationDB_savePropUnitAndFormatToDB | ( | dyn_string | dpes, | |
dyn_int | ipropIds, | |||
dyn_string & | exceptionInfo | |||
) |
void fwConfigurationDB_saveDeviceConfigurationInDB | ( | dyn_string | deviceList, | |
string | hierarchyType, | |||
string | configurationName, | |||
anytype | saveConfigs, | |||
dyn_string & | exceptionInfo, | |||
string | systemName = "" , |
|||
string | confDescription = "" | |||
) |
Main function that saves static configuration - compatibility mode
saveConfigs | may either be of bool, or of int type; in the former case, passing FALSE means that only the minimal (hierarchy) information is stored; passing TRUE means all configs of the devices are stored. If the int-typed parameter is used it should contain the sum of options refering to the configs that should be stored: the deviceConfigsIndices constants should be used. To store no configs (i.e. only the minimal hierarchy information), one should pass 0; to store all properties one should pass the fwConfigurationDB_deviceConfig_ALLDEVPROPS constant. |
void fwConfigurationDB_saveDeviceConfiguration | ( | dyn_string | deviceList, | |
string | configurationName, | |||
string | hierarchyType, | |||
dyn_string & | exceptionInfo, | |||
int | options = fwConfigurationDB_deviceConfig_ALLDEVPROPS | |||
) |
Main function that saves static configuration
void _fwConfigurationDB_saveItemsToDB | ( | dyn_string | deviceList, | |
string | hierarchyType, | |||
dyn_string & | exceptionInfo | |||
) |
void fwConfigurationDB_getDevicesInConfiguration | ( | string | configurationName, | |
string | hierarchyType, | |||
string | topNode, | |||
dyn_dyn_mixed & | deviceListObject, | |||
dyn_string & | exceptionInfo | |||
) |
helper function that shows the devices included in configuration, starting from specified topDevice
if configurationName is empty, it takes the devices of "ITEMS" table (i.e. "all")
topNode should specify the system name for hardware hierarchy; if left empty, all devices from all systems are returned
void fwConfigurationDB_getPropsOfDeviceInConfiguration | ( | string | configurationName, | |
string | deviceName, | |||
dyn_string & | propNames, | |||
dyn_int & | ipropIds, | |||
dyn_string & | exceptionInfo | |||
) |
global string _fwConfigurationDB_fileVersion_fwConfigurationDB_DeviceConfiguration_ctl = "3.5.7" |