Skip to content

Commit 1019fcf

Browse files
committed
Merge branch 'master' into CSSTUDIO-1511
2 parents 60b1832 + 1306ecf commit 1019fcf

File tree

195 files changed

+5984
-4039
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

195 files changed

+5984
-4039
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,4 @@ buildNumber.properties
117117
/.gitignore
118118

119119
# hs_err* files
120-
**/hs_err*
120+
**/hs_err*

app/alarm/ui/doc/index.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ The UI includes the following applications:
8585
* Alarm Tree: Primarily used to configure the alarm system,
8686
i.e. to add PVs and define their alarm details.
8787

88-
The alarm configuration is hierachical,
88+
The alarm configuration is hierarchical,
8989
starting from for example a top-level `Accelerator`
9090
configuration to components like `Vacuum`, `RF`,
9191
with alarm trigger PVs listed below those components.
@@ -94,7 +94,7 @@ The UI includes the following applications:
9494
`/Accelerator/Vacuum` will see all the guidance and displays
9595
configured on `Vacuum`.
9696

97-
The alarm system does not enforce how the hierachical configuration
97+
The alarm system does not enforce how the hierarchical configuration
9898
is used. The 'components' could be subsystems like `Vacuum`, `RF`,
9999
or they could refer to areas of the machine like `Front End`,
100100
`Ring`, `Beam Line`. There can be several levels of sub-components,
@@ -124,11 +124,11 @@ The UI includes the following applications:
124124
Optional component for voice annunciation of new alarms.
125125

126126
Each of the above alarm apps can be launched from the menu.
127-
They can also be opened from the cmd line as follows::
127+
They can also be opened from the command line as follows::
128128

129-
-resource alarm://localhost/Accelerator?app=alarm_tree
130-
-resource alarm://localhost/Accelerator?app=alarm_table
131-
-resource alarm://localhost/Accelerator?app=alarm_area
129+
-resource 'alarm://localhost/Accelerator?app=alarm_tree'
130+
-resource 'alarm://localhost/Accelerator?app=alarm_table'
131+
-resource 'alarm://localhost/Accelerator?app=alarm_area'
132132

133133

134134
Alarm Configuration Options
@@ -177,11 +177,11 @@ Behavior
177177

178178
* Alarm Count:
179179
Used in combination with the alarm delay.
180-
If the trigger PVs exhibits a not-OK alarm severity more more than 'count' times
180+
If the trigger PVs exhibits a not-OK alarm severity more than 'count' times
181181
within the alarm delay, recognize the alarm.
182182

183183
For example, an alarm delay of 10 with an alarm count of 5 means:
184-
Recognise an alarm if the PV enters a not-OK severity for more than 10 seconds,
184+
Recognize an alarm if the PV enters a not-OK severity for more than 10 seconds,
185185
or more often than 5 times within 10 seconds.
186186

187187
When the count is zero, only the alarm delay is used.
@@ -198,7 +198,7 @@ When the alarm delay is larger than zero, it starts a timer to check the PV afte
198198
For example, assume an alarm delay of 10 seconds, and the PV enters a MINOR alarm.
199199
If the PV still carries a not-OK severity after 10 seconds,
200200
the alarm state becomes MINOR or whatever the highest alarm severity of the PV was
201-
in the 10 seconds since first entering a not-OK severty.
201+
in the 10 seconds since first entering a not-OK severity.
202202
On the other hand, if the PV recovers to OK, there will be no alarm after the 10 second delay.
203203

204204
As a second example, consider a PV that assumes MINOR severity, then recovers to OK and re-enters MINOR severity a couple of times.
@@ -224,7 +224,7 @@ and is not immediately obvious from the received alarm severity.
224224
For example, an analog record might enter a MINOR alarm state when its value exceeds the 'HIGH' value.
225225
Why a certain HIGH threshold was chosen, what the user should do about it, and how the threshold could
226226
be changed, however, cannot be automatically determined.
227-
When adding an alarm trigger PV to the alarm system, it is thererfore important to also configure
227+
When adding an alarm trigger PV to the alarm system, it is therefore important to also configure
228228
guidance and display links which allow the user to figure out:
229229

230230
* What does this alarm mean? What should I do about it?

app/channel/channelfinder/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>com.google.guava</groupId>
4444
<artifactId>guava</artifactId>
45-
<version>21.0</version>
45+
<version>${guava.version}</version>
4646
</dependency>
4747
</dependencies>
4848
</project>

app/display/representation-javafx/src/main/java/org/csstudio/display/builder/representation/javafx/widgets/BoolButtonRepresentation.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2015-2020 Oak Ridge National Laboratory.
2+
* Copyright (c) 2015-2022 Oak Ridge National Laboratory.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License v1.0
55
* which accompanies this distribution, and is available at
@@ -12,7 +12,6 @@
1212
import java.util.List;
1313
import java.util.logging.Level;
1414

15-
import javafx.scene.layout.Pane;
1615
import org.csstudio.display.builder.model.DirtyFlag;
1716
import org.csstudio.display.builder.model.DisplayModel;
1817
import org.csstudio.display.builder.model.UntypedWidgetPropertyListener;
@@ -32,6 +31,7 @@
3231
import javafx.scene.control.ButtonBase;
3332
import javafx.scene.image.Image;
3433
import javafx.scene.image.ImageView;
34+
import javafx.scene.layout.Pane;
3535
import javafx.scene.paint.Color;
3636
import javafx.scene.paint.CycleMethod;
3737
import javafx.scene.paint.LinearGradient;
@@ -268,6 +268,8 @@ private void imagesChanged(final WidgetProperty<?> property, final Object old_va
268268
loadImage(model_widget.propOffImage().getValue()),
269269
loadImage(model_widget.propOnImage().getValue())
270270
};
271+
// The 'value_image' needs to be updated
272+
stateChanged();
271273
}
272274

273275
private ImageView loadImage(final String path)

app/logbook/inmemory/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<version>4.6.6-SNAPSHOT</version>
1414
</dependency>
1515
<dependency>
16-
<groupId>com.google.guava</groupId>
17-
<artifactId>guava</artifactId>
18-
<version>21.0</version>
16+
<groupId>com.google.guava</groupId>
17+
<artifactId>guava</artifactId>
18+
<version>${guava.version}</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

app/logbook/olog/client-es/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@
6363
<artifactId>jaxb-api</artifactId>
6464
<version>2.3.0</version>
6565
</dependency>
66-
<dependency>
67-
<groupId>com.google.guava</groupId>
68-
<artifactId>guava</artifactId>
69-
<version>21.0</version>
70-
</dependency>
7166
<!-- https://mvnrepository.com/artifact/com.sun.xml.bind/jaxb-impl -->
7267
<dependency>
7368
<groupId>org.phoebus</groupId>
@@ -92,7 +87,7 @@
9287
<dependency>
9388
<groupId>junit</groupId>
9489
<artifactId>junit</artifactId>
95-
<version>4.12</version>
90+
<version>${junit.version}</version>
9691
<scope>test</scope>
9792
</dependency>
9893
</dependencies>

app/logbook/olog/client/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@
6666
<artifactId>javax.activation</artifactId>
6767
<version>1.2.0</version>
6868
</dependency>
69-
<dependency>
70-
<groupId>com.google.guava</groupId>
71-
<artifactId>guava</artifactId>
72-
<version>21.0</version>
73-
</dependency>
7469
</dependencies>
7570

7671
</project>
7.36 KB
Loading
7.92 KB
Loading
-166 KB
Binary file not shown.

0 commit comments

Comments
 (0)