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