Added logic to identify that we are in a Condition/Response section of the Calvert Cliffs Alarms

Disable the ability to insert a Caution or Note when in a Condition/Response section of the Calvert Cliffs Alarms
This commit is contained in:
2014-08-20 17:52:23 +00:00
parent 7c26029b92
commit ff57e04521
2 changed files with 26 additions and 0 deletions

View File

@@ -1331,6 +1331,25 @@ namespace VEPROMS.CSLA.Library
return parent.IsInRNO;
}
}
public bool IsInCalvertConditionResponse
{
get
{
ItemInfo itmifo = this;
bool rtn = false;
if (ActiveFormat.PlantFormat.FormatData.PrintData.SpecialCaseCalvertAlarm)
{
// TemplateChildColumnMode is set to 2 for the TitleWithTextBelow step type
// we want to stop searching at this level
while (!rtn && itmifo != null && itmifo.IsStep && !itmifo.TemplateChildColumnMode.Equals(2))
{
rtn = itmifo.TemplateColumnMode.Equals(2);
itmifo = itmifo.MyParent;
}
}
return rtn;
}
}
#endregion
#region Level Columns Relationships
public int RNOLevel