Merge pull request 'F2024-030 - Fixed PC/PC procedure number in transitions so that only one appears.' (#279) from F2024-030_Vogtle3_4_PCTrans into Development

Reviewed-on: #279
This commit is contained in:
Paul Larsen 2024-03-25 10:51:09 -04:00
commit e392c1fcc7
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