From dfa71098db43ca9a9ce51bec8c1410f0993e42e7 Mon Sep 17 00:00:00 2001 From: wanli Date: Thu, 22 Dec 2022 10:15:06 +0800 Subject: [PATCH] =?UTF-8?q?[App]=20=E8=BC=89=E5=85=A5N4=E8=B3=87=E6=96=99:?= =?UTF-8?q?=20=E6=94=B9=E6=88=90=20=E8=BC=89=E5=85=A5wsp=E7=9A=84=E8=B3=87?= =?UTF-8?q?=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- z01_WinAPP/App.config | 2 +- z01_WinAPP/fmCheckTagName.cs | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/z01_WinAPP/App.config b/z01_WinAPP/App.config index 0d579f1..499124a 100644 --- a/z01_WinAPP/App.config +++ b/z01_WinAPP/App.config @@ -9,7 +9,7 @@ connectionString="Data Source=192.168.0.201:33306;Initial Catalog=bims_mitsubishi;Persist Security Info=True;User ID=bims;Password=mjmdev_BIMS2022" providerName="MySql.Data.MySqlClient" />--> - + \ No newline at end of file diff --git a/z01_WinAPP/fmCheckTagName.cs b/z01_WinAPP/fmCheckTagName.cs index 3b58946..0f9778d 100644 --- a/z01_WinAPP/fmCheckTagName.cs +++ b/z01_WinAPP/fmCheckTagName.cs @@ -166,8 +166,11 @@ namespace tpDomeWinAPP if (tabControl1.SelectedIndex == 0) { webRequestSvc svc = new webRequestSvc(); - string bql = url_slot + "bql:select " + top100 + " * from control:ControlPoint "; - ds = svc.obixQuery("http://60.251.164.125:8080/obix/config/Arena/Program/ObixQuery/query/", bql); + string url_slot2 = "slot:/NTPC/B1|";//wsp + string bql = url_slot2 + "bql:select " + top100 + " * from control:ControlPoint ";//三菱: url_slot; wsp: url_slot2 + //ds = svc.obixQuery("http://60.251.164.125:8080/obix/config/Arena/Program/ObixQuery/query/", bql); + //ds = svc.obixQuery("http://192.168.0.136:8080/obix/config/Program/ObixQuery/query/", bql);//三菱 + ds = svc.obixQuery("http://192.168.0.136:8081/obix/config/Program/ObixQuery/query/", bql);//wsp //ds = svc.obixQuery("http://localhost:8080/obix/config/Program/ObixQuery/query/", bql); dataGridView1.DataSource = ds; dataGridView1.Columns[0].Visible = false;