货无忧
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
734 B

2 years ago
"use strict";
const utils = {
1 year ago
//一体机打印初始化
2 years ago
init: () => {
},
1 year ago
//检查打印机状态
2 years ago
getstate: () => {
},
1 year ago
//打印的内容
2 years ago
printxie: async (obj) => {
},
1 year ago
//蓝牙打印初始化
2 years ago
initbl: () => {
},
1 year ago
//给蓝牙打印机推送打印的内容
2 years ago
getbl: (dev, text) => {
},
1 year ago
//初始化tts语音引擎
2 years ago
inittts() {
},
1 year ago
//语音播报
2 years ago
ttsspke: (text) => {
},
1 year ago
//设置扫描的广播
setting: () => {
},
1 year ago
//获取当前APP的版本信息
getversion: () => {
return new Promise((relove, reject) => {
});
},
1 year ago
//执行下载更新(apk和wgt都可以)
updatefile: (file) => {
},
1 year ago
//执行下载更新(无感)(wgt)
updatefile1: (file) => {
2 years ago
}
};
exports.utils = utils;