From e24744ff8b8aaa16ec75f33dd67a31e8fb94979d Mon Sep 17 00:00:00 2001
From: 81041 <81041@192.168.10.28>
Date: 星期一, 19 十一月 2018 14:48:22 +0800
Subject: [PATCH] 修改

---
 gx_tieta/WebRoot/pages/js/common.js |   31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diff --git a/gx_tieta/WebRoot/pages/js/common.js b/gx_tieta/WebRoot/pages/js/common.js
index ab36427..cf9e222 100644
--- a/gx_tieta/WebRoot/pages/js/common.js
+++ b/gx_tieta/WebRoot/pages/js/common.js
@@ -459,6 +459,11 @@
 	gl.CMD.sys.restart = 0x10;
 	gl.CMD.sys.set = 0x81;
 	gl.CMD.sys.get = 0x80;
+	
+	//CMD涓媑prs
+	gl.namespace('CMD.gprs');
+	gl.CMD.gprs.param = 145;
+	gl.CMD.gprs.signal = "CSQ";
 })(jQuery, window, document, GLOBAL);
 
 // 鍦板浘淇℃伅
@@ -546,4 +551,30 @@
 		}
 	}
 	return rs;
+}
+
+//缁橤PRS鍙戦�佹寚瀹氱殑鍛戒护锛岃幏鍙朅T杩斿洖鍊�
+function searchStationSignal(param,callback){
+	$.ajax({ 	
+        type:"post", 								
+        url: "Bts_gprs_stateAction_action_update?t="+(new Date().getTime()),						
+        async:true,				
+        dataType:'json',
+        data:'json='+JSON.stringify(param),		
+        success: function(data){ 
+			var model = eval('('+data.result+')');
+			if(callback && typeof callback == 'function'){
+				callback(model);
+			}
+    	},error:function(e){
+    		var model = {
+    			code:0,
+    			data:e,
+    			msg:'閫氫俊澶辫触'
+    		};
+    		if(callback && typeof callback == 'function'){
+				callback(model);
+			}
+    	} 				
+	});
 }
\ No newline at end of file

--
Gitblit v1.9.1