diff --git a/Service/Cloud/Client/CloudClient.cs b/Service/Cloud/Client/CloudClient.cs index 0e97896..fce2c52 100644 --- a/Service/Cloud/Client/CloudClient.cs +++ b/Service/Cloud/Client/CloudClient.cs @@ -19,6 +19,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Org.BouncyCastle.Utilities; using Repository.Station; +using Service.Cloud.Common; using Service.Cloud.Handler; using Service.Cloud.Msg; using Service.Cloud.Msg.Cloud.Req; @@ -386,6 +387,7 @@ public class CloudClient : IMqttClientConnectedHandler, IMqttApplicationMessageR Connected = false; if (AutoReConnect) { + Thread.Sleep(5000); Connect(); } return Task.CompletedTask;