From 430396e0d0d5590d189ad3e66a0a7e649fdd8680 Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 10 Aug 2010 10:49:32 +0000 Subject: [PATCH] --- PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs b/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs index 9f62c796..78a644c2 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/SectionConfig.cs @@ -280,12 +280,12 @@ namespace VEPROMS.CSLA.Library { if (MyFormat != null) { - bool rval = MyFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.BreakOnSections; + bool rval = MyFormat.MyStepSectionLayoutData.BreakOnSections; return (rval) ? SectionPagination.Separate : SectionPagination.Continuous;// default to volian default } else { - bool rval = MyDefaultFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.BreakOnSections; + bool rval = MyDefaultFormat.MyStepSectionLayoutData.BreakOnSections; return (rval) ? SectionPagination.Separate : SectionPagination.Continuous;// default to volian default } } @@ -301,7 +301,7 @@ namespace VEPROMS.CSLA.Library if (parval.Equals(string.Empty)) // if the parent value is empty, then use the volian default { - bool rval = MyFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.BreakOnSections; + bool rval = MyFormat.MyStepSectionLayoutData.BreakOnSections; parval = (rval) ? ((int)(SectionPagination.Separate)).ToString() : ((int)(SectionPagination.Continuous)).ToString(); //parval = ((int)(SectionPagination.Default)).ToString(); } @@ -434,12 +434,12 @@ namespace VEPROMS.CSLA.Library { if (MyFormat != null) { - int rval = (int)MyFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.PMode; + int rval = (int)MyFormat.MyStepSectionLayoutData.PMode; return (SectionColumnMode)rval;//SectionColumnMode.Two; //SectionColumnMode.Default;// default to volian default } else { - int rval = (int)MyDefaultFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.PMode; + int rval = (int)MyDefaultFormat.MyStepSectionLayoutData.PMode; return (SectionColumnMode)rval; } } @@ -460,7 +460,7 @@ namespace VEPROMS.CSLA.Library if (parval.Equals(string.Empty)) // if the parent value is empty, then use the volian default { - int rval = (int)MyFormat.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.PMode; + int rval = (int)MyFormat.MyStepSectionLayoutData.PMode; parval = ((SectionColumnMode)rval).ToString(); //parval = ((int)(SectionColumnMode.Default)).ToString(); }