aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-05-16 16:12:09 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-05-16 16:12:09 +0300
commitcd8bec354b018a03ed3960ed4f76970d4cbff2ef (patch)
tree7fb730f86eb289cab99d3717c672a173e9efdc52 /Software/Visual_Studio/PPC/Modules
parent207ac666dd0e091ec58af244b0e98cda33789d7f (diff)
downloadTango-cd8bec354b018a03ed3960ed4f76970d4cbff2ef.tar.gz
Tango-cd8bec354b018a03ed3960ed4f76970d4cbff2ef.zip
Bugs + added Display Job Outline button in Tech. mode
Related Work Items: #8407
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules')
-rw-r--r--Software/Visual_Studio/PPC/Modules/Tango.PPC.JobsV2/Models/JobModel.cs2
1 files changed, 1 insertions, 1 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 00dcf6f8b..8267fd3aa 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
@@ -390,7 +390,7 @@ namespace Tango.PPC.Jobs.Models
int coeff = (int)(value + NumberSpools - 1) / NumberSpools;
_copies = coeff * NumberSpools;
}
- NumberOfUnits = (int)value / NumberSpools;
+ NumberOfUnits = (int)_copies / NumberSpools;
RaisePropertyChanged(nameof(LengthIncludingNumberOfUnits));
RaisePropertyChanged(nameof(LengthIncludingNumberOfUnitsAndSpools));
}