From 9fcb72d96563e9da997b7eafb432d91e67762680 Mon Sep 17 00:00:00 2001 From: John Date: Wed, 2 Oct 2013 21:50:47 +0000 Subject: [PATCH] =?UTF-8?q?Added=20=E2=80=9CIsCaution2=E2=80=9D,=20?= =?UTF-8?q?=E2=80=9CSameRowAsParent=E2=80=9D,=20and=20redfined=20=E2=80=9C?= =?UTF-8?q?WidthOverride=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../VEPROMS.CSLA.Library/Extension/ItemExt.cs | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index aae0a8b4..e1bd97ea 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -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