aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.BL
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2023-10-22 13:54:49 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2023-10-22 13:56:23 +0300
commit648437dec6e56e32218d88b7a85e70ac00b6e98a (patch)
treead7a74e3d81246c701e6b59e9b26e063a6702417 /Software/Visual_Studio/Tango.BL
parentb6745cf00a2aedae8da24a2477d1000f30e7e1d3 (diff)
downloadTango-648437dec6e56e32218d88b7a85e70ac00b6e98a.tar.gz
Tango-648437dec6e56e32218d88b7a85e70ac00b6e98a.zip
Changed Number of Spools in Converters and GUI PPC.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL')
-rw-r--r--Software/Visual_Studio/Tango.BL/Entities/Job.cs21
1 files changed, 7 insertions, 14 deletions
diff --git a/Software/Visual_Studio/Tango.BL/Entities/Job.cs b/Software/Visual_Studio/Tango.BL/Entities/Job.cs
index 29f7e1054..328d74f0c 100644
--- a/Software/Visual_Studio/Tango.BL/Entities/Job.cs
+++ b/Software/Visual_Studio/Tango.BL/Entities/Job.cs
@@ -99,9 +99,9 @@ namespace Tango.BL.Entities
{
get
{
- if (Spools >= 4)
+ if (NumberOfSpools >= 4)
{
- return LengthIncludingNumberOfUnits * Spools;
+ return LengthIncludingNumberOfUnits * NumberOfSpools;
}
return LengthIncludingNumberOfUnits;
@@ -129,9 +129,9 @@ namespace Tango.BL.Entities
{
get
{
- if (Spools >= 4)
+ if (NumberOfSpools >= 4)
{
- return WeightIncludingNumberOfUnits * Spools;
+ return WeightIncludingNumberOfUnits * NumberOfSpools;
}
return WeightIncludingNumberOfUnits;
@@ -144,9 +144,9 @@ namespace Tango.BL.Entities
{
get
{
- if (Spools >= 4)
+ if (NumberOfSpools >= 4)
{
- return NumberOfUnits * Spools;
+ return NumberOfUnits * NumberOfSpools;
}
return NumberOfUnits;
}
@@ -218,14 +218,7 @@ namespace Tango.BL.Entities
RaisePropertyChangedAuto();
}
}
-
- [NotMapped]
- [JsonIgnore]
- public int Spools
- {
- get { return 4; }//headunits?
- }
-
+
/// <summary>
/// Gets or sets the effective segments.
/// </summary>