unCPC6
WinCC-OA implementation of UNICOS CPC
 All Files Functions Variables Pages
cpcGenericDpFunctions.ctl File Reference

Generic functions to interact with WinCC-OA DB. More...

Functions

void cpcGenericDpFunctions_setDeviceProperty (string sDeviceDpName, string propertyName, string propertyValue, dyn_string &exceptionInfo)
 
string cpcGenericDpFunctions_getDeviceProperty (string sDeviceDpName, string propertyName, dyn_string &exceptionInfo)
 

Variables

const string UN_CPC_DEVICE_PROPERTY_PREFIX = "PROP_"
 

Detailed Description

Generic functions to interact with WinCC-OA DB.

Author
Alexey Merezhin (EN-ICE-SIC)
Creation Date
20/06/2011
Constraints
None
Usage
Public
PVSS managers
UI, CTRL

Function Documentation

void cpcGenericDpFunctions_setDeviceProperty ( string  sDeviceDpName,
string  propertyName,
string  propertyValue,
dyn_string &  exceptionInfo 
)

Save the device property for a given property name

Constraints
None
Usage
Public
PVSS managers
Ui, CTRL
Parameters
sDeviceDpNamedevice name DP name
propertyNameproperty name
propertyValueproperty value
exceptionInfoerror returned here

References UN_CPC_DEVICE_PROPERTY_PREFIX.

Referenced by cpcConfigGenericFunctions_setParameters().

Variable Documentation

const string UN_CPC_DEVICE_PROPERTY_PREFIX = "PROP_"

Prefix for property fields.

Device may contain special field called PARAMETERS, having a set of key-value. In WinCC-OA those params will be saved with this prefix (UN_CPC_DEVICE_PROPERTY_PREFIX+key -> value) in the device configuration (available by 'Device configuration' right-click menu's item).

See Also
cpcConfigGenericFunctions_checkParameters, cpcConfigGenericFunctions_setParameters

Referenced by CPC_ControllerConfig_setCustomConfig(), cpcExportGenericFunctions_getParameters(), cpcGenericDpFunctions_getDeviceProperty(), and cpcGenericDpFunctions_setDeviceProperty().