Common function for faceplate's button animation. More...
Functions | |
cpcButton_setButtonState (string button, bool buttonEnabled) | |
cpcButton_ButtonSetState (dyn_string dsButtons, dyn_string dsUserAccess, string deviceName, string sDpType, dyn_string dsData, dyn_string &exceptionInfo) | |
cpcButton_AllowRestart (string deviceName, string sDpType, bool buttonEnabled, bool selected, dyn_string dsData, dyn_string &exceptionInfo) | |
cpcButton_ProcessControlObject_AllowRestart (string deviceName, string sDpType, bool buttonEnabled, bool selected, dyn_string dsData, dyn_string &exceptionInfo) | |
cpcButton_SetValue_ButtonUserAccess () |
Common function for faceplate's button animation.
©Copyright CERN 2013 - all rights reserved
cpcButton_setButtonState | ( | string | button, | |
bool | buttonEnabled | |||
) |
Set button to the given state
button | the button name | |
buttonEnabled | button state to set |
Referenced by CPC_AnaDig_ButtonSetState(), CPC_AnaDO_ButtonSetState(), CPC_Analog_ButtonSetState(), CPC_AnalogAlarm_ButtonSetState(), CPC_AnalogInput_ButtonSetState(), CPC_AnalogOutput_ButtonSetState(), CPC_AnalogParameter_ButtonSetState(), CPC_Controller_ButtonSetState(), CPC_DigitalAlarm_ButtonSetState(), CPC_DigitalInput_ButtonSetState(), CPC_DigitalOutput_ButtonSetState(), CPC_DigitalParameter_ButtonSetState(), CPC_MassFlowController_ButtonSetState(), CPC_OnOff_ButtonSetState(), CPC_ProcessControlObject_ButtonSetState(), and CPC_WordParameter_ButtonSetState().
cpcButton_ButtonSetState | ( | dyn_string | dsButtons, | |
dyn_string | dsUserAccess, | |||
string | deviceName, | |||
string | sDpType, | |||
dyn_string | dsData, | |||
dyn_string & | exceptionInfo | |||
) |
Generic way to set buttons state
dsButtons | buttons list | |
dsUserAccess | pass user access list | |
deviceName | device name | |
sDpType | device type | |
dsData | device dpe's values | |
exceptionInfo | exceptions |
Referenced by CPC_AnaDig_ButtonSetState(), CPC_AnaDO_ButtonSetState(), CPC_Analog_ButtonSetState(), CPC_MassFlowController_ButtonSetState(), CPC_OnOff_ButtonSetState(), and CPC_ProcessControlObject_ButtonSetState().
cpcButton_AllowRestart | ( | string | deviceName, | |
string | sDpType, | |||
bool | buttonEnabled, | |||
bool | selected, | |||
dyn_string | dsData, | |||
dyn_string & | exceptionInfo | |||
) |
AllowRestart button animation
deviceName | device name | |
sDpType | device type | |
buttonEnabled | is button enabled | |
selected | is device selected | |
dsData | device dpe's values | |
exceptionInfo | exceptions |
References CPC_FACEPLATE_BUTTON_ALLOW_RESTART, CPC_PARAMS_MRESTART, CPC_PARAMS_RSTARTFS, CPC_STSREG02_FUSTOPIST, CPC_STSREG02_NEEDRESTART, CPC_STSREG02_SOFTLDST, and cpcGenericDpFunctions_getDeviceProperty().
cpcButton_ProcessControlObject_AllowRestart | ( | string | deviceName, | |
string | sDpType, | |||
bool | buttonEnabled, | |||
bool | selected, | |||
dyn_string | dsData, | |||
dyn_string & | exceptionInfo | |||
) |
AllowRestart button animation for PCO
deviceName | device name | |
sDpType | device type | |
buttonEnabled | is button enabled | |
selected | is device selected | |
dsData | device dpe's values | |
exceptionInfo | exceptions |
References CPC_FACEPLATE_BUTTON_ALLOW_RESTART, CPC_PARAMS_MRESTART, CPC_PARAMS_RSTARTFS, CPC_STSREG02_NEEDRESTART, CPC_STSREG02_SOFTLDST, and cpcGenericDpFunctions_getDeviceProperty().
cpcButton_SetValue_ButtonUserAccess | ( | ) |
Set up g_dsUserAccess in device's set-value panels
References CPC_FACEPLATE_BUTTON_SAVE_VALUE.