From 479021ae5213f441a8b336bb7ec7e2182ed02553 Mon Sep 17 00:00:00 2001 From: wuxiang Date: Mon, 27 Dec 2021 15:47:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E6=BC=8F=E6=94=B9=E4=BA=86?= =?UTF-8?q?=E7=9A=84=E6=8F=92=E4=BB=B6=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/cordova-plugin-uhfr.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/www/cordova-plugin-uhfr.js b/www/cordova-plugin-uhfr.js index 704cb08..246b4b4 100644 --- a/www/cordova-plugin-uhfr.js +++ b/www/cordova-plugin-uhfr.js @@ -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;