Added AdjustRNOCautionNoteWidth flag(Catawba and McGuire)

This commit is contained in:
John Jenko 2013-12-20 16:51:22 +00:00
parent 587e614eae
commit ebc76d5f62
5 changed files with 16 additions and 1 deletions

View File

@ -2137,6 +2137,14 @@ namespace VEPROMS.CSLA.Library
return LazyLoad(ref _UseMultiLineSectionTitle, "@UseMultiLineSectionTitle");
}
}
private LazyLoad<bool> _AdjustRNOCautionNoteWidth;
public bool AdjustRNOCautionNoteWidth
{
get
{
return LazyLoad(ref _AdjustRNOCautionNoteWidth, "@AdjustRNOCautionNoteWidth");
}
}
}
#endregion
#region TextTypeValue

View File

@ -669,6 +669,7 @@ public struct StepSection
public string ImperfectStructurePlus4;
public string CountAllSubLevels;
public string UseMultiLineSectionTitle; // Need for data migration only
public string AdjustRNOCautionNoteWidth; // added to Catawba and McGuire
/* end of Format flags */
public StepSectionLayout StpSectLayData;
public StepSectionEdit StpSectEditData;
@ -4125,6 +4126,9 @@ namespace fmtxml
// by default TurnOffReplaceWords should be False.
// this will be overrided as needed (ex. NSP (Prairie Island) Deviations
fmtdata.SectData.TurnOffReplaceWords = "False";
// by default AdjustRNOCautionNoteWidth should be False
// this will be set to True for Catawba and McGuire formats
fmtdata.SectData.StepSectionData.AdjustRNOCautionNoteWidth = "False";
#endregion
return true;
}
@ -4987,11 +4991,11 @@ namespace fmtxml
if (msctstp.ImperfectStructurePlus4 != null && msctstp.ImperfectStructurePlus4 == ssctstp.ImperfectStructurePlus4) subFmt.SectData.StepSectionData.ImperfectStructurePlus4 = "null";
if (msctstp.CountAllSubLevels != null && msctstp.CountAllSubLevels == ssctstp.CountAllSubLevels) subFmt.SectData.StepSectionData.CountAllSubLevels = "null";
if (msctstp.UseMultiLineSectionTitle != null && msctstp.UseMultiLineSectionTitle == ssctstp.UseMultiLineSectionTitle) subFmt.SectData.StepSectionData.UseMultiLineSectionTitle = "null";
if (msctstp.AdjustRNOCautionNoteWidth != null && msctstp.AdjustRNOCautionNoteWidth == ssctstp.AdjustRNOCautionNoteWidth) subFmt.SectData.StepSectionData.AdjustRNOCautionNoteWidth = "null";
if (msctlay.RNOWidthAlt == ssctlay.RNOWidthAlt) subFmt.SectData.StepSectionData.StpSectLayData.RNOWidthAlt = null;
if (msctlay.HLSWidthOVRD == ssctlay.HLSWidthOVRD) subFmt.SectData.StepSectionData.StpSectLayData.HLSWidthOVRD = NullInt;
if (msctpr.SecColHdrforActPMode == ssctpr.SecColHdrforActPMode) subFmt.SectData.StepSectionData.StpSectPrtData.SecColHdrforActPMode = NullInt;
SectionNum msctn = mainFmt.SectData.SectionNumber;
SectionNum ssctn = subFmt.SectData.SectionNumber;
SectionHead mscth = mainFmt.SectData.SectionHeader;

View File

@ -16,6 +16,8 @@ namespace fmtxml
//fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = 2;
fmtdata.SectData.StepSectionData.StpSectLayData.ColT = -3;
fmtdata.SectData.StepSectionData.StpSectLayData.WidT = 390;
fmtdata.SectData.StepSectionData.AdjustRNOCautionNoteWidth = "True";
fmtdata.ProcData.TitleLength = 45;
// Base
fmtdata.StepData[0].StepLayoutData.STExtraSpace = "0";

View File

@ -12,6 +12,7 @@ namespace fmtxml
//fmtdata.SectData.StepSectionData.StpSectLayData.Separator.SeparatorLocation = 2;
fmtdata.SectData.StepSectionData.StpSectLayData.ColT = -3;
fmtdata.SectData.StepSectionData.StpSectLayData.WidT = 390;
fmtdata.SectData.StepSectionData.AdjustRNOCautionNoteWidth = "True";
fmtdata.ProcData.TitleLength = 45;
// Base

Binary file not shown.