Helper state

This commit is contained in:
Ittipat Lusuk 2025-05-09 16:17:33 +07:00
parent eb8f09734f
commit 02eca5bd5b
8 changed files with 258 additions and 105 deletions

View file

@ -376,6 +376,12 @@
002352 Confirm ยืนยัน 确认 အတည်ပြုပါ 002352 Confirm ยืนยัน 确认 အတည်ပြုပါ
Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Light,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Light,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Kanit,Type=Medium,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=48,Color=0xEE8C62,Align=Center Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46 Font=Montserrat,Type=Bold,Size=36,Color=0xEE8C62,Align=Center,LineHeight=46
002353 Please enter your phone number\n[so we can contact you back.###Font=KanitLight,Size=36] โปรดกรอกเบอร์โทรขอคุณ\n[เพื่อรอการติดต่อกลับจากเรา###Font=KanitLight,Size=36] 请输入您的电话号码\n[以便我们与您联系。###Font=KanitLight,Size=36] ကျေးဇူးပြု၍ သင်၏ဖုန်းနံပါတ်ကို ဖြည့်ပါ\n[ကျွန်ုပ်တို့မှ ပြန်လည်ဆက်သွယ်နိုင်ရန်။###Font=KanitLight,Size=36] 002353 Please enter your phone number\n[so we can contact you back.###Font=KanitLight,Size=36] โปรดกรอกเบอร์โทรขอคุณ\n[เพื่อรอการติดต่อกลับจากเรา###Font=KanitLight,Size=36] 请输入您的电话号码\n[以便我们与您联系。###Font=KanitLight,Size=36] ကျေးဇူးပြု၍ သင်၏ဖုန်းနံပါတ်ကို ဖြည့်ပါ\n[ကျွန်ုပ်တို့မှ ပြန်လည်ဆက်သွယ်နိုင်ရန်။###Font=KanitLight,Size=36]
Font=Kanit,Type=Medium,Size=50,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=56,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=26,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=64,Color=0x513C2F,Align=Center,LineHeight=30 Font=Kanit,Type=Medium,Size=50,Color=0x513C2F,Align=Center,LineHeight=30
002354 We have received your information. เราได้รับข้อมูลของท่านเรียบร้อยแล้ว 我们已收到您的信息。 သင်၏အချက်အလက်ကို လက်ခံပြီးပါပြီ။
Font=Kanit,Type=Light,Size=44,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=44,Color=0x513C2F,Align=Center,LineHeight=48 Font=Montserrat,Type=Bold,Size=64,Color=0x513C2F,Align=Center Font=Kanit,Type=Light,Size=48,Color=0x513C2F,Align=Center,LineHeight=48 Font=Kanit,Type=Light,Size=40,Color=0x513C2F,Align=Center,LineHeight=42
002355 We apologize for the inconvenience.\n[We will improve as soon as possible.###Font=KanitLight,Size=44] ขออภัยในความไม่สะดวก\n[เราจะรีบปรับปรุงให้ดียิ่งขึ้น###Font=KanitLight,Size=48] 对于带来的不便,我们深感抱歉。\n[我们会尽快改进。###Font=KanitLight,Size=44] အဆင်မပြေတာအတွက် တောင်းပန်ပါတယ်။\n[တတ်နိုင်သမျှ အမြန်ဆုံး ပြုပြင်မည်။###Font=KanitLight,Size=40]
Smoothie_process Smoothie_process
Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center Font=Kanit,Type=Medium,Size=54,Color=0x513C2F,Align=Center
002400 Order summary ยกเลิกออเดอร์ 取消订单 အော်ဒါဖျက်ရန် 002400 Order summary ยกเลิกออเดอร์ 取消订单 အော်ဒါဖျက်ရန်
@ -1263,7 +1269,7 @@
1300003 Beans module ชุดเมล็ดกาแฟ 1300003 Beans module ชุดเมล็ดกาแฟ
1300004 Bean tray ถาดใส่เมล็ดกาแฟ 1300004 Bean tray ถาดใส่เมล็ดกาแฟ
1300005 Switch tray : สวิตซ์ถาด : 1300005 Switch tray : สวิตซ์ถาด :
1300006 Check tray shutter ตรวจสอบชัตเตอร์ของถาด 1300006 Check tray shutter ตรวจสอบชัตเตอร์ถาด
1300007 Pay beans จ่ายถั่ว 1300007 Pay beans จ่ายถั่ว
1300008 1. Select beans 1. เลือกเมล็ดกาแฟ 1300008 1. Select beans 1. เลือกเมล็ดกาแฟ
1300009 2. Select direction 2. เลือกทิศทาง 1300009 2. Select direction 2. เลือกทิศทาง
@ -1276,7 +1282,7 @@
1300016 Brew time:sec เวลาชง: วินาที 1300016 Brew time:sec เวลาชง: วินาที
1300017 Test grind sizes ทดสอบขนาดบด 1300017 Test grind sizes ทดสอบขนาดบด
1300018 Coffee module type : ประเภทชุดกาแฟ : 1300018 Coffee module type : ประเภทชุดกาแฟ :
1300019 1. Select grind sizes 1. เลือกขนาดบด 1300019 1. Select grind sizes 1. เลือกขนาดการบด
1300020 More coarse หยาบขึ้น 1300020 More coarse หยาบขึ้น
1300021 More fine ละเอียดขึ้น 1300021 More fine ละเอียดขึ้น
1300022 2. Test grinding 2. ทดสอบการบด 1300022 2. Test grinding 2. ทดสอบการบด
@ -1295,7 +1301,7 @@
1300035 Recipes สูตรอาหาร 1300035 Recipes สูตรอาหาร
1300036 Save editing บันทึกการแก้ไข 1300036 Save editing บันทึกการแก้ไข
1300037 Cancel edting ยกเลิกการแก้ไข 1300037 Cancel edting ยกเลิกการแก้ไข
1300038 1. Recheck selected grind sizes and brew recipes 1. ตรวจสอบขนาดการบดที่เลือกและสูตรการชงอีกครั้ง 1300038 1. Recheck selected grind sizes and brew recipes 1. ตรวจสอบขนาดบดที่เลือกและสูตรการชงอีกครั้ง
1300039 Insert cup manually ใส่ถ้วยด้วยตนเอง 1300039 Insert cup manually ใส่ถ้วยด้วยตนเอง
1300040 2. Select arm 2. เลือกแขน 1300040 2. Select arm 2. เลือกแขน
1300041 3. Please insert cup into selected arm 3. กรุณาใส่ถ้วยลงในแขนที่เลือก 1300041 3. Please insert cup into selected arm 3. กรุณาใส่ถ้วยลงในแขนที่เลือก

Can't render this file because it contains an unexpected character in line 212 and column 14.

View file

@ -18,6 +18,8 @@
DEBUGVAR FromSmoothieProcess DEBUGVAR FromSmoothieProcess
DEBUGVAR FromBrewingProcess DEBUGVAR FromBrewingProcess
Var ChooseProblem = ""
Var show_btn_next_help = "Invisible" Var show_btn_next_help = "Invisible"
Var Problem_Cash_State[0] = "Enable" Var Problem_Cash_State[0] = "Enable"
@ -117,23 +119,20 @@
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventClick> <EventClick>
If Seeker = "next" Then If BaseOnPageBoard = 1 Then
RootLayoutVisible 3 "hide" Var BaseOnPageBoard = 0
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml" Var LanguageButtonEnable = "Enable"
Else Var ButtonLanguageCurrentXPosition = 990
If BaseOnPageBoard = 1 Then Var ButtonLanguageCurrentYPosition = 608
Var BaseOnPageBoard = 0 Var ButtonLanguageListXPosition = 970
Var LanguageButtonEnable = "Enable" Var ButtonLanguageListYPosition = 590
Var ButtonLanguageCurrentXPosition = 990 OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Var ButtonLanguageCurrentYPosition = 608 OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
Var ButtonLanguageListXPosition = 970 OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
Var ButtonLanguageListYPosition = 590 Else
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml" OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml" EndIf
Else
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
EndIf
EndIf
</EventClick> </EventClick>
</Button> </Button>
@ -199,6 +198,8 @@
Var Problem_Cash_State[2] = "Enable" Var Problem_Cash_State[2] = "Enable"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Inserted money, amount unchanged"
Refresh Refresh
</EventClick> </EventClick>
@ -220,6 +221,8 @@
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Bill was rejected by the machine"
Refresh Refresh
</EventClick> </EventClick>
</Button> </Button>
@ -240,6 +243,8 @@
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Other"
Refresh Refresh
</EventClick> </EventClick>
</Button> </Button>
@ -306,6 +311,8 @@
Var Problem_Brewing_State[8] = "Enable" Var Problem_Brewing_State[8] = "Enable"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Found a foreign object"
Refresh Refresh
</EventClick> </EventClick>
@ -332,6 +339,8 @@
Var Problem_Brewing_State[8] = "Enable" Var Problem_Brewing_State[8] = "Enable"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Some ingredients missing"
Refresh Refresh
</EventClick> </EventClick>
@ -358,6 +367,8 @@
Var Problem_Brewing_State[8] = "Enable" Var Problem_Brewing_State[8] = "Enable"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Under-filled cup"
Refresh Refresh
</EventClick> </EventClick>
@ -384,6 +395,8 @@
Var Problem_Brewing_State[8] = "Enable" Var Problem_Brewing_State[8] = "Enable"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Wrong item received"
Refresh Refresh
</EventClick> </EventClick>
@ -410,6 +423,8 @@
Var Problem_Brewing_State[8] = "Enable" Var Problem_Brewing_State[8] = "Enable"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Drink wasnt blended"
Refresh Refresh
</EventClick> </EventClick>
@ -436,6 +451,8 @@
Var Problem_Brewing_State[8] = "Enable" Var Problem_Brewing_State[8] = "Enable"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Drink didnt dissolve properly"
Refresh Refresh
</EventClick> </EventClick>
@ -462,6 +479,8 @@
Var Problem_Brewing_State[8] = "Enable" Var Problem_Brewing_State[8] = "Enable"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Cup is messy/dirty"
Refresh Refresh
</EventClick> </EventClick>
@ -488,6 +507,8 @@
Var Problem_Brewing_State[8] = "Enable" Var Problem_Brewing_State[8] = "Enable"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "The cup tipped over / drink spilled"
Refresh Refresh
</EventClick> </EventClick>
@ -514,6 +535,8 @@
Var Problem_Brewing_State[8] = "PressForever" Var Problem_Brewing_State[8] = "PressForever"
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Other"
Refresh Refresh
</EventClick> </EventClick>
@ -625,28 +648,30 @@
<Height> "auto" </Height> <Height> "auto" </Height>
<State> FromSmoothieProcess </State> <State> FromSmoothieProcess </State>
;<Button>
;<X> 0 </X>
;<Y> 0 </Y>
;<State> Problem_Process_State[0] </State>
;<Filename> "ROOT/taobin_project/image/page_help_center/cb_uncheck_problem.png" </Filename>
;<FilenamePress> "ROOT/taobin_project/image/page_help_center/cb_checked_problem.png" </FilenamePress>
;<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
;<Volume> SoundVolume </Volume>
;<EventClick>
;Var Problem_Process_State[0] = "PressForever"
;Var Problem_Process_State[1] = "Enable"
;Var show_btn_next_help = "Enable"
;Var ChooseProblem = "Item not received"
;Refresh
;</EventClick>
;</Button>
<Button> <Button>
<X> 0 </X> <X> 0 </X>
<Y> 0 </Y> <Y> 0 </Y>
<State> Problem_Process_State[0] </State>
<Filename> "ROOT/taobin_project/image/page_help_center/cb_uncheck_problem.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_help_center/cb_checked_problem.png" </FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var Problem_Process_State[0] = "PressForever"
Var Problem_Process_State[1] = "Enable"
Var show_btn_next_help = "Enable"
Refresh
</EventClick>
</Button>
<Button>
<X> 0 </X>
<Y> 100 </Y>
<State> Problem_Process_State[1] </State> <State> Problem_Process_State[1] </State>
<Filename> "ROOT/taobin_project/image/page_help_center/cb_uncheck_problem.png" </Filename> <Filename> "ROOT/taobin_project/image/page_help_center/cb_uncheck_problem.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_help_center/cb_checked_problem.png" </FilenamePress> <FilenamePress> "ROOT/taobin_project/image/page_help_center/cb_checked_problem.png" </FilenamePress>
@ -659,24 +684,26 @@
Var show_btn_next_help = "Enable" Var show_btn_next_help = "Enable"
Var ChooseProblem = "Other"
Refresh Refresh
</EventClick> </EventClick>
</Button> </Button>
<Text> ;<Text>
<X> 100 </X> ;<X> 100 </X>
<Y> 0 </Y> ;<Y> 0 </Y>
<Width> 500 </Width> ;<Width> 500 </Width>
<Height> 75 </Height> ;<Height> 75 </Height>
<State> Problem_Process_State[0] </State> ;<State> Problem_Process_State[0] </State>
<Language> ;<Language>
<ID> 002312 </ID> ;<ID> 002312 </ID>
</Language> ;</Language>
</Text> ;</Text>
<Text> <Text>
<X> 100 </X> <X> 100 </X>
<Y> 100 </Y> <Y> 0 </Y>
<Width> 500 </Width> <Width> 500 </Width>
<Height> 75 </Height> <Height> 75 </Height>
<State> Problem_Process_State[1] </State> <State> Problem_Process_State[1] </State>

View file

@ -30,15 +30,11 @@
If Timeout > 300 Then If Timeout > 300 Then
If MachineStage = "remove-cup" Then If MachineStage = "remove-cup" Then
Open "ROOT/taobin_project/xml/page_drinkfail3.xml" OpenInst 2 "ROOT/taobin_project/xml/page_drinkfail3.xml"
Else Else
If NextOrder = "true" Then If Seeker = "next" Then
Var NextOrder = "false" RootLayoutVisible 3 "hide"
OpenInst 2 "ROOT/taobin_project/xml/page_brewing3Conti.xml"
TransferVar "next" "curr"
Var Seeker = "curr"
Open "ROOT/taobin_project/xml/page_thankyouConti.xml"
Else Else
;Open "ROOT/taobin_project/xml/page_back_to_main.xml" ;Open "ROOT/taobin_project/xml/page_back_to_main.xml"
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml" OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
@ -97,17 +93,10 @@
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound> <Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventClick> <EventClick>
If Seeker = "next" Then
RootLayoutVisible 3 "hide" OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml" OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_help_center.lxml"
Else
If BoxID = 210699 Then
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_help_center.lxml"
Else
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
EndIf
EndIf
</EventClick> </EventClick>
</Button> </Button>
@ -505,8 +494,20 @@
<Sound> "ROOT/sounds/codebuttom.wav" </Sound> <Sound> "ROOT/sounds/codebuttom.wav" </Sound>
<Volume> SoundVolume </Volume> <Volume> SoundVolume </Volume>
<EventClick> <EventClick>
StrLen TelephoneNumber TelNumLen
If TelNumLen >= MinPhoneNumber Then
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml" DEBUGVAR TelephoneNumber
DEBUGVAR ChooseProblem
PROBLEM TelephoneNumber ChooseProblem
If MachineStage = "remove-cup" Then
OpenInst 2 "ROOT/taobin_project/xml/page_drinkfail3.xml"
Else
Open "ROOT/taobin_project/inter/tha/xml/page_help_center_sending_conti.lxml"
EndIf
EndIf
</EventClick> </EventClick>
</Button> </Button>

View file

@ -0,0 +1,99 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
<Volume> SoundVolume </Volume>
<EventOpen>
Var Timeout = 0
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 5 Then
If Seeker = "next" Then
RootLayoutVisible 3 "hide"
OpenInst 2 "ROOT/taobin_project/xml/page_brewing3Conti.xml"
Else
Var LanguageButtonEnable = "Enable"
Var ButtonLanguageCurrentXPosition = 990
Var ButtonLanguageCurrentYPosition = 608
Var ButtonLanguageListXPosition = 970
Var ButtonLanguageListYPosition = 590
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
OpenInst 2 "ROOT/taobin_project/inter/tha/xml/multi/page_catalog.lxml"
OpenInst 15 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
EndIf
EndIf
TimerReset
Refresh
</EventTimeout>
<EventActionOk>
</EventActionOk>
;include="ROOT/taobin_project/inc/video.inc"
;<Video>
;<X> 0 </X>
;<Y> 0 </Y>
;<Refresh> "Reload" </Refresh>
;<Loop> "true" </Loop>
;<Filename> "ROOT/taobin_project/video/taobin_thank2.mp4" </Filename>
;</Video>
<Image>
<X> 380 </X>
<Y> 724 </Y>
<Width> 911 </Width>
<Height> 265 </Height>
<Width> 361 </Width>
<Height> 486 </Height>
<Filename> "ROOT/taobin_project/image/collectiing/Businessman_sorry.png" </Filename>
</Image>
<Image>
<X> 84 </X>
<Y> 1314 </Y>
<Width> 911 </Width>
<Height> 265 </Height>
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
</Image>
<Text>
<X> 0 </X>
<Y> 1344 </Y>
<Width> 1080 </Width>
<Height> 85 </Height>
<Align> Center </Align>
<Language>
<ID> 002354 </ID>
</Language>
</Text>
<Text>
<X> 0 </X>
<Y> 1430 </Y>
<Align> Center </Align>
<Language>
<ID> 002355 </ID>
</Language>
</Text>
;include="ROOT/taobin_project/inc/video.inc"
</Popup>

View file

@ -60,6 +60,7 @@
Var FromSmoothieProcess = "Enable" Var FromSmoothieProcess = "Enable"
Var FromPaymentCash = "Invisible" Var FromPaymentCash = "Invisible"
Var FromBrewingProcess = "Invisible" Var FromBrewingProcess = "Invisible"
Var BaseOnPageBoard = 0
Var TimeOutHandPoint = 0 Var TimeOutHandPoint = 0
Var ShowHandPoint = "Invisible" Var ShowHandPoint = "Invisible"

View file

@ -11,7 +11,17 @@
Var routeManTest = CountryRootPath + "/xml/route_man_test.lxml" Var routeManTest = CountryRootPath + "/xml/route_man_test.lxml"
OpenInst 0 routeManTest OpenInst 0 routeManTest
Else Else
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml" If EnableHelperShow = 1 Then
Var LanguageButtonEnable = "Enable"
Var ButtonLanguageCurrentXPosition = 990
Var ButtonLanguageCurrentYPosition = 608
Var ButtonLanguageListXPosition = 970
Var ButtonLanguageListYPosition = 590
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
Else
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
EndIf
EndIf EndIf
If showMultiAds = "true" Then If showMultiAds = "true" Then

View file

@ -2119,28 +2119,32 @@ PRICE "Reset" "-"
DEBUGVAR CountryName DEBUGVAR CountryName
Var BaseOnPageBoard = 0 Var BaseOnPageBoard = 0
If InternationalEnable = 1 Then If CurrHelpCenter = 1 Then
If CountryName = "Thailand" Then ; do not thing when open the helper
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
Else
; show language icon
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RootLayoutVisible 3 "show"
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
TRY OpenFileXML
EndIf
Else Else
If BeerTrapEnable = "true" Then If InternationalEnable = 1 Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml" If CountryName = "Thailand" Then
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
Else
; show language icon
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RootLayoutVisible 3 "show"
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
TRY OpenFileXML
EndIf
Else Else
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev" If BeerTrapEnable = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
Else
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
EndIf
EndIf EndIf
EndIf EndIf
Machine DoorClose Machine DoorClose
@ -2593,24 +2597,28 @@ PRICE "Reset" "-"
Var OpenFromPageBoard = 1 Var OpenFromPageBoard = 1
If InternationalEnable = 1 Then If CurrHelpCenter = 1 Then
; do not thing when open the helper
If CountryName = "Thailand" Then
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
Else ; show language icon
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RootLayoutVisible 3 "show"
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
TRY OpenFileXML
EndIf
Else Else
If InternationalEnable = 1 Then
If CocktailShow = "true" Then If CountryName = "Thailand" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml" SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
Else ; show language icon
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
RootLayoutVisible 3 "show"
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
TRY OpenFileXML
EndIf
Else Else
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
If CocktailShow = "true" Then
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
Else
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
EndIf
EndIf EndIf
EndIf EndIf

View file

@ -1316,6 +1316,7 @@
Var FromSmoothieProcess = "Invisible" Var FromSmoothieProcess = "Invisible"
Var FromPaymentCash = "Enable" Var FromPaymentCash = "Enable"
Var FromBrewingProcess = "Invisible" Var FromBrewingProcess = "Invisible"
Var BaseOnPageBoard = 0
If EnableHelperShow = 1 Then If EnableHelperShow = 1 Then
Var Showhelper = "Enable" Var Showhelper = "Enable"