unCPC6
6.6.8
WinCC-OA implementation of UNICOS CPC
|
Functions | |
void | CPC_SumAlarm_AcknowledgeAlarm (string sDeviceName, string sDpType, dyn_string &dsNeedAck) |
void | CPC_SumAlarm_ObjectListGetValueTime (string sDeviceName, string sDeviceType, dyn_string &dsReturnData) |
CPC_SumAlarm_MenuConfiguration (string sDeviceName, string sDpType, dyn_string dsAccessOk, dyn_string &dsMenuList) | |
CPC_SumAlarm_HandleMenu (string sDeviceName, string sDpType, dyn_string dsMenuList, int iMenuAnswer) | |
CPC_SumAlarm_WidgetInitStatics (string sDeviceName) | |
void | CPC_SumAlarm_WidgetDPEs (string sDeviceName, dyn_string &dsDpes) |
CPC_SumAlarm_WidgetAnimation (dyn_string dsDpes, dyn_anytype daValues, string sWidgetType) | |
void | CPC_SumAlarm_WidgetDisconnection (string sWidgetType) |
mapping | CPC_SumAlarm_ButtonConfig (string sDeviceName) |
void | CPC_SumAlarm_ButtonDPEs (string sDeviceName, dyn_string &dsDpes) |
void | CPC_SumAlarm_ButtonSetState (string sDeviceName, string sDpType, dyn_string dsUserAccess, dyn_string dsData) |
void | CPC_SumAlarm_FaceplateInitStatics (string sDeviceName) |
CPC_SumAlarm_FaceplateDPEs (string sDeviceName, dyn_string &dsDpes) | |
CPC_SumAlarm_FaceplateStatusAnimationCB (dyn_string dsDpes, dyn_anytype daValues) | |
void | CPC_SumAlarm_WidgetLockDPEs (string sDeviceName, dyn_string &dsDpes) |
cpcSumAlarm.ctl This library contains the widget, faceplate, etc. functions of SummaryAlarm.
void CPC_SumAlarm_AcknowledgeAlarm | ( | string | sDeviceName, |
string | sDpType, | ||
dyn_string & | dsNeedAck | ||
) |
Returns the list of Summary Alarm DPE with alarm config that can be acknowledged
sDeviceName,string,input,device | name DP name |
sDpType,string,input,device | type |
dsNeedAck,dyn_string,output,the | list of DPE |
void CPC_SumAlarm_ObjectListGetValueTime | ( | string | sDeviceName, |
string | sDeviceType, | ||
dyn_string & | dsReturnData | ||
) |
Function called from snapshot utility of the treeDeviceOverview to get the time and value
sDeviceName,string,input,device | name |
sDeviceType,string,input,device | type |
dsReturnData,dyn_string,output,return | data, array of 5 strings |
CPC_SumAlarm_MenuConfiguration | ( | string | sDeviceName, |
string | sDpType, | ||
dyn_string | dsAccessOk, | ||
dyn_string & | dsMenuList | ||
) |
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, cpcGenericObject_addDefaultUnicosActionToMenu(), and cpcGenericObject_addUnicosActionToMenu().
CPC_SumAlarm_HandleMenu | ( | string | sDeviceName, |
string | sDpType, | ||
dyn_string | dsMenuList, | ||
int | iMenuAnswer | ||
) |
handle the answer of the popup menu
sDeviceName,string,input,device | DP name |
sDpType,string,input,device | type |
dsMenuList,dyn_string,input,the | access control |
iMenuAnswer,int,input,selected | menu value |
References cpcGenericObject_HandleUnicosMenu().
CPC_SumAlarm_WidgetInitStatics | ( | string | sDeviceName | ) |
Init static values which are used in widget animation
sDeviceName | input, the device name |
void CPC_SumAlarm_WidgetDPEs | ( | string | sDeviceName, |
dyn_string & | dsDpes | ||
) |
Returns the list of DigitalAlarm DPEs which should be connected on widget animation
deviceName | input, the device name |
dpes | input/output, dpe list |
CPC_SumAlarm_WidgetAnimation | ( | dyn_string | dsDpes, |
dyn_anytype | daValues, | ||
string | sWidgetType | ||
) |
callback function on the device data
dpes | input, the dpe names |
values | input, the dpe values |
References CPC_WIDGET_ALARM, CPC_WIDGET_TEXT_ALARM_BLOCKED, CPC_WIDGET_TEXT_ALARM_MASKED, CPC_WIDGET_TEXT_POSW, and cpcGenericObject_WidgetValidnessAnimation().
void CPC_SumAlarm_WidgetDisconnection | ( | string | sWidgetType | ) |
mapping CPC_SumAlarm_ButtonConfig | ( | string | sDeviceName | ) |
Return button configuration including access level
void CPC_SumAlarm_ButtonDPEs | ( | string | sDeviceName, |
dyn_string & | dsDpes | ||
) |
Configure the list of dpes that needs for buttons animation
sDeviceName,string,input,the | name of device |
dsDpes,dyn_string,input,the | list of dpes to connect |
void CPC_SumAlarm_ButtonSetState | ( | string | sDeviceName, |
string | sDpType, | ||
dyn_string | dsUserAccess, | ||
dyn_string | dsData | ||
) |
Set the state of the contextual button of the device
sDeviceName,string,input,the | device DP name |
sDpType,string,input,the | device type |
dsUserAccess,dyn_string,input,list | of allowed action on the device |
dsData,dyn_string,input,the | device data [1] = lock state, [2] = lock by, [3] .. [6] device data |
References cpcButton_setButtonState().
void CPC_SumAlarm_FaceplateInitStatics | ( | string | sDeviceName | ) |
Init static values which are used in faceplate animation
sDeviceName | string, input, the device name |
CPC_SumAlarm_FaceplateDPEs | ( | string | sDeviceName, |
dyn_string & | dsDpes | ||
) |
Returns the list of DigitalAlarm DPEs which should be connected on faceplate animation
sDeviceName | string, input, the device name |
dsDpes,dyn_string,output,dpe | list |
CPC_SumAlarm_FaceplateStatusAnimationCB | ( | dyn_string | dsDpes, |
dyn_anytype | daValues | ||
) |
callback function on the device data
dsDpes | input, dyn_string, The dpe names |
daValues | input, dyn_anytype, The dpe values |
void CPC_SumAlarm_WidgetLockDPEs | ( | string | sDeviceName, |
dyn_string & | dsDpes | ||
) |
Returns the list of Summary Alarm alert handler's locker dpes
sDeviceName,string,input,the | device name |
sDpes,dyn_string,output,dpe | list |