diff options
| author | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-09-12 17:39:45 +0300 |
|---|---|---|
| committer | Roy Ben Shabat <roy.mail.net@gmail.com> | 2025-09-12 17:39:45 +0300 |
| commit | 7eb361c1201381c6ad88efa0ebed2c6595b45d13 (patch) | |
| tree | 005c5e210d9352d3b26cbb8ab1f80139279b1898 /Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/JobModel.cs | |
| parent | 8e15f292e2950cac71282923adc357f2abf8b306 (diff) | |
| download | Tango-7eb361c1201381c6ad88efa0ebed2c6595b45d13.tar.gz Tango-7eb361c1201381c6ad88efa0ebed2c6595b45d13.zip | |
Fixed FSE Gateway service with production slot cookie.
Implemented FSE dynamic csv job upload. extra inks.
Implemented PPC dynamic csv job read. extra inks.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/JobModel.cs')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/JobModel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/JobModel.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/JobModel.cs index 283c051e8..1b5562a59 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/JobModel.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/JobModel.cs @@ -394,12 +394,12 @@ namespace Tango.PPC.Jobs.Models [JsonIgnore] public int NumberSpools { - get { return _numberSpools; } + get { return Math.Max(_numberSpools, 1); } set { if (_numberSpools != value) { - _numberSpools = value; + _numberSpools = Math.Max(value, 1); RaisePropertyChangedAuto(); OnNumberOfSpoolsChanged(); OnUpdateLengthhWeight(); |
