From 411445901e5190b29e6935f0693f7e96af15c5e7 Mon Sep 17 00:00:00 2001 From: Kathy Ruffing Date: Wed, 19 Jul 2023 10:24:27 -0400 Subject: [PATCH] F2023-098: Vogtle 3/4 Alarm - add proc applicability. Code change also --- PROMS/Formats/fmtall/VEGPAlrall.xml | Bin 90184 -> 90218 bytes .../Extension/DocVersionExt.cs | 6 ++++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PROMS/Formats/fmtall/VEGPAlrall.xml b/PROMS/Formats/fmtall/VEGPAlrall.xml index 48150cbb4aeafa0f3dff43ef364be32cfca114e2..f6d4d4b8c40315d8eb5e466aec7d1653cd1612e0 100644 GIT binary patch delta 42 wcmX?cfc4b@)(v?q!U_xu3;_&94EYSn42}#1K$tUG&_TMnie-Bh3*)(H01{mcG5`Po delta 23 fcmaELfc3-y)(v?q(_h#!@-@$6**=ej@k}%TftCr- diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/DocVersionExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/DocVersionExt.cs index b9c96d5c..d4cf5397 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/DocVersionExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/DocVersionExt.cs @@ -528,9 +528,11 @@ namespace VEPROMS.CSLA.Library string mstr = (MyConfig as DocVersionConfig).Unit_ProcedureNumber; string[] units = mstr.Split(",".ToCharArray()); string[] fromdata = fromunitdes.Split(",".ToCharArray()); - // SelectedSlave is > 0 if a unit has been selected, for example from print or approve. It represents that index into the list of units. - if (DocVersionConfig.SelectedSlave > 0) + // F2023-098: depending on where this is called from & how data is set, the DocVersionConfig.SelectedSlave may be 0, but the + // procInfoSelectedChildToPrint will always have the correct value, i.e. 0 if not printing & the selected slave from the print selection. + // Check for procInfoSelectedChildToPrint > 0 also: + if (DocVersionConfig.SelectedSlave > 0 || procInfoSelectedChildToPrint > 0) { prefix = units[0].Replace("#", ""); if (str.ToUpper().IndexOf(@" -1) return prefix + Regex.Replace(str, @"\<[uU]-[a-zA-Z]+\>", fromunitdes);