aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Emulations
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2019-11-07 17:39:00 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2019-11-07 17:39:00 +0200
commit1c9bea6d04dcfbfd1fbf0e1c437c110bc7dafa3e (patch)
tree4f421cf42471e353df9a26f2b9ac33ffe245b0bc /Software/Visual_Studio/Tango.Emulations
parent984687c7b622e74228445b00f3a467d9b65b1641 (diff)
downloadTango-1c9bea6d04dcfbfd1fbf0e1c437c110bc7dafa3e.tar.gz
Tango-1c9bea6d04dcfbfd1fbf0e1c437c110bc7dafa3e.zip
Fixed issue with job completion on emulator.
Added liquid volumes grid full step. Added full step to dispensing calculations. Fixed issue with gradient generation progress on MS. Worked on software items doc.
Diffstat (limited to 'Software/Visual_Studio/Tango.Emulations')
-rw-r--r--Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs
index ad3b242f4..74eb3cab1 100644
--- a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs
+++ b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs
@@ -660,7 +660,7 @@ namespace Tango.Emulations.Emulators
double progress = 0;
_cancelJob = false;
bool message_sent = false;
- double length = job.Segments.Sum(x => x.Length) * (Math.Max(job.NumberOfUnits, 1));
+ double length = job.Length;
Task.Factory.StartNew(() =>
{