Initial check in of formats for Vogtle Units 2 and 3
This commit is contained in:
@@ -378,6 +378,18 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Section Number Flags
|
||||
[Category("Miscellaneous")]
|
||||
[Description("Don't parse the section number - use DisplayNumber value")]
|
||||
private LazyLoad<bool> _DontParseSectionNumber;
|
||||
public bool DontParseSectionNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return LazyLoad(ref _DontParseSectionNumber, "@DontParseSectionNumber");
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region SpecialStepsFoldout
|
||||
[Category("Miscellaneous")]
|
||||
[Description("Section Special Steps Foldout")]
|
||||
@@ -628,13 +640,13 @@ namespace VEPROMS.CSLA.Library
|
||||
if (PlantFormat.IgnoreUCF) return LazyLoad(ref _LeftMargin, "@LeftMargin");
|
||||
if (MyFormat.PlantFormat.FormatConfig == null) return LazyLoad(ref _LeftMargin, "@LeftMargin");
|
||||
|
||||
// see if there is UCF data, need to match the index of the ucf data to that in the original format, and
|
||||
// also need to check that LeftMargin is not null, since other docstyle data may exist in UCF but not PageLength:
|
||||
XmlNode par = this.XmlNode.ParentNode;
|
||||
// see if there is UCF (User Control of Format) data, need to match the index of the ucf data to that in the original format, and
|
||||
// also need to check that LeftMargin is not null, since other docstyle data may exist in UCF but not LeftMargin:
|
||||
XmlNode par = this.XmlNode.ParentNode;
|
||||
string indx = null;
|
||||
XmlElement ele = par as XmlElement;
|
||||
if (ele.HasAttribute("Index")) indx = ele.GetAttribute("Index");
|
||||
if (indx == null) return LazyLoad(ref _PageLength, "@LeftMargin");
|
||||
if (indx == null) return LazyLoad(ref _LeftMargin, "@LeftMargin");
|
||||
if (MyFormat.PlantFormat.FormatConfig != null && this.MyFormat.PlantFormat.FormatConfig.PlantFormat.DocStyles != null && MyFormat.PlantFormat.FormatConfig.PlantFormat.DocStyles.Count > 0)
|
||||
{
|
||||
foreach (FormatConfig.DocStyle ds in MyFormat.PlantFormat.FormatConfig.PlantFormat.DocStyles)
|
||||
@@ -663,7 +675,7 @@ namespace VEPROMS.CSLA.Library
|
||||
if (PlantFormat.IgnoreUCF) return LazyLoad(ref _PageLength, "@PageLength");
|
||||
if (MyFormat.PlantFormat.FormatConfig == null) return LazyLoad(ref _PageLength, "@PageLength");
|
||||
|
||||
// see if there is UCF data, need to match the index of the ucf data to that in the original format, and
|
||||
// see if there is UCF (User Control of Format) data, need to match the index of the ucf data to that in the original format, and
|
||||
// also need to check that PageLength is not null, since other docstyle data may exist in UCF but not PageLength:
|
||||
XmlNode par = this.XmlNode.ParentNode;
|
||||
string indx = null;
|
||||
|
Reference in New Issue
Block a user