siriushla.li_ap_mps

Code Documentation

siriushla.li_ap_mps.bypass_btn module

class siriushla.li_ap_mps.bypass_btn.BypassBtn(parent=None, init_channel=None)[source]

Bases: PyDMPushButton

value_changed(new_value)[source]

Redefine value_changed.

siriushla.li_ap_mps.main module

Monitor Protection System Controller Interface

class siriushla.li_ap_mps.main.MPSControl(parent=None, prefix='')[source]

Bases: QWidget

Monitor Protection System Controller Interface

changeWid(layout)[source]
clearLayout(lay)[source]

Erase the layout’s content

controlBox(pv_name, lay, config, has_title, wid_type)[source]

Display the control features - Open control Box

controlHiddenBox(pv_name, cb_glay, config)[source]

Display the status of the PV - Hidden control Box

controlWidget(pv_name, lay, config)[source]

Create the control widget with opening and closing functions

countGen(count, val)[source]

Counter for water data positioning

countTemp(count, title)[source]

Counter for temperature data positioning

countVA(count)[source]

Counter for vaccum data positioning

countWater(count)[source]
dispayAllControls(pv_name, control, config)[source]
dispayHiddenControls(pv_name, control, config)[source]
displayControlMPS(tab_type)[source]

Display the desired tab widget

displayGroup(pv_data, title, group_type)[source]

Display one MPS group

displayHeader()[source]

Display the window header

displayMpsGroups(group_type)[source]

Display all the MPS groups

displayTabs()[source]

Display all the tabs

displayTempGroup(pv_data, title)[source]

Display one temperature group

displayTempGroups()[source]

Display all the temperatures groups

eventFilter(obj_wid, event)[source]

Hover listener with hover function

gateValve(pv_name, config)[source]

Display the gate valves widget

genStringTempPV(name, prefix_num, name_num)[source]

Generate Temperature PV name

getCtrlWidget(pv_name, ctrl_type, config)[source]

Display the specific control widget

getDeviceName(pv_name)[source]

Set device name

getPVConfig(config, index)[source]

Get if the PV has configuration 1 or 0

getPVControl(is_control, index)[source]

Get if the PV is a control or a status

getParamAll(has_title, pv_name, wid_type)[source]
getSingleTitle(title, layout)[source]

Display a single Title

getTempWidget(pv_name, temp_type)[source]

Display the temperature label widget

setParamLabel(layout)[source]

Display Temperature parameters labels

setPvLbl(pv_name)[source]

Display the water title label

setTempHeader(item_list, layout)[source]

Display Temperature header labels

setTitleLabel(item, axis, layout)[source]

Display title labels

statusBox(pv_name, config)[source]

Display the status widget

tempMonBox(pv_name)[source]

Display the status features for the temperature monitor

updateCount(count, title)[source]

Update counter for data positioning

siriushla.li_ap_mps.monitor module

Control of EVG Timing Device.

class siriushla.li_ap_mps.monitor.MPSMonitor(parent=None, prefix='')[source]

Bases: QWidget

siriushla.li_ap_mps.util module

Module contents