DO
This commit is contained in:
parent
3c3982e45e
commit
e78430cf74
7 changed files with 104 additions and 2 deletions
26
ui/lang.tsv
26
ui/lang.tsv
|
|
@ -521,3 +521,29 @@ TextID Note English Thai China Japan Malaysia
|
||||||
800389 Powder set ชุดผง Powder set
|
800389 Powder set ชุดผง Powder set
|
||||||
800390 ARM แขน ARM
|
800390 ARM แขน ARM
|
||||||
800391 Whipper หัวชง Whipper
|
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.
|
|
|
@ -4,6 +4,9 @@
|
||||||
|
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
|
; Reset here
|
||||||
|
Var CheckCupStateDoorCupClose = ""
|
||||||
|
|
||||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.xml"
|
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.xml"
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/test_video_loop.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/test_video_loop.xml"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,9 @@
|
||||||
|
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
|
; Reset here
|
||||||
|
Var CheckCupStateDoorCupClose = ""
|
||||||
|
|
||||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||||
If TermTemOnline = "true" Then
|
If TermTemOnline = "true" Then
|
||||||
OpenInst 1 "/mnt/sdcard/coffeevending/termtem_project/xml/test_video_loop.xml"
|
OpenInst 1 "/mnt/sdcard/coffeevending/termtem_project/xml/test_video_loop.xml"
|
||||||
|
|
|
||||||
|
|
@ -634,7 +634,7 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
; Set default lang
|
; Set default lang
|
||||||
If JXMLVersionInt > 428 Then
|
If JXMLVersionInt > 444 Then
|
||||||
SetLanguage LanguageInit
|
SetLanguage LanguageInit
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -651,6 +651,8 @@
|
||||||
SetLanguage "MALAY"
|
SetLanguage "MALAY"
|
||||||
LanguageControl "UpdateList" "-"
|
LanguageControl "UpdateList" "-"
|
||||||
Var InternationalEnable = 1
|
Var InternationalEnable = 1
|
||||||
|
Var show_eng = "true"
|
||||||
|
Var VideoMainPage = "ROOT/taobin_project/video/main_page_en.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
DEBUGVAR InternationalEnable
|
DEBUGVAR InternationalEnable
|
||||||
|
|
||||||
|
|
@ -689,6 +691,7 @@
|
||||||
Open "/ROOT/xml/offline.xml"
|
Open "/ROOT/xml/offline.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var CheckCupStateDoorCupClose = ""
|
||||||
|
|
||||||
; zone cup on arm
|
; zone cup on arm
|
||||||
If CupOnArm = "true" Then
|
If CupOnArm = "true" Then
|
||||||
|
|
|
||||||
|
|
@ -251,6 +251,8 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If countDownRetrun = 0 Then
|
If countDownRetrun = 0 Then
|
||||||
|
|
||||||
|
|
||||||
If Seeker = "next" Then
|
If Seeker = "next" Then
|
||||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
Else
|
Else
|
||||||
|
|
@ -340,6 +342,8 @@
|
||||||
If Seeker = "next" Then
|
If Seeker = "next" Then
|
||||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||||
Else
|
Else
|
||||||
|
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
EndIf
|
EndIf
|
||||||
</EventClick>
|
</EventClick>
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,20 @@
|
||||||
|
|
||||||
If Timeout > 15 Then
|
If Timeout > 15 Then
|
||||||
Var Timeout = 0
|
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
|
EndIf
|
||||||
|
|
||||||
If HaveCup = "true" Then
|
If HaveCup = "true" Then
|
||||||
|
|
@ -95,6 +109,7 @@
|
||||||
Machine DoorLidOpen
|
Machine DoorLidOpen
|
||||||
Var buttonRemoveCup = "Invisible"
|
Var buttonRemoveCup = "Invisible"
|
||||||
Var CheckCupStateDoorCupClose = "reset"
|
Var CheckCupStateDoorCupClose = "reset"
|
||||||
|
Var CheckCupStateDoorCupCloseCnt = 30
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
|
||||||
48
xml/test_xml_blank.xml
Normal file
48
xml/test_xml_blank.xml
Normal 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>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue