From 8f7c7268db0894f4461f10da940b497bf749c8fa Mon Sep 17 00:00:00 2001 From: KaushikMalapati <80156796+KaushikMalapati@users.noreply.github.com> Date: Thu, 12 Dec 2024 14:40:02 -0800 Subject: [PATCH] Set latching to true by default --- .../phoebus/applications/alarm/model/xml/XmlModelReader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/alarm/model/src/main/java/org/phoebus/applications/alarm/model/xml/XmlModelReader.java b/app/alarm/model/src/main/java/org/phoebus/applications/alarm/model/xml/XmlModelReader.java index baac459c48..fded541f13 100644 --- a/app/alarm/model/src/main/java/org/phoebus/applications/alarm/model/xml/XmlModelReader.java +++ b/app/alarm/model/src/main/java/org/phoebus/applications/alarm/model/xml/XmlModelReader.java @@ -283,7 +283,7 @@ private void processPV(final AlarmClientNode parent, final Element node) throws } - pv.setLatching(XMLUtil.getChildBoolean(node, TAG_LATCHING).orElse(false)); + pv.setLatching(XMLUtil.getChildBoolean(node, TAG_LATCHING).orElse(true)); pv.setAnnunciating(XMLUtil.getChildBoolean(node, TAG_ANNUNCIATING).orElse(false)); XMLUtil.getChildString(node, TAG_DESCRIPTION).ifPresent(pv::setDescription);