cpcAnalogStatus.ctl File Reference
Functions |
|
|
| CPC_AnalogStatus_ObjectListGetValueTime (string deviceName, string deviceType, dyn_string &dsReturnData) |
| CPC_AnalogStatus_MenuConfiguration (string deviceName, string dpType, dyn_string dsAccessOk, dyn_string &menuList) |
| CPC_AnalogStatus_AcknowledgeAlarm (string deviceName, string dpType, dyn_string &dsNeedAck) |
| CPC_AnalogStatus_HandleMenu (string deviceName, string dpType, dyn_string menuList, int menuAnswer) |
| CPC_AnalogStatus_WidgetInitStatics (string deviceName) |
| CPC_AnalogStatus_WidgetLockDPEs (string deviceName, dyn_string &dpes) |
| CPC_AnalogStatus_WidgetDPEs (string deviceName, dyn_string &dpes) |
| CPC_AnalogStatus_WidgetAnimation (dyn_string dpes, dyn_anytype values, string widgetType) |
mapping | CPC_AnalogStatus_ButtonConfig (string deviceName) |
| CPC_AnalogStatus_ButtonSetState (string deviceName, string dpType, dyn_string dsUserAccess, dyn_string dsData) |
| CPC_AnalogStatus_WidgetDisconnection (string sWidgetType) |
| CPC_AnalogStatus_FaceplateInitStatics (string deviceName) |
| CPC_AnalogStatus_FaceplateLockDPEs (string deviceName, dyn_string &dpes) |
| CPC_AnalogStatus_FaceplateDPEs (string deviceName, dyn_string &dpes) |
| CPC_AnalogStatus_FaceplateStatusAnimationCB (dyn_string dpes, dyn_anytype values) |
Detailed Description
cpcAnalogStatus.ctl This library contains the widget, faceplate, etc. functions of AnalogStatus.
- Creation Date
- dd/mm/yyyy
- Modification History
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Author:
- the author (DEP-GROUP)
©Copyright CERN 2013 - all rights reserved
Function Documentation
CPC_AnalogStatus_ObjectListGetValueTime |
( |
string |
deviceName, |
|
|
string |
deviceType, |
|
|
dyn_string & |
dsReturnData | |
|
) |
| | |
CPC_AnalogStatus_MenuConfiguration |
( |
string |
deviceName, |
|
|
string |
dpType, |
|
|
dyn_string |
dsAccessOk, |
|
|
dyn_string & |
menuList | |
|
) |
| | |
CPC_AnalogStatus_HandleMenu |
( |
string |
deviceName, |
|
|
string |
dpType, |
|
|
dyn_string |
menuList, |
|
|
int |
menuAnswer | |
|
) |
| | |
handle the answer of the popup menu
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, device DP name |
| dpType | input, device type |
| menuList | input, the access control |
| menuAnswer | input, selected menu value |
References cpcGenericObject_HandleUnicosMenu().
CPC_AnalogStatus_WidgetInitStatics |
( |
string |
deviceName |
) |
|
Init static values which are used in widget animation
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, the device name |
References cpcGenericObject_GetAnalogAlarmType().
CPC_AnalogStatus_WidgetLockDPEs |
( |
string |
deviceName, |
|
|
dyn_string & |
dpes | |
|
) |
| | |
Returns the list of AnalogStatus alert handler's locker dpes
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, the device name |
| dpes | input/output, dpe list |
CPC_AnalogStatus_WidgetDPEs |
( |
string |
deviceName, |
|
|
dyn_string & |
dpes | |
|
) |
| | |
Returns the list of AnalogStatus DPEs which should be connected on widget animation
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, the device name |
| dpes | input/output, dpe list |
CPC_AnalogStatus_WidgetAnimation |
( |
dyn_string |
dpes, |
|
|
dyn_anytype |
values, |
|
|
string |
widgetType | |
|
) |
| | |
CPC_AnalogStatus_ButtonSetState |
( |
string |
deviceName, |
|
|
string |
dpType, |
|
|
dyn_string |
dsUserAccess, |
|
|
dyn_string |
dsData | |
|
) |
| | |
Set the state of the contextual button of the device
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, the device DP name |
| dpType | input, the device type |
| dsUserAccess | input, list of allowed action on the device |
| dsData | input, the device data [1] = lock state, [2] = lock by, [3] .. [6] device data |
References cpcButton_setButtonState(), and cpcExportGenericFunctions_get5AlertAcknowledgeAlarmValue().
CPC_AnalogStatus_WidgetDisconnection |
( |
string |
sWidgetType |
) |
|
Disconnect function for the widget data
Parameters:
Usage: Internal
PVSS manager usage: NG, NV
Constraints: . Global variables defined in OnOff faceplate . PVSS version: 2.12.1 . operating system: NT and W2000, but tested only under W2000. . distributed system: yes.
- Reviewed:
- 2018-07-24 Callback
CPC_AnalogStatus_FaceplateInitStatics |
( |
string |
deviceName |
) |
|
CPC_AnalogStatus_FaceplateLockDPEs |
( |
string |
deviceName, |
|
|
dyn_string & |
dpes | |
|
) |
| | |
Returns the list of AnalogStatus alert handler's locker dpes
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, the device name |
| dpes | input/output, dpe list |
CPC_AnalogStatus_FaceplateDPEs |
( |
string |
deviceName, |
|
|
dyn_string & |
dpes | |
|
) |
| | |
Returns the list of AnalogStatus DPEs which should be connected on faceplate animation
- Constraints
- None
- Usage
- Public
- PVSS managers
- Ui, CTRL
- Parameters:
-
| deviceName | input, the device name |
| dpes | input/output, dpe list |
CPC_AnalogStatus_FaceplateStatusAnimationCB |
( |
dyn_string |
dpes, |
|
|
dyn_anytype |
values | |
|
) |
| | |