aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/Storage/StorageFileHandler.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-11-29 18:59:41 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-11-29 18:59:41 +0200
commitdd724f118f584eea84a11af90292a88c62ecd022 (patch)
tree714e7c0dfb12887ed20d85b0aa5c2b6c24743b44 /Software/Visual_Studio/Tango.Integration/Storage/StorageFileHandler.cs
parent1e2ae1c1973fd5661815f18c93ee1171a5c08da5 (diff)
downloadTango-dd724f118f584eea84a11af90292a88c62ecd022.tar.gz
Tango-dd724f118f584eea84a11af90292a88c62ecd022.zip
Working on Firmware upgrade !
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Storage/StorageFileHandler.cs')
-rw-r--r--Software/Visual_Studio/Tango.Integration/Storage/StorageFileHandler.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Storage/StorageFileHandler.cs b/Software/Visual_Studio/Tango.Integration/Storage/StorageFileHandler.cs
index 6a9c5cae4..eaa209e65 100644
--- a/Software/Visual_Studio/Tango.Integration/Storage/StorageFileHandler.cs
+++ b/Software/Visual_Studio/Tango.Integration/Storage/StorageFileHandler.cs
@@ -42,11 +42,13 @@ namespace Tango.Integration.Storage
get { return _current; }
internal set
{
+ long previous = _current;
_current = value; RaisePropertyChangedAuto();
Progress?.Invoke(this, new StorageFileHandlerProgressEventArgs()
{
Current = _current,
Total = _total,
+ Delta = _current - previous,
});
if (Status != StorageFileHandlerStatus.Active)