wxr
2020-03-31 002a3f2e9d2f9579c01f88af12bd8a320003569f
HDL_ON/DriverLayer/BusSocket.cs
@@ -63,8 +63,6 @@
         }
         catch { }
         busSocket = null;
            //HDL_ON.SimpleControl.Phone.Music.A31PlayMusicPage.isExit = true;
            //SmartHome.MqttCommon.DisConnect ();
            MainPage.Log("BusSocket关闭成功!");
      }
@@ -138,16 +136,19 @@
      {
         try
         {
                if (!IsRunning) {
                    return;
                }
            if (!IsRunning)
            {
               tempPacket.HaveSendCount++;
               return;
            }
            tempPacket.FlagDateTime = System.DateTime.Now;
            tempPacket.HaveSendCount++;
            busSocket.BeginSendTo(tempPacket.Bytes, 0, tempPacket.Bytes.Length, SocketFlags.None, tempPacket.RemoteEndPoint, new AsyncCallback(asyncEndSend), tempPacket);
         }
         catch {
            }
         catch (Exception ex)
         {
            MainPage.Log($"AsyncBeginSend error {ex.Message}");
         }
      }
      /// <summary>