F2023-078 - Alarm Point table in Editor
F2023-079 - Adjust Change Bar position on Alarm Point page F2023-080 - fix page header of second page of Alarm Point page F2023-082 - Vogle Alarm format, Span cautions and notes across the page width. Also separate Note/Caution for Front Matter F2023-085 - Vogtle Alarms - Add RO_LookUp calls to pagelist to automatically generate Alarm Point Table F2023-086 - Add a Word section type called "Deleted Alarm Point" for alarm points that were removed
This commit is contained in:
parent
5865e0c39d
commit
93c8844fd2
Binary file not shown.
@ -3630,6 +3630,8 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
// copied Rgex from DisplayText and modifed to remove the Parent/Child Unit information
|
// copied Rgex from DisplayText and modifed to remove the Parent/Child Unit information
|
||||||
// i.e. <U>, <U-ID>, <U-NAME>, <U-TEXT>, <U-NUMBER>, <U-OTHERID>, <U-OTHERNAME>, <U-OTHERTEXT>, <U-OTHERNUMBER>
|
// i.e. <U>, <U-ID>, <U-NAME>, <U-TEXT>, <U-NUMBER>, <U-OTHERID>, <U-OTHERNAME>, <U-OTHERTEXT>, <U-OTHERNUMBER>
|
||||||
|
// F2023-078 - for Vogtle Units 3 & 4 Alarms - also remove dash after unit number
|
||||||
|
eopnum = Regex.Replace(eopnum, @"\<U\>(-|\\u8209\?)", "", RegexOptions.IgnoreCase);
|
||||||
eopnum = Regex.Replace(eopnum, @"\<U\>", "", RegexOptions.IgnoreCase);
|
eopnum = Regex.Replace(eopnum, @"\<U\>", "", RegexOptions.IgnoreCase);
|
||||||
eopnum = Regex.Replace(eopnum, @"\<(U(-|\\u8209\?)ID)\>(-|\\u8209\?)", "", RegexOptions.IgnoreCase);
|
eopnum = Regex.Replace(eopnum, @"\<(U(-|\\u8209\?)ID)\>(-|\\u8209\?)", "", RegexOptions.IgnoreCase);
|
||||||
eopnum = Regex.Replace(eopnum, @"\<(U(-|\\u8209\?)NAME)\>(-|\\u8209\?)", "", RegexOptions.IgnoreCase);
|
eopnum = Regex.Replace(eopnum, @"\<(U(-|\\u8209\?)NAME)\>(-|\\u8209\?)", "", RegexOptions.IgnoreCase);
|
||||||
@ -3747,8 +3749,10 @@ namespace Volian.Controls.Library
|
|||||||
// Note that each Alarm is defined as its own RO in the Referenced Object database, with multiple return values
|
// Note that each Alarm is defined as its own RO in the Referenced Object database, with multiple return values
|
||||||
// to define the Window ID, Alarm, Source, Setpoint, etc. for example.
|
// to define the Window ID, Alarm, Source, Setpoint, etc. for example.
|
||||||
string pltok = pageItem.Token;
|
string pltok = pageItem.Token;
|
||||||
|
bool bDoUnderline = true; // F2023-078 new logic to also support Vogtle Units 3 & 4 Alarms - flag to underline pagelist text used as a tag/title
|
||||||
while (pltok.Contains("RO_Lookup("))
|
while (pltok.Contains("RO_Lookup("))
|
||||||
{
|
{
|
||||||
|
bDoUnderline = false;
|
||||||
int idxstart = pltok.IndexOf("RO_Lookup(");
|
int idxstart = pltok.IndexOf("RO_Lookup(");
|
||||||
int idxend = pltok.Substring(idxstart).IndexOf(")");
|
int idxend = pltok.Substring(idxstart).IndexOf(")");
|
||||||
string ROLookupstr = pltok.Substring(idxstart, idxend + 1);
|
string ROLookupstr = pltok.Substring(idxstart, idxend + 1);
|
||||||
@ -3814,10 +3818,13 @@ namespace Volian.Controls.Library
|
|||||||
// Nothing else is on this page list item, so use "continue" to jump to the next pagelist item as nothing gets printed for this item
|
// Nothing else is on this page list item, so use "continue" to jump to the next pagelist item as nothing gets printed for this item
|
||||||
if (!pageItem.ROLkUpMatch && pageItem.ROLkUpInEditor)
|
if (!pageItem.ROLkUpMatch && pageItem.ROLkUpInEditor)
|
||||||
{
|
{
|
||||||
if (lastRow < pageItem.Row)
|
// F2023-078 (displaying Alarm Point Table RO information on the edit screen)
|
||||||
|
// New logic is simplified to support both BNPP and Vogtle Units 3 & 4 alarms
|
||||||
|
if (bDoUnderline)
|
||||||
{
|
{
|
||||||
if (lastRow != -1)
|
if (lastRow != -1)
|
||||||
strAlrmPtTableInfo.Append("\r\n");
|
strAlrmPtTableInfo.Append("\r\n");
|
||||||
|
pltok = pltok.TrimEnd(':');
|
||||||
strAlrmPtTableInfo.Append(string.Format("\\ul {0}\\ulnone : ", pltok));
|
strAlrmPtTableInfo.Append(string.Format("\\ul {0}\\ulnone : ", pltok));
|
||||||
lastRow = (int)pageItem.Row;
|
lastRow = (int)pageItem.Row;
|
||||||
}
|
}
|
||||||
|
@ -1913,6 +1913,8 @@ i = 0;
|
|||||||
{
|
{
|
||||||
// copied Rgex from DisplayText and modifed to remove the Parent/Child Unit information
|
// copied Rgex from DisplayText and modifed to remove the Parent/Child Unit information
|
||||||
// i.e. <U>, <U-ID>, <U-NAME>, <U-TEXT>, <U-NUMBER>, <U-OTHERID>, <U-OTHERNAME>, <U-OTHERTEXT>, <U-OTHERNUMBER>
|
// i.e. <U>, <U-ID>, <U-NAME>, <U-TEXT>, <U-NUMBER>, <U-OTHERID>, <U-OTHERNAME>, <U-OTHERTEXT>, <U-OTHERNUMBER>
|
||||||
|
// F2023-078 - for Vogtle Units 3 & 4 Alarms - also remove dash after unit number
|
||||||
|
eopnum = Regex.Replace(eopnum, @"\<U\>(-|\\u8209\?)", string.Empty, RegexOptions.IgnoreCase);
|
||||||
eopnum = Regex.Replace(eopnum, @"\<U\>", string.Empty, RegexOptions.IgnoreCase);
|
eopnum = Regex.Replace(eopnum, @"\<U\>", string.Empty, RegexOptions.IgnoreCase);
|
||||||
eopnum = Regex.Replace(eopnum, @"\<(U(-|\\u8209\?)ID)\>(-|\\u8209\?)", string.Empty, RegexOptions.IgnoreCase);
|
eopnum = Regex.Replace(eopnum, @"\<(U(-|\\u8209\?)ID)\>(-|\\u8209\?)", string.Empty, RegexOptions.IgnoreCase);
|
||||||
eopnum = Regex.Replace(eopnum, @"\<(U(-|\\u8209\?)NAME)\>(-|\\u8209\?)", string.Empty, RegexOptions.IgnoreCase);
|
eopnum = Regex.Replace(eopnum, @"\<(U(-|\\u8209\?)NAME)\>(-|\\u8209\?)", string.Empty, RegexOptions.IgnoreCase);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user