Don't add '0' after section numbers for Catawba & McGuire
This commit is contained in:
parent
857bbc6af0
commit
daef4a2a8e
@ -82,7 +82,11 @@ namespace DataLoader
|
|||||||
Section[CurrentSectIndex].Sequence[9] != 'N') {
|
Section[CurrentSectIndex].Sequence[9] != 'N') {
|
||||||
*/
|
*/
|
||||||
FormatData fmtData = format.PlantFormat.FormatData;
|
FormatData fmtData = format.PlantFormat.FormatData;
|
||||||
if (fmtData.SectData.StepSectionData.StepSectionLayoutData.ShowSectionTitles &&
|
// don't want to add the '0' after . for section numbers for Catawba or McGuire
|
||||||
|
bool isCatawbaOrMcGuire = false;
|
||||||
|
if (fmtData.Name.ToUpper().Contains("CAT") || fmtData.Name.ToUpper().Contains("MCG")) isCatawbaOrMcGuire = true;
|
||||||
|
if (!isCatawbaOrMcGuire &&
|
||||||
|
fmtData.SectData.StepSectionData.StepSectionLayoutData.ShowSectionTitles &&
|
||||||
!format.PlantFormat.DocStyles.DocStyleList[docstyleindx].CancelSectTitle &&
|
!format.PlantFormat.DocStyles.DocStyleList[docstyleindx].CancelSectTitle &&
|
||||||
!(format.PlantFormat.DocStyles.DocStyleList[docstyleindx].SpecialStepsFoldout && tmpE2 == E2))
|
!(format.PlantFormat.DocStyles.DocStyleList[docstyleindx].SpecialStepsFoldout && tmpE2 == E2))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user