Functions | |
CPC_MassFlowController_AcknowledgeAlarm (string deviceName, string dpType, dyn_string &dsNeedAck) | |
CPC_MassFlowController_ObjectListGetValueTime (string deviceName, string deviceType, dyn_string &dsReturnData) | |
CPC_MassFlowController_MenuConfiguration (string deviceName, string dpType, dyn_string dsAccessOk, dyn_string &menuList) | |
CPC_MassFlowController_HandleMenu (string deviceName, string dpType, dyn_string menuList, int menuAnswer) | |
CPC_MassFlowController_WidgetRegisterCB (string sDp, bool bSystemConnected) | |
CPC_MassFlowController_WidgetInitStatics (string deviceName) | |
CPC_MassFlowController_WidgetDPEs (string deviceName, dyn_string &dpes) | |
CPC_MassFlowController_WidgetAnimation (dyn_string dpes, dyn_anytype values, string widgetType) | |
CPC_MassFlowController_WidgetDisconnection (string sWidgetType) | |
mapping | CPC_MassFlowController_ButtonConfig (string deviceName) |
CPC_MassFlowController_ButtonDPEs (string deviceName, dyn_string &dpes) | |
CPC_MassFlowController_ButtonSetState (string deviceName, string dpType, dyn_string dsUserAccess, dyn_string dsData) | |
CPC_MassFlowController_FaceplateInitStatics (string deviceName) | |
CPC_MassFlowController_FaceplateDPEs (string deviceName, dyn_string &dpes) | |
CPC_MassFlowController_FaceplateStatusAnimationCB (dyn_string dpes, dyn_anytype values) |
cpcMassFlowController.ctl This library contains the widget, faceplate, etc. functions of MassFlowController.
©Copyright CERN 2013 - all rights reserved
CPC_MassFlowController_AcknowledgeAlarm | ( | string | deviceName, | |
string | dpType, | |||
dyn_string & | dsNeedAck | |||
) |
Returns the list of MassFlowController DPE with alarm config that can be acknowledged
deviceName | input, device name DP name | |
dpType | input, device type | |
dsNeedAck | output, the lsit of DPE |
CPC_MassFlowController_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 |
CPC_MassFlowController_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_ALARMS_TEXT, cpcGenericObject_addDefaultUnicosActionToMenu(), and cpcGenericObject_addUnicosActionToMenu().
CPC_MassFlowController_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_MassFlowController_WidgetRegisterCB | ( | string | sDp, | |
bool | bSystemConnected | |||
) |
widget register callback
sDp | input, the DistributedControl system name DP name | |
bSystemConnected | input, the state of the system name |
References CPC_MassFlowController_WidgetDisconnection(), cpcGenericAnimation_WidgetConnect(), cpcGenericAnimation_WidgetDisconnect(), and cpcGenericAnimation_WidgetLockDPEs().
CPC_MassFlowController_WidgetInitStatics | ( | string | deviceName | ) |
Init static values which are used in widget animation
deviceName | input, the device name |
References CPC_PARAMS_MRESTART, cpcGenericDpFunctions_getDeviceProperty(), and cpcGenericObject_getCtrlLink().
CPC_MassFlowController_WidgetDPEs | ( | string | deviceName, | |
dyn_string & | dpes | |||
) |
Returns the list of MassFlowController DPEs which should be connected on widget animation
deviceName | input, the device name | |
dpes | input/output, dpe list |
CPC_MassFlowController_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 CPC_STSREG01_ALST, CPC_STSREG01_CONFIGW, CPC_STSREG01_TSTOPIST, CPC_STSREG02_FUSTOPIST, CPC_WIDGET_TEXT_ALARM_ALST, CPC_WIDGET_TEXT_ALARM_FUSTOPIST, CPC_WIDGET_TEXT_ALARM_STARTIST, CPC_WIDGET_TEXT_ALARM_TSTOPIST, CPC_WIDGET_TEXT_CONFIGW, CPC_WIDGET_TEXT_WARNING_BLOCKED, CPC_WIDGET_TEXT_WARNING_DEFAULT, CPC_WIDGET_TEXT_WARNING_ERROR, CPC_WIDGET_TEXT_WARNING_SIMU, cpcGenericObject_WidgetAnimationDoubleStsReg(), cpcGenericObject_WidgetDisplayValueAnimation(), and cpcWidget_WidgetCtrlAnimationCB().
CPC_MassFlowController_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.
References cpcGenericObject_WidgetDisconnection().
Referenced by CPC_MassFlowController_WidgetRegisterCB().
mapping CPC_MassFlowController_ButtonConfig | ( | string | deviceName | ) |
Return button configuration including access level
References CPC_ACCESS_RIGHTS_EXPERT, CPC_ACCESS_RIGHTS_OPERATOR, CPC_FACEPLATE_BUTTON_ALLOW_RESTART, and CPC_FACEPLATE_BUTTON_MFC_PARAMS.
CPC_MassFlowController_ButtonDPEs | ( | string | deviceName, | |
dyn_string & | dpes | |||
) |
Configure the list of dpes that needs for buttons animation
deviceName | input, the name of device | |
dpes | input, the list of dpes to connect |
CPC_MassFlowController_ButtonSetState | ( | string | deviceName, | |
string | dpType, | |||
dyn_string | dsUserAccess, | |||
dyn_string | dsData | |||
) |
Set the state of the contextual button of the device
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 CPC_FACEPLATE_BUTTON_ALLOW_RESTART, CPC_FACEPLATE_BUTTON_MFC_PARAMS, CPC_STSREG02_SOFTLDST, cpcButton_ButtonSetState(), cpcButton_setButtonState(), and cpcGenericAnimation_ButtonList().
CPC_MassFlowController_FaceplateInitStatics | ( | string | deviceName | ) |
Init static values which are used in faceplate animation
deviceName | input, the device name |
References CPC_MFC_CALIBRATION_GAS_NAME, CPC_MFC_CALIBRATION_UNIT, CPC_PARAMS_FEEDBACK_SIM, CPC_PARAMS_FSPOSON, CPC_PARAMS_INHIBITMANUALTOTALIZER, CPC_PARAMS_MRESTART, CPC_PARAMS_NOISE_FILTER, cpcGenericDpFunctions_getDeviceProperty(), and cpcGenericObject_StringToMapping().
CPC_MassFlowController_FaceplateDPEs | ( | string | deviceName, | |
dyn_string & | dpes | |||
) |
Returns the list of MassFlowController DPEs which should be connected on faceplate animation
deviceName | input, the device name | |
dpes | input/output, dpe list |
CPC_MassFlowController_FaceplateStatusAnimationCB | ( | dyn_string | dpes, | |
dyn_anytype | values | |||
) |
callback function on the device data
dpes | input, the dpe names | |
values | input, the dpe values |
References cpcFaceplate_animateInterlock(), cpcFaceplate_animateMaskEvent(), cpcFaceplate_animateOnlineValue(), cpcFaceplate_animateStsRegBit(), cpcFaceplate_animateTextParameter(), cpcFaceplate_animateTranslatedValue(), cpcFaceplate_connectionValid(), cpcFaceplate_fetchStsRegBitAndValidness(), cpcGenericObject_CheckboxAnimate(), and cpcGenericObject_ColorBoxAnimate().