陈嘉乐
2020-12-01 e08a444a9d7acea0cf39f50d22d29179f6a59292
HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelSceneListPage.cs
@@ -59,9 +59,9 @@
            };
            divTopTitle.AddChidren(btnTitle);
            DriverLayer.Control.ins.reportIp = device.ip_address;
            DriverLayer.Control.ins.ChangeCommunicationMode(DriverLayer.CommunicationMode.tcp_local_client);
            DriverLayer.Control.ins.myTcpClient.ReceiveEvent = ReceiveEvent;
            DriverLayer.Control.Ins.reportIp = device.ip_address;
            //DriverLayer.Control.ins.OpenTcpClent();
            DriverLayer.Control.Ins.myTcpClient.ReceiveEvent = ReceiveEvent;
            contentView = new VerticalRefreshLayout()
            {
@@ -84,8 +84,8 @@
                Gravity = Gravity.CenterHorizontal,
                Y = Application.GetRealHeight(582),
                Width = Application.GetRealWidth(220),
                Height = Application.GetRealHeight(44),
                Radius = (uint)Application.GetRealHeight(22),
                Height = Application.GetRealWidth(44),
                Radius = (uint)Application.GetRealWidth(22),
                BackgroundColor = CSS_Color.MainColor,
                TextColor = CSS_Color.MainBackgroundColor,
                TextSize = CSS_FontSize.SubheadingFontSize,
@@ -180,7 +180,7 @@
            var sendJson = JsonConvert.SerializeObject(sendingObject);
            var sendBytes = System.Text.Encoding.ASCII.GetBytes(sendJson);
            DriverLayer.Control.ins.myTcpClient.SendMessage(sendBytes);
            DriverLayer.Control.Ins.myTcpClient.SendMessage(sendBytes);
        }
        /// <summary>