|
@@ -35,7 +35,7 @@ public class HealthCheckTriggerJob : IJob
|
|
|
|
|
|
Dictionary<string, WsClientData> _copyClientDic = protalServer.GetClientDic();
|
|
|
|
|
|
- Dictionary<string, int> chargeBoxHeartBeatIngerval = await GetChargeBoxIdelSeconds(_copyClientDic?.Keys?.ToList());
|
|
|
+ Dictionary<string, int> chargeBoxHeartBeatIngerval = await GetChargeBoxIdleSeconds(_copyClientDic?.Keys?.ToList());
|
|
|
|
|
|
var removeClients = _copyClientDic
|
|
|
.Where(x => x.Value.LastActiveTime < DateTime.UtcNow.AddSeconds(-1 * chargeBoxHeartBeatIngerval[x.Key]))
|
|
@@ -50,7 +50,7 @@ public class HealthCheckTriggerJob : IJob
|
|
|
return ;
|
|
|
}
|
|
|
|
|
|
- private async Task<Dictionary<string, int>> GetChargeBoxIdelSeconds(List<string> chageboxList)
|
|
|
+ private async Task<Dictionary<string, int>> GetChargeBoxIdleSeconds(List<string> chageboxList)
|
|
|
{
|
|
|
if (chageboxList is null)
|
|
|
{
|