diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs index a4639f874..ab007329f 100644 --- a/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs +++ b/Software/Visual_Studio/Tango.Emulations/Emulators/MachineEmulator.cs @@ -832,6 +832,8 @@ namespace Tango.Emulations.Emulators nextStopPosition = jobTicket.Segments[seg_index + 1].Length; } + calculatedStopIndexes = new List<int>(); + for (int index = 0; index < segment.BrushStops.Count(); index++) { var stop = segment.BrushStops[index]; @@ -885,10 +887,10 @@ namespace Tango.Emulations.Emulators foreach (var packLevel in MachineStatus.IDSPacksLevels) { - Debug.WriteLine($"packLevel.DispenserLevel = {packLevel.DispenserLevel}"); - Debug.WriteLine($"quantity = {130000000 - packLevel.DispenserLevel}"); - Debug.WriteLine($"packLevel.Index = {packLevel.Index}"); + Debug.WriteLine($"Emulator: Pack Index = {packLevel.Index}"); + Debug.WriteLine($"Emulator: Quantity = {MachineOperator.MAX_DISPENSER_NANOLITER - packLevel.DispenserLevel}"); } + jobTicket = null; if (_cancelJob) |
