diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-21 18:48:44 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-01-21 18:48:44 +0200 |
| commit | a8b092b3d28c44beff66c6d17ece06103291eaff (patch) | |
| tree | 23a42257d3791957576b9da7873a22b6ced79259 /Software/Visual_Studio/Tango.Emulations | |
| parent | edb3800ebc5baee6728dbcc5154a6d7a28a9c5eb (diff) | |
| download | Tango-a8b092b3d28c44beff66c6d17ece06103291eaff.tar.gz Tango-a8b092b3d28c44beff66c6d17ece06103291eaff.zip | |
Refactored JobRunsLogger to save job length, name, source and JobString.
Fixed issue with machine emulator number of units.
Diffstat (limited to 'Software/Visual_Studio/Tango.Emulations')
| -rw-r--r-- | Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs | 2 |
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 06a287693..0c06448e1 100644 --- a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs +++ b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs @@ -704,7 +704,7 @@ namespace Tango.Emulations.Emulators List<JobBrushStop> calculatedStops = new List<JobBrushStop>(); - for (int i = 0; i < job.NumberOfUnits; i++) + for (int i = 0; i < units; i++) { double progress = 0; double lastProgress = 0; |
