'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);
|
}
|