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:
@@ -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
|
||||
|
Reference in New Issue
Block a user