... | ... |
@@ -261,7 +261,7 @@ var powerOff = func { |
261 | 261 |
if (zkv.getNode('serviceable').getValue() != 0) |
262 | 262 |
zkv1000.powerOn(); |
263 | 263 |
}); |
264 |
- data.timers.serviceable.restart(); |
|
264 |
+ data.timers.serviceable.start(); |
|
265 | 265 |
continue; |
266 | 266 |
} |
267 | 267 |
delete(data.timers, timer); |
... | ... |
@@ -81,8 +81,6 @@ var MapTopo = { |
81 | 81 |
} |
82 | 82 |
if (me.visibility) |
83 | 83 |
data.timers.topo_radar.start(); |
84 |
- else |
|
85 |
- data.timers.topo_radar.stop(); |
|
86 | 84 |
}, |
87 | 85 |
|
88 | 86 |
off : func { |
... | ... |
@@ -16,7 +16,7 @@ var MapTrack = { |
16 | 16 |
off: func { |
17 | 17 |
me.setVisible(0); |
18 | 18 |
me.group.setVisible(0); |
19 |
- me.group.removeAllChildren(); |
|
19 |
+ me.group.del(); |
|
20 | 20 |
}, |
21 | 21 |
update: func { |
22 | 22 |
me.visibility != 0 or return; |