update page brewing for inter

This commit is contained in:
Kenta420 2023-10-17 13:36:31 +07:00
parent 0edd2c0827
commit af568dc713
146 changed files with 4242 additions and 12 deletions

View file

@ -1679,7 +1679,7 @@
<Image>
<X> 60 </X>
<Y> 1290 </Y>
<State> PictureFileTextDesctionState" </State>
<State> PictureFileTextDesctionState </State>
<Filename> PictureFile</Filename>
</Image>

View file

@ -55,13 +55,44 @@
Play "ROOT/sounds/pleaseWait.wav"
EndIf
If InternationalEnable = 1 Then
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
Var VideoFileBegin = "TaoBin2_draft02_art"
Var VideoFileEnd = ".mp4"
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
Var VideoFileBegin = "TaoBin2_draft02_art"
Var VideoFileEnd = ".mp4"
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
Var PictureBegin = "txt_"
Var PictureEnd = "_en.png"
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
Var PictureBegin = "txt_"
If CountryName = "Australia" Then
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
Var VideoFileBegin = "TaoBin2_draft02_art"
Var VideoFileEnd = ".mp4"
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/inter/aus/image/page_doing/"
Var PictureBegin = "txt_"
Var PictureEnd = "_en.png"
EndIf
If CountryName = "Malaysia" Then
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
Var VideoFileBegin = "TaoBin2_draft02_art"
Var VideoFileEnd = ".mp4"
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/inter/mys/image/page_doing/"
Var PictureBegin = "txt_"
Var PictureEnd = "_en.png"
EndIf
Else
Var VideoPath = "/mnt/sdcard/coffeevending/taobin_project/animation01/"
Var VideoFileBegin = "TaoBin2_draft02_art"
Var VideoFileEnd = ".mp4"
Var PicturePath = "/mnt/sdcard/coffeevending/taobin_project/image/page_doing/"
Var PictureBegin = "txt_"
EndIf
Var VideoPlayFile = VideoPath
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
@ -119,8 +150,13 @@
DEBUGVAR TxRef1
UpdateTxRef1 TxRef1 ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate PayO2 PdpaAccept VendingDiscount VendingCampaign PayReference PayType CreditReference PayDetail
EndIf
Open "ROOT/taobin_project/xml/page_brewing3.xml"
If InternationalEnable = 1 Then
Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml"
Open Brew3Inter
Else
Open "ROOT/taobin_project/xml/page_brewing3.xml"
EndIf
Else
Open "ROOT/taobin_project/xml/page_get_yourchange.xml"
EndIf
@ -151,12 +187,22 @@
If IgnoreLidStraw = "true" Then
Var IgnoreLidStraw = "false"
SAVELOG "Ignore lid straw because recipe disable"
Open "ROOT/taobin_project/xml/page_brewing3.xml"
If InternationalEnable = 1 Then
Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml"
Open Brew3Inter
Else
Open "ROOT/taobin_project/xml/page_brewing3.xml"
EndIf
EndIf
If Service_LidStraw = "Disable" Then
SAVELOG "Service_LidStraw"
Open "ROOT/taobin_project/xml/page_brewing3.xml"
If InternationalEnable = 1 Then
Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml"
Open Brew3Inter
Else
Open "ROOT/taobin_project/xml/page_brewing3.xml"
EndIf
EndIf
DEBUGVAR StrawAutoRelease1
@ -185,7 +231,12 @@
If LidState = "Press" Then
Machine Lid
EndIf
Open "ROOT/taobin_project/xml/page_brewing3.xml"
If InternationalEnable = 1 Then
Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml"
Open Brew3Inter
Else
Open "ROOT/taobin_project/xml/page_brewing3.xml"
EndIf
EndIf
Var ShowCountDownBrewing = CountDownBrewing
@ -328,7 +379,12 @@
EndIf
Open "ROOT/taobin_project/xml/page_brewing3.xml"
If InternationalEnable = 1 Then
Var Brew3Inter = CountryRootPath + "/xml/page_brewing3.lxml"
Open Brew3Inter
Else
Open "ROOT/taobin_project/xml/page_brewing3.xml"
EndIf
</EventClick>
</Button>