This commit is contained in:
pichet 2023-05-02 14:04:02 +07:00
commit 86cc26c752
82 changed files with 19090 additions and 464 deletions

View file

@ -303,41 +303,24 @@
Var PromotionIDCurrentOrder = 0
If PromotionOreoVolcanoEnable = 1 Then
If PD_CODE3 = "12-03-03-0009" Then
Var PromotionIDCurrentOrder = 2
EndIf
EndIf
If PromotionOreoToppingFreeEnable = 1 Then
Var oreo_topping_wed_free = "Enable"
Var oreo_topping_wed_topping = "Invisible"
Else
Var oreo_topping_wed_free = "Invisible"
Var oreo_topping_wed_topping = "Enable"
EndIf
If ShowPromoitonOreo = 1 Then
Else
Var oreo_topping_wed_free = "Invisible"
Var oreo_topping_wed_topping = "Invisible"
EndIf
DEBUGVAR PromotionIDCurrentOrder
Var DiscountWithIdentifyState = "Enable"
;Var DiscountWithIdentifyState = "Invisible"
DEBUGVAR Price5Active
DEBUGVAR EnableLiveness
DEBUGVAR DiscountWithIdentifyState
Var ChildrenFree = 0
If BackToSchoolForFreeEnable = 1 Then
EndIf
If EnableLiveness = "true" Then
If CameraCount = 1 Then
; echo -n true > /mnt/sdcard/enable_discount_price5
@ -350,10 +333,6 @@
EndIf
EndIf
If Price5Active = 1 Then
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
@ -492,16 +471,18 @@
Else
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/select_level.mp3"
If SoundThaiIndex = 1 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/north/select_level.wav"
; 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 + "select_level.wav"
EndIf
If SoundThaiIndex = 2 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/northeast/select_level.wav"
EndIf
If SoundThaiIndex = 3 Then
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/south/select_level.wav"
EndIf
Play PlaySoundLag
EndIf
EndIf
@ -3253,6 +3234,8 @@
;
Var SelectDrink = UserSelectProductCode
; Set drink
Topping "Select" UserSelectProductCode
@ -3431,6 +3414,8 @@
EndIf
;
Var PromotionIDCurrentOrder = 0
Var SelectDrink = UserSelectProductCode
@ -3665,6 +3650,9 @@
;
DEBUGVAR PromotionIDCurrentOrder
Var SelectDrink = UserSelectProductCode
Var Seeker.selected_a_drink = UserSelectProductCode
@ -3996,7 +3984,7 @@
EndIf
DEBUGVAR showOreoAddEnable
DEBUGVAR TOPPING_PRICE