RedirectToNormalVersion when using inter/tha

This commit is contained in:
wanlop run 2024-12-02 09:37:02 +07:00
commit df685bcef6
63 changed files with 7842 additions and 1164 deletions

View file

@ -2869,8 +2869,8 @@ TEA" </Value>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = "TRADITIONAL GREEN TEA"
Var NameDrinkTH = "ชาเขียวโบราณ"
Var NameDrink = "TRADITIONAL MATCHA"
Var NameDrinkTH = "มัทฉะโบราณ"
Var DrinkDescriptionTH = "ชามะลิ มัทฉะ นม และน้ำเชื่อมคาราเมล"
Var DrinkDescription = "JASMINE TEA, MATCHA, MILK, CARAMEL SYRUP"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_traditional_green_tea.png"
@ -2943,7 +2943,7 @@ TEA" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "ชาเขียวโบราณ" </Value>
<Value> "มัทฉะโบราณ" </Value>
</Text>
<Text>
<X> 16 </X>
@ -2964,8 +2964,7 @@ TEA" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "TRADITIONAL GREEN
TEA" </Value>
<Value> "TRADITIONAL MATCHA" </Value>
</Text>
<Text>
<X> 16 </X>

View file

@ -317,14 +317,8 @@ If SystemDateMonthInt > 11 Then
EndIf
If SystemDateMonthInt = 12 Then
Var WinterWonderPro = 1
If SystemDateDayInt <= 12 Then
Var 12Day12MenuPro = 1
EndIf
EndIf
Var 12Day12MenuPro = 0
If SystemDateMonthInt >= 12 Then
Var ThickTeaByBrewerPro = 1
@ -340,7 +334,7 @@ If BoxID = 105005 Then
Var WeekdayDiscountProEventOn = 0
Var OreoDiscount11Pro = 0
Var HappyTriosPro = 0
Var 12Day12MenuPro = 1
Var 12Day12MenuPro = 0
Var WinterWonderPro = 1
Var ThickTeaByBrewerPro = 1
@ -387,7 +381,7 @@ If BoxID = 201729 Then
Var JemilaToppingFlag = 0
Var 12Day12MenuPro = 1
Var 12Day12MenuPro = 0
Var WinterWonderPro = 1
Var ThickTeaByBrewerPro = 1
EndIf
@ -429,10 +423,10 @@ If BoxID = 172644 Then
Var WeekdayDiscountProEventOn = 0
Var OreoDiscount11Pro = 0
Var New_Payment = 1
Var New_Payment = 1
Var NewFlowPaymentCode = 1
Var 12Day12MenuPro = 1
Var 12Day12MenuPro = 0
Var WinterWonderPro = 1
Var ThickTeaByBrewerPro = 1
EndIf
@ -666,4 +660,6 @@ If POSMachineFlag = 1 Then
Var ConnectWithPOSMachine = 1
EndIf
Var RedirectToNormalVersion = 1
DEBUGVAR SystemDateDayOfWeek

View file

@ -458,7 +458,8 @@
Var ButtonGameCountDown = 0
Var ButtonGameCountDownState = "Invisible"
EndIf
SAVELOG "============================================================== 0"
DEBUGVAR ButtonGameCountDown
Var ButtonGamePressToPlayState = "Invisible"
@ -468,6 +469,7 @@
; BREW_CNT > 15 ( pre-time ) + 60 ( Game Time ) Game01Enable
; BREW_CNT > 15 ( pre-time ) + 50 ( Game Time ) + 10 (Debound Time) Game01Enable
SAVELOG "============================================================== 1"
If Game01Enable = 1 Then
If ButtonGameCountDownState = "Enable" Then
@ -492,7 +494,9 @@
EndIf
EndIf
SAVELOG "============================================================== 2"
DEBUGVAR adver_brewing_en
Var adver_brewing_en = 1
If adver_brewing_en = 1 Then
Var adver_brewing_playing = 1
Var adver_brewing_play_index = 2
@ -1260,6 +1264,9 @@
DEBUGVAR GetLidButtonCountDown
EndIf
DEBUGVAR GetLidButtonState
DEBUGVAR DoorLidSensorDetect
If DoorLidSensorDetect = "true" Then
Var DoorLidSensorDetect = "-"
Var GetLidButtonState = "Invisible"

View file

@ -1324,6 +1324,8 @@
; Below. Pendding from XMLProfile
DEBUGVAR EnableMultiInstance
Var RedirectToNormalVersion = 0
READ_FILE "/mnt/sdcard/coffeevending/MyanmarLangEnable" MyanmarLangEnable
DEBUGVAR MyanmarLangEnable
@ -1394,6 +1396,8 @@
Var MinPhoneNumber = 10
Var MaxPhoneNumber = 10
Var RedirectToNormalVersion = 1
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
@ -1672,16 +1676,6 @@ PRICE "Reset" "-"
SAVELOG "EventDrink EventDrink EventDrink EventDrink EventDrink "
</EventDrink>
<EventSleepMode>
DEBUGVAR sleepmodeEnable
If sleepmodeEnable = "true" Then
SLEEPMODE
EndIf
</EventSleepMode>
<Timeout> 1000 </Timeout>
<EventTimeout>

View file

@ -1599,6 +1599,8 @@
DEBUGVAR GetLidButtonCountDown
EndIf
DEBUGVAR DoorLidSensorDetect
If DoorLidSensorDetect = "true" Then
Var DoorLidSensorDetect = "-"
Var GetLidButtonState = "Invisible"

View file

@ -470,8 +470,7 @@
<X> 263 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_1.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -496,8 +495,7 @@
<X> 405 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_2.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_2.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -522,8 +520,7 @@
<X> 547 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_3.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_3.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -548,8 +545,7 @@
<X> 691 </X>
<Y> 1004 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_A.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_A.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_A.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -574,8 +570,7 @@
<X> 263 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_4.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_4.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -600,8 +595,7 @@
<X> 405 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_5.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_5.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -626,8 +620,7 @@
<X> 547 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_6.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_6.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -652,8 +645,7 @@
<X> 691 </X>
<Y> 1148 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_B.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_B.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_B.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -678,8 +670,7 @@
<X> 263 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_7.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_7.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -704,8 +695,7 @@
<X> 405 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_8.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_8.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -730,8 +720,7 @@
<X> 547 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_9.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_9.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -756,8 +745,7 @@
<X> 691 </X>
<Y> 1292 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_C.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_C.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_C.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -782,8 +770,7 @@
<X> 405 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_0.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_0.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -809,8 +796,7 @@
<X> 263 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_sh.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_sh.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_sh.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -837,8 +823,7 @@
<X> 547 </X>
<Y> 1432 </Y>
<Filename> "ROOT/taobin_project/image/collectiing/bn_back-1.png" </Filename>
<FilenamePress
> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
<FilenamePress> "ROOT/taobin_project/image/collectiing/bp_back-1.png" </FilenamePress>
<Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>

View file

@ -7,6 +7,9 @@
<EventOpen>
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
If RedirectToNormalVersion = 1 Then
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
EndIf
Machine WakeUp
Var TextSelfTestCntColor = "0x746253"