7up update image

This commit is contained in:
wanlop run 2024-07-12 16:06:11 +07:00
parent 4130450c48
commit 44957702d5
52 changed files with 292 additions and 273 deletions

View file

@ -109,6 +109,7 @@
EndIf
EndIf
Var CoundUpDelayCertainStage = 0
</EventOpen>
@ -189,11 +190,8 @@
EndIf
If DoorCupPosition = "bottom" Then
Var buttonRemoveCup = "Enable"
Var txtDrinkOKState = "Enable"
EndIf
; away
If NextOrder = "true" Then
@ -232,7 +230,7 @@
TransferVar "next" "curr"
Var Seeker = "curr"
SAVELOG "Make next order by take-cup"
SAVELOG "Make next order by take-cup pagedrinkstuct"
Open "ROOT/taobin_project/xml/page_thankyouConti.xml"
; END
@ -249,26 +247,11 @@
;
If MachineStage = "remove-cup" Then
If CART_COUNT = 0 Then
If NextOrder = "false" Then
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
Else
Var buttonRemoveCup = "Enable"
Var txtDrinkOKState = "Enable"
Var Timeout2 = Timeout2 + 1
If Timeout2 > 15 Then
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/remove_cup.mp3"
Var Timeout2 = 0
EndIf
EndIf
Else
Var buttonRemoveCup = "Enable"
Var txtDrinkOKState = "Enable"
If NextOrder = "false" Then
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
Else
Var txtDrinkOKState = "Enable"
Var Timeout2 = Timeout2 + 1
@ -280,6 +263,7 @@
EndIf
EndIf
If Timeout = 5 Then
If show_eng = "true" Then
@ -293,18 +277,6 @@
Else
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/drinkfinish.mp3"
; Play Sound #zone
If SoundBackToSchoolEnable = 1 Then
If SoundBackToSchoolType = 1 Then
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/boy/"
EndIf
If SoundBackToSchoolType = 2 Then
Var RootPathSoundBackToSchool = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/girl/"
EndIf
Var PlaySoundLag = RootPathSoundBackToSchool + "drinkfinish.wav"
EndIf
Play PlaySoundLag
EndIf
EndIf
@ -327,6 +299,26 @@
EndIf
EndIf
If DoorCupPosition = "bottom" Then
Else
Var buttonRemoveCup = "Invisible"
Var CoundUpDelayCertainStage = 0
EndIf
If HaveCup = "true" Then
If DoorCupPosition = "bottom" Then
If buttonRemoveCup = "Invisible" Then
Var CoundUpDelayCertainStage = CoundUpDelayCertainStage + 1
If CoundUpDelayCertainStage > 8 Then
Var buttonRemoveCup = "Enable"
EndIf
EndIf
EndIf
EndIf
If txtDrinkOKState = "Enable" Then
Var TextBottomShow = "Invisible"
@ -347,6 +339,7 @@
EndIf
</EventChangeStatus>
;include=ROOT/taobin_project/inc/remove_cup_tag_event.inc
;include="ROOT/taobin_project/inc/video.inc"
@ -452,9 +445,7 @@
<Filename> Var( DirImage + "/bn_open_door.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_open_door.png" ) </FilenamePress>
<EventClick>
;Var buttonRemoveCup = "Invisible"
Machine RemoveCup
Machine DoorLidOpen
;include=ROOT/taobin_project/inc/remove_cup_button.inc
Refresh
</EventClick>
</Button>