From 13fdb6b203fe9c8a5d5f317c4db39f97bd930444 Mon Sep 17 00:00:00 2001 From: wanli Date: Wed, 30 Nov 2022 18:22:40 +0800 Subject: [PATCH] =?UTF-8?q?[Backend]=20N4=E5=8F=96=E8=B3=87=E6=96=99?= =?UTF-8?q?=EF=BC=8C=E6=8B=BF=E6=8E=89top=20100;=20obix=E7=B6=B2=E5=9D=80?= =?UTF-8?q?=E6=94=B9=E6=8E=89localhost?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Backend/Controllers/NiagaraDataSynchronizeController.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Backend/Controllers/NiagaraDataSynchronizeController.cs b/Backend/Controllers/NiagaraDataSynchronizeController.cs index 17027ae..e19ff8c 100644 --- a/Backend/Controllers/NiagaraDataSynchronizeController.cs +++ b/Backend/Controllers/NiagaraDataSynchronizeController.cs @@ -41,11 +41,12 @@ namespace Backend.Controllers { List ds; string url_slot = "slot:/TPE/B1|"; - string top100 = " top 100 "; + string top100 = "";//" top 100 "; webRequestService svc = new webRequestService(); string bql = url_slot + "bql:select " + top100 + " * from control:ControlPoint "; //ds = svc.obixQuery("http://192.168.0.136:8080/obix/config/Arena/Program/ObixQuery/query/", bql); - ds = svc.obixQuery("http://localhost:8080/obix/config/Program/ObixQuery/query/", bql); + //ds = svc.obixQuery("http://localhost:8080/obix/config/Program/ObixQuery/query/", bql); + ds = svc.obixQuery("http://192.168.0.136:8080/obix/config/Program/ObixQuery/query/", bql); apiResult.Code = "0000"; apiResult.Data = ds;