[Backend] N4取資料,拿掉top 100; obix網址改掉localhost
This commit is contained in:
		
							parent
							
								
									0aea9d189a
								
							
						
					
					
						commit
						13fdb6b203
					
				@ -41,11 +41,12 @@ namespace Backend.Controllers
 | 
				
			|||||||
            {
 | 
					            {
 | 
				
			||||||
                List<Device_value> ds;
 | 
					                List<Device_value> ds;
 | 
				
			||||||
                string url_slot = "slot:/TPE/B1|";
 | 
					                string url_slot = "slot:/TPE/B1|";
 | 
				
			||||||
                string top100 = " top 100 ";
 | 
					                string top100 = "";//" top 100 ";
 | 
				
			||||||
                webRequestService svc = new webRequestService();
 | 
					                webRequestService svc = new webRequestService();
 | 
				
			||||||
                string bql = url_slot + "bql:select " + top100 + " * from control:ControlPoint ";
 | 
					                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://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.Code = "0000";
 | 
				
			||||||
                apiResult.Data = ds;
 | 
					                apiResult.Data = ds;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user