Add the downwardcalibration to the middelware
This commit is contained in:
parent
975ef6af8d
commit
d02fc6fdc8
|
|
@ -69,9 +69,11 @@ public static class MiddlewareAgent
|
|||
if (config != null)
|
||||
{
|
||||
Console.WriteLine($"Received a configuration message: GridSetPoint is " + config.GridSetPoint +
|
||||
", MinimumSoC is " + config.MinimumSoC + " and ForceCalibrationCharge is " +
|
||||
", MinimumSoC is " + config.MinimumSoC + " and CalibrationCharge is " +
|
||||
config.CalibrationChargeState + " and CalibrationChargeDate is " +
|
||||
config.CalibrationChargeDate);
|
||||
config.CalibrationChargeDate + " and CalibrationDischarge is " +
|
||||
config.CalibrationDischargeState + " and CalibrationDischargeDate is " +
|
||||
config.CalibrationDischargeDate);
|
||||
|
||||
// Send the reply to the sender's endpoint
|
||||
_udpListener.Send(replyData, replyData.Length, serverEndpoint);
|
||||
|
|
@ -85,8 +87,6 @@ public static class MiddlewareAgent
|
|||
Console.WriteLine("UDP address has changed, rebinding...");
|
||||
InitializeCommunicationToMiddleware();
|
||||
}
|
||||
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue