فهرست منبع

add main commit
0acac3018b6218ba500058fae2172746aabf9831
Fix Bug HeartbealInterval

Jessica Tseng 1 سال پیش
والد
کامیت
5324ed6c36
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      EVCB_OCPP.WSServer/Message/CoreProfileHandler.cs

+ 2 - 1
EVCB_OCPP.WSServer/Message/CoreProfileHandler.cs

@@ -246,7 +246,8 @@ internal partial class ProfileHandler
                         if (configValue != null)
                         {
                             int.TryParse(configValue, out heartbeat_interval);
-                        }
+							heartbeat_interval = heartbeat_interval == 0 ? GlobalConfig.GetHEARTBEAT_INTERVAL() : heartbeat_interval;
+						}
 
                         if (session.IsPending == true)
                         {