补充漏改了的插件名称
This commit is contained in:
parent
4616b6e8eb
commit
442eac4477
18
www/cordova-plugin-uhfcom13.js
vendored
18
www/cordova-plugin-uhfcom13.js
vendored
@ -3,39 +3,39 @@ var exec = require('cordova/exec');
|
||||
var coolMethod = function () {};
|
||||
|
||||
coolMethod.readCard = function (success, error) {
|
||||
exec(success, error, 'UHF', 'readCard', []);
|
||||
exec(success, error, 'UHFCom', 'readCard', []);
|
||||
}
|
||||
|
||||
coolMethod.inventoryCard = function (success, error) {
|
||||
exec(success, error, 'UHF', 'inventoryCard', []);
|
||||
exec(success, error, 'UHFCom', 'inventoryCard', []);
|
||||
}
|
||||
|
||||
coolMethod.stopInventoryCard = function (success, error) {
|
||||
exec(success, error, 'UHF', 'stopInventoryCard', []);
|
||||
exec(success, error, 'UHFCom', 'stopInventoryCard', []);
|
||||
}
|
||||
|
||||
coolMethod.searchCard = function (success, error) {
|
||||
exec(success, error, 'UHF', 'searchCard', []);
|
||||
exec(success, error, 'UHFCom', 'searchCard', []);
|
||||
}
|
||||
|
||||
coolMethod.writeCard = function (arg, success, error) {
|
||||
exec(success, error, 'UHF', 'writeCard', [arg]);
|
||||
exec(success, error, 'UHFCom', 'writeCard', [arg]);
|
||||
}
|
||||
|
||||
coolMethod.setPower = function (arg, success, error) {
|
||||
exec(success, error, 'UHF', 'setPower', [arg]);
|
||||
exec(success, error, 'UHFCom', 'setPower', [arg]);
|
||||
}
|
||||
|
||||
coolMethod.startWork = function (success, error) {
|
||||
exec(success, error, 'UHF', 'startWork', []);
|
||||
exec(success, error, 'UHFCom', 'startWork', []);
|
||||
}
|
||||
|
||||
coolMethod.endWork = function (success, error) {
|
||||
exec(success, error, 'UHF', 'endWork', []);
|
||||
exec(success, error, 'UHFCom', 'endWork', []);
|
||||
}
|
||||
|
||||
coolMethod.selectCard = function (arg, success, error) {
|
||||
exec(success, error, 'UHF', 'selectCard', [arg]);
|
||||
exec(success, error, 'UHFCom', 'selectCard', [arg]);
|
||||
}
|
||||
|
||||
module.exports = coolMethod;
|
||||
|
Loading…
x
Reference in New Issue
Block a user