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, string defaultValue="")

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)

©Copyright CERN 2013 - all rights reserved

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:
sDeviceDpName device name DP name
propertyName property name
propertyValue property value
exceptionInfo error returned here

References UN_CPC_DEVICE_PROPERTY_PREFIX.

Referenced by cpcConfigGenericFunctions_setParameters().

string cpcGenericDpFunctions_getDeviceProperty ( string  sDeviceDpName,
string  propertyName,
dyn_string &  exceptionInfo,
string  defaultValue = "" 
)

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().


Generated on 11 Jul 2013 for unCPC6 by  doxygen 1.6.1