Added support for Wolf Creek Background Indent Used by a number of plants
This commit is contained in:
1 parent
f4609c2f50
commit
65ba080983
2 files changed
+25
-5
No files matched your search
@@ -3819,6 +3819,22 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
return false;
|
||||
}
|
||||
// Function to find if in part of a Background Step
|
||||
public bool IsPartOfBackgroundStep()
|
||||
{
|
||||
if (ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.WolfCreekBackgroundFormat)
|
||||
{
|
||||
ItemInfo itm = this;
|
||||
while (itm.MyPrevious != null)
|
||||
{
|
||||
if (itm.MyPrevious.IsBackgroundStep()) return true;
|
||||
if (itm.MyPrevious != null && itm.MyPrevious.IsStep && itm.MyPrevious.FormatStepData.Type.ToUpper() == "TITLEWITHTEXTBELOW" && FormatStepData.Type.ToUpper() != "IMPLICITOR") return true;
|
||||
itm = itm.MyPrevious;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
private bool InNote()
|
||||
{
|
||||
// walk up until procedure level and if finding a note type, return true, otherwise false.
|
||||
|
||||
Reference in new issue
Block a user