F2024-027 & F2024-028 - Top continue message logic for Vogtle Units3&4 local Alarms Attachment sections

This commit is contained in:
John Jenko 2024-03-06 13:57:38 -05:00
parent 00268c8fac
commit 42180012fe
2 changed files with 13 additions and 1 deletions

Binary file not shown.

View File

@ -2831,7 +2831,7 @@ namespace Volian.Print.Library
// B2023-115 Top continue message for Vogtle Alarms: 1st version done on 12/6/23. Changes to logic as per request
// from engineering done on 12/12/23. See comment below for logic for 12/12/23 (history of this file has previous
// logic)
if ((docstyle.Continue.Top.HLS ?? 0) == 4)
if (((docstyle.Continue.Top.HLS ?? 0) == 4) || ((docstyle.Continue.Top.HLS ?? 0) == 7))
{
// 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:
@ -2842,6 +2842,13 @@ namespace Volian.Print.Library
// if it is a sequential substep, such as “5. (continued)”. If it is NOT a sequential substep, then only
// the word “(continued)” will appear.
// • If a page break occurs between high level steps, such as before “Causes:”, then no continued message is needed.
// F2024-027 & F2024-028
// Vogtle Units 3&4 needed similar top continue messages in the Local Alarms attachments as they have for the MCR Alarm point pages
// with the exception that when High Level Step (grouping text) is split and continued to the next page, the top continue message
// needs to be the HLS text with "(continued)" appended to it.
// Added a TOP.HLS value of 7 to allow for this minor difference and is set in the docstyle for that section
bool doMessage = true;
if (MyItemInfo.IsHigh) doMessage = false; // at high, don't do message
if (MyItemInfo.MyParent.IsHigh) doMessage = false; // at first level, don't do message
@ -2856,6 +2863,11 @@ namespace Volian.Print.Library
// if sequential, add on step number, otherwise just put out message:
myMsg = !cur.IsSequential ? myMsg : cur.CombinedTab + ". " + myMsg;
}
// F2024-027 & F2024-028 added else if to check of the case where we want to use the High Level Step text in the top continue message
else if (((docstyle.Continue.Top.HLS ?? 0) == 7) && MyItemInfo.MyParent != null && MyItemInfo.MyParent.IsHigh)
{
myMsg = MyItemInfo.MyParent.DisplayText + " " + myMsg;
}
else // if not doing message, clear it & set yPageStart back to what it was before handling message
{
myMsg = "";