F2023-112 added format flag for full section number in step tab - for background format
This commit is contained in:
parent
e670b3776b
commit
bda5a54754
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -4972,7 +4972,8 @@ namespace VEPROMS.CSLA.Library
|
||||
// Otherwise, just return the section tab.
|
||||
// Before checking for anything, if the DisplayNumber starts with 'ATTACHMENT ', don't use that in the Section
|
||||
// prefix for the tabstring.
|
||||
string attNum = ActiveSection.DisplayNumber.ToUpper().StartsWith("ATTACHMENT ") ? ActiveSection.DisplayNumber.Substring(11) : ActiveSection.DisplayNumber;
|
||||
// F2023-112 - added flag to use entire section number in the step tab - Vogtle 3&4 Background format (VEGPBckStp)
|
||||
string attNum = (ActiveSection.DisplayNumber.ToUpper().StartsWith("ATTACHMENT ") && !FormatStepData.TabData.UseEntireSectionNum) ? ActiveSection.DisplayNumber.Substring(11) : ActiveSection.DisplayNumber;
|
||||
Match m = Regex.Match(attNum, @"[a-zA-Z]"); // for alpha, use non-touched displaynumber
|
||||
int indx = -1;
|
||||
if (m.Success)
|
||||
|
@ -6611,6 +6611,14 @@ namespace VEPROMS.CSLA.Library
|
||||
return LazyLoad(ref _NoTrim, "TabData/@NoTrim");
|
||||
}
|
||||
}
|
||||
private LazyLoad<bool> _UseEntireSectionNum;
|
||||
public bool UseEntireSectionNum
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _UseEntireSectionNum, "TabData/@UseEntireSectionNum");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
Loading…
x
Reference in New Issue
Block a user