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;