diff --git a/xml/testscanQRcode.xml b/xml/testscanQRcode.xml new file mode 100644 index 00000000..a8debc30 --- /dev/null +++ b/xml/testscanQRcode.xml @@ -0,0 +1,87 @@ + + 1080 + 1312 + SoundVolume + "0x2c2928" + + + + Var KornCameraXW = 800 + Var KornCameraXH = 800 + Var scanresult = "" + Var scanmsg = "" + + INITSCANQR + + + + 1000 + + + + Refresh + TimerReset + + + + + + If scanresult = "true" Then + Open "ROOT/taobin_project/xml/testscanQRcodeResult.xml" + EndIf + + + + + +; header + + 0 + 0 + 80 + 1080 + SoundVolume + "ROOT/taobin_project/image/new_vending_info/nav-bar-mid.png" + + +;back + + + + + 200 + 400 +"usbfront" + KornCameraXW + KornCameraXH + Enable + + + + + + + \ No newline at end of file diff --git a/xml/testscanQRcodeResult.xml b/xml/testscanQRcodeResult.xml new file mode 100644 index 00000000..101a46e3 --- /dev/null +++ b/xml/testscanQRcodeResult.xml @@ -0,0 +1,75 @@ + + 1080 + 1312 + SoundVolume + "0x2c2928" + + + + + + 1000 + + + + Refresh + TimerReset + + + + + +; header + + 0 + 0 + 80 + 1080 + SoundVolume + "ROOT/taobin_project/image/new_vending_info/nav-bar-mid.png" + + +;back + + + + + 100 + 200 + 1080 + Center + 60 + KanitMediumTTF + 0xDE794E + "Enable" + scanmsg + + + + + + + \ No newline at end of file diff --git a/xml/vending_info.xml b/xml/vending_info.xml index b837b312..6c87ca4c 100644 --- a/xml/vending_info.xml +++ b/xml/vending_info.xml @@ -928,6 +928,26 @@ + + 5 + 1200 + "ROOT/taobin_project/image/tab_1.png" + + Open "ROOT/taobin_project/xml/testscanQRcode.xml" + + + + + 30 + 1210 + 30 + fontType1 + 0x000000 + "TestScanQRCode" + + + + ; ; 930 ; info_cancel_y