Compare commits
44 Commits
2005eab8cb
...
2c4a8a79ee
Author | SHA1 | Date | |
---|---|---|---|
2c4a8a79ee | |||
42180012fe | |||
00268c8fac | |||
eabfcf7b82 | |||
264b444464 | |||
b1efb03958 | |||
821ce21e24 | |||
02b0fa9b6d | |||
315a897444 | |||
820f82e977 | |||
126eff7614 | |||
82eeaeb351 | |||
78f83eb2a5 | |||
e38a706931 | |||
8a8507395f | |||
e0faa6403f | |||
88391824eb | |||
b6f1c9cdb5 | |||
3a44d4cd0e | |||
e6f9ae3623 | |||
8fa08b09fa | |||
578b8842f7 | |||
1db167e5ca | |||
78020ca40a | |||
fcaa0ce41d | |||
6fed25bbfa | |||
eee137a324 | |||
3710e871a9 | |||
b3c6ce633d | |||
15048a317f | |||
527422876a | |||
11f307ec0d | |||
77706f22e4 | |||
9e56422df8 | |||
092ed83ca4 | |||
6078d30a94 | |||
9804cf0fce | |||
faed1cdfd6 | |||
7d5997cd43 | |||
72457d956e | |||
d55df8beb0 | |||
b2d238f8e1 | |||
837978da92 | |||
dcfdf5f852 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -44,8 +44,12 @@ using System.Runtime.InteropServices;
|
|||||||
// Revision DHH (day - no leading zero, two digit hour - military time
|
// Revision DHH (day - no leading zero, two digit hour - military time
|
||||||
//
|
//
|
||||||
// ********* REMEMBER TO CHECK THE AssemblyConfiguration SETTING (ABOVE) ********
|
// ********* REMEMBER TO CHECK THE AssemblyConfiguration SETTING (ABOVE) ********
|
||||||
[assembly: AssemblyVersion("2.1.2402.2213")]
|
[assembly: AssemblyVersion("2.1.2403.413")]
|
||||||
[assembly: AssemblyFileVersion("2.1.2402.2213")]
|
[assembly: AssemblyFileVersion("2.1.2403.413")]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -4173,7 +4173,19 @@ namespace VEPROMS
|
|||||||
|
|
||||||
if (glookFor != greplaceWith)
|
if (glookFor != greplaceWith)
|
||||||
{
|
{
|
||||||
content.MyGrid.Data = content.MyGrid.Data.Replace(glookFor, greplaceWith);
|
// B2024-011: For unit RO in grid, old grid data had the ROID in the #Link:ReferencedObject ending in '0000'
|
||||||
|
// so when compared with the newer format "0041" it was not found and not replaced with updated rousageid
|
||||||
|
bool hasNewROID = (content.MyGrid.Data.Contains(glookFor));
|
||||||
|
if (hasNewROID)
|
||||||
|
content.MyGrid.Data = content.MyGrid.Data.Replace(glookFor, greplaceWith);
|
||||||
|
else if (!hasNewROID && glookFor.Contains("0041") && glookFor.Contains("FFFF"))
|
||||||
|
{
|
||||||
|
string newGlookFor = glookFor;
|
||||||
|
newGlookFor = newGlookFor.Replace("0041", "0000");
|
||||||
|
if (content.MyGrid.Data.Contains(newGlookFor))
|
||||||
|
content.MyGrid.Data = content.MyGrid.Data.Replace(newGlookFor, greplaceWith);
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2932,7 +2932,19 @@ namespace VEPROMS.CSLA.Library
|
|||||||
string str = MyContent.Text;
|
string str = MyContent.Text;
|
||||||
// B2022-035: resolve unit specific designators
|
// B2022-035: resolve unit specific designators
|
||||||
if (str.ToUpper().Contains(@"<U")) str = VEPROMS.CSLA.Library.DisplayText.ResolveUnitSpecific(this.MyDocVersion, str);
|
if (str.ToUpper().Contains(@"<U")) str = VEPROMS.CSLA.Library.DisplayText.ResolveUnitSpecific(this.MyDocVersion, str);
|
||||||
return ConvertToDisplayText(str, false);
|
return ConvertToDisplayText(str, false, " "); // B2024-013 added " " to replace hard returns with a space instead of semi-colon
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// B2024-013 added for Vogtle Units 3 & 4, used with {TOPSECTIONTITLE} pagelist item
|
||||||
|
// this will format the text and keep the hard return command
|
||||||
|
public string FormattedDisplayTextKeepHardReturn
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
string str = MyContent.Text;
|
||||||
|
// B2022-035: resolve unit specific designators
|
||||||
|
if (str.ToUpper().Contains(@"<U")) str = VEPROMS.CSLA.Library.DisplayText.ResolveUnitSpecific(this.MyDocVersion, str);
|
||||||
|
return ConvertToDisplayText(str, false, ""); // pass in empty string for hard retun char will keep hard return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Used in Comanche Peak EOP and Flex formats for step designators. Will allow a hard return to be used that that caution type.
|
// Used in Comanche Peak EOP and Flex formats for step designators. Will allow a hard return to be used that that caution type.
|
||||||
@ -3109,7 +3121,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return ConvertToDisplayText(txt, true);
|
return ConvertToDisplayText(txt, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static string ConvertToDisplayText(string txt, bool stripRTF)
|
// B2024-013 This allos us to control "what with" or "whether to" replace hard returns
|
||||||
|
// Semi-colons where printing on auto table of contents for section titles with hard returns
|
||||||
|
// added HardReturnChar string to parameter. The default is to use the semi-colon, for auto table of contents
|
||||||
|
// we replace it with a space, for Vogtle Unit 3 & 4 we retain the hard return when printing the section
|
||||||
|
|
||||||
|
public static string ConvertToDisplayText(string txt, bool stripRTF, string HardReturnChar = ";")
|
||||||
{
|
{
|
||||||
string retval = txt;
|
string retval = txt;
|
||||||
|
|
||||||
@ -3120,9 +3137,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
retval = ReplaceSpecialCharacters(retval);
|
retval = ReplaceSpecialCharacters(retval);
|
||||||
retval = retval.Replace("\u2011", "-");
|
retval = retval.Replace("\u2011", "-");
|
||||||
retval = retval.Replace("\u2572", @"\"); // replace backslash symbol with a backslash
|
retval = retval.Replace("\u2572", @"\"); // replace backslash symbol with a backslash
|
||||||
retval = Regex.Replace(retval, @"\\line ?", ";"); // better handing of hard returns - replace with semi-colon for use on tree view
|
if (HardReturnChar != "") // B2024-013 if a null string don't replace the hard return
|
||||||
retval = retval.Replace("\r\n", ";");
|
{
|
||||||
retval = retval.Replace("\n", ";"); //added for consistency checking with approved version
|
retval = Regex.Replace(retval, @"\\line ?", HardReturnChar); // better handing of hard returns - replace with semi-colon for use on tree view
|
||||||
|
retval = retval.Replace("\r\n", HardReturnChar);
|
||||||
|
retval = retval.Replace("\n", HardReturnChar); //added for consistency checking with approved version
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return retval;
|
return retval;
|
||||||
|
@ -2023,15 +2023,17 @@ i = 0;
|
|||||||
break;
|
break;
|
||||||
case "{TOPSECTIONTITLE}": // This will print the top level section title
|
case "{TOPSECTIONTITLE}": // This will print the top level section title
|
||||||
case "[TOPSECTIONTITLE]":
|
case "[TOPSECTIONTITLE]":
|
||||||
// get top most section:
|
// get top most section: put in for Vogtle Units 3 & 4 formats
|
||||||
{
|
{
|
||||||
ItemInfo top = section;
|
ItemInfo top = section;
|
||||||
while (top.MyParent != null && !top.MyParent.IsProcedure)
|
while (top.MyParent != null && !top.MyParent.IsProcedure)
|
||||||
{
|
{
|
||||||
top = top.MyParent;
|
top = top.MyParent;
|
||||||
}
|
}
|
||||||
|
// B2024-013 changed to use the FormattedDisplayTextKeepHardReturn instead of display text for the section title
|
||||||
|
// this gives us to use the hard return that the user placed in the section title
|
||||||
if (top.IsSection)
|
if (top.IsSection)
|
||||||
plstr = SplitTitle(svgGroup, pageItem, top.DisplayText, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength);
|
plstr = SplitTitle(svgGroup, pageItem, top.FormattedDisplayTextKeepHardReturn, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionTitleLength, token, plstr, section.ActiveFormat.PlantFormat.FormatData.SectData.SectionNumberAndTitleLength);
|
||||||
else
|
else
|
||||||
plstr = plstr.Replace(token, string.Empty);
|
plstr = plstr.Replace(token, string.Empty);
|
||||||
}
|
}
|
||||||
|
@ -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
|
// 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
|
// from engineering done on 12/12/23. See comment below for logic for 12/12/23 (history of this file has previous
|
||||||
// logic)
|
// 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
|
// 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:
|
// 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
|
// if it is a sequential substep, such as “5. (continued)”. If it is NOT a sequential substep, then only
|
||||||
// the word “(continued)” will appear.
|
// the word “(continued)” will appear.
|
||||||
// • If a page break occurs between high level steps, such as before “Causes:”, then no continued message is needed.
|
// • 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;
|
bool doMessage = true;
|
||||||
if (MyItemInfo.IsHigh) doMessage = false; // at high, don't do message
|
if (MyItemInfo.IsHigh) doMessage = false; // at high, don't do message
|
||||||
if (MyItemInfo.MyParent.IsHigh) doMessage = false; // at first level, 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:
|
// if sequential, add on step number, otherwise just put out message:
|
||||||
myMsg = !cur.IsSequential ? myMsg : cur.CombinedTab + ". " + myMsg;
|
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
|
else // if not doing message, clear it & set yPageStart back to what it was before handling message
|
||||||
{
|
{
|
||||||
myMsg = "";
|
myMsg = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user