补充漏改了的插件名称
This commit is contained in:
parent
604b0ba030
commit
479021ae52
18
www/cordova-plugin-uhfr.js
vendored
18
www/cordova-plugin-uhfr.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, 'UHFR', 'readCard', []);
|
||||
}
|
||||
|
||||
coolMethod.inventoryCard = function (success, error) {
|
||||
exec(success, error, 'UHF', 'inventoryCard', []);
|
||||
exec(success, error, 'UHFR', 'inventoryCard', []);
|
||||
}
|
||||
|
||||
coolMethod.stopInventoryCard = function (success, error) {
|
||||
exec(success, error, 'UHF', 'stopInventoryCard', []);
|
||||
exec(success, error, 'UHFR', 'stopInventoryCard', []);
|
||||
}
|
||||
|
||||
coolMethod.searchCard = function (success, error) {
|
||||
exec(success, error, 'UHF', 'searchCard', []);
|
||||
exec(success, error, 'UHFR', 'searchCard', []);
|
||||
}
|
||||
|
||||
coolMethod.writeCard = function (arg, success, error) {
|
||||
exec(success, error, 'UHF', 'writeCard', [arg]);
|
||||
exec(success, error, 'UHFR', 'writeCard', [arg]);
|
||||
}
|
||||
|
||||
coolMethod.setPower = function (arg, success, error) {
|
||||
exec(success, error, 'UHF', 'setPower', [arg]);
|
||||
exec(success, error, 'UHFR', 'setPower', [arg]);
|
||||
}
|
||||
|
||||
coolMethod.startWork = function (success, error) {
|
||||
exec(success, error, 'UHF', 'startWork', []);
|
||||
exec(success, error, 'UHFR', 'startWork', []);
|
||||
}
|
||||
|
||||
coolMethod.endWork = function (success, error) {
|
||||
exec(success, error, 'UHF', 'endWork', []);
|
||||
exec(success, error, 'UHFR', 'endWork', []);
|
||||
}
|
||||
|
||||
coolMethod.selectCard = function (arg, success, error) {
|
||||
exec(success, error, 'UHF', 'selectCard', [arg]);
|
||||
exec(success, error, 'UHFR', 'selectCard', [arg]);
|
||||
}
|
||||
|
||||
module.exports = coolMethod;
|
||||
|
Loading…
x
Reference in New Issue
Block a user