Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ics-software
phoebus
Commits
de3657f7
Unverified
Commit
de3657f7
authored
Sep 23, 2022
by
Kay Kasemir
Committed by
GitHub
Sep 23, 2022
Browse files
Merge pull request #2399 from ControlSystemStudio/tank-scale-prop
Tank Widget: Mapping for legacy BOY property show_scale
parents
8605da0e
1a8f9c2c
Pipeline
#120764
passed with stage
in 28 minutes and 1 second
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/display/model/src/main/java/org/csstudio/display/builder/model/widgets/TankWidget.java
View file @
de3657f7
...
...
@@ -96,6 +96,10 @@ public class TankWidget extends PVWidget
if
(
element
!=
null
)
tank
.
font
.
readFromXML
(
model_reader
,
element
);
element
=
XMLUtil
.
getChildElement
(
xml
,
"show_scale"
);
if
(
element
!=
null
)
tank
.
scale_visible
.
readFromXML
(
model_reader
,
element
);
if
(
XMLUtil
.
getChildBoolean
(
xml
,
"show_markers"
).
orElse
(
true
)
&&
(
XMLUtil
.
getChildBoolean
(
xml
,
"show_hi"
).
orElse
(
true
)
||
XMLUtil
.
getChildBoolean
(
xml
,
"show_hihi"
).
orElse
(
true
)
||
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment