fixing space and comments

This commit is contained in:
atef 2024-04-11 13:57:20 +02:00
parent 7a5c5845bf
commit 78676ce504
3 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@ public class Battery48TlRecords
Temperature = records.Average(b => b.Temperatures.Cells.Average.Value), Temperature = records.Average(b => b.Temperatures.Cells.Average.Value),
HeatingPower = records.Sum(b => b.HeatingPower), HeatingPower = records.Sum(b => b.HeatingPower),
TimeSinceToc = records.Max(r => r.TimeSinceTOC), TimeSinceToc = records.Max(r => r.TimeSinceTOC),
CalibrationChargeRequested = records.Any(r => r.CalibrationChargeRequested), // we changed this to Any instead of All, it's mean we wait only one battery to reach the 14 days CalibrationChargeRequested = records.Any(r => r.CalibrationChargeRequested), // we changed this to Any instead of All, it's mean we wait only one battery to reach the 7 days
Dc = new() Dc = new()
{ {