diff --git a/xml/testscanQRcode.xml b/xml/testscanQRcode.xml index f432bd77..fa2e44c1 100644 --- a/xml/testscanQRcode.xml +++ b/xml/testscanQRcode.xml @@ -6,8 +6,6 @@ - Var KornCameraXW = 800 - Var KornCameraXH = 800 Var scanresult = "" Var scanmsg = "" @@ -60,13 +58,13 @@ - - 200 - 400 + + 120 + 900 "usbfront" - KornCameraXW - KornCameraXH - Enable + 850 + 800 + CameraState diff --git a/xml/testscanQRcodeResult.xml b/xml/testscanQRcodeResult.xml index 101a46e3..fa574284 100644 --- a/xml/testscanQRcodeResult.xml +++ b/xml/testscanQRcodeResult.xml @@ -38,7 +38,7 @@ "/mnt/sdcard/coffeevending/wav/click.wav" SoundVolume - Open "ROOT/taobin_project/xml/page_board.xml" + Open "ROOT/taobin_project/xml/testscanQRcode.xml" diff --git a/xml/vending_info.xml b/xml/vending_info.xml index 55ec4c13..73fe9b76 100644 --- a/xml/vending_info.xml +++ b/xml/vending_info.xml @@ -172,7 +172,7 @@ DEBUGVAR TestArrary[Index] DEBUGVAR TestArrary[2] DEBUGVAR TestArrary[3] - + @@ -891,6 +891,41 @@ "Enable CreditCard" + + + info_startX + info_13Y + "ROOT/taobin_project/image/tab_1.png" + eval( + If CameraCount > 0 Then + Var return = "Enable" + Else + Var return = "Invisible" + EndIf +) + + + Open "/mnt/sdcard/coffeevending/taobin_project/xml/testscanQRcode.xml" + + + + + + info_text_startX + info_text_13Y + 30 + fontType1 + 0x000000 + eval( + If CameraCount > 0 Then + Var return = "Enable" + Else + Var return = "Invisible" + EndIf +) + "QR Scanner" + + ;EnableNewBrewUI info2_startX