From f4f4c1c28f6c0fb892145819f444c2c0f95a80f0 Mon Sep 17 00:00:00 2001 From: hxb <hxb@hdlchina.com.cn> Date: 星期二, 13 七月 2021 11:05:02 +0800 Subject: [PATCH] 萤石功能测试完成 --- HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelSceneListPage.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelSceneListPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelSceneListPage.cs index d0b92f2..24ad65d 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/SearchDevice/VoicePanelSceneListPage.cs +++ b/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() { @@ -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> -- Gitblit v1.8.0