From daef4a2a8ed02d721642f0e6212989918183862c Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 20 Nov 2013 12:57:42 +0000 Subject: [PATCH] Don't add '0' after section numbers for Catawba & McGuire --- PROMS/DataLoader/Sections.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PROMS/DataLoader/Sections.cs b/PROMS/DataLoader/Sections.cs index 8f1ea4b1..9bfae069 100644 --- a/PROMS/DataLoader/Sections.cs +++ b/PROMS/DataLoader/Sections.cs @@ -82,7 +82,11 @@ namespace DataLoader Section[CurrentSectIndex].Sequence[9] != 'N') { */ 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].SpecialStepsFoldout && tmpE2 == E2)) {