Imported CSS files

This commit is contained in:
Sakbe
2019-10-21 16:02:55 +01:00
parent 22146b8413
commit 87401e8c95
365 changed files with 1092613 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
from org.csstudio.opibuilder.scriptUtil import PVUtil
from org.csstudio.opibuilder.scriptUtil import ColorFontUtil
table = widget.getTable()
#Fill PV Name only once
if widget.getVar("firstTime") == None:
widget.setVar("firstTime", True)
i=0
for pv in pvs:
table.setCellText(i, 0, pv.getName())
if not pv.isConnected():
table.setCellText(i, 1, "Disconnected")
i+=1
#find index of the trigger PV
i=0
while triggerPV != pvs[i]:
i+=1
table.setCellText(i, 1, PVUtil.getString(triggerPV))
table.setCellText(i, 2, PVUtil.getTimeString(triggerPV))