Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ess-opis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krisztián Löki
ess-opis
Commits
b869b39c
Commit
b869b39c
authored
6 years ago
by
Krisztián Löki
Browse files
Options
Downloads
Patches
Plain Diff
Got rid of local PV
Needs new RGA EPICS module
parent
bdaf2981
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NON-APPROVED/lebt-010_vac/widgets/vgr/symbol_color_animation.js
+0
-49
0 additions, 49 deletions
...PROVED/lebt-010_vac/widgets/vgr/symbol_color_animation.js
NON-APPROVED/lebt-010_vac/widgets/vgr/vac_vgr.bob
+3
-10
3 additions, 10 deletions
NON-APPROVED/lebt-010_vac/widgets/vgr/vac_vgr.bob
with
3 additions
and
59 deletions
NON-APPROVED/lebt-010_vac/widgets/vgr/symbol_color_animation.js
deleted
100644 → 0
+
0
−
49
View file @
bdaf2981
PVUtil
=
org
.
csstudio
.
display
.
builder
.
runtime
.
script
.
PVUtil
;
ScriptUtil
=
org
.
csstudio
.
display
.
builder
.
runtime
.
script
.
ScriptUtil
;
var
pvSymbol
=
pvs
[
0
];
var
colorID
=
0
;
var
debug
=
widget
.
getEffectiveMacros
().
getValue
(
"
DEBUG
"
);
if
(
debug
)
{
debug
=
debug
[
0
];
switch
(
debug
)
{
case
'
1
'
:
case
'
Y
'
:
case
'
y
'
:
case
'
T
'
:
case
'
t
'
:
debug
=
true
;
break
;
default
:
debug
=
false
;
}
}
else
debug
=
false
;
if
(
debug
)
Logger
=
org
.
csstudio
.
display
.
builder
.
runtime
.
script
.
ScriptUtil
.
getLogger
();
else
{
Logger
=
new
Object
();
Logger
.
info
=
function
()
{}
Logger
.
warning
=
function
()
{}
Logger
.
severe
=
function
(
text
)
{
org
.
csstudio
.
display
.
builder
.
runtime
.
script
.
ScriptUtil
.
getLogger
().
severe
(
text
);}
}
function
log_pv
(
pv
)
{
Logger
.
info
(
pv
+
"
:
"
+
PVUtil
.
getString
(
pv
));
}
try
{
colorID
=
PVUtil
.
getInt
(
pvs
[
1
])
+
1
;
log_pv
(
pvs
[
1
]);
}
catch
(
err
)
{
Logger
.
severe
(
"
NO CONNECTION:
"
+
err
);
}
pvSymbol
.
write
(
colorID
);
This diff is collapsed.
Click to expand it.
NON-APPROVED/lebt-010_vac/widgets/vgr/vac_vgr.bob
+
3
−
10
View file @
b869b39c
...
...
@@ -2,9 +2,9 @@
<display
version=
"2.0.0"
>
<name>
$(VGx)
</name>
<macros>
<vacROOT>
$(ROOT=/ess-opis/NON-APPROVED)
</vacROOT>
<VGx>
vgr
</VGx>
<vacPREFIX>
$(SEC)-$(SUBSEC):$(DIS)-$(DEV)-$(IDX)
</vacPREFIX>
<vacROOT>
$(ROOT=/ess-opis/NON-APPROVED)
</vacROOT>
</macros>
<width>
133
</width>
<height>
70
</height>
...
...
@@ -53,7 +53,7 @@
</widget>
<widget
type=
"symbol"
version=
"2.0.0"
>
<name>
Symbol
</name>
<pv_name>
loc://
$(vacPREFIX):
UI:
Stat
usR()
</pv_name>
<pv_name>
$(vacPREFIX):Stat
R
</pv_name>
<symbols>
<symbol>
$(vacROOT)/COMMON/DEVICES/vacuum/$(VGx)/$(VGx)-invalid.png
</symbol>
<symbol>
$(vacROOT)/COMMON/DEVICES/vacuum/$(VGx)/$(VGx)-off.png
</symbol>
...
...
@@ -68,13 +68,6 @@
</color>
</background_color>
<transparent>
false
</transparent>
<scripts>
<script
file=
"symbol_color_animation.js"
check_connections=
"false"
>
<pv_name
trigger=
"false"
>
loc://$(vacPREFIX):UI:StatusR()
</pv_name>
<pv_name>
$(vacPREFIX):Sts
</pv_name>
</script>
</scripts>
<tooltip></tooltip>
</widget>
<widget
type=
"label"
version=
"2.0.0"
>
<name>
Device
</name>
...
...
@@ -105,8 +98,8 @@
<action
type=
"open_display"
>
<file>
../../faceplates/vgr/rga_main.bob
</file>
<macros>
<Dev>
$(DIS)-$(DEV)-$(IDX):
</Dev>
<DEVICENAME>
$(vacPREFIX)
</DEVICENAME>
<Dev>
$(DIS)-$(DEV)-$(IDX):
</Dev>
<Sys>
$(SEC)-$(SUBSEC):
</Sys>
<TITLE>
$(vacPREFIX)
</TITLE>
</macros>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment