F2024-049 F2024-050 Generic EOP Format updates #289

Merged
plarsen merged 1 commits from F2024-049_050_ERGFormat into Development 2024-04-04 16:12:01 -04:00
4 changed files with 6 additions and 4 deletions

Binary file not shown.

Binary file not shown.

View File

@ -4452,9 +4452,10 @@ namespace VEPROMS.CSLA.Library
} }
} }
// F2024-037 reset the seq sub-step numbering if the parent is an un-numbered high level step // F2024-037 reset the seq sub-step numbering if the parent is an un-numbered high level step
else if (sd.StepSectionLayoutData.ResetSeqNumberingAfterUnnumberedHLS && IsSequential && MyParent != null && MyParent.IsHigh && MyParent.MyTab.Text.Length == 0) // F2024-049 changed to specify the level via the format file (Generic EOP and Vogtle 3&4)
else if (sd.StepSectionLayoutData.ResetSeqNumberingAfterUnnumberedHLS != null && IsSequential && MyParent != null && MyParent.IsHigh && MyParent.MyTab.Text.Length == 0)
{ {
localPrintLevel--; // since parent is a high level step we only need to go back one level localPrintLevel = (int)sd.StepSectionLayoutData.ResetSeqNumberingAfterUnnumberedHLS;
itmp = (localPrintLevel + PrintBias + OffsetTab) % seqtabs.MaxIndex; itmp = (localPrintLevel + PrintBias + OffsetTab) % seqtabs.MaxIndex;
} }
if (!tbformat.Contains(@"{!C")) if (!tbformat.Contains(@"{!C"))

View File

@ -4508,8 +4508,9 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _AllowNoteCautionAdd, "@AllowNoteCautionAdd"); return LazyLoad(ref _AllowNoteCautionAdd, "@AllowNoteCautionAdd");
} }
} }
private LazyLoad<bool> _ResetSeqNumberingAfterUnnumberedHLS; // F2024-049 changed to specify the sub-step level via the format file (Generic EOP and Vogtle 3&4)
public bool ResetSeqNumberingAfterUnnumberedHLS private LazyLoad<int?> _ResetSeqNumberingAfterUnnumberedHLS;
public int? ResetSeqNumberingAfterUnnumberedHLS
{ {
get get
{ {