aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Operation/JobHandler.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-24 15:44:21 +0300
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-05-24 15:44:21 +0300
commit496d83d940efe71ec7cbadd59c08804f4671c480 (patch)
treee707449fca989b6e519b92033557a8a2374e5fcc /Software/Visual_Studio/Tango.Integration/Operation/JobHandler.cs
parentc5e790039126cfdb32fe8cf8fd90c39bc8eaf943 (diff)
downloadTango-496d83d940efe71ec7cbadd59c08804f4671c480.tar.gz
Tango-496d83d940efe71ec7cbadd59c08804f4671c480.zip
JobProgress Tester Utility for Vica.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation/JobHandler.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Operation/JobHandler.cs21
1 files changed, 10 insertions, 11 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/JobHandler.cs b/Software/Visual_Studio/Tango.Integration/Operation/JobHandler.cs
index 3ea57de7f..e9be05cc3 100644
--- a/Software/Visual_Studio/Tango.Integration/Operation/JobHandler.cs
+++ b/Software/Visual_Studio/Tango.Integration/Operation/JobHandler.cs
@@ -17,15 +17,15 @@ namespace Tango.Integration.Operation
/// <seealso cref="Tango.Core.ExtendedObject" />
public class JobHandler : ExtendedObject
{
- private Action _cancelAction;
- private List<Segment> _effectiveSegments;
- private String _lastStatusMessage;
- private int _last_unit;
- private bool _finalizing;
- private JobHandlerModes _mode;
- private double _last_progress;
- private const int PROGRESS_REPORT_RANGE_METERS = 5;
- private bool loggedContinueMessage;
+ protected Action _cancelAction;
+ protected List<Segment> _effectiveSegments;
+ protected String _lastStatusMessage;
+ protected int _last_unit;
+ protected bool _finalizing;
+ protected JobHandlerModes _mode;
+ protected double _last_progress;
+ protected const int PROGRESS_REPORT_RANGE_METERS = 5;
+ protected bool loggedContinueMessage;
#region Events
@@ -98,7 +98,6 @@ namespace Tango.Integration.Operation
set { _jobStatus = value; RaisePropertyChangedAuto(); }
}
-
/// <summary>
/// Gets a value indicating whether this handler job has been canceled.
/// </summary>
@@ -328,7 +327,7 @@ namespace Tango.Integration.Operation
#region Private Methods
- private void InvalidateJobProgress(JobStatus s)
+ protected virtual void InvalidateJobProgress(JobStatus s)
{
JobStatus = s;
bool invalidProgress = false;