From c5cb31ac88213fbea7a93c04c399557c990a97d3 Mon Sep 17 00:00:00 2001 From: atef Date: Wed, 30 Aug 2023 13:40:53 +0200 Subject: [PATCH] Delete a no needed display. --- csharp/App/SaliMax/src/Ess/Controller.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/App/SaliMax/src/Ess/Controller.cs b/csharp/App/SaliMax/src/Ess/Controller.cs index 368b86850..236c5beb0 100644 --- a/csharp/App/SaliMax/src/Ess/Controller.cs +++ b/csharp/App/SaliMax/src/Ess/Controller.cs @@ -73,8 +73,8 @@ public static class Controller if (!dcLimited) return control with { PowerCorrection = clampedPowerDelta }; - var maxPower = acDcs.Max(d => d.Status.Ac.Power.Active.Value).WriteLine("Max"); - var minPower = acDcs.Min(d => d.Status.Ac.Power.Active.Value).WriteLine("Min"); + var maxPower = acDcs.Max(d => d.Status.Ac.Power.Active.Value); + var minPower = acDcs.Min(d => d.Status.Ac.Power.Active.Value); var powerDifference = maxPower - minPower;