From 649cab0a8fa2a97012acf9c941c4a0b0157cbdfc Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期二, 06 十一月 2018 16:07:09 +0800
Subject: [PATCH] 添加显示信号强度的图标

---
 gx_tieta/WebRoot/js/elecircle.content.js |   18 +++++++++++++++---
 1 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/gx_tieta/WebRoot/js/elecircle.content.js b/gx_tieta/WebRoot/js/elecircle.content.js
index 47e27b4..6ae94b9 100644
--- a/gx_tieta/WebRoot/js/elecircle.content.js
+++ b/gx_tieta/WebRoot/js/elecircle.content.js
@@ -1,5 +1,18 @@
 var eleCircle = new EleCircle('eleCircle', {});
+var signalGood = new Image();
+signalGood.src="image/eleCircle/signalGood.gif";
+var signalBad = new Image();
+signalBad.src="image/eleCircle/signalBad.gif";
 $(function() {
+	eleCircle.drawImg({
+		startX: 10,
+		startY: 30,
+		width: 30,
+		height: 30,
+		isShow:false,
+		id: 'signal'
+	});
+	
 	// 鏈�涓婃柟鐨勬í绾�
 	eleCircle.drawLine({
 		startX: 120,
@@ -467,7 +480,7 @@
 		id: 'title',
 		startX: 400,
 		startY: 40,
-		name: '鐢垫睜缁勬诞鍏呯姸鎬佺數娴佹柟鍚�',
+		name: '璁惧娴厖鐘舵�佺數娴佹柟鍚�',
 	});
 	
 	// 璁惧鍐呴儴娓╁害
@@ -487,7 +500,7 @@
 			[430, 520], [430, 360],[320,360]
 		],
 		clockwise: 0,
-		name: '鐢垫睜缁勬诞鍏呯姸鎬佺數娴佹柟鍚�'
+		name: '璁惧娴厖鐘舵�佺數娴佹柟鍚�'
 	}
 	
 	currentObj = $.extend({}, currentObj, floatCharge);
@@ -945,7 +958,6 @@
         	if(typeof callback == 'function') {
         		callback.call({}, data);
         	}
-        	
         	// 鍒ゆ柇workstatus
         	switch(workstatus) {
         		case 0:	{	// 娴厖鐘舵��

--
Gitblit v1.9.1