unCPC6
6.6.6
WinCC-OA implementation of UNICOS CPC
|
Functions | |
CPC_Word2AnalogStatus_ObjectListGetValueTime (string deviceName, string deviceType, dyn_string &dsReturnData) | |
CPC_Word2AnalogStatus_MenuConfiguration (string deviceName, string dpType, dyn_string dsAccessOk, dyn_string &menuList) | |
CPC_Word2AnalogStatus_HandleMenu (string deviceName, string dpType, dyn_string menuList, int menuAnswer) | |
CPC_Word2AnalogStatus_WidgetInitStatics (string deviceName) | |
CPC_Word2AnalogStatus_WidgetDPEs (string deviceName, dyn_string &dpes) | |
CPC_Word2AnalogStatus_WidgetAnimation (dyn_string dpes, dyn_anytype values, string widgetType) | |
CPC_Word2AnalogStatus_WidgetDisconnection (string sWidgetType) | |
cpcWord2AnalogStatus.ctl This library contains the widget, faceplate, etc. functions of Word2AnalogStatus.
CPC_Word2AnalogStatus_ObjectListGetValueTime | ( | string | deviceName, |
string | deviceType, | ||
dyn_string & | dsReturnData | ||
) |
Function called from snapshot utility of the treeDeviceOverview to get the time and value
deviceName | input, device name |
deviceType | input, device type |
dsReturnData | output, return data, array of 5 strings |
References CPC_AnalogStatus_ObjectListGetValueTime().
CPC_Word2AnalogStatus_MenuConfiguration | ( | string | deviceName, |
string | dpType, | ||
dyn_string | dsAccessOk, | ||
dyn_string & | menuList | ||
) |
pop-up menu
deviceName | input, device DP name |
dpType | input, device type |
dsAccessOk | input, the access control |
menuList | output, pop-up menu to show, dyn_string to be given to the popupMenu function |
References CPC_POPUPMENU_DIAG_INFO_TEXT, and cpcGenericObject_addDefaultUnicosActionToMenu().
CPC_Word2AnalogStatus_HandleMenu | ( | string | deviceName, |
string | dpType, | ||
dyn_string | menuList, | ||
int | menuAnswer | ||
) |
handle the answer of the popup menu
deviceName | input, device DP name |
dpType | input, device type |
menuList | input, the access control |
menuAnswer | input, selected menu value |
References cpcGenericObject_HandleUnicosMenu().
CPC_Word2AnalogStatus_WidgetInitStatics | ( | string | deviceName | ) |
Init static values which are used in widget animation
deviceName | input, the device name |
CPC_Word2AnalogStatus_WidgetDPEs | ( | string | deviceName, |
dyn_string & | dpes | ||
) |
Returns the list of Word2AnalogStatus DPEs which should be connected on widget animation
deviceName | input, the device name |
dpes | input/output, dpe list |
CPC_Word2AnalogStatus_WidgetAnimation | ( | dyn_string | dpes, |
dyn_anytype | values, | ||
string | widgetType | ||
) |
callback function on the device data
dpes | input, the dpe names |
values | input, the dpe values |
References cpcGenericObject_FormatValueWithUnit(), and cpcGenericObject_WidgetValidnessAnimation().
CPC_Word2AnalogStatus_WidgetDisconnection | ( | string | sWidgetType | ) |