From ed4469bd5f3b653978845dd51a72f24451ea7845 Mon Sep 17 00:00:00 2001 From: mschill Date: Thu, 15 Jan 2026 07:20:46 -0500 Subject: [PATCH] B2026-002 When parens are inside a parent / child, printing a double parens. When "(tunable)" was added to the RO return value that has Parent/Child turned on in the field, that return value will print "(turnable))" - with two closing parentheses. In Vogtle data, Customer turned on Parent/Child on the Setpoint field in the Alarms CSD grouping. Added "(tunable)" to the Setpoint's default value in CDS-ARP-001-172 The value looks good in the editor but prints with two closing parens. --- PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs index 087b1c5d..6cf15ddd 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs @@ -2098,6 +2098,15 @@ namespace VEPROMS.CSLA.Library { string resstr = rtnstr.Substring(0, indx); int endHsp = rtnstr.IndexOf(")", indx); + + //B2026 - 002 handle if parens inside a HSP + int startpos = indx + 5; + while (rtnstr.Substring(startpos, endHsp - startpos).Contains("(")) + { + startpos = rtnstr.IndexOf("(", startpos + 1, endHsp - startpos) + 1; + endHsp = rtnstr.IndexOf(")", endHsp + 1); + } + string tmpstr = rtnstr.Substring(indx + 5, endHsp - indx - 5); // B2017-012 Don't convert space to hard spaces for XY Plots.