Added support for Wolf Creek Background Indent Used by a number of plants
This commit is contained in:
@@ -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