whychdw
2019-10-21 d327da73eec45da6fba8ecdc120848e01cac3b83
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
'use strict';
 
// 建立一个设置ipWorker线程
var setIpWorker = '';
 
// Android调用触发(设置Ip)
function setUpDeviceIpcalljs(content) {
    setIpWorker.postMessage(content);
}
 
// 建立一个获取ip的Worker线程
var getIpWorker = '';
 
// Android调用触发(获取Ip)
function obtainDeviceIpcalljs(content) {
    getIpWorker.postMessage(content);
}
 
// 建立一个测试IP的Worker线程
var testIpWorker = '';
 
// Android调用触发(测试Ip)
function testDeviceIpcalljs(content) {
    testIpWorker.postMessage(content);
}
 
// 建立一个获取电池参数的Worker线程
var getTestParamWorker = '';
function getTestParamcalljs(content) {
    getTestParamWorker.postMessage(content);
}
 
// 建立一个获取电池列表的Worker线程
var getBattNamesWorker = '';
 
function getBattNamescalljs(content) {
    getBattNamesWorker.postMessage(content);
}
 
// 建立一个切换电池组的Worker线程
var changeBattWorker= '';
 
function changeBattcalljs(content) {
    changeBattWorker.postMessage(content);
}