diff options
| author | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-10-22 13:54:49 +0300 |
|---|---|---|
| committer | Victoria Plitt <Victoria.Plitt@twine-s.com> | 2023-10-22 13:56:23 +0300 |
| commit | 648437dec6e56e32218d88b7a85e70ac00b6e98a (patch) | |
| tree | ad7a74e3d81246c701e6b59e9b26e063a6702417 /Software/Visual_Studio/Tango.BL/Entities | |
| parent | b6745cf00a2aedae8da24a2477d1000f30e7e1d3 (diff) | |
| download | Tango-648437dec6e56e32218d88b7a85e70ac00b6e98a.tar.gz Tango-648437dec6e56e32218d88b7a85e70ac00b6e98a.zip | |
Changed Number of Spools in Converters and GUI PPC.
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/Entities')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/Entities/Job.cs | 21 |
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> |
