This commit is contained in:
parent
1569e1e0f5
commit
e3d2fe5d23
@ -1594,18 +1594,21 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region Change Bar
|
#region Change Bar
|
||||||
public bool HasChangeBar()
|
public bool HasChangeBar
|
||||||
{
|
{
|
||||||
if (this.IsAccPages || this.IsProcedure || this.IsSection) return false;
|
get
|
||||||
StepInfo si = this as StepInfo;
|
{
|
||||||
if (si == null) return false;
|
if (this.IsAccPages || this.IsProcedure || this.IsSection) return false;
|
||||||
StepConfig sc = si.MyConfig as StepConfig;
|
StepInfo si = this as StepInfo;
|
||||||
if (sc == null) return false;
|
if (si == null) return false;
|
||||||
// if there is no override & return whether there was a change to the text.
|
StepConfig sc = si.MyConfig as StepConfig;
|
||||||
if (sc.Step_CBOverride == null)
|
if (sc == null) return false;
|
||||||
return (DTS > MyProcedure.DTS);
|
// if there is no override & return whether there was a change to the text.
|
||||||
else // override is on:
|
if (sc.Step_CBOverride == null)
|
||||||
return (sc.Step_CBOverride == "On");
|
return (DTS > MyProcedure.DTS);
|
||||||
|
else // override is on:
|
||||||
|
return (sc.Step_CBOverride == "On");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
#region IVEReadOnlyItem
|
#region IVEReadOnlyItem
|
||||||
|
Loading…
x
Reference in New Issue
Block a user