Added “IsCaution2”, “SameRowAsParent”, and redfined “WidthOverride”

This commit is contained in:
John Jenko 2013-10-02 21:50:47 +00:00
parent c31586e7b7
commit 9fcb72d965

View File

@ -1018,6 +1018,13 @@ namespace VEPROMS.CSLA.Library
return IsType("Caution");
}
}
public bool IsCaution2
{
get
{
return IsType("Caution2");
}
}
public bool IsNote
{
get
@ -1807,6 +1814,27 @@ namespace VEPROMS.CSLA.Library
}
return retval;
}
public bool SameRowAsParent
{
get
{
return ActiveFormat.PlantFormat.FormatData.StepDataList[FormatStepType].SameRowAsParent;
}
}
public string WidthOverride
{
get
{
return ActiveFormat.PlantFormat.FormatData.StepDataList[FormatStepType].WidthOverride;
}
}
//public float? WidthOverride
//{
// get
// {
// return ActiveFormat.PlantFormat.FormatData.StepDataList[FormatStepType].WidthOverride;
// }
//}
#endregion
#region Path and Parent
public string Path