This commit is contained in:
kong 2023-05-16 22:35:46 +07:00
parent 3c3982e45e
commit e78430cf74
7 changed files with 104 additions and 2 deletions

View file

@ -521,3 +521,29 @@ TextID Note English Thai China Japan Malaysia
800389 Powder set ชุดผง Powder set
800390 ARM แขน ARM
800391 Whipper หัวชง Whipper
800392
800393 Password รหัสผ่าน
800394 Collect money เก็บเงิน.
800395 Refill เติมของ.
800396 Test/Check ตรวจสอบ.
800397
800398
800399 Inventory เติมของ
800400 Refill with order เติมของตามใบ
800401 Back กลับเมนูหลัก
800402
800403 Save บันทึก
800404 Cancel ยกเลิก
800405 Edit แก้ไข
800406
800407 Current value ปริมาตรปัจจุบัน
800408 refill/remove เติม/ลด
800409 gram กรัม
800410 enter new value ใส่จำนวนใหม่
800411 bag ถุง
800412
800413 Slot ช่อง
800414 ID รหัสวัตถุดิบ
800415 Code รหัสสินค้า
800416 Name ชื่อวัตถุดิบ
800417

Can't render this file because it has a wrong number of fields in line 21.

View file

@ -4,6 +4,9 @@
<EventOpen>
; Reset here
Var CheckCupStateDoorCupClose = ""
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.xml"
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/test_video_loop.xml"

View file

@ -4,6 +4,9 @@
<EventOpen>
; Reset here
Var CheckCupStateDoorCupClose = ""
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
If TermTemOnline = "true" Then
OpenInst 1 "/mnt/sdcard/coffeevending/termtem_project/xml/test_video_loop.xml"

View file

@ -634,7 +634,7 @@
EndIf
; Set default lang
If JXMLVersionInt > 428 Then
If JXMLVersionInt > 444 Then
SetLanguage LanguageInit
@ -651,6 +651,8 @@
SetLanguage "MALAY"
LanguageControl "UpdateList" "-"
Var InternationalEnable = 1
Var show_eng = "true"
Var VideoMainPage = "ROOT/taobin_project/video/main_page_en.mp4"
EndIf
DEBUGVAR InternationalEnable
@ -689,6 +691,7 @@
Open "/ROOT/xml/offline.xml"
EndIf
Var CheckCupStateDoorCupClose = ""
; zone cup on arm
If CupOnArm = "true" Then

View file

@ -251,6 +251,8 @@
EndIf
If countDownRetrun = 0 Then
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
@ -340,6 +342,8 @@
If Seeker = "next" Then
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
</EventClick>

View file

@ -51,6 +51,20 @@
If Timeout > 15 Then
Var Timeout = 0
EndIf
; Logic have differrent drinkfail3.xml
; protect lock
;
If CheckCupStateDoorCupCloseCnt > 0 Then
Var CheckCupStateDoorCupCloseCnt = CheckCupStateDoorCupCloseCnt - 1
EndIf
If CheckCupStateDoorCupCloseCnt = 0 Then
Var CheckCupStateDoorCupClose = ""
EndIf
If HaveCup = "true" Then
@ -95,6 +109,7 @@
Machine DoorLidOpen
Var buttonRemoveCup = "Invisible"
Var CheckCupStateDoorCupClose = "reset"
Var CheckCupStateDoorCupCloseCnt = 30
</EventClick>
</Button>

48
xml/test_xml_blank.xml Normal file
View file

@ -0,0 +1,48 @@
<Page>
<Width> 1080 </Width>
<Height> 1312 </Height>
<Volume> SoundVolume </Volume>
<Background> "ROOT/image/BG1SLOT_TAB.bmp" </Background>
<EventOpen>
; On open
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
DEBUGVAR Timeout
Refresh
TimerReset
</EventTimeout>
<Button>
<X> 431 </X>
<Y> info_cancel_y </Y>
<Filename> "ROOT/taobin_project/image//bp_cancel.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/bp_cancel.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "ROOT/taobin_project/xml/page_board.xml"
</EventClick>
</Button>
<EventIDCard>
Var IDCardState = "Enable"
SAVELOG IDFullNameEng
</EventIDCard>
; /mnt/sdcard/coffeevending/taobin_project/sound_thai/sublang/
</Page>