diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-15 17:58:46 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-07-15 17:58:46 +0300 |
| commit | b8566b704e0804239bcb58dfb90b32e5334ce446 (patch) | |
| tree | be58a5f0c37690b07a48db45e9b0fc498c680b58 /Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | |
| parent | b90acacb7dbef7d088d57a200cc4d71148bffd1e (diff) | |
| download | Tango-b8566b704e0804239bcb58dfb90b32e5334ce446.tar.gz Tango-b8566b704e0804239bcb58dfb90b32e5334ce446.zip | |
Implemented JobRunner on Tech Board !.
Diffstat (limited to 'Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs index 167a69b78..fd37ca8c0 100644 --- a/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs +++ b/Software/Visual_Studio/Tango.Integration/Operation/MachineOperator.cs @@ -676,6 +676,11 @@ namespace Tango.Integration.Operation JobRequest request = new JobRequest(); + if (job.NumberOfUnits < 1) + { + job.NumberOfUnits = 1; + } + job = job.Clone(); var segments = job.Segments.ToList(); |
