change the calibration charge start after all batteries are requested to start.
This commit is contained in:
parent
da5e8ea2d7
commit
a1c31815ae
|
@ -35,7 +35,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),
|
CalibrationChargeRequested = records.All(r => r.CalibrationChargeRequested), // we changed this to All instead of Any, it's mean we wait for all batteries to reach the 14 days
|
||||||
|
|
||||||
Dc = new()
|
Dc = new()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue