0 608 "Enable" 1080 1312 "0xEFEDEA" SoundVolume
Var Timeout = 0
Var countClick = 0
Var countClick2 = 0
READ_FILE "/mnt/sdcard/coffeevending/country/short" StrCountryShort
DEBUGVAR StrCountryShort
; Don't forget
; This file can open before page_board.xml
If StrCountryShort = "MYS" Then
Open "ROOT/taobin_project/inter/mys/xml/page_remove_cup.lxml"
EndIf
If StrCountryShort = "AUS" Then
Open "ROOT/taobin_project/inter/aus/xml/page_remove_cup.lxml"
EndIf
If StrCountryShort = "SGP" Then
Open "ROOT/taobin_project/inter/sgp/xml/page_remove_cup.lxml"
EndIf
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/user_take_cup_en/"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Else
Var DirImage = "ROOT/taobin_project/image/user_take_cup_th/"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
EndIf
LED LedDoorDoor 5 255 255 255 255
;include=ROOT/taobin_project/inc/remove_cup_event_open.inc
1000
;SAVELOG MachineErrorDetail
Var MachineErrorDetailAll = MachineErrorDetail + " / "
Var MachineErrorDetailAll = MachineErrorDetailAll + MachineErrorDetailEng
;DEBUGVAR HaveCup
;DEBUGVAR CupOnArm
;DEBUGVAR DoorCupPosition
;DEBUGVAR CupChecking
;DEBUGVAR CupArmMove
;DEBUGVAR buttonRemoveCup
; Add haveCup false for block display abnormal. Alternate between page_board.xml and this file.
If HaveCup = "false" Then
If MachineStage = "show-menu" Then
Open "ROOT/taobin_project/xml/page_board.xml"
EndIf
EndIf
If MachineStage = "close-maintenance" Then
Open "ROOT/taobin_project/xml/page_show_error.xml"
EndIf
;include=ROOT/taobin_project/inc/remove_cup_step.inc
Refresh
TimerReset
;include=ROOT/taobin_project/inc/remove_cup_tag_event.inc
0 852 Var(DirImage + "/img5.png") 5 1868 24 Center 1080
RobotoRegular
0xDE794E MachineErrorDetailAll