Don't add '0' after section numbers for Catawba & McGuire

This commit is contained in:
Kathy Ruffing 2013-11-20 12:57:42 +00:00
parent 857bbc6af0
commit daef4a2a8e

View File

@ -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))
{