F2024-030 - Fixed PC/PC procedure number in transitions so that only one appears.

This commit is contained in:
John Jenko 2024-03-25 09:15:07 -04:00
parent cf13e2f7d5
commit eeacf9b969
4 changed files with 11 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -978,7 +978,8 @@ namespace VEPROMS.CSLA.Library
retstr = unitnum.Replace("#", retstr);
}
// B2022-004: Remove Proc PC/PC token from transition text.
if (tb._FromItem.ActiveFormat != null && tb._FromItem.ActiveFormat.PlantFormat.FormatData.TransData.ProcLevelPCPC && retstr.ToUpper().StartsWith("<U"))
// F2024-030 for Vogtle Units 3 & 4, added KeepOnePCPCTag flag to keep one of the PC/PC tokens when editing
if (tb._FromItem.ActiveFormat != null && !tb._FromItem.ActiveFormat.PlantFormat.FormatData.TransData.KeepOnePCPCTag && tb._FromItem.ActiveFormat.PlantFormat.FormatData.TransData.ProcLevelPCPC && retstr.ToUpper().StartsWith("<U"))
{
int indx = retstr.IndexOf(">");
retstr = retstr.Substring(indx + 1);

View File

@ -7279,6 +7279,15 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _ProcLevelPCPC, "@ProcLevelPCPC");
}
}
// F2024-030 for Vogtle Units 3 & 4, added KeepOnePCPCTag flag to keep one of the PC/PC tokens when editing
private LazyLoad<bool> _KeepOnePCPCTag;
public bool KeepOnePCPCTag
{
get
{
return LazyLoad(ref _KeepOnePCPCTag, "@KeepOnePCPCTag");
}
}
}
#endregion
#region TransType