Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • petertalas/ess-opis
  • thomasfay/ess-opis
  • elenadonegani/ess-opis
  • miklosboros/ess-opis
  • hinkokocevar/ess-opis
  • julenemalkorra/ess-opis
  • krisztianloki/ess-opis
  • emilioasensiconejero/ess-opis
  • pernilsson2/ess-opis
  • johanneskazantzidis/ess-opis
  • jimmylindahl/ess-opis
  • SRF_Section/ess-opis
  • saeedhaghtalab/ess-opis
13 results
Show changes
Commits on Source (812)
Showing
with 10815 additions and 36 deletions
stages:
- deploy
deploy-lcr:
deploy-opis:
tags:
- docker
stage: deploy
image: registry.esss.lu.se/ics-docker/tower-cli:3.3
image: registry.esss.lu.se/ics-docker/awxkit
script:
- >
tower-cli job launch
-h torn.tn.esss.lu.se
-t ${TOWER_OAUTH_TOKEN}
-J "deploy-cs-studio@lcr"
--tags csstudio-ess-opis
-e "csstudio_ess_opis_version=$CI_COMMIT_REF_NAME" --monitor
only:
- master@ics-software/ess-opis
deploy-nx:
tags:
- docker
stage: deploy
image: registry.esss.lu.se/ics-docker/tower-cli:3.3
script:
- >
tower-cli job launch
-h torn.tn.esss.lu.se
-t ${TOWER_OAUTH_TOKEN}
-J "deploy-nxbastion-terminalsrv"
--tags csstudio-ess-opis
-e "csstudio_ess_opis_version=$CI_COMMIT_REF_NAME" --monitor
awx job_templates launch deploy-cs-studio-ess-opis
--monitor
only:
- master@ics-software/ess-opis
from org.csstudio.display.builder.runtime.script import PVUtil, ScriptUtil
valid = pvs[0]
type = pvs[1]
chan = pvs[2]
if PVUtil.getLong(valid):
widget.setPropertyValue("text", PVUtil.getString(chan))
widget.setPropertyValue("transparent", "true")
else:
widget.setPropertyValue("text", PVUtil.getString(type) + " @ " + PVUtil.getString(chan))
widget.setPropertyValue("transparent", "false")
widget.setPropertyValue("tooltip", "Gauge " + PVUtil.getString(type) + " @ channel " + PVUtil.getString(chan))
from org.csstudio.display.builder.runtime.script import PVUtil
tooltip = "$(pv_name)\n$(pv_value)"
try:
pvStat = PVUtil.getString(pvs[0]).upper()
pvPrsStr = pvs[1]
if pvStat != "ON" and pvStat != "OPEN": # and pvStat != "UNDER-RANGE" and pvStat != "OVER-RANGE":
tooltip += "\n" + PVUtil.getString(pvPrsStr)
except:
pass
widget.setPropertyValue("tooltip", tooltip)