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,18 @@
importPackage(Packages.org.csstudio.opibuilder.scriptUtil);
var cbs = PVUtil.getString(pvArray[0]);
var cbs3 = PVUtil.getString(pvArray[1]);
var slot = PVUtil.getDouble(pvArray[2]);
var channel = "" + PVUtil.getDouble(pvArray[3]);
var type = PVUtil.getString(pvArray[4]);
if (channel < 100){
channel = "0" + channel;
}
if (channel < 10){
channel = "0" + channel;
}
var name = cbs + "-" + cbs3 + ":IO-B" + slot + "-FIR" + type + "-" + channel + "-S";
widget.setPropertyValue("pv_name",name);