aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobsViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben Shabat <roy.mail.net@gmail.com>2025-09-12 17:39:45 +0300
committerRoy Ben Shabat <roy.mail.net@gmail.com>2025-09-12 17:39:45 +0300
commit7eb361c1201381c6ad88efa0ebed2c6595b45d13 (patch)
tree005c5e210d9352d3b26cbb8ab1f80139279b1898 /Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobsViewVM.cs
parent8e15f292e2950cac71282923adc357f2abf8b306 (diff)
downloadTango-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/ViewModels/JobsViewVM.cs')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobsViewVM.cs14
1 files changed, 2 insertions, 12 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobsViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobsViewVM.cs
index 67a4cf972..db75b5e34 100644
--- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobsViewVM.cs
+++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/ViewModels/JobsViewVM.cs
@@ -960,6 +960,7 @@ namespace Tango.PPC.Jobs.ViewModels
job.Name = vm.Name;
job.NumberOfHeads = 1;
job.NumberOfUnits = 1;
+ job.NumberOfSpools = BuildProvider.MachineType == MachineTypes.Eureka ? 4 : 1;
job.SampleUnitsOrMeters = 1;
job.CreationDate = DateTime.UtcNow;
job.JobStatus = JobStatuses.Draft;
@@ -1045,6 +1046,7 @@ namespace Tango.PPC.Jobs.ViewModels
job.NumberOfHeads = 1;
job.NumberOfUnits = 1;
job.SampleUnitsOrMeters = 1;
+ job.NumberOfSpools = BuildProvider.MachineType == MachineTypes.Eureka ? 4 : 1;
job.CreationDate = DateTime.UtcNow;
job.JobStatus = JobStatuses.Draft;
job.JobType = JobTypes.Knitting;
@@ -1056,18 +1058,6 @@ namespace Tango.PPC.Jobs.ViewModels
job.WindingMethodGuid = Adapter.WindingMethods.FirstOrDefault().Guid;
job.SpoolTypeGuid = Settings.SpoolTypeGuid != null ? Settings.SpoolTypeGuid : Adapter.SpoolTypes.FirstOrDefault().Guid;
- if (BuildProvider.IsEureka)
- {
- job.EnableInterSegment = false;
- job.InterSegmentLength = 0;
-
- if (BuildProvider.MachineType == MachineTypes.Eureka)
- {
- job.NumberOfSpools = 4;
- }
- job.NumberOfUnits = 1;
- }
-
foreach (var segment in segments)
{