From 53bed9e01596e1ecb2e8e1ddc45c30de91ed8752 Mon Sep 17 00:00:00 2001 From: Kathy Ruffing Date: Wed, 6 Dec 2023 08:24:19 -0500 Subject: [PATCH] B2023-115: Vogtle Alarms top continue message --- PROMS/Formats/fmtall/VEGPAlrall.xml | Bin 201640 -> 201640 bytes PROMS/Volian.Print.Library/vlnParagraph.cs | 24 +++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/PROMS/Formats/fmtall/VEGPAlrall.xml b/PROMS/Formats/fmtall/VEGPAlrall.xml index 4ad321a7b56e4710b8eb98cc8661ece3d2205cf2..091691879b4292e6dc34c08b162fd0cca444be97 100644 GIT binary patch delta 99 zcmZ3noM**yo`x32Elhlmr#~xVlHm4W@L>pMuw_tUFqv-nm?;u0I^FCslfd*4F6Lv? W3qCN3ZSQ-+q@+qn{dS=G5KaJn5g*k6 delta 167 zcmZ3noM**yo`x32Elhlmm7N*<8T=SR7(9VwD1$453xg(u5`zMR2ZIkoFoP|SZ7|*N mF;k>47KI=Q(di*v%*Un|d|(pW-uHw_NtJRFw*yTK;RFCaqa(`z diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 8c76267a..be9e805d 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -2823,6 +2823,30 @@ namespace Volian.Print.Library ItemInfo parentStep = MyItemInfo.MyHLS; // get the high level step myMsg = string.Format(myMsg, parentStep.CombinedTab, parentStep.DisplayTextKeepSpecialChars); } + if ((docstyle.Continue.Top.HLS ?? 0) == 4) // B2023-115 Top continue message for Vogtle Alarms + { + // Vogtle Alarms: Their alarms are set up differently than standard procedures - the HLS in Vogtle + // alarms is a section in other procedures. The top continue message is shown when a break occurs between + // first level sub-steps '(continued)' with no step number as part of message' within the first level sub-step + // only if it is sequential (which is like a HLS in standard procedures) and the continue message + // has the first level sub-step's tab. There should be NO continue message if the break occurs at the HLS. + ItemInfo cur = MyItemInfo; + if (!(cur.IsCaution || cur.IsNote || cur.IsHigh)) + while (!cur.MyParent.IsHigh) cur = cur.MyParent; // get to the first level substep to get its tab + myMsg = docstyle.Continue.Top.Message; + // if within first level sequential, add on the sequential's number: + if (!cur.IsHigh && cur.IsSequential && MyItemInfo.MyParent.MyParent.IsHigh) + { + ItemInfo parentStep = MyItemInfo.MyParent; + myMsg = MyItemInfo.IsHigh ? myMsg : parentStep.CombinedTab + ". " + myMsg; + } + // don't put a message out for HLS, note that the page start is decremented above so need to add that amount back on + if (MyItemInfo.IsHigh) + { + myMsg = ""; + yPageStart += 2 * SixLinesPerInch; + } + } // B2021-138: Top continue message for Barakah Single column New (2021) format was incorrect for some lower // sub-steps. if ((docstyle.Continue.Top.HLS ?? 0) == 6) -- 2.47.2