unCPC6  6.6.11
WinCC-OA implementation of UNICOS CPC
cpcConfigGenericFunctions.ctl File Reference

This library contains functions called from other unCPC scripts. More...

Functions

void cpcConfigGenericFunctions_genericCheckDeviceConfig (dyn_string dsConfigs, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_genericSetDeviceConfig (dyn_string dsConfigs, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_initConstants ()
 
void cpcConfigGenericFunctions_checkDeviceConfig (string sDeviceType, dyn_string dsConfigs, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_checkBool (string sName, string sSource, bool &bRes, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_checkMapping (dyn_string dsConfigs, string sLabels, dyn_string &dsExceptionInfo)
 
bool cpcConfigGenericFunctions_checkConfigLength (string sDeviceType, dyn_string dsConfigs, bool &bHasArchive)
 
void cpcConfigGenericFunctions_checkArchiveConfig (string sDeviceType, dyn_string &dsConfigs, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_checkDeviceAddress (dyn_string dsConfigs, string sFrontEndType, string sDeviceType, string sAddressValue, mapping mAddressProperties, bool bHasArchive, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_checkAddressCMW (string sAddress, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_check5RangesAlert (dyn_string dsConfigs, int iAlarmActivePos, dyn_int diLimits, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_checkParameters (string sDeviceType, string sParameters, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setDeviceConfig (dyn_string dsConfigs, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setDPEAlias (string sDeviceName, string sDpe, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setMapping (dyn_string dsConfigs, string sDeviceType, string sDpeName, mapping mDpeProperties, string sFrontEndType, bool bHasArchive, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setUnit (dyn_string dsConfigs, string sDeviceType, string sDpeName, mapping mDpeProperties, string sFrontEndType, bool bHasArchive, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setFormat (dyn_string dsConfigs, string sDeviceType, string sDpeName, mapping mDpeProperties, string sFrontEndType, bool bHasArchive, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_getRange (dyn_string dsConfigs, string sDeviceType, string sDpeName, string &sRangeMax, string &sRangeMin, bool bHasArchive)
 
void cpcConfigGenericFunctions_setRange (dyn_string dsConfigs, string sDeviceType, string sDpeName, mapping mDpeProperties, string sFrontEndType, bool bHasArchive, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setParameters (string sDeviceType, dyn_string dsConfigs, string sParameters, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setMetainfo (string sDeviceType, dyn_string dsConfigs, bool bHasArchive, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setSmoothing (dyn_string dsConfigs, string sDeviceType, string sDpeName, mapping mDpeProperties, string sFrontEndType, bool bHasArchive, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setArchive (dyn_string dsConfigs, string sDeviceType, string sDpeName, mapping mDpeProperties, string sFrontEndType, bool bHasArchive, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setEvArchive (dyn_string dsConfigs, string sAddress, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setMaskEvent (string sDeviceType, string sDeviceName, bool bIsMasked, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setAddress (dyn_string dsConfigs, string sDpeName, mapping mDpeProperties, string sAddressValue, string sFrontEndType, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setCMWAddress (string sDpeName, string sAddress, string sDriver, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_checkAddressIEC (string sAddressValue, dyn_string &dsExceptionInfo)
 
 cpcConfigGenericFunctions_checkAddressOPCUA (string sAddress, dyn_string &dsExceptionInfo)
 
 cpcConfigGenericFunctions_checkAddressSNMP (string sAddress, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setAddressOPCUA (string sDpeName, string sAddress, int iDataType, string sDriver, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setBACnetAddress (string sDpeName, string sFrontEndName, string sAddress, int iDataType, string sDriver, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setDIPAddress (string sDpeName, string sFrontEndName, string sAddress, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setSNMPAddress (string sDpeName, string sFrontEndName, string sAddressReference, string sDriverReference, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setIEC104Address (string sDpeName, string sFrontEndName, string sAddressReference, string sDriver, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setAlert (dyn_string dsConfigs, string sDeviceType, string sAlertName, mapping mAlertProperties, string sFrontEndType, string sRegisterName, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setAlertDetails (dyn_string dsConfigs, string sDeviceType, string sAlertName, mapping mAlertProps, string sFrontEndType, string sDpeName, dyn_string &dsExceptionInfo)
 
bool cpcConfigGenericFunctions_alertWithMail (string sDeviceName, string sAlertName, string sCategory="")
 
void cpcConfigGenericFunctions_setDigitalAlert (string sDpName, dyn_string dsdescription, dyn_string dsAlertTexts, dyn_string dsAlertClasses, bool bOkRange, bool bActive, bool bSms, dyn_string &dsExceptionInfo)
 
 cpcConfigGenericFunctions_createAlarmDescription (string sDomainConfig, string sNatureConfig, string sAlias, string sDescription, string sAlarmName, string sDefaultPanel, dyn_string &dsDescription)
 
void cpcConfigGenericFunctions_set5RangesAlert (dyn_string dsConfigs, string sDp, string sDescription, bool bAcknowledgeAlarmValue, bool bAlarmActive, bool bSms, dyn_int diLimits, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_get5AlertConfig (string sLLParam, string sLParam, string sHParam, string sHHParam, bool bSms, bool bAcknowledgeAlarmValue, dyn_float &dfLevelLimits, dyn_string &dsLevelsAlarm, dyn_string &dsLevelsAlertsClass)
 
string cpcConfigGenericFunctions_getAlertClass (bool bAcknowledgeAlarmValue, bool bSms, string sPostFix="", string sBaseClass=CPC_CONFIG_ALARM_BASE_CLASS)
 
dyn_string cpcConfigGenericFunctions_getDeviceParamNames (string sDeviceType)
 
mapping cpcConfigGenericFunctions_getDPEConfig (string sDeviceType)
 
synchronized bool cpcConfigGenericFunctions_createGlobalConst (dyn_string &dsExceptionInfo)
 
synchronized bool cpcConfigGenericFunctions_AddConst (string sPrefix, string sConstant, anytype aValue)
 
int cpcConfigGenericFunctions_getConstant (string sDeviceType, string sConstantName, bool bVerbose=FALSE)
 
int cpcConfigGenericFunctions_getConstantDPEAdress (string sDeviceType, string sAddress)
 
int cpcConfigGenericFunctions_getConstantDPEProperty (string sDeviceType, string sAddressName, bool bHasArchive, string sPropertyName)
 
int cpcConfigGenericFunctions_getConstantDPLength (string sDeviceType)
 
int cpcConfigGenericFunctions_getConstantDPAdditionalLength (string sDeviceType)
 
anytype cpcConfigGenericFunctions_getConstantByName (string sPrefix, string sConstant, bool bSpecialConstant=FALSE)
 
string cpcConfigGenericFunctions_getStringConstantByName (string sName)
 
string cpcConfigGenericFunctions_getShortTypeName (string sDeviceType)
 
string cpcConfigGenericFunctions_getConstantPrefix (string sFrontEndType)
 
string _cpcConfigGenericFunctions_getFrontEndType ()
 
string cpcConfigGenericFunctions_getFrontEndType (dyn_string dsConfig)
 
int cpcConfigGenericFunctions_translateDataType (string sFrontEndType, int iCommonDataType)
 
int cpcConfigGenericFunctions_translateDataTypeForS7Check (int commonDataType, string sAddressValue)
 
dyn_string splitCommaSeparatedString (string sData)
 
void cpcConfigGenericFunctions_processArchives (int iToSkip, bool bHasArchive, dyn_string &dsConfigs)
 
mapping cpcConfigGenericFunctions_getParametersMapping (dyn_string dsConfigs, string sDeviceType, bool bHasArchive)
 
void cpcConfigGenericFunctions_checkMsgConv (string sConversion, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_setMsgConv (string sConversion, dyn_string dsDpes, dyn_string &dsExceptionInfo)
 
void cpcConfigGenericFunctions_eventCommand (string sTextBox)
 
bool cpcConfigGenericFunctions_isOldSoftFe (string sFrontEndType)
 

Variables

const string cpcConfigGenericFunctions_sPARAM_DPE_VALUE = "value:"
 

Detailed Description

This library contains functions called from other unCPC scripts.

Author
Jonas Arroyo (BE-ICS-FD)
Ivan Koblik (IT-CO-FE)
Nikolay Kulman (IT-CO-FE)
Geraldine Thomas (IT-CO-FE)
Francisco Mico (IT-CO-FE)
Alexey Merezhin (EN-ICE-PLC)
Creation Date
14.11.2003
Constraints
None
Usage
Public
PVSS managers
UI, CTRL

Function Documentation

◆ cpcConfigGenericFunctions_genericCheckDeviceConfig()

void cpcConfigGenericFunctions_genericCheckDeviceConfig ( dyn_string  dsConfigs,
dyn_string &  dsExceptionInfo 
)

Check data of the $sDeviceType object before configuration. It calls or reproduces following calls: unConfigGenericFunctions_checkParameters(dsConfigs, sDeviceType, dsExceptionInfo); unConfigGenericFunctions_checkDeviceConfig(dsConfigs, sDeviceType, dsExceptionInfo);

Device can specify its own checkConfig function by specifying it in device type configuration. Also it can overwrite the check for specific front-end as in following example for CMW front end of CPC_WordStatus object: {code} CMW_CPC_WordStatus_checkConfig(dyn_string configLine, dyn_string &dsExceptionInfo) { cpcConfigGenericFunctions_checkDeviceConfig(UN_CONFIG_CPC_WORDSTATUS_DPT_NAME, configLine, dsExceptionInfo); } {code}

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
dsExceptionInfoexception info

References cpcConfigGenericFunctions_checkDeviceConfig(), and cpcConfigGenericFunctions_initConstants().

◆ cpcConfigGenericFunctions_genericSetDeviceConfig()

void cpcConfigGenericFunctions_genericSetDeviceConfig ( dyn_string  dsConfigs,
dyn_string &  dsExceptionInfo 
)

Creates dp (or checks if it is already presented) and sets configuration for the $sDeviceType object. That calls or reproduces following calls: unConfigGenericFunctions_createDp unConfigGenericFunctions_setCommon unConfigGenericFunctions_setDeviceConfig

Device can specify its own setConfig function by specifying it in device type configuration. Also it can overwrite the set for specific front-end as in following example for Schneider (_UnPlc) front end of CPC_WordStatus object: {code} _UnPlc_CPC_WordStatus_setConfig(dyn_string dsConfigs, dyn_string &exceptionInfo) { cpcConfigGenericFunctions_setDeviceConfig(dsConfigs, exceptionInfo); } {code}

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
dsExceptionInfoexception info

References cpcConfigGenericFunctions_initConstants(), and cpcConfigGenericFunctions_setDeviceConfig().

◆ cpcConfigGenericFunctions_initConstants()

void cpcConfigGenericFunctions_initConstants ( )

Generic function to initialize CPC constants for import process

Initialization function to cache CPC constants during the import process

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
None
Returns
None

Referenced by cpcConfigGenericFunctions_genericCheckDeviceConfig(), and cpcConfigGenericFunctions_genericSetDeviceConfig().

◆ cpcConfigGenericFunctions_checkDeviceConfig()

void cpcConfigGenericFunctions_checkDeviceConfig ( string  sDeviceType,
dyn_string  dsConfigs,
dyn_string &  dsExceptionInfo 
)

◆ cpcConfigGenericFunctions_checkBool()

void cpcConfigGenericFunctions_checkBool ( string  sName,
string  sSource,
bool &  bRes,
dyn_string &  dsExceptionInfo 
)

Check if string represents a boolean value.

Parameters
sNamename of the field, used in error message
sSourcestring to check
bResboolean representation of the string
dsExceptionInfoexception info

Referenced by CPC_DigitalParameterConfig_checkCustomConfig(), cpcConfigGenericFunctions_check5RangesAlert(), cpcConfigGenericFunctions_checkDeviceConfig(), and cpcConfigGenericFunctions_setAlertDetails().

◆ cpcConfigGenericFunctions_checkMapping()

void cpcConfigGenericFunctions_checkMapping ( dyn_string  dsConfigs,
string  sLabels,
dyn_string &  dsExceptionInfo 
)

Check comma separated string for the correctness.

Verifies that each of the values is a pair of an identifier, assignment sign, and an integer as a value. For example: "value1=23,value2=10"

Parameters
dsConfigsimportation line, processed in the unCore
sLabelsstring to test that contains comma separated values
dsExceptionInfoexception info

Referenced by cpcConfigGenericFunctions_checkDeviceConfig().

◆ cpcConfigGenericFunctions_checkConfigLength()

bool cpcConfigGenericFunctions_checkConfigLength ( string  sDeviceType,
dyn_string  dsConfigs,
bool &  bHasArchive 
)

Check if the configs lenght is correct. Also reports if config has archiving in it.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypeDPT name
dsConfigsimportation line, processed in the unCore
bHasArchiveset to true if passed config importation line contains bool/analog/event archives, otherwise set to false
Returns
result of checking, true if config has a proper length, otherwise it's false.

References _cpcConfigGenericFunctions_getFrontEndType(), cpcConfigGenericFunctions_getConstantDPAdditionalLength(), and cpcConfigGenericFunctions_getConstantDPLength().

Referenced by cpcConfigGenericFunctions_checkDeviceConfig().

◆ cpcConfigGenericFunctions_checkArchiveConfig()

void cpcConfigGenericFunctions_checkArchiveConfig ( string  sDeviceType,
dyn_string &  dsConfigs,
dyn_string &  dsExceptionInfo 
)

Checks archive names for correctness.

Archives should be defined in passing importation line. Proxy validation to unConfigGenericFunctions_checkArchive.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypeDPT name
dsConfigsimportation line, processed in the unCore
dsExceptionInfoexception info

References cpcConfigGenericFunctions_getConstantDPAdditionalLength(), and cpcConfigGenericFunctions_getConstantDPLength().

Referenced by cpcConfigGenericFunctions_checkDeviceConfig().

◆ cpcConfigGenericFunctions_checkDeviceAddress()

void cpcConfigGenericFunctions_checkDeviceAddress ( dyn_string  dsConfigs,
string  sFrontEndType,
string  sDeviceType,
string  sAddressValue,
mapping  mAddressProperties,
bool  bHasArchive,
dyn_string &  dsExceptionInfo 
)

Check device address

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sFrontEndTypecurrent front-end type
sDeviceTypedevice type
sAddressValueaddress reference
mAddressPropertieschecked address properties
bHasArchivedoes importation line contain bool/analog/event archives
dsExceptionInfoexception info
Returns
nothing

Referenced by cpcConfigGenericFunctions_checkDeviceConfig().

◆ cpcConfigGenericFunctions_checkAddressCMW()

void cpcConfigGenericFunctions_checkAddressCMW ( string  sAddress,
dyn_string &  dsExceptionInfo 
)

Check if CMW address is correctly formered. It's allows to have an emtpy string for address.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sAddressaddress string
dsExceptionInfoexception info

References CPC_CMW_ADDRESS_CONFIG_SEPARATOR.

◆ cpcConfigGenericFunctions_check5RangesAlert()

void cpcConfigGenericFunctions_check5RangesAlert ( dyn_string  dsConfigs,
int  iAlarmActivePos,
dyn_int  diLimits,
dyn_string &  dsExceptionInfo 
)

Check 5 ranges _alert_hdl data.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
iAlarmActivePosposition of alarm active field in the importation line; device's importation constant should be used.
diLimitspositions of 4 limits - LL,L,H,HH - in the importation line; device's importation constant should be used.
dsExceptionInfoexception info

References cpcConfigGenericFunctions_checkBool().

Referenced by cpcConfigGenericFunctions_checkDeviceConfig().

◆ cpcConfigGenericFunctions_checkParameters()

void cpcConfigGenericFunctions_checkParameters ( string  sDeviceType,
string  sParameters,
dyn_string &  dsExceptionInfo 
)

Check device parameters field.

Parameters is the special field of importation line that should be presented as a KEY=VALUE comma separated list. Parameters should contains all and the only keys that defined in device' getParamNames function.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypeimportation line, processed in the unCore
sParametersparameters value
dsExceptionInfoexception info

References cpcConfigGenericFunctions_getDeviceParamNames().

Referenced by cpcConfigGenericFunctions_checkDeviceConfig().

◆ cpcConfigGenericFunctions_setDeviceConfig()

void cpcConfigGenericFunctions_setDeviceConfig ( dyn_string  dsConfigs,
dyn_string &  dsExceptionInfo 
)

Generic function that set device config. Set up device's dpes using getConfig(), getParamNames() functions and importation constants defined in the device config script.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
dsExceptionInfoexception info

References cpcConfigGenericFunctions_getConstantDPAdditionalLength(), and cpcConfigGenericFunctions_getConstantDPLength().

Referenced by cpcConfigGenericFunctions_genericSetDeviceConfig().

◆ cpcConfigGenericFunctions_setDPEAlias()

void cpcConfigGenericFunctions_setDPEAlias ( string  sDeviceName,
string  sDpe,
dyn_string &  dsExceptionInfo 
)

Set DPE alias to alias%.dpe_name% (e.g. "object1.PosSt")

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceNamedevice name (alias)
sDpefull dpe name (e.g. dist_1:un-PLCATLTRT-ATLTRT-CPC_AnalogParameter-00001.ProcessInput.PosSt)
dsExceptionInfoexception info

◆ cpcConfigGenericFunctions_setMapping()

void cpcConfigGenericFunctions_setMapping ( dyn_string  dsConfigs,
string  sDeviceType,
string  sDpeName,
mapping  mDpeProperties,
string  sFrontEndType,
bool  bHasArchive,
dyn_string &  dsExceptionInfo 
)

Set description for the given element (dpe)

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypedevice type
sDpeNamedpe name
mDpePropertiesdpe properties
sFrontEndTypecurrent front-end type
bHasArchivedoes importation line contain bool/analog/event archives
dsExceptionInfoexception info

References CPC_CONFIG_MAPPING, and cpcConfigGenericFunctions_getConstantDPEProperty().

◆ cpcConfigGenericFunctions_setUnit()

void cpcConfigGenericFunctions_setUnit ( dyn_string  dsConfigs,
string  sDeviceType,
string  sDpeName,
mapping  mDpeProperties,
string  sFrontEndType,
bool  bHasArchive,
dyn_string &  dsExceptionInfo 
)

Set unit for the given element (dpe)

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypedevice type
sDpeNamedpe name
mDpePropertiesdpe properties
sFrontEndTypecurrent front-end type
bHasArchivedoes importation line contain bool/analog/event archives
dsExceptionInfoexception info

References cpcConfigGenericFunctions_getConstantDPEProperty().

◆ cpcConfigGenericFunctions_setFormat()

void cpcConfigGenericFunctions_setFormat ( dyn_string  dsConfigs,
string  sDeviceType,
string  sDpeName,
mapping  mDpeProperties,
string  sFrontEndType,
bool  bHasArchive,
dyn_string &  dsExceptionInfo 
)

Set format for the given element (dpe)

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypedevice type
sDpeNamedpe name
mDpePropertiesdpe properties
sFrontEndTypecurrent front-end type
bHasArchivedoes importation line contain bool/analog/event archives
dsExceptionInfoexception info

References cpcConfigGenericFunctions_getConstantDPEProperty().

◆ cpcConfigGenericFunctions_getRange()

void cpcConfigGenericFunctions_getRange ( dyn_string  dsConfigs,
string  sDeviceType,
string  sDpeName,
string &  sRangeMax,
string &  sRangeMin,
bool  bHasArchive 
)

Init range from importation line

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypedevice type
sDpeNamedpe name
sRangeMaxmax range to set
sRangeMinmin range to set
bHasArchivedoes importation line contain bool/analog/event archives

References cpcConfigGenericFunctions_getConstantDPEProperty().

Referenced by cpcConfigGenericFunctions_setRange().

◆ cpcConfigGenericFunctions_setRange()

void cpcConfigGenericFunctions_setRange ( dyn_string  dsConfigs,
string  sDeviceType,
string  sDpeName,
mapping  mDpeProperties,
string  sFrontEndType,
bool  bHasArchive,
dyn_string &  dsExceptionInfo 
)

Set range for the given element (dpe)

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypedevice type
sDpeNamedpe name
mDpePropertiesdpe properties
sFrontEndTypecurrent front-end type
bHasArchivedoes importation line contain bool/analog/event archives
dsExceptionInfoexception info

References cpcConfigGenericFunctions_getRange().

◆ cpcConfigGenericFunctions_setParameters()

void cpcConfigGenericFunctions_setParameters ( string  sDeviceType,
dyn_string  dsConfigs,
string  sParameters,
dyn_string &  dsExceptionInfo 
)

Set parameters for the given element (dpe)

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
dsConfigsimportation line, processed in the unCore
sParametersparameters value
dsExceptionInfoexception info

References cpcGenericDpFunctions_setDeviceProperty().

◆ cpcConfigGenericFunctions_setMetainfo()

void cpcConfigGenericFunctions_setMetainfo ( string  sDeviceType,
dyn_string  dsConfigs,
bool  bHasArchive,
dyn_string &  dsExceptionInfo 
)

Set meta info for the given element (dpe)

Meta info is device's heirarchy (i.e. master/parents/children), type and second alias

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
dsConfigsimportation line, processed in the unCore
bHasArchivedoes importation line contain bool/analog/event archives
dsExceptionInfoexception info

References CPC_CONFIG_CHILDREN_KEY, CPC_CONFIG_MASTER_NAME_KEY, CPC_CONFIG_PARENTS_KEY, CPC_CONFIG_SECOND_ALIAS_KEY, CPC_CONFIG_TYPE_KEY, cpcConfigGenericFunctions_getConstantDPEProperty(), and splitCommaSeparatedString().

◆ cpcConfigGenericFunctions_setSmoothing()

void cpcConfigGenericFunctions_setSmoothing ( dyn_string  dsConfigs,
string  sDeviceType,
string  sDpeName,
mapping  mDpeProperties,
string  sFrontEndType,
bool  bHasArchive,
dyn_string &  dsExceptionInfo 
)

Set deadband for the given element (dpe)

Deadband could be absolute, relative, old/new comparison and none.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypedevice type
sDpeNamedpe name
mDpePropertiesdpe properties
sFrontEndTypecurrent front-end type
bHasArchivedoes importation line contain bool/analog/event archives
dsExceptionInfoexception info

References cpcConfigGenericFunctions_getConstantDPEProperty().

◆ cpcConfigGenericFunctions_setArchive()

void cpcConfigGenericFunctions_setArchive ( dyn_string  dsConfigs,
string  sDeviceType,
string  sDpeName,
mapping  mDpeProperties,
string  sFrontEndType,
bool  bHasArchive,
dyn_string &  dsExceptionInfo 
)

Set archiving for the given element (dpe)

For analog dpes archive parameters (including smoothing) are coded in ARCHIVE_ACTIVE and ARCHIVE_TIME_FILTER (optional) fields. For boolean dpes it's always old/new smooth, ARCHIVE_ACTIVE is treated only as "yes" or "no".

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypedevice type
sDpeNamedpe name
mDpePropertiesdpe properties
sFrontEndTypecurrent front-end type
bHasArchivedoes importation line contain bool/analog/event archives
dsExceptionInfoexception info

References CPC_BOOL, and cpcConfigGenericFunctions_getConstantDPEProperty().

◆ cpcConfigGenericFunctions_setEvArchive()

void cpcConfigGenericFunctions_setEvArchive ( dyn_string  dsConfigs,
string  sAddress,
dyn_string &  dsExceptionInfo 
)

Set archiving for the device event dpes

The event dpe's archiving is always configured with old/new smoothing.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sAddressdpe name
dsExceptionInfoexception info

◆ cpcConfigGenericFunctions_setMaskEvent()

void cpcConfigGenericFunctions_setMaskEvent ( string  sDeviceType,
string  sDeviceName,
bool  bIsMasked,
dyn_string &  dsExceptionInfo 
)

Set mask state for the given device

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
sDeviceNamedevice name
bIsMaskedmask state to set
dsExceptionInfoexception info

References CPC_BOOL, and cpcConfigGenericFunctions_getDPEConfig().

◆ cpcConfigGenericFunctions_setAddress()

void cpcConfigGenericFunctions_setAddress ( dyn_string  dsConfigs,
string  sDpeName,
mapping  mDpeProperties,
string  sAddressValue,
string  sFrontEndType,
dyn_string &  dsExceptionInfo 
)

Set address for the given element (dpe)

Set up periphery address for S7 or UNICOS (Schneider)

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDpeNamedpe name
mDpePropertiesdpe properties
sAddressValueadress position in the importation line
sFrontEndTypecurrent front-end type
dsExceptionInfoexception info
Returns
nothing

References cpcConfigGenericFunctions_translateDataType().

◆ cpcConfigGenericFunctions_setCMWAddress()

void cpcConfigGenericFunctions_setCMWAddress ( string  sDpeName,
string  sAddress,
string  sDriver,
dyn_string &  dsExceptionInfo 
)

Set up CMW address config

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDpeNamedpe name
sAddressaddress configuration in the importation line
sDriverdriver reference
dsExceptionInfoexception info

References CPC_CMW_ADDRESS_CONFIG_SEPARATOR.

Referenced by cpcConfigGenericFunctions_setAlert().

◆ cpcConfigGenericFunctions_checkAddressIEC()

void cpcConfigGenericFunctions_checkAddressIEC ( string  sAddressValue,
dyn_string &  dsExceptionInfo 
)

Check IEC104 address config

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sAddressValue,string,IEC104address reference
dsExceptionInfoexception info
Returns
Nothing

◆ cpcConfigGenericFunctions_checkAddressSNMP()

cpcConfigGenericFunctions_checkAddressSNMP ( string  sAddress,
dyn_string &  dsExceptionInfo 
)

Check if SNMP address is correctly formered. It's allows to have an emtpy string for address.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sAddressaddress string
dsExceptionInfoexception info

◆ cpcConfigGenericFunctions_setAlert()

void cpcConfigGenericFunctions_setAlert ( dyn_string  dsConfigs,
string  sDeviceType,
string  sAlertName,
mapping  mAlertProperties,
string  sFrontEndType,
string  sRegisterName,
dyn_string &  dsExceptionInfo 
)

Set alarm address for the given element (dpe)

Set up periphery address of bool dpe which is linked to StsReg for S7 or UNICOS (Schneider)

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypedevice type
sAlertNamedpe name
mAlertPropsdpe properties
sFrontEndTypecurrent front-end type
sDpeNamename of StsReg dpe which contains the bit to link to
dsExceptionInfoexception info

References CPC_CMW_DPTYPE, CPC_OPCUA_DPTYPE, cpcConfigGenericFunctions_getConstantDPEAdress(), and cpcConfigGenericFunctions_setCMWAddress().

◆ cpcConfigGenericFunctions_setAlertDetails()

void cpcConfigGenericFunctions_setAlertDetails ( dyn_string  dsConfigs,
string  sDeviceType,
string  sAlertName,
mapping  mAlertProps,
string  sFrontEndType,
string  sDpeName,
dyn_string &  dsExceptionInfo 
)

Set alarm config for the given element (dpe)

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypedevice type
sAlertNamedpe name
mAlertPropsdpe properties
sFrontEndTypecurrent front-end type
sDpeNamename of StsReg dpe which contains the bit to link to
dsExceptionInfoexception info

References CPC_CONFIG_ALARM_CUSTOM_OK_POSTFIX, CPC_UNDEFINED_CONSTANT_VALUE, cpcConfigGenericFunctions_checkBool(), cpcConfigGenericFunctions_createAlarmDescription(), cpcConfigGenericFunctions_getAlertClass(), cpcConfigGenericFunctions_getConstant(), cpcConfigGenericFunctions_getConstantByName(), and cpcConfigGenericFunctions_setDigitalAlert().

◆ cpcConfigGenericFunctions_alertWithMail()

bool cpcConfigGenericFunctions_alertWithMail ( string  sDeviceName,
string  sAlertName,
string  sCategory = "" 
)

return true if alertName should be configured with mail handler returns true except there's device property DPE_NO_MAIL = true and CATEGORY_DPE_NO_MAIL = true alertName name of dpe with alert handler, for example "PosSt"

◆ cpcConfigGenericFunctions_setDigitalAlert()

void cpcConfigGenericFunctions_setDigitalAlert ( string  sDpName,
dyn_string  dsdescription,
dyn_string  dsAlertTexts,
dyn_string  dsAlertClasses,
bool  bOkRange,
bool  bActive,
bool  bSms,
dyn_string &  dsExceptionInfo 
)

Save alerm info

Port of unConfigGenericFunctions_setDigitalAlert

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDpNamedatapoint name
dsdescriptiondatapoint description
dsAlertTextsalerm messages (On and Off)
dsAlertClassesalert class, should exist in db
bOkRangedeprecated
bActiveis alarm active
bSmsdeprecated
dsExceptionInfoexception info

Referenced by cpcConfigGenericFunctions_setAlertDetails().

◆ cpcConfigGenericFunctions_createAlarmDescription()

cpcConfigGenericFunctions_createAlarmDescription ( string  sDomainConfig,
string  sNatureConfig,
string  sAlias,
string  sDescription,
string  sAlarmName,
string  sDefaultPanel,
dyn_string &  dsDescription 
)

Create

get alarm description

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDescriptiondescription
dsDescriptiondescription in the format needed by unConfigGenericFunctions_setAlarmDescription

Referenced by cpcConfigGenericFunctions_set5RangesAlert(), and cpcConfigGenericFunctions_setAlertDetails().

◆ cpcConfigGenericFunctions_set5RangesAlert()

void cpcConfigGenericFunctions_set5RangesAlert ( dyn_string  dsConfigs,
string  sDp,
string  sDescription,
bool  bAcknowledgeAlarmValue,
bool  bAlarmActive,
bool  bSms,
dyn_int  diLimits,
dyn_string &  dsExceptionInfo 
)

Set 5 ranges _alert_hdl on given dpe

Port of unConfigGenericFunctions_set5RangesAlert

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDpdpe name
sDescriptiondescription
bAcknowledgeAlarmValueis alarm acknowledgeable
bAlarmActiveis alarm active
bSmsdoes alarm trigger mail/sms notifier
diLimitsubdex of 4 limits - LL,L,H,HH - in the importation line; device's importation constant should be used
dsExceptionInfoexception info

References cpcConfigGenericFunctions_createAlarmDescription(), and cpcConfigGenericFunctions_get5AlertConfig().

◆ cpcConfigGenericFunctions_get5AlertConfig()

void cpcConfigGenericFunctions_get5AlertConfig ( string  sLLParam,
string  sLParam,
string  sHParam,
string  sHHParam,
bool  bSms,
bool  bAcknowledgeAlarmValue,
dyn_float &  dfLevelLimits,
dyn_string &  dsLevelsAlarm,
dyn_string &  dsLevelsAlertsClass 
)

Build config of 5-range alert

Port of unConfigGenericFunctions_set4LevelsAlert

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sLLParamLL threshold value
sLParamL threshold value
sHParamH threshold value
sHHParamHH threshold value
bSmsdoes alarm trigger mail/sms notifier
bAcknowledgeAlarmValueis alarm acknowledgeable
dfLevelLimitsthreshold values array
dsLevelsAlarmthreshold levels array
dsLevelsAlertsClassthreshold classes array

Referenced by cpcConfigGenericFunctions_set5RangesAlert().

◆ cpcConfigGenericFunctions_getAlertClass()

string cpcConfigGenericFunctions_getAlertClass ( bool  bAcknowledgeAlarmValue,
bool  bSms,
string  sPostFix = "",
string  sBaseClass = CPC_CONFIG_ALARM_BASE_CLASS 
)

Returns alert class according to passed params

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
bAcknowledgeAlarmValueis alarm acknowledgeable
bSmsdoes alarm trigger mail/sms notifier
sPostFixclass postfix
sBaseClassbase class

References CPC_CONFIG_ALARM_ACK_POSTFIX, and CPC_CONFIG_ALARM_MAIL_POSTFIX.

Referenced by cpcConfigGenericFunctions_setAlertDetails().

◆ cpcConfigGenericFunctions_getDeviceParamNames()

dyn_string cpcConfigGenericFunctions_getDeviceParamNames ( string  sDeviceType)

Return the list of parameter names of device

This list is defined in DT_Config.ctl script by function called DT_getParamNames()

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
Returns
device's parameter names list

References cpcConfigGenericFunctions_getShortTypeName().

Referenced by cpcConfigGenericFunctions_checkParameters().

◆ cpcConfigGenericFunctions_getDPEConfig()

mapping cpcConfigGenericFunctions_getDPEConfig ( string  sDeviceType)

Returns dpes config

This mapping is defined in DT_Config.ctl script by function called DT_getConfig()

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
Returns
dpes configs

References _cpcConfigGenericFunctions_getFrontEndType(), CPC_BOOL, and cpcConfigGenericFunctions_getShortTypeName().

Referenced by cpcConfigGenericFunctions_checkDeviceConfig(), and cpcConfigGenericFunctions_setMaskEvent().

◆ cpcConfigGenericFunctions_getConstant()

int cpcConfigGenericFunctions_getConstant ( string  sDeviceType,
string  sConstantName,
bool  bVerbose = FALSE 
)

Return the value of a device's property constant

Property's constant should be defined in DP_Config.ctl script and have following notation FRONT_END_PREFIX_SHORT_DEVICE_NAME_PROPERTY_NAME%

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
sConstantNameconstant name
bVerbose,[optional]displays if constant doesn't exist
Returns
device's property value

Referenced by cpcConfigGenericFunctions_checkDeviceConfig(), cpcConfigGenericFunctions_getConstantDPAdditionalLength(), cpcConfigGenericFunctions_getConstantDPLength(), and cpcConfigGenericFunctions_setAlertDetails().

◆ cpcConfigGenericFunctions_getConstantDPEAdress()

int cpcConfigGenericFunctions_getConstantDPEAdress ( string  sDeviceType,
string  sAddress 
)

Returns address position in the importation line for passed DPE name

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
sAddressDPE name
Returns
address position in the import line

References _cpcConfigGenericFunctions_getFrontEndType(), cpcConfigGenericFunctions_getConstantByName(), and cpcConfigGenericFunctions_getConstantPrefix().

Referenced by cpcConfigGenericFunctions_checkDeviceConfig(), and cpcConfigGenericFunctions_setAlert().

◆ cpcConfigGenericFunctions_getConstantDPEProperty()

int cpcConfigGenericFunctions_getConstantDPEProperty ( string  sDeviceType,
string  sAddressName,
bool  bHasArchive,
string  sPropertyName 
)

Returns config position for given device type, periphery address name and property name.

Function make a lookup for constant UN_CONFIG_[DEVICE]_[ADDRESS_NAME]_[PROP]. if not found then try constant UN_CONFIG_[DEVICE]_[PROP]

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceType,devicetype
sAddressName,DPEname
bHasArchive,doesimportation line contain bool/analog/event archives
sPropertyName,DPE'sproperty name

References _cpcConfigGenericFunctions_getFrontEndType(), cpcConfigGenericFunctions_getConstantByName(), cpcConfigGenericFunctions_getConstantDPLength(), and cpcConfigGenericFunctions_getConstantPrefix().

Referenced by cpcConfigGenericFunctions_checkDeviceConfig(), cpcConfigGenericFunctions_getParametersMapping(), cpcConfigGenericFunctions_getRange(), cpcConfigGenericFunctions_setArchive(), cpcConfigGenericFunctions_setFormat(), cpcConfigGenericFunctions_setMapping(), cpcConfigGenericFunctions_setMetainfo(), cpcConfigGenericFunctions_setSmoothing(), and cpcConfigGenericFunctions_setUnit().

◆ cpcConfigGenericFunctions_getConstantDPLength()

int cpcConfigGenericFunctions_getConstantDPLength ( string  sDeviceType)

Returns a length of importation line

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
Returns
length of the importation line

References cpcConfigGenericFunctions_getConstant().

Referenced by cpcConfigGenericFunctions_checkArchiveConfig(), cpcConfigGenericFunctions_checkConfigLength(), cpcConfigGenericFunctions_checkDeviceConfig(), cpcConfigGenericFunctions_getConstantDPEProperty(), and cpcConfigGenericFunctions_setDeviceConfig().

◆ cpcConfigGenericFunctions_getConstantDPAdditionalLength()

int cpcConfigGenericFunctions_getConstantDPAdditionalLength ( string  sDeviceType)

Returns an additional length of importation line

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
Returns
additional lenght of importation line

References cpcConfigGenericFunctions_getConstant().

Referenced by cpcConfigGenericFunctions_checkArchiveConfig(), cpcConfigGenericFunctions_checkConfigLength(), cpcConfigGenericFunctions_checkDeviceConfig(), and cpcConfigGenericFunctions_setDeviceConfig().

◆ cpcConfigGenericFunctions_getConstantByName()

anytype cpcConfigGenericFunctions_getConstantByName ( string  sPrefix,
string  sConstant,
bool  bSpecialConstant = FALSE 
)

Returns a value of constant by name

Returns -1 if value is not defined.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sName,constantname
Returns
constant's value

Referenced by cpcConfigGenericFunctions_getConstantDPEAdress(), cpcConfigGenericFunctions_getConstantDPEProperty(), cpcConfigGenericFunctions_setAlertDetails(), cpcGenericObject_StsRegConstantNameToValue(), and cpcGenericObject_WidgetControlStateAnimation().

◆ cpcConfigGenericFunctions_getStringConstantByName()

string cpcConfigGenericFunctions_getStringConstantByName ( string  sName)

Returns a string value of constant by name

Returns CPC_UNDEFINED_CONSTANT_VALUE if value is not defined.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sNameconstant name
Returns
constant's value

Referenced by cpcGenericObject_WidgetControlStateAnimation().

◆ cpcConfigGenericFunctions_getShortTypeName()

string cpcConfigGenericFunctions_getShortTypeName ( string  sDeviceType)

Returns a device type name without CPC_ prefix

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sDeviceTypedevice type
Returns
DT name without CPC_ prefix

Referenced by cpcConfigGenericFunctions_checkDeviceConfig(), cpcConfigGenericFunctions_getDeviceParamNames(), cpcConfigGenericFunctions_getDPEConfig(), and cpcExportGenericFunctions_getArchivedDpes().

◆ cpcConfigGenericFunctions_getConstantPrefix()

string cpcConfigGenericFunctions_getConstantPrefix ( string  sFrontEndType)

Returns a position constants prefix

Can be SOFT_FE for SOFT Front-End or UN_CONFIG for others.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sFrontEndType,Frontend type
Returns
front-end related prefix

References _cpcConfigGenericFunctions_getFrontEndType(), and cpcConfigGenericFunctions_isOldSoftFe().

Referenced by cpcConfigGenericFunctions_getConstantDPEAdress(), and cpcConfigGenericFunctions_getConstantDPEProperty().

◆ _cpcConfigGenericFunctions_getFrontEndType()

string _cpcConfigGenericFunctions_getFrontEndType ( )

◆ cpcConfigGenericFunctions_translateDataType()

int cpcConfigGenericFunctions_translateDataType ( string  sFrontEndType,
int  iCommonDataType 
)

Convert CPC data-type representation to the front-end specific

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sFrontEndTypefront-end to translate to
commonDataTypeCPC data type
Returns
int, fromt end data type

References CPC_BACNET_DPTYPE, CPC_BOOL, CPC_FLOAT, CPC_INT16, CPC_INT32, CPC_OPCUA_DPTYPE, CPC_SNMP_DPTYPE, and CPC_UINT16.

Referenced by cpcConfigGenericFunctions_setAddress().

◆ cpcConfigGenericFunctions_translateDataTypeForS7Check()

int cpcConfigGenericFunctions_translateDataTypeForS7Check ( int  commonDataType,
string  sAddressValue 
)

Convert CPC data-type representation to the S7 check data type

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
commonDataTypeCPC data type
sAddressValueS7 Address to be checked
Returns
S7 data type check

References CPC_BOOL, CPC_FLOAT, CPC_INT16, CPC_INT32, and CPC_UINT16.

◆ splitCommaSeparatedString()

dyn_string splitCommaSeparatedString ( string  sData)

Split comma-separated string and trim each element

Constraints
None
Usage
Public
PVSS managers
UI
Todo:
move to generic place. reuse in other places. merge with cpcGenericObject_StringToMapping
Parameters
sDatacomma-separated string
Returns
array of trimmed elements

Referenced by cpcConfigGenericFunctions_setMetainfo().

◆ cpcConfigGenericFunctions_processArchives()

void cpcConfigGenericFunctions_processArchives ( int  iToSkip,
bool  bHasArchive,
dyn_string &  dsConfigs 
)

Gets archiving configs from object and puts them to the common archiving configs.

Todo:
move to the unicos core
Constraints
None
Usage
Public
PVSS managers
UI
Parameters
iToSkipNum elements in dsConfigs to skip before common part
bHasArchiveis archived defined in the importation line
dsConfigsimportation line, processed in the unCore

◆ cpcConfigGenericFunctions_getParametersMapping()

mapping cpcConfigGenericFunctions_getParametersMapping ( dyn_string  dsConfigs,
string  sDeviceType,
bool  bHasArchive 
)

Gets additional parameters configs from object and puts them to a mapping.

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
dsConfigsimportation line, processed in the unCore
sDeviceTypeDevice type name
bHasArchiveis archived defined in the importation line

References cpcConfigGenericFunctions_getConstantDPEProperty().

Referenced by CPC_AnalogInputConfig_checkCustomConfig(), CPC_AnalogStatusConfig_checkCustomConfig(), and CPC_WordStatusConfig_checkCustomConfig().

◆ cpcConfigGenericFunctions_checkMsgConv()

void cpcConfigGenericFunctions_checkMsgConv ( string  sConversion,
dyn_string &  dsExceptionInfo 
)

Checks message convertion parameter

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sConversionstring with message convertion configuration
dsExceptionInfofor errors

◆ cpcConfigGenericFunctions_setMsgConv()

void cpcConfigGenericFunctions_setMsgConv ( string  sConversion,
dyn_string  dsDpes,
dyn_string &  dsExceptionInfo 
)

Sets _msg_conv dpe config based on given parameter string

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sConversionstring with message convertion configuration
dpeslist of dpes to e configured
dsExceptionInfofor errors

◆ cpcConfigGenericFunctions_eventCommand()

void cpcConfigGenericFunctions_eventCommand ( string  sTextBox)

Adds system name to the dp if not present

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sTextBoxcontains the dp to be modified in its text attribute

◆ cpcConfigGenericFunctions_isOldSoftFe()

bool cpcConfigGenericFunctions_isOldSoftFe ( string  sFrontEndType)

Checks if the old Soft FE is used

Constraints
None
Usage
Public
PVSS managers
UI
Parameters
sPlcTypeFrontEnd type

Referenced by cpcConfigGenericFunctions_checkDeviceConfig(), and cpcConfigGenericFunctions_getConstantPrefix().