diff options
| author | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
|---|---|---|
| committer | Mirta <mirta@twine-s.com> | 2020-12-30 16:39:52 +0200 |
| commit | 00a491d93733d4625ad329b2ba8237f445364b3f (patch) | |
| tree | 4b24c6fa78d7648f4bb7cefafa464bb0b063fec4 /Software/Visual_Studio/Tango.BL/LiquidVolume.cs | |
| parent | 124ad4150f80c6846fdee41dbbda9848c105f6e5 (diff) | |
| download | Tango-00a491d9.tar.gz Tango-00a491d9.zip | |
merge
Diffstat (limited to 'Software/Visual_Studio/Tango.BL/LiquidVolume.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.BL/LiquidVolume.cs | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/Software/Visual_Studio/Tango.BL/LiquidVolume.cs b/Software/Visual_Studio/Tango.BL/LiquidVolume.cs index 793f94212..69499905a 100644 --- a/Software/Visual_Studio/Tango.BL/LiquidVolume.cs +++ b/Software/Visual_Studio/Tango.BL/LiquidVolume.cs @@ -7,7 +7,6 @@ using System.Threading.Tasks; using Tango.Core; using Tango.BL.Dispensing; using Tango.BL.Entities; -using Tango.BL.Enumerations; namespace Tango.BL { @@ -68,16 +67,10 @@ namespace Tango.BL } [JsonIgnore] - public LiquidTypes LiquidType - { - get { return (LiquidTypes)IdsPack.LiquidType.Code; } - } - - [JsonIgnore] public DispenserStepDivisions DispenserStepDivision { get { return (DispenserStepDivisions)BrushStop.GetDispensingDivision(IdsPack.PackIndex); } - set { BrushStop.SetDispensingDivision(IdsPack.PackIndex, (int)value); RaisePropertyChangedAuto(); RaisePropertyChanged(nameof(PulsePerSecond)); RaisePropertyChanged(nameof(NanoliterPerStep)); RaisePropertyChanged(nameof(PulsePerSecondFull)); } + set { BrushStop.SetDispensingDivision(IdsPack.PackIndex, (int)value); RaisePropertyChangedAuto(); RaisePropertyChanged(nameof(PulsePerSecond)); RaisePropertyChanged(nameof(NanoliterPerStep)); } } public void Invalidate() @@ -103,7 +96,6 @@ namespace Tango.BL RaisePropertyChanged(nameof(LiquidMaxNanoliterPerCentimeter)); RaisePropertyChanged(nameof(NanoliterPerSecond)); RaisePropertyChanged(nameof(PulsePerSecond)); - RaisePropertyChanged(nameof(PulsePerSecondFull)); RaisePropertyChanged(nameof(NanoliterPerCentimeter)); RaisePropertyChanged(nameof(Volume)); RaisePropertyChanged(nameof(NanoliterPerStep)); @@ -186,15 +178,6 @@ namespace Tango.BL } [JsonIgnore] - public double PulsePerSecondFull - { - get - { - return DispensingCalcService.CalculatePulsePerSecondFull(this); - } - } - - [JsonIgnore] public double NanoliterPerStep { get @@ -210,10 +193,5 @@ namespace Tango.BL cloned.Volume = Volume; return cloned; } - - public override string ToString() - { - return $"{LiquidType}, {Volume}"; - } } } |
