Merge branch 'masterpiece' into feat/sgp-new-payment
This commit is contained in:
commit
2c769214c9
3027 changed files with 513353 additions and 237055 deletions
156
xml/event/boost_energy/page_got_discount_code.xml
Normal file
156
xml/event/boost_energy/page_got_discount_code.xml
Normal file
|
|
@ -0,0 +1,156 @@
|
|||
<Popup>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<EventOpen>
|
||||
Var Timeout = 0
|
||||
Var ImageDir = "ROOT/taobin_project/image/event/boost_energy/"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var GotDiscountImg = ImageDir + "got_discount_code_en.png"
|
||||
Var ButtonIdleImg = "ROOT/taobin_project/image/collectiing/bn_confirm.png"
|
||||
Var ButtonPressedImg = "ROOT/taobin_project/image/collectiing/bp_confirm.png"
|
||||
Else
|
||||
Var GotDiscountImg = ImageDir + "got_discount_code_th.png"
|
||||
Var ButtonIdleImg = "ROOT/taobin_project/image/collectiing_en/bn_confirm.png"
|
||||
Var ButtonPressedImg = "ROOT/taobin_project/image/collectiing_en/bp_confirm.png"
|
||||
EndIf
|
||||
|
||||
Var CloseButtonState = "Invisible"
|
||||
|
||||
DEBUGVAR GotDiscountImg
|
||||
DEBUGVAR TelephoneNumber
|
||||
|
||||
SAVELOG "[BOOST_ENERGY] Sending code"
|
||||
|
||||
Var Param1 = "157"
|
||||
Var Param2 = ""
|
||||
Var Param3 = ""
|
||||
AddData 43 TelephoneNumber Param1 Param2 Param3
|
||||
</EventOpen>
|
||||
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
;Var CountDownBrewing = BREW_CNT
|
||||
|
||||
;Var ShowCountDownBrewing = CountDownBrewing
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 5 Then
|
||||
SAVELOG "[BOOST_ENERGY] Timeout"
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
<EventMachine>
|
||||
If MachineStage = "drink-success" Then
|
||||
Var MachineState_Result = 1
|
||||
EndIf
|
||||
|
||||
If MachineStage = "drink-failed" Then
|
||||
Var MachineState_Result = 2
|
||||
EndIf
|
||||
</EventMachine>
|
||||
|
||||
<EventSecurity>
|
||||
Open "/media/bt/xml/security_alarm.xml"
|
||||
</EventSecurity>
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
If Ext1a = "ok" Then
|
||||
|
||||
Else
|
||||
|
||||
SAVELOG "[BOOST_ENERGY] EventActionOk: Ext1a != ok send code fail"
|
||||
DEBUGVAR ParamCP
|
||||
DEBUGVAR TelephoneNumberX
|
||||
DEBUGVAR TelephoneNumber
|
||||
|
||||
Var Seeker.TaobinErrorNetwork = 1
|
||||
Var Seeker.PointTaobinStr = ParamCP
|
||||
Var TelephoneNumber = TelephoneNumberX
|
||||
Var Seeker.TNumberTaobinMember= TelephoneNumber
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var GotDiscountImg = ImageDir + "send_code_fail_en.png"
|
||||
Else
|
||||
Var GotDiscountImg = ImageDir + "send_code_fail_th.png"
|
||||
EndIf
|
||||
|
||||
Var CloseButtonState = "Enable"
|
||||
Var Timeout = 0
|
||||
|
||||
Refresh
|
||||
|
||||
EndIf
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
|
||||
SAVELOG "[BOOST_ENERGY] EventActionError: send code fail"
|
||||
DEBUGVAR ParamCP
|
||||
DEBUGVAR TelephoneNumberX
|
||||
DEBUGVAR TelephoneNumber
|
||||
|
||||
Var Seeker.TaobinErrorNetwork = 1
|
||||
Var Seeker.PointTaobinStr = ParamCP
|
||||
Var TelephoneNumber = TelephoneNumberX
|
||||
Var Seeker.TNumberTaobinMember= TelephoneNumber
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var GotDiscountImg = ImageDir + "send_code_fail_en.png"
|
||||
Else
|
||||
Var GotDiscountImg = ImageDir + "send_code_fail_th.png"
|
||||
EndIf
|
||||
|
||||
Var CloseButtonState = "Enable"
|
||||
Var Timeout = 0
|
||||
|
||||
Refresh
|
||||
|
||||
</EventActionError>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> GotDiscountImg </Filename>
|
||||
</Image>
|
||||
|
||||
<Button>
|
||||
<X> 397 </X>
|
||||
<Y> 1783 </Y>
|
||||
<State> CloseButtonState </State>
|
||||
<Filename> ButtonIdleImg </Filename>
|
||||
<FilenamePress> ButtonPressedImg </FilenamePress>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
</EventClck>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
;<Image>
|
||||
;<X> 751 </X>
|
||||
;<Y> 413 </Y>
|
||||
;<Filename> IMG_CNT </Filename>
|
||||
;</Image>
|
||||
|
||||
;<Text>
|
||||
;<X> XPosiShowCountDownBrew </X>
|
||||
;<Y> 470 </Y>
|
||||
;<Align> End </Align>
|
||||
;<Width> 153 </Width>
|
||||
;<Size> 88 </Size>
|
||||
;<Font> RobotoBold </Font>
|
||||
;<Color> 0x513C2F </Color>
|
||||
;<Value> ShowCountDownBrewing </Value>
|
||||
;</Text>
|
||||
|
||||
</Popup>
|
||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
16185
xml/event/double_promotion_matcha_every_day_and_oreo_volcano.xml
Normal file
16185
xml/event/double_promotion_matcha_every_day_and_oreo_volcano.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,28 @@
|
|||
[
|
||||
{
|
||||
"name": "matcha_every_day",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/matcha_every_day/matcha_every_day2.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_matcha_every_day.xml"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "oreo_volcano",
|
||||
"template": "/event/promotion_template.inc",
|
||||
"config": {
|
||||
"normal_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"normal_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"press_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"press_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"disable_eng": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"disable_thai": "ROOT/taobin_project/image/event/oreo_volcano/oreo_volcano_banner.png",
|
||||
"event_on_click": "ROOT/taobin_project/xml/page_catalog_group_pro_oreo_volcano.xml"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
@ -1 +1 @@
|
|||
/event/promotion_coconut_milk.xml
|
||||
/event/promotion_oreo_volcano.xml
|
||||
16992
xml/event/promotion_boost_energy.xml
Normal file
16992
xml/event/promotion_boost_energy.xml
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1 +1 @@
|
|||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_coconut_milk.xml"
|
||||
Open "ROOT/taobin_project/xml/page_catalog_group_pro_oreo_volcano.xml"
|
||||
|
|
|
|||
16612
xml/event/promotion_oreo_volcano.xml
Normal file
16612
xml/event/promotion_oreo_volcano.xml
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -12,22 +12,4 @@
|
|||
###EventOnClick
|
||||
|
||||
</EventOnClick>
|
||||
|
||||
<Video>
|
||||
<X> 42 </X>
|
||||
<Y> 518 </Y>
|
||||
<Width> 484 </Width>
|
||||
<Height> 616 </Height>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/image/event/coconut_milk/coconut_milk.mp4" </Filename>
|
||||
</Video>
|
||||
</Button>
|
||||
|
||||
<EventUnitTest1>
|
||||
Var BigButtonEnable = "Enable"
|
||||
Refresh
|
||||
</EventUnitTest1>
|
||||
<EventUnitTest2>
|
||||
Var BigButtonEnable = "Invisible"
|
||||
Refresh
|
||||
</EventUnitTest2>
|
||||
|
|
|
|||
|
|
@ -4,13 +4,10 @@ DEBUGVAR PayOfflineMode
|
|||
DEBUGVAR CocktailShow
|
||||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
DEBUGVAR StrawberrySeriesPro
|
||||
DEBUGVAR OvaltineSchoolPro
|
||||
DEBUGVAR RedStringOfFatePro
|
||||
DEBUGVAR CoconutMilkPro
|
||||
DEBUGVAR MatchaEveryDayPro
|
||||
DEBUGVAR KingdomThaiTeaPro
|
||||
DEBUGVAR PepsiXTaobinPro
|
||||
DEBUGVAR MatchaEveryDayPro
|
||||
DEBUGVAR OreoVolcanoPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
Var PromotionState2 = "Invisible"
|
||||
|
|
@ -30,45 +27,48 @@ Else
|
|||
Var CountEnablePromotion = 0
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/page_catalog_group_recommend.xml"
|
||||
|
||||
If CoconutMilkPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_coconut_milk.xml"
|
||||
Var PromotionState2 = "Enable"
|
||||
If taobin_nopro = "true" Then
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var PromotionState1 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_matcha_every_day_and_coconut_milk.xml"
|
||||
EndIf
|
||||
Else
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_matcha_every_day.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If KingdomThaiTeaPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_kingdom_thai_tea.xml"
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
If PepsiXTaobinPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_pepsi_x_taobin.xml"
|
||||
EndIf
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_matcha_every_day.xml"
|
||||
EndIf
|
||||
Else
|
||||
If PepsiXTaobinPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_pepsi_x_taobin.xml"
|
||||
EndIf
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_matcha_every_day.xml"
|
||||
If KingdomThaiTeaPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_kingdom_thai_tea.xml"
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
If PepsiXTaobinPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_pepsi_x_taobin.xml"
|
||||
EndIf
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_kingdom_thai_tea_and_matcha_every_day.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_matcha_every_day.xml"
|
||||
EndIf
|
||||
|
||||
If OreoVolcanoPro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_oreo_volcano.xml"
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
If MatchaEveryDayPro = 1 Then
|
||||
Var PromotionState2 = "Enable"
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/double_promotion_matcha_every_day_and_oreo_volcano.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
If CatalogLayoutV3 = 1 Then
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/v3/event/script_open_promotion_v3.ev"
|
||||
SAVELOG " CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/v3/event/script_open_promotion_v3.ev"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -68,9 +68,6 @@ Var SwensenPro = 0
|
|||
; Coconut Milk, 1 Mar - 31 Mar
|
||||
Var CoconutMilkPro = 0
|
||||
|
||||
; Matcha every day, 10 Mar - 31 Mar
|
||||
Var MatchaEveryDayPro = 0
|
||||
|
||||
; Kingdom of Thai tea, 1 Apr - 30 Apr
|
||||
Var KingdomThaiTeaPro = 0
|
||||
|
||||
|
|
@ -80,6 +77,15 @@ Var PepsiXTaobinPro = 0
|
|||
; 3 dialects sound campaign, 1 Apr - 30 Apr
|
||||
Var SongkranSoundCampaign = 0
|
||||
|
||||
; Boost Energy drink, 1 - 11 May
|
||||
Var BoostEnergyPro = 0
|
||||
|
||||
; Matcha every day, 1 - 31 May
|
||||
Var MatchaEveryDayPro = 0
|
||||
|
||||
; Oreo volcano, 1 - 31 May
|
||||
Var OreoVolcanoPro = 0
|
||||
|
||||
Var NewCollectPoint = 1
|
||||
Var PaymentCodeShouldCollectPromotionPoint = 0
|
||||
|
||||
|
|
@ -128,14 +134,17 @@ If SystemDateMonthInt = 3 Then
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If SystemDateMonthInt = 5 Then
|
||||
|
||||
If SystemDateMonthInt = 4 Then
|
||||
Var KingdomThaiTeaPro = 1
|
||||
Var SongkranSoundCampaign = 1
|
||||
Var OreoVolcanoPro = 1
|
||||
Var MatchaEveryDayPro = 1
|
||||
|
||||
If SystemDateDayInt <= 11 Then
|
||||
Var BoostEnergyPro = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var JemilaToppingFlag = 1
|
||||
If SystemDateDayOfWeek = "Wednesday" Then
|
||||
Var JemilaToppingFreeFlag = 1
|
||||
|
|
@ -166,12 +175,14 @@ If BoxID = 201714 Then
|
|||
Var KingdomThaiTeaPro = 1
|
||||
Var AdvertisePepsiAtTheSun = 1
|
||||
Var SongkranSoundCampaign = 1
|
||||
Var NewMatchaPremiumX3 = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 201729 Then
|
||||
Var KingdomThaiTeaPro = 1
|
||||
Var AdvertisePepsiAtTheSun = 1
|
||||
Var SongkranSoundCampaign = 1
|
||||
Var NewMatchaPremiumX3 = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 173149 Then
|
||||
|
|
@ -198,6 +209,21 @@ If ConfigNumer >= 1762 Then
|
|||
Var ToppingNewUINewSystem = 1
|
||||
EndIf
|
||||
|
||||
If ConfigNumer >= 1763 Then
|
||||
Var ToppingNewUINewSystemStep2 = 1
|
||||
EndIf
|
||||
|
||||
Var SmoothieMode = "Invisible"
|
||||
If BoxID = 123456 Then
|
||||
Var SmoothieMode= "Enable"
|
||||
EndIf
|
||||
If BoxID = 176757 Then
|
||||
Var SmoothieMode= "Enable"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR SmoothieMode
|
||||
|
||||
|
||||
; override again
|
||||
|
||||
Var CleanFeedbackFlag = 1
|
||||
|
|
@ -240,11 +266,6 @@ EndIf
|
|||
STRCONTAIN "taobin_nopro" XMLProfile taobin_nopro
|
||||
|
||||
If taobin_nopro = "true" Then
|
||||
Var GameEnableFromTrickerEv = 0
|
||||
Var OvaltineSchoolPro = 0
|
||||
Var RedStringOfFatePro = 0
|
||||
Var CoconutMilkPro = 0
|
||||
Var MatchaEveryDayPro = 0
|
||||
Var AdvertiseProfile = "00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00/00"
|
||||
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -337,8 +337,8 @@
|
|||
out_xml('<Column> 2 </Column>\r\n')
|
||||
else:
|
||||
out_xml('<Column> 4 </Column>\r\n')
|
||||
if recommend_page:
|
||||
out_xml(';layout_mode\r\n')
|
||||
#if recommend_page:
|
||||
out_xml(';layout_mode\r\n')
|
||||
out_xml('<Script>\r\n')
|
||||
|
||||
if "all" in verbose:
|
||||
|
|
@ -346,8 +346,8 @@
|
|||
|
||||
out_xml('\t\tVar block_index_override = 0\r\n')
|
||||
out_xml('\t\tVar block_index_move = 0\r\n')
|
||||
if recommend_page:
|
||||
out_xml('\t\t;banner_shifting\r\n')
|
||||
#if recommend_page:
|
||||
out_xml('\t\t;banner_shifting\r\n')
|
||||
|
||||
out_xml('</Script>\r\n')
|
||||
|
||||
|
|
@ -393,17 +393,19 @@
|
|||
str_con_var += spl[6] + '-'
|
||||
|
||||
str_con_var = str_con_var.replace("-", "")
|
||||
try:
|
||||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[12].strip()):
|
||||
str_con += f'DateTimeStart="{spl[12].strip()}",'
|
||||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
|
||||
str_con += f'DateTimeEnd="{spl[13].strip()}",'
|
||||
|
||||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[12].strip()):
|
||||
str_con += f'DateTimeStart="{spl[12].strip()}",'
|
||||
if re.match(r'(\d{4})/(\d{2})/(\d{2})T(\d{2}):(\d{2}):(\d{2})', spl[13].strip()):
|
||||
str_con += f'DateTimeEnd="{spl[13].strip()}",'
|
||||
if re.match(r'^\w.*', spl[14].strip()):
|
||||
str_con += f'Var={spl[14].strip()},'
|
||||
|
||||
if re.match(r'^\w.*', spl[14].strip()):
|
||||
str_con += f'Var={spl[14].strip()},'
|
||||
|
||||
if recommend_page:
|
||||
str_con += "Disable=Invisible,"
|
||||
if recommend_page:
|
||||
str_con += "Disable=Invisible,"
|
||||
except Exception:
|
||||
print("ProductCode = " + spl[4] + " Ignore")
|
||||
|
||||
str_con += "$Sum" + str_con_var
|
||||
|
||||
|
|
@ -1111,6 +1113,9 @@
|
|||
###############################################################################
|
||||
if "all" in verbose:
|
||||
print("sp[2]" + spl[2])
|
||||
if( len( spl) < 10):
|
||||
print(list(map(str, spl)))
|
||||
return
|
||||
out_xml( '\t; '+ spl[8] + ' ' + spl[9] + ' ' + spl[10]+ ' \r\n')
|
||||
if spl[8] != '-' or spl[9] != '-' or spl[10] != '-':
|
||||
menu_img = spl[7]
|
||||
|
|
@ -1300,7 +1305,7 @@
|
|||
out_xml( '\t\t\tEndIf\r\n')
|
||||
out_xml( '\t\tEndIf\r\n')
|
||||
|
||||
|
||||
|
||||
else:
|
||||
out_xml( '\t\tIf PD_STAGE_2 = "Enable" Then\r\n')
|
||||
out_xml( '\t\t\tTopping "Load" "'+ spl[9] +'"\r\n')
|
||||
|
|
|
|||
8
xml/open_file_instance0_to_instance2.inc
Normal file
8
xml/open_file_instance0_to_instance2.inc
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
|
@ -406,6 +406,9 @@
|
|||
Var game_mode_enable = "true"
|
||||
EndIf
|
||||
|
||||
TRY "ROOT/taobin_project/inter/tha/game.ev"
|
||||
|
||||
|
||||
If GameOverrideDisable = 1 Then
|
||||
Var game_mode_enable = "false"
|
||||
EndIf
|
||||
|
|
@ -420,6 +423,9 @@
|
|||
|
||||
DEBUGVAR GameEnableFromTrickerEv
|
||||
DEBUGVAR GameOverrideDisable
|
||||
DEBUGVAR game_mode_enable
|
||||
|
||||
|
||||
|
||||
DEBUGVAR Seeker
|
||||
If game_mode_enable = "true" Then
|
||||
|
|
@ -604,6 +610,17 @@
|
|||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
If IgnoreLidStrawAll = 1 Then
|
||||
Var IgnoreLidStrawAll = 0
|
||||
Var bg_lidProblem_ST = "Invisible"
|
||||
Var GetLidButtonState = "Invisible"
|
||||
|
||||
Var bg_strawProblem_ST = "Invisible"
|
||||
Var EnableGetMoreStrawFileName = "Invisible"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
__CMD "SetErrorCodeHandleByXML" 1028 "-" "-"
|
||||
|
|
|
|||
|
|
@ -20,6 +20,10 @@
|
|||
OpenInst 0 "ROOT/taobin_project/inter/uae_dubai/xml/page_show_error.lxml"
|
||||
EndIf
|
||||
|
||||
If CountryName = "United Kingdom" Then
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/inter/gbr/xml/page_show_error.lxml"
|
||||
EndIf
|
||||
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.lxml"
|
||||
Else
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_show_error.xml"
|
||||
|
|
|
|||
|
|
@ -179,7 +179,8 @@
|
|||
EndIf
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var XMLProfile = "DiscountFromBO-MachineShedule"
|
||||
Var XMLProfile = "Plus5AndInclude20Percent-taobin_notopup-taobin_nopro-taobin_notopping"
|
||||
Var XMLProfile = "DiscountFromBO-MachineShedule"
|
||||
EndIf
|
||||
DEBUGVAR XMLProfile
|
||||
|
||||
|
|
@ -473,6 +474,41 @@
|
|||
|
||||
; zone init lang
|
||||
; CountryName
|
||||
If CountryName = "" Then
|
||||
READ_FILE "/mnt/sdcard/coffeevending/country/short" StrCountryShort
|
||||
DEBUGVAR StrCountryShort
|
||||
If StrCountryShort = "MYS" Then
|
||||
Var CountryName = "Malaysia"
|
||||
EndIf
|
||||
If StrCountryShort = "MYR" Then
|
||||
Var CountryName = "Malaysia"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "AUS" Then
|
||||
Var CountryName = "Australia"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "SGP" Then
|
||||
Var CountryName = "Singapore"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "HKG" Then
|
||||
Var CountryName = "HongKong"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "UAE_DUBAI" Then
|
||||
Var CountryName = "UnitedArabEmirates Dubai"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "GBR" Then
|
||||
Var CountryName = "United Kingdom"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "" Then
|
||||
Var CountryName = "Thailand"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var show_eng_button_stage = "Enable"
|
||||
|
||||
Var MemberButtonFileName = "ROOT/taobin_project/image/TermTempage2/bp_main_page_member.png"
|
||||
|
|
@ -560,8 +596,10 @@
|
|||
|
||||
DEBUGVAR ButtontoTopupMenu
|
||||
STRCONTAIN "taobin_notopup" XMLProfile taobin_notopup
|
||||
STRCONTAIN "taobin_notopping" XMLProfile taobin_notopping
|
||||
|
||||
DEBUGVAR taobin_notopup
|
||||
DEBUGVAR taobin_notopping
|
||||
If taobin_notopup = "true" Then
|
||||
Var ButtontoTopupMenu = "Disable"
|
||||
Else
|
||||
|
|
@ -572,6 +610,11 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
STRCONTAIN "default_english" XMLProfile default_english
|
||||
|
||||
If default_english = "true" Then
|
||||
Var show_eng = "true"
|
||||
EndIf
|
||||
|
||||
Var InternationalEnable = 0
|
||||
Var InternationalEnableStr = "false"
|
||||
|
|
@ -579,42 +622,6 @@
|
|||
Var XButtonMember = 212
|
||||
Var YButtonMember = 1695
|
||||
|
||||
; CountryName
|
||||
If CountryName = "" Then
|
||||
READ_FILE "/mnt/sdcard/coffeevending/country/short" StrCountryShort
|
||||
DEBUGVAR StrCountryShort
|
||||
If StrCountryShort = "MYS" Then
|
||||
Var CountryName = "Malaysia"
|
||||
EndIf
|
||||
If StrCountryShort = "MYR" Then
|
||||
Var CountryName = "Malaysia"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "AUS" Then
|
||||
Var CountryName = "Australia"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "SGP" Then
|
||||
Var CountryName = "Singapore"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "HKG" Then
|
||||
Var CountryName = "HongKong"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "UAE_DUBAI" Then
|
||||
Var CountryName = "UnitedArabEmirates Dubai"
|
||||
EndIf
|
||||
|
||||
If StrCountryShort = "" Then
|
||||
Var CountryName = "Thailand"
|
||||
EndIf
|
||||
|
||||
;
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
; Zone set video main page.
|
||||
|
||||
; ignore collection point
|
||||
|
|
@ -654,6 +661,11 @@
|
|||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/hkg/video/script_video.ev"
|
||||
EndIf
|
||||
|
||||
;inter-xml-open
|
||||
If CountryName = "United Kingdom" Then
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/gbr/video/script_video.ev"
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR CountDownShowButton
|
||||
DEBUGVAR EventTurnOn
|
||||
|
|
@ -1093,6 +1105,7 @@
|
|||
EndIf
|
||||
|
||||
If CountryName = "HongKong" Then
|
||||
Var EnableMultiInstance = "true"
|
||||
If EnableMultiInstance = "true" Then
|
||||
|
||||
; Change lang icon for hkg
|
||||
|
|
@ -1235,27 +1248,96 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
;inter-page-board
|
||||
If CountryName = "United Kingdom" Then
|
||||
|
||||
Var SettingVideoBrewingUseCommon = 1
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/gbr/video/script_video.ev"
|
||||
|
||||
EnableLanguage "ENG"
|
||||
SetLanguage "ENG"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
||||
Var InternationalEnable = 1
|
||||
Var show_eng = "true"
|
||||
;Var VideoMainPage = "ROOT/taobin_project/inter/gbr/video/video_main.mp4"
|
||||
Var img_press_main_page = "ROOT/taobin_project/image/main_page_en/bp_main_page_start.png"
|
||||
|
||||
|
||||
Var ShowNetworkProblemText = "Network error. Payment credit card only."
|
||||
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/gbr/"
|
||||
Var CountryShortName = "gbr"
|
||||
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 264
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
Var ShowButtonClick2 = "Enable"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
|
||||
Var PriceUnitText = ""
|
||||
|
||||
Var MemberButtonFileName = "ROOT/taobin_project/image/main_page_en/bp_main_page_member.png"
|
||||
Var show_eng_button_stage = "Invisible"
|
||||
|
||||
Var CountDownShowButton = 35
|
||||
|
||||
Var XButtonMember = 384
|
||||
Var YButtonMember = 1695
|
||||
|
||||
If Not#LanguageLoaded = "" Then
|
||||
LoadLanguage "/mnt/sdcard/coffeevending/taobin_project/inter/gbr/menu/lang.tsv"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR MaterialAvailable
|
||||
STRCONTAIN "551215" MaterialAvailable SugarZeroCalEnable
|
||||
|
||||
Var cups_sold_text = "Cups Sold Worldwide"
|
||||
|
||||
Var MinPhoneNumber = 11
|
||||
Var MaxPhoneNumber = 11
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
; New mode
|
||||
; Inter + Multi-Instance available ./inter/tha/multi
|
||||
|
||||
|
||||
If EnableMultiInstance = "true" Then
|
||||
If BoxID = 173149 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 173249 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 173319 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 200435 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
If BoxID = 123456 Then
|
||||
Var EnableMultiInstanceFromBoxID = 1
|
||||
EndIf
|
||||
|
||||
If EnableMultiInstanceFromBoxID = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
|
||||
|
||||
Var EnableMultiInstance = "true"
|
||||
Var MyanmarLangEnable = "true"
|
||||
Var InternationalShow = 0
|
||||
|
||||
Var CatalogLayoutV3 = 0
|
||||
|
||||
Var CatalogLayoutV3 = 1
|
||||
|
||||
Var SpiralModeFrozenFruit = 0
|
||||
If BoxID = 123456 Then
|
||||
Var CatalogLayoutV3 = 1
|
||||
Var SpiralOnline = "true"
|
||||
Var SpiralModeFrozenFruit = 1
|
||||
Var InternationalShow = 0
|
||||
EndIf
|
||||
If BoxID = 173149 Then
|
||||
Var CatalogLayoutV3 = 1
|
||||
EndIf
|
||||
If BoxID = 105005 Then
|
||||
Var CatalogLayoutV3 = 1
|
||||
EndIf
|
||||
|
||||
|
||||
; test payment
|
||||
Var New_Payment = 1
|
||||
|
||||
|
|
@ -1269,9 +1351,6 @@
|
|||
;specified to unittest4
|
||||
Var CountryRootPath = "ROOT/taobin_project/inter/tha/"
|
||||
Var CountryShortName = "tha"
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/tricker.ev"
|
||||
DEBUGVAR OpenFileXML
|
||||
TRY OpenFileXML
|
||||
|
||||
Var WebAppShow = "Invisible"
|
||||
Var ENABLE_UAE_DUBAI = "Invisible"
|
||||
|
|
@ -1279,10 +1358,12 @@
|
|||
Var LanguageShow = "THAI"
|
||||
EnableLanguage "ENG"
|
||||
EnableLanguage "THAI"
|
||||
|
||||
|
||||
Var RedirectToNormalVersion = 1
|
||||
;EnableLanguage "MYANMAR"
|
||||
;EnableLanguage "MSC"
|
||||
If InternationalShow = 1 Then
|
||||
EnableLanguage "MYANMAR"
|
||||
EnableLanguage "MSC"
|
||||
EndIf
|
||||
|
||||
SetLanguage "THAI"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
|
@ -1594,11 +1675,11 @@
|
|||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
||||
|
||||
</EventActionOk>
|
||||
|
||||
<EventActionError>
|
||||
|
||||
|
||||
</EventActionError>
|
||||
|
||||
<EventUnitTest1>
|
||||
|
|
@ -1993,7 +2074,7 @@ PRICE "Reset" "-"
|
|||
If InternationalEnable = 1 Then
|
||||
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"
|
||||
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"
|
||||
|
|
@ -2146,7 +2227,7 @@ PRICE "Reset" "-"
|
|||
Var refresh_str = "-RefreshProf"
|
||||
STRCONTAIN refresh_str XMLProfile HasRefreshProf
|
||||
If HasRefreshProf = "true" Then
|
||||
RebootWithCause "RefreshProf_ProMelon"
|
||||
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
|
@ -2192,6 +2273,13 @@ PRICE "Reset" "-"
|
|||
Var CountDownPauseVideo = 1
|
||||
EndIf
|
||||
|
||||
If CountryName = "United Kingdom" Then
|
||||
If EventAO = 1 Then
|
||||
Var CountDownShowButton = 0
|
||||
Var CountDownPauseVideo = 35
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
</EventEnd>
|
||||
|
|
@ -2317,11 +2405,11 @@ PRICE "Reset" "-"
|
|||
<FilenamePress> "ROOT/taobin_project/image/main_page/bp_main_page_topup.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
<EventOnClick>
|
||||
Var PayDetail=""
|
||||
Var NextPage = "-"
|
||||
Open "ROOT/xml/service_menu.xml"
|
||||
</EventClick>
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
|
||||
<Button>
|
||||
|
|
|
|||
|
|
@ -10,6 +10,10 @@
|
|||
If CountryName = "Australia" Then
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/aus/xml/open_page_catalog.ev"
|
||||
EndIf
|
||||
|
||||
If CountryName = "United Kingdom" Then
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/gbr/xml/open_page_catalog.ev"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
If InternationalEnable = 1 Then
|
||||
|
|
|
|||
|
|
@ -11,6 +11,8 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
; soda and other
|
||||
Var Menu62Selected = "PressForever"
|
||||
|
|
@ -24,14 +26,18 @@
|
|||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v3.py
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
</Popup>
|
||||
3587
xml/page_catalog_group_20_baht.xml
Normal file
3587
xml/page_catalog_group_20_baht.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -44,9 +44,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 5
|
||||
|
|
|
|||
|
|
@ -35,9 +35,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 53
|
||||
|
|
|
|||
|
|
@ -35,9 +35,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 72
|
||||
|
|
@ -5657,8 +5659,8 @@ Espresso" </Value>
|
|||
<EventOnClick>
|
||||
Var NameDrink = "Opus One Espresso"
|
||||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Opus One"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: เยลลี่องุ่น แอ๊ปเปิ้ลพาย มิ้น"
|
||||
Var DrinkDescription = "Light Roast. Note: Grape Jelly, Apple Pie, Walnut, Mint."
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง"
|
||||
Var DrinkDescription = "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_opus_one.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0049.Price
|
||||
|
|
@ -5740,7 +5742,7 @@ Opus One" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟคั่วอ่อน โน๊ต: เยลลี่องุ่น แอ๊ปเปิ้ลพาย มิ้น" </Value>
|
||||
<Value> "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -5762,7 +5764,7 @@ Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Light Roast. Note: Grape Jelly, Apple Pie, Walnut, Mint." </Value>
|
||||
<Value> "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -7208,8 +7210,8 @@ Espresso" </Value>
|
|||
<EventOnClick>
|
||||
Var NameDrink = "Geisha Espresso"
|
||||
Var NameDrinkTH = "เอสเพรสโซ่ช็อต Geisha"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) กลิ่น เลม่อน พีช น้ำผึ้งและดอกมะลิ"
|
||||
Var DrinkDescription = "Light Roast (Natural Process) Lemon, Peach, Honey, Jasmin"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต"
|
||||
Var DrinkDescription = "Light Roast (Natural Process) White flower/Blood orange/Grape fruit"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_espresso_light_geisha.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0036.Price
|
||||
|
|
@ -7291,7 +7293,7 @@ Geisha" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟคั่วอ่อน (natural process) กลิ่น เลม่อน พีช น้ำผึ้งและดอกมะลิ" </Value>
|
||||
<Value> "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -7312,7 +7314,7 @@ Geisha" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Light Roast (Natural Process) Lemon, Peach, Honey, Jasmin" </Value>
|
||||
<Value> "Light Roast (Natural Process) White flower/Blood orange/Grape fruit" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -9255,8 +9257,8 @@ Americano" </Value>
|
|||
<EventOnClick>
|
||||
Var NameDrink = "Opus One Americano"
|
||||
Var NameDrinkTH = "อเมริกาโน Opus One"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: เยลลี่องุ่น แอ๊ปเปิ้ลพาย มิ้น"
|
||||
Var DrinkDescription = "Light Roast. Note: Grape Jelly, Apple Pie, Walnut, Mint."
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง"
|
||||
Var DrinkDescription = "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_opus_one.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0050.Price
|
||||
|
|
@ -9338,7 +9340,7 @@ Opus One" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟคั่วอ่อน โน๊ต: เยลลี่องุ่น แอ๊ปเปิ้ลพาย มิ้น" </Value>
|
||||
<Value> "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -9360,7 +9362,7 @@ Americano" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Light Roast. Note: Grape Jelly, Apple Pie, Walnut, Mint." </Value>
|
||||
<Value> "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -10806,8 +10808,8 @@ Americano" </Value>
|
|||
<EventOnClick>
|
||||
Var NameDrink = "Geisha Americano"
|
||||
Var NameDrinkTH = "อเมริกาโน Geisha"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) กลิ่น เลม่อน พีช น้ำผึ้งและดอกมะลิ"
|
||||
Var DrinkDescription = "Light Roast (Natural Process) Lemon, Peach, Honey, Jasmin"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต"
|
||||
Var DrinkDescription = "Light Roast (Natural Process) White flower/Blood orange/Grape fruit"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_geisha.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0035.Price
|
||||
|
|
@ -10889,7 +10891,7 @@ Geisha" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟคั่วอ่อน (natural process) กลิ่น เลม่อน พีช น้ำผึ้งและดอกมะลิ" </Value>
|
||||
<Value> "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -10911,7 +10913,7 @@ Americano" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Light Roast (Natural Process) Lemon, Peach, Honey, Jasmin" </Value>
|
||||
<Value> "Light Roast (Natural Process) White flower/Blood orange/Grape fruit" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -12340,8 +12342,8 @@ Almost Dirty" </Value>
|
|||
<EventOnClick>
|
||||
Var NameDrink = "Opus One Almost Dirty"
|
||||
Var NameDrinkTH = "Opus One Almost Dirty"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: เยลลี่องุ่น แอ๊ปเปิ้ลพาย มิ้น"
|
||||
Var DrinkDescription = "Light Roast. Note: Grape Jelly, Apple Pie, Walnut, Mint."
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง"
|
||||
Var DrinkDescription = "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_opus_one.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
|
|
@ -12423,7 +12425,7 @@ Almost Dirty" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟคั่วอ่อน โน๊ต: เยลลี่องุ่น แอ๊ปเปิ้ลพาย มิ้น" </Value>
|
||||
<Value> "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -12445,7 +12447,7 @@ Almost Dirty" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Light Roast. Note: Grape Jelly, Apple Pie, Walnut, Mint." </Value>
|
||||
<Value> "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -13867,8 +13869,8 @@ Almost Dirty" </Value>
|
|||
<EventOnClick>
|
||||
Var NameDrink = "Geisha Almost Dirty"
|
||||
Var NameDrinkTH = "Geisha Almost Dirty"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) กลิ่น เลม่อน พีช น้ำผึ้งและดอกมะลิ"
|
||||
Var DrinkDescription = "Light Roast (Natural Process) Lemon, Peach, Honey, Jasmin"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต"
|
||||
Var DrinkDescription = "Light Roast (Natural Process) White flower/Blood orange/Grape fruit"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_dirty_light_geisha.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
|
|
@ -13950,7 +13952,7 @@ Almost Dirty" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟคั่วอ่อน (natural process) กลิ่น เลม่อน พีช น้ำผึ้งและดอกมะลิ" </Value>
|
||||
<Value> "กาแฟคั่วอ่อน (natural process) ดอกไม้สีขาว/ส้มบลัดออเรนจ์/เกรปฟรุต" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -13972,7 +13974,7 @@ Almost Dirty" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Light Roast (Natural Process) Lemon, Peach, Honey, Jasmin" </Value>
|
||||
<Value> "Light Roast (Natural Process) White flower/Blood orange/Grape fruit" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
|
|
|
|||
|
|
@ -45,9 +45,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 19
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,9 +33,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 60
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 13
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -11,6 +11,8 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
; soda and other
|
||||
Var Menu62Selected = "PressForever"
|
||||
|
|
@ -36,5 +38,6 @@
|
|||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
;BigLogoLayout
|
||||
|
||||
</Popup>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -33,9 +33,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 36
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
|
|
|
|||
|
|
@ -182,9 +182,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 9
|
||||
|
|
|
|||
|
|
@ -26,9 +26,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 44
|
||||
|
|
|
|||
|
|
@ -31,9 +31,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 9
|
||||
|
|
|
|||
|
|
@ -25,9 +25,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 23
|
||||
|
|
|
|||
|
|
@ -20,12 +20,15 @@
|
|||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v3.py
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
2820
xml/page_catalog_group_pro_boost_energy.xml
Normal file
2820
xml/page_catalog_group_pro_boost_energy.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -27,12 +27,14 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 16
|
||||
; menu_new_list 17
|
||||
; ==================> Len = 15
|
||||
; - 12-21-62-0002 12-21-63-0002
|
||||
<Block>
|
||||
|
|
@ -8026,6 +8028,255 @@ Soda & Ice" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 8
|
||||
; - - 12-00-07-0001
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-00-07-0001.Button,$Sum1200070001) </State>
|
||||
<Button>
|
||||
<State> $Sum1200070001 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_frozen_mango.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_frozen_mango.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_frozen_mango.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Mango Smoothie"
|
||||
Var NameDrinkTH = "มะม่วงปั่น"
|
||||
Var DrinkDescriptionTH = "มะม่วงปั่น แช่แข็ง"
|
||||
Var DrinkDescription = "Frozen mango smoothies"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_frozen_mango.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-00-07-0001.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-00-07-0001"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-00-07-0001.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-00-07-0001"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-00-07-0001.NameE
|
||||
Var menu_desc_eng_blender = $12-00-07-0001.descriptionE
|
||||
Var menu_name_thai_blender = $12-00-07-0001.Name
|
||||
Var menu_desc_thai_blender = $12-00-07-0001.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "มะม่วงปั่น" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "มะม่วงปั่น แช่แข็ง" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Mango Smoothie" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Frozen mango smoothies" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-00-07-0001.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-00-07-0001.Button </State>
|
||||
<Value> StringFmt( $12-00-07-0001.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1200070001 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-00-07-0001.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1200070001 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
|
|
|
|||
|
|
@ -35,9 +35,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 18
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 5
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
|
|
@ -52,7 +54,7 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = ""
|
||||
Var NameDrink = "Kapella's Sweet Drinks"
|
||||
Var NameDrinkTH = "คาเพลล่าสวีทดริ๊งค์"
|
||||
Var DrinkDescriptionTH = "สตรอเบอรี นม น้ำตาล Oreo"
|
||||
Var DrinkDescription = "Strawberry , Milk, Sugar, Oreo"
|
||||
|
|
@ -148,7 +150,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "" </Value>
|
||||
<Value> "Kapella's Sweet Drinks" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 15
|
||||
|
|
|
|||
|
|
@ -31,9 +31,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 7
|
||||
|
|
@ -53,8 +55,8 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Central Thai Milk Tea"
|
||||
Var NameDrinkTH = "ชาไทยละโว้"
|
||||
Var NameDrink = "Thai Milk Tea Salak"
|
||||
Var NameDrinkTH = "ชาไทยสละ"
|
||||
Var DrinkDescriptionTH = "ชาไทย นม น้ำตาล สละ"
|
||||
Var DrinkDescription = "Thai Tea Milk Sugar Salak"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_SALAK.png"
|
||||
|
|
@ -127,7 +129,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชาไทยละโว้" </Value>
|
||||
<Value> "ชาไทยสละ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -148,7 +150,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Central Thai Milk Tea" </Value>
|
||||
<Value> "Thai Milk Tea Salak" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -308,8 +310,8 @@
|
|||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Western Cocoa Thai Milk Tea"
|
||||
Var NameDrinkTH = "โกโก้หริกุญชัย"
|
||||
Var NameDrink = "Thai Milk Tea Cocoa Caramel"
|
||||
Var NameDrinkTH = "ชาไทยโกโก้คาราเมล"
|
||||
Var DrinkDescriptionTH = "ชาไทย นม น้ำตาล โกโก้ คาราเมล"
|
||||
Var DrinkDescription = "Thai Tea Milk Sugar Cocoa Caramel"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_COCOA.png"
|
||||
|
|
@ -382,7 +384,7 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โกโก้หริกุญชัย" </Value>
|
||||
<Value> "ชาไทยโกโก้คาราเมล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -403,8 +405,8 @@
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Western Cocoa
|
||||
Thai Milk Tea" </Value>
|
||||
<Value> "Thai Milk Tea
|
||||
Cocoa Caramel" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
|
|||
|
|
@ -31,9 +31,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
|
|
@ -46,9 +48,9 @@
|
|||
<State> Flag( 12-02-02-0099.Button,DateTimeStart="2025/03/20T00:00:00",$Sum1202020099) </State>
|
||||
<Button>
|
||||
<State> $Sum1202020099 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_matcha_tea_pure_x3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_matcha_tea_pure_x3.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_matcha_tea_pure_x3.png" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pure_Matcha_X3.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pure_Matcha_X3.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pure_Matcha_X3.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-02-0099, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -57,7 +59,7 @@
|
|||
Var NameDrinkTH = "เพียวมัทฉะคูณ 3"
|
||||
Var DrinkDescriptionTH = "มัทฉะ น้ำเย็น"
|
||||
Var DrinkDescription = "Matcha Cold Water"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_matcha_tea_pure_x3.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Pure_Matcha_X3.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-02-02-0099.Price
|
||||
|
|
|
|||
|
|
@ -28,9 +28,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 7
|
||||
|
|
|
|||
|
|
@ -25,9 +25,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 24
|
||||
|
|
|
|||
|
|
@ -31,9 +31,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 13
|
||||
|
|
|
|||
|
|
@ -27,9 +27,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 26
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 19
|
||||
|
|
|
|||
|
|
@ -14,19 +14,21 @@
|
|||
|
||||
|
||||
Var Timeout = 0
|
||||
Var FromHappyTriosPro = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/v3/menu_catalog_new.xml"
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v3.py
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
5129
xml/page_catalog_group_pro_oreo_volcano.xml
Normal file
5129
xml/page_catalog_group_pro_oreo_volcano.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,823 @@
|
|||
Traceback (most recent call last):
|
||||
File "/Users/wanloprungsiyangkul/project/taobin_admin/./menu_gen_new.py", line 155, in eval_exe
|
||||
exec( str, globals())
|
||||
File "<string>", line 1780, in <module>
|
||||
File "<string>", line 398, in GenListMenu
|
||||
IndexError: list index out of range
|
||||
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
|
||||
<FrameScroll>
|
||||
<X> 10 </X>
|
||||
<Y> 497 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
; ==================> Len = 16
|
||||
; 12-03-01-0019 12-03-02-0019 12-03-03-0019
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0019.Button,12-03-02-0019.Button,12-03-03-0019.Button,$Sum120301001912030200191203030019) </State>
|
||||
<Button>
|
||||
<State> $Sum120301001912030200191203030019 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_ovaltine.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_ovaltine.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_ovaltine.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-01-0019, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Ovaltine"
|
||||
Var NameDrinkTH = "โอวัลติน"
|
||||
Var DrinkDescriptionTH = "โอวัลติน นม โกโก้ และน้ำตาล "
|
||||
Var DrinkDescription = "Ovaltine, Milk, Cocoa, and Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_ovaltine.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0019.Price
|
||||
Var PriceD2 = $12-03-02-0019.Price
|
||||
Var PriceD3 = $12-03-03-0019.Price
|
||||
Var PD_CODE1 = "12-03-01-0019"
|
||||
Var PD_CODE2 = "12-03-02-0019"
|
||||
Var PD_CODE3 = "12-03-03-0019"
|
||||
Var PD_STAGE_1 = $12-03-01-0019.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0019.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0019.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0019, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0019"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0019"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0019"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-03-01-0019.NameE
|
||||
Var menu_desc_eng_hot = $12-03-01-0019.descriptionE
|
||||
Var menu_name_thai_hot = $12-03-01-0019.Name
|
||||
Var menu_desc_thai_hot = $12-03-01-0019.description
|
||||
|
||||
Var menu_name_eng_cold = $12-03-02-0019.NameE
|
||||
Var menu_desc_eng_cold = $12-03-02-0019.descriptionE
|
||||
Var menu_name_thai_cold = $12-03-02-0019.Name
|
||||
Var menu_desc_thai_cold = $12-03-02-0019.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0019.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0019.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0019.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0019.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โอวัลติน" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โอวัลติน นม โกโก้ และน้ำตาล " </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Ovaltine" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Ovaltine, Milk, Cocoa,
|
||||
and Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-03-01-0019.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-01-0019.Button </State>
|
||||
<Value> StringFmt( $12-03-01-0019.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0019.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0019.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0019.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-03-0019.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-03-0019.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0019.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301001912030200191203030019 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120301001912030200191203030019 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0019.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0019.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0019.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120301001912030200191203030019 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - 12-03-03-0094
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0094.Button,$Sum1203030094) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0094, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Mini Bus Ovaltine Volcano"
|
||||
Var NameDrinkTH = "โอวัลตินรถโรงเรียน ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "โอวัลติน นม โกโก้ และน้ำตาล "
|
||||
Var DrinkDescription = "Ovaltine, Milk, Cocoa, and Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Ovaltine_cocoa_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-03-03-0094.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-03-03-0094"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-03-03-0094.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0094, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0094"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0094.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0094.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0094.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0094.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โอวัลตินรถโรงเรียน
|
||||
ภูเขาไฟ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โอวัลติน นม โกโก้ และน้ำตาล " </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Mini Bus Ovaltine
|
||||
Volcano" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Ovaltine, Milk, Cocoa,
|
||||
and Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-03-0094.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-03-0094.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0094.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1203030094 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0094.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - 12-03-03-0095
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0095.Button,$Sum1203030095) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030095 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0095, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Mini Bus Ovaltine Super Volcano"
|
||||
Var NameDrinkTH = "โอวัลตินรถโรงเรียน ซุปเปอร์ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "โอวัลติน นม โกโก้ และน้ำตาล "
|
||||
Var DrinkDescription = "Ovaltine, Milk, Cocoa, and Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-03-03-0095.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-03-03-0095"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-03-03-0095.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0095, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0095"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0095.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0095.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0095.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0095.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_topping_select5.xml"
|
||||
|
||||
</EventOnClick>
|
||||
</Button>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 24 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โอวัลตินรถโรงเรียน
|
||||
ซุปเปอร์ภูเขาไฟ" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "โอวัลติน นม โกโก้ และน้ำตาล " </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 164 </Y>
|
||||
<Size> 22 </Size>
|
||||
<Width>220</Width>
|
||||
<Mode> "multi2" </Mode>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Mini Bus Ovaltine
|
||||
Super Volcano" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Ovaltine, Milk, Cocoa,
|
||||
and Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-03-0095.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-03-0095.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0095.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
|
||||
Else
|
||||
Var ice_tab_process_show = "Invisible"
|
||||
EndIf
|
||||
Var return = ice_tab_process_show
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible.png" </Filename>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/drink_option/ice_tab_unavalible_dis.png" </FilenameDisable>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 49 </X>
|
||||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1203030095 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0095.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag2_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
If tag3_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
EndIf
|
||||
Else
|
||||
Var return = "Invisible"
|
||||
EndIf
|
||||
)
|
||||
</State>
|
||||
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 84 </X>
|
||||
<Y> 266 </Y>
|
||||
<Size> 10 </Size>
|
||||
<Font> OpunMediumTTF </Font>
|
||||
<Color> 0xDE794E </Color>
|
||||
<State> ice_tab_process_show </State>
|
||||
<Value> ice_show_open </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 48 </X>
|
||||
<Y> 116 </Y>
|
||||
<Size> 32 </Size>
|
||||
<Width>128</Width>
|
||||
<Height>64</Height>
|
||||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1203030095 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
<X> 915 </X>
|
||||
<Y> 1769 </Y>
|
||||
<State> showCart </State>
|
||||
<Filename> cart_image_bn </Filename>
|
||||
<FilenamePress> cart_image_bp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Open "ROOT/taobin_project/xml/page_payment_multi.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
|
|||
|
|
@ -26,9 +26,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
|
|
|
|||
|
|
@ -31,9 +31,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
|
|
|
|||
|
|
@ -59,9 +59,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 3
|
||||
|
|
|
|||
|
|
@ -32,9 +32,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
|
|
|
|||
|
|
@ -31,9 +31,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 10
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 7
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 26
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 15
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 13
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
|
|
|
|||
|
|
@ -29,9 +29,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 25
|
||||
|
|
|
|||
|
|
@ -162,9 +162,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 7
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -40,9 +40,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 20
|
||||
|
|
|
|||
|
|
@ -30,9 +30,11 @@
|
|||
<ScrollHeight> "auto" </ScrollHeight>
|
||||
<Scroll> "Vertical" </Scroll>
|
||||
<Column> 4 </Column>
|
||||
;layout_mode
|
||||
<Script>
|
||||
Var block_index_override = 0
|
||||
Var block_index_move = 0
|
||||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 6
|
||||
|
|
|
|||
|
|
@ -1027,40 +1027,15 @@
|
|||
|
||||
|
||||
<Function2>
|
||||
|
||||
If FromHappyTriosPro = 1 Then
|
||||
If Seeker.VendingCode = "PX6" Then
|
||||
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/event/happy_trios/page_sending_discount_code.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If CoffeePoint >= 28 Then
|
||||
If GetDrink5Bath = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_drink_5_baht.xml"
|
||||
Else
|
||||
If Seeker.IsLineMember = 0 Then
|
||||
If LuckyDrawCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If Seeker.IsLineMember = 0 Then
|
||||
If LuckyDrawCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
If CoffeePoint >= 28 Then
|
||||
If GetDrink5Bath = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_display_get_drink_5_baht.xml"
|
||||
Else
|
||||
;include="ROOT/taobin_project/xml/sometime/after_collect_point.xml"
|
||||
EndIf
|
||||
Else
|
||||
;include="ROOT/taobin_project/xml/sometime/after_collect_point.xml"
|
||||
EndIf
|
||||
</Function2>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -43,15 +43,7 @@
|
|||
If FromCheckMemberPoint = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
Else
|
||||
If Seeker.IsLineMember = 0 Then
|
||||
If LuckyDrawCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
;include="ROOT/taobin_project/xml/sometime/after_collect_point.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -166,11 +158,7 @@
|
|||
If FromCheckMemberPoint = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
Else
|
||||
If LuckyDrawCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
;include="ROOT/taobin_project/xml/sometime/after_collect_point.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -189,15 +177,7 @@
|
|||
If FromCheckMemberPoint = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
Else
|
||||
If Seeker.IsLineMember = 0 Then
|
||||
If LuckyDrawCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
;include="ROOT/taobin_project/xml/sometime/after_collect_point.xml"
|
||||
EndIf
|
||||
|
||||
</EventClick>
|
||||
|
|
|
|||
|
|
@ -61,15 +61,7 @@
|
|||
If FromCheckMemberPoint = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
Else
|
||||
If Seeker.IsLineMember = 0 Then
|
||||
If LuckyDrawCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
;include="ROOT/taobin_project/xml/sometime/after_collect_point.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -165,15 +157,7 @@
|
|||
If FromCheckMemberPoint = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_check_member2.xml"
|
||||
Else
|
||||
If Seeker.IsLineMember = 0 Then
|
||||
If LuckyDrawCampaign = 1 Then
|
||||
Open "ROOT/taobin_project/xml/sometime/page_campaign_ads_lucky_draw.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
EndIf
|
||||
;include="ROOT/taobin_project/xml/sometime/after_collect_point.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
</EventClick>
|
||||
|
|
|
|||
|
|
@ -99,11 +99,7 @@
|
|||
Var Timeout = Timeout + 1
|
||||
If Timeout > 5 Then
|
||||
; goto lid straw
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
;Open "ROOT/taobin_project/xml/page_catalog.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/after_collect_point.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
|
@ -188,9 +184,7 @@
|
|||
<EventClick>
|
||||
; goto lid straw
|
||||
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/after_collect_point.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
|
|||
|
|
@ -54,6 +54,8 @@
|
|||
Var StarwState = "Enable"
|
||||
Var videoEnd = 0
|
||||
|
||||
Var TextBottomShowX = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
|
||||
|
|
@ -61,6 +63,20 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_mmr/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
Var DirImage = "ROOT/taobin_project/inter/hkg/image/complete_msc/"
|
||||
Var TextBottomShowX = 20
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
Var TextBottomShowX = 20
|
||||
EndIf
|
||||
|
||||
Var VideoPlayFile = VideoPath
|
||||
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
|
||||
Var VideoPlayFile = VideoPlayFile + "24"
|
||||
|
|
@ -257,7 +273,7 @@
|
|||
|
||||
If Timeout2 > 15 Then
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
|
||||
Else
|
||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/remove_cup.mp3"
|
||||
EndIf
|
||||
|
|
@ -277,6 +293,10 @@
|
|||
Var PlaySoundStraw = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw_without_change.m4a"
|
||||
EndIf
|
||||
|
||||
If CountryName = "United Kingdom" Then
|
||||
Var PlaySoundStraw = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw_without_change.m4a"
|
||||
EndIf
|
||||
|
||||
Play PlaySoundStraw
|
||||
Else
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_thai/drinkfinish.mp3"
|
||||
|
|
@ -399,7 +419,7 @@
|
|||
|
||||
|
||||
<Image>
|
||||
<X> 0 </X>
|
||||
<X> TextBottomShowX </X>
|
||||
<Y> 1418 </Y>
|
||||
<State> TextBottomShow </State>
|
||||
<Filename> Var( DirImage + "text_bottom.png") </Filename>
|
||||
|
|
|
|||
|
|
@ -33,6 +33,14 @@
|
|||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
Open "ROOT/taobin_project/inter/uae_dubai/xml/page_drinkfail_uae.lxml"
|
||||
EndIf
|
||||
|
||||
If CountryName = "United Kingdom" Then
|
||||
Open "ROOT/taobin_project/inter/aus/xml/page_drinkfail_gbr.lxml"
|
||||
EndIf
|
||||
|
||||
If CountryName = "Malaysia" Then
|
||||
Open "ROOT/taobin_project/xml/page_drinkfail5.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
If TelephoneNumberProblem = "" Then
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@
|
|||
Var DirImage = "ROOT/taobin_project/image/collectiing_msc/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage = "ROOT/taobin_project/inter/hkg/image/collectiing_mtc/"
|
||||
EndIf
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,16 @@
|
|||
|
||||
Var MachineErrorDetailAll = MachineErrorDetailEng
|
||||
|
||||
DEBUGVAR Seeker.CreditCard
|
||||
Var SorryUnexpectedTxt11 = DirImage + "/text11.png"
|
||||
Var SorryFullState = "Enable"
|
||||
If Seeker.CreditCard = 1 Then
|
||||
DEBUGVAR "Fail5::CreditCard"
|
||||
Var SorryUnexpectedTxt11 = DirImage + "/text11_if_credit.png"
|
||||
Var Timeout = 21
|
||||
Var SorryFullState = "Invisible"
|
||||
EndIf
|
||||
DEBUGVAR SorryUnexpectedTxt11
|
||||
|
||||
|
||||
DEBUGVAR TelephoneNumberProblem
|
||||
|
|
@ -94,20 +104,22 @@
|
|||
|
||||
|
||||
<Image>
|
||||
<X> 43 </X>
|
||||
<X> 0 </X>
|
||||
<Y> 428 </Y>
|
||||
<Filename> Var( DirImage + "/text11.png" ) </Filename>
|
||||
<Filename> SorryUnexpectedTxt11 </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 429 </X>
|
||||
<Y> 1351 </Y>
|
||||
<State> SorryFullState </State>
|
||||
<Filename> Var( DirImage + "/QR_contract.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 190 </X>
|
||||
<Y> 1598 </Y>
|
||||
<State> SorryFullState </State>
|
||||
<Filename> Var( DirImage + "/text13.png" ) </Filename>
|
||||
</Image>
|
||||
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@
|
|||
EndIf
|
||||
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/topping_mmr"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
If LanguageShow = "MSC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/topping_msc"
|
||||
EndIf
|
||||
|
||||
|
|
@ -149,7 +149,7 @@
|
|||
|
||||
If show_eng = "true" Then
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var bnStrawProblemReport = "ROOT/taobin_project/image/page_doing/bn_send_report_straw_mmr.png"
|
||||
Var bpStrawProblemReport = "ROOT/taobin_project/image/page_doing/bp_send_report_straw_mmr.png"
|
||||
EndIf
|
||||
|
|
@ -449,6 +449,10 @@
|
|||
Var PlaySoundStraw = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw_without_change.m4a"
|
||||
EndIf
|
||||
|
||||
If CountryName = "United Kingdom" Then
|
||||
Var PlaySoundStraw = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw_without_change.m4a"
|
||||
EndIf
|
||||
|
||||
Play PlaySoundStraw
|
||||
Else
|
||||
If CountryName = "Thailand" Then
|
||||
|
|
@ -479,6 +483,10 @@
|
|||
If CountryName = "HongKong" Then
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw_without_change.m4a"
|
||||
EndIf
|
||||
|
||||
If CountryName = "United Kingdom" Then
|
||||
Var PlaySoundLag = "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Straw_without_change.m4a"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Play PlaySoundLag
|
||||
|
|
|
|||
|
|
@ -216,7 +216,7 @@
|
|||
EndIf
|
||||
|
||||
If CountryName = "UnitedArabEmirates Dubai" Then
|
||||
Var brewing3ContiInter = CountryRootPath + "/xml/page_brewing3Conti.lxml"
|
||||
Var brewing3ContiInter = CountryRootPath + "/xml/page_brewing3Conti.xml"
|
||||
|
||||
Open brewing3ContiInter
|
||||
Else
|
||||
|
|
|
|||
|
|
@ -8,10 +8,36 @@
|
|||
;world-class
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If MachineStage = "remove-cup" Then
|
||||
SAVELOG "MachineStage = remove-cup"
|
||||
If HaveCup = "true" Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
||||
EndIf
|
||||
|
||||
;Open "ROOT/taobin_project/xml/page_display_ExclusiveGift.xml"
|
||||
EndIf
|
||||
|
||||
If CupChecking = "true" Then
|
||||
If HaveCup = "true" Then
|
||||
SAVELOG "Have cup"
|
||||
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
Else
|
||||
SAVELOG "DoorCupPosition not bottom"
|
||||
Open "ROOT/taobin_project/xml/page_back_to_remove_cup.xml"
|
||||
EndIf
|
||||
Else
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
Var IndoQR = 0
|
||||
|
||||
Var PaymentEnableAll = "true"
|
||||
|
|
@ -187,6 +213,7 @@
|
|||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/page_payment"
|
||||
Var PlaySoundLag = "ROOT/taobin_project/sound_thai/payment.mp3"
|
||||
Var PlaySoundCodeLang = "ROOT/sounds/Code8digit.m4a"
|
||||
|
||||
If SongkranSoundCampaign = 1 Then
|
||||
Var PlaySoundLag = SelectPayMethodSound[SoundCampaignIndex]
|
||||
|
|
@ -194,10 +221,8 @@
|
|||
|
||||
If CountryName = "HongKong" Then
|
||||
Var PlaySoundLag = "ROOT/taobin_project/sound_eng/How_would_you_like_to_pay.mp3"
|
||||
Var PlaySoundCodeLang = "ROOT/taobin_project/sound_eng/Code8digit.mp3"
|
||||
EndIf
|
||||
|
||||
|
||||
Var PlaySoundCodeLang = "ROOT/sounds/Code8digit.m4a"
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -300,6 +325,32 @@
|
|||
Var Seeker.CodeChannel = 1
|
||||
Var Seeker.CodeNumber = IDNum
|
||||
|
||||
If New_Payment = 1 Then
|
||||
Var Seeker.ORDER_ID = ""
|
||||
GenHashWithTimeStamp Seeker.ORDER_ID
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
If ModeFreeEnable = 2 Then
|
||||
|
||||
Var RemainAmountStr = "Free###size=150"
|
||||
|
||||
Var RoadShowMarketCode = ""
|
||||
Var Seeker.VendingCode = RoadShowMarketCode
|
||||
|
||||
DEBUGVAR PriceDrink
|
||||
|
||||
Var Seeker.IntVendingCampaign = PriceDrink
|
||||
Var Seeker.FreeVendingCampaign = 1
|
||||
Var Seeker.CodeChannel = 1
|
||||
Var Seeker.CodeNumber = IDNum
|
||||
|
||||
SAVELOG "ModeFreeEnable ModeFreeEnable ModeFreeEnable ModeFreeEnable ModeFreeEnable"
|
||||
If New_Payment = 1 Then
|
||||
Var Seeker.ORDER_ID = ""
|
||||
|
|
|
|||
|
|
@ -860,7 +860,7 @@
|
|||
Var LOADING_STATE = "Enable"
|
||||
Var alphaState = "Enable"
|
||||
Var PopupCancelButtonState = "Enable"
|
||||
Var RemainAmountX = PayAmount - Seeker.IntVendingCampaign
|
||||
Var RemainAmountX = RemainAmount
|
||||
CashlessPay RemainAmountX CreditCardRef
|
||||
Var CashlessPayFlag = 1
|
||||
EndIf
|
||||
|
|
|
|||
2514
xml/page_payment_cash-GBR.xml
Normal file
2514
xml/page_payment_cash-GBR.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1137,7 +1137,6 @@
|
|||
If EnablingCountDown = 0 Then
|
||||
Var Timeout = 0
|
||||
Var UserChoosePayment = "CreditCard"
|
||||
Var QRErrorState = "Enable"
|
||||
Var QR_POPUP = DirQR_popup + "/img_tap_card_5_sec.png"
|
||||
Var VendingCashless = "-"
|
||||
|
||||
|
|
@ -1178,7 +1177,6 @@
|
|||
If EnablingCountDown = 0 Then
|
||||
Var Timeout = 0
|
||||
Var UserChoosePayment = "QRCode"
|
||||
Var QRErrorState = "Enable"
|
||||
Var QR_POPUP = DirQR_popup + "/img_use_qr_code.png"
|
||||
Var VendingCashless = "-"
|
||||
Var LOADING_STATE = "Invisible"
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -67,6 +67,12 @@
|
|||
Open "ROOT/taobin_project/xml/page_payment_cash-HKG.xml"
|
||||
EndIf
|
||||
|
||||
;inter-xml-open
|
||||
If CountryName = "United Kingdom" Then
|
||||
DEBUGVAR CancelFlag
|
||||
Open "ROOT/taobin_project/xml/page_payment_cash-GBR.xml"
|
||||
EndIf
|
||||
|
||||
;inter-xml-open
|
||||
Var PreScaleCanculate = 1
|
||||
|
||||
|
|
@ -136,11 +142,15 @@
|
|||
Var PayAmount = PriceDrink
|
||||
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var AlphaPopupLoadingState = "Invisible"
|
||||
|
||||
; Below original
|
||||
; On open
|
||||
|
||||
Var CreditCardLoading = 0
|
||||
Var CreditCardLoadingTimeout = 0
|
||||
|
||||
|
||||
SAVELOG "payment case 1"
|
||||
Var cancelState = "Invisible"
|
||||
|
||||
|
||||
|
|
@ -173,6 +183,7 @@
|
|||
Var ChangeOK = 0
|
||||
Var CoinInOK = 0
|
||||
|
||||
SAVELOG "payment case 2"
|
||||
Var RemainAmountKeep = 0
|
||||
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
|
|
@ -192,11 +203,13 @@
|
|||
|
||||
Var Seeker.VendingDiscount = DiscountDrink
|
||||
|
||||
SAVELOG "payment case 3"
|
||||
|
||||
Var CancelingPopupFlag = "Invisible"
|
||||
Var SendCancelActionFlag = 0
|
||||
Var CancelingPopupCountDown = 0
|
||||
|
||||
Var PopupTimeout = 20
|
||||
Var PopupTimeout = 30
|
||||
Var PopupTimeoutEnable = "Invisible"
|
||||
|
||||
Var CashTextWarning = ""
|
||||
|
|
@ -204,7 +217,7 @@
|
|||
Var QRErrorFlag = 0
|
||||
|
||||
|
||||
SAVELOG SelectDrink
|
||||
SAVELOG "payment case 4"
|
||||
|
||||
Var QRCODE99 = ""
|
||||
|
||||
|
|
@ -232,6 +245,7 @@
|
|||
|
||||
Var ExtendData = Seeker.ExtendData
|
||||
|
||||
SAVELOG "payment case 5"
|
||||
DEBUGVAR QRCODE99KBANK
|
||||
|
||||
|
||||
|
|
@ -387,14 +401,7 @@
|
|||
|
||||
Var Seeker.PayWithQR = 0
|
||||
Var NoGotoMenupage = "false"
|
||||
;If show_eng = "true" Then
|
||||
;Var FilenameShowbuttonCashBN = "ROOT/taobin_project/image/page_payment_en/page_payment/bn_cash.png"
|
||||
;Var FilenameShowbuttonCashBP = "ROOT/taobin_project/image/page_payment_en/page_payment/bp_cash.png"
|
||||
;Else
|
||||
;Var FilenameShowbuttonCashBN = "ROOT/taobin_project/image/page_payment/bn_cash.png"
|
||||
;Var FilenameShowbuttonCashBP = "ROOT/taobin_project/image/page_payment/bp_cash.png"
|
||||
|
||||
;EndIf
|
||||
|
||||
Var X_CASH1 = 216
|
||||
Var X_CASH2 = 439
|
||||
|
|
@ -414,16 +421,6 @@
|
|||
EndIf
|
||||
|
||||
|
||||
;If RoadShow = "true" Then
|
||||
;Var X_CASH1 = 287
|
||||
;If show_eng = "true" Then
|
||||
;Var FilenameShowbuttonCashBN = "ROOT/taobin_project/image/page_payment_en/page_payment/bn_cash.png"
|
||||
;Var FilenameShowbuttonCashBP = "ROOT/taobin_project/image/page_payment_en/page_payment/bp_cash.png"
|
||||
;Else
|
||||
;Var FilenameShowbuttonCashBN = "ROOT/taobin_project/image/page_payment/bn_cash.png"
|
||||
;Var FilenameShowbuttonCashBP = "ROOT/taobin_project/image/page_payment/bp_cash.png"
|
||||
;EndIf
|
||||
;EndIf
|
||||
|
||||
If GetFreeFromError = 1 Then
|
||||
Var Seeker.FreeVendingCampaign = 1
|
||||
|
|
@ -452,6 +449,8 @@
|
|||
|
||||
Var RemainAmountStr = "Free###size=150"
|
||||
|
||||
DEBUGVAR Seeker
|
||||
SAVELOG " FreeVendingCampaign = 1 FreeVendingCampaign = 1 FreeVendingCampaign = 1 FreeVendingCampaign = 1 "
|
||||
CoinVending OFF
|
||||
If Seeker = "curr" Then
|
||||
|
||||
|
|
@ -1969,7 +1968,14 @@
|
|||
; popup will close after 30 second
|
||||
Var Timeout = 90
|
||||
Var PopupTimeoutEnable = "Invisible"
|
||||
Var cancelButtonQRPopupState = "Enable"
|
||||
If alphaState = "Enable" Then
|
||||
Var cancelButtonQRPopupState = "Enable"
|
||||
EndIf
|
||||
Var AlphaPopupLoadingState = "Invisible"
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var CreditCardLoading = 0
|
||||
|
||||
CoinVending XBILL
|
||||
Else
|
||||
Var Timeout = 0
|
||||
EndIf
|
||||
|
|
@ -2010,7 +2016,7 @@
|
|||
Var QRErrorState = "Invisible"
|
||||
Var VendingCashless = "-"
|
||||
Var ServiceCharge = 3
|
||||
Var RemainAmountX = PayAmount - Seeker.IntVendingCampaign
|
||||
Var RemainAmountX = RemainAmount
|
||||
Var RemainAmountX = RemainAmountX + ServiceCharge
|
||||
CashlessPay RemainAmountX CreditCardRef
|
||||
Var CashlessPayFlag = 1
|
||||
|
|
@ -2028,7 +2034,7 @@
|
|||
Var QR_POPUP = "/img_popup8-2.png"
|
||||
Var VendingCashless = "-"
|
||||
Var LOADING_STATE = "Enable"
|
||||
Var RemainAmountX = PayAmount - Seeker.IntVendingCampaign
|
||||
Var RemainAmountX = RemainAmount
|
||||
CashlessPay RemainAmountX CreditCardRef
|
||||
Var CashlessPayFlag = 1
|
||||
EndIf
|
||||
|
|
@ -2405,6 +2411,26 @@
|
|||
If KBankCashlessMachine = 1 Then
|
||||
If alphaState = "Enable" Then
|
||||
If ReqPayInfoFromCashOther = 2 Then
|
||||
If CreditCardLoading = 1 Then
|
||||
If CreditCardLoadingTimeout > 0 Then
|
||||
Var CreditCardLoadingTimeout = CreditCardLoadingTimeout - 1
|
||||
Else
|
||||
Var AlphaPopupLoadingState = "Invisible"
|
||||
Var LOADING_STATE = "Invisible"
|
||||
Var PopupTimeoutEnable = "Enable"
|
||||
Var PopupTimeout = 30
|
||||
Var CreditCardLoading = 0
|
||||
|
||||
If CoinAmount > 0 Then
|
||||
Change CoinAmount
|
||||
EndIf
|
||||
|
||||
If ViewBill > 0 Then
|
||||
CoinVending BILLREJECT
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If PopupTimeoutEnable = "Enable" Then
|
||||
If PopupTimeout > 0 Then
|
||||
Var PopupTimeout = PopupTimeout - 1
|
||||
|
|
@ -2568,122 +2594,122 @@
|
|||
|
||||
DEBUGVAR CoinInOK
|
||||
|
||||
If CashButtonState = "Enable" Then
|
||||
Var CoinInFlag = 1
|
||||
|
||||
If ViewBill > 0 Then
|
||||
If PayOfflineMode = 1 Then
|
||||
Var alphaState3_offline = "Enable"
|
||||
;CoinVending BILLREJECT
|
||||
Else
|
||||
|
||||
If Seeker.StoreCreditFlag = 1 Then
|
||||
CoinVending BILLSTACKALL
|
||||
Else
|
||||
|
||||
|
||||
Var RemainAmount = PayAmount - CoinAmount
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCampaign
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCredit
|
||||
|
||||
If ViewBill >= RemainAmount Then
|
||||
Var RemainAmountKeep = ViewBill - RemainAmount
|
||||
Else
|
||||
Var RemainAmountKeep = ViewBill
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Timeout
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
|
||||
|
||||
|
||||
If SELLONLINE = 1 Then
|
||||
Var alphaState3 = "Enable"
|
||||
Else
|
||||
Var alphaState3_offline = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3"
|
||||
Else
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/The_change_has_run_out.mp3"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If CoinInOK = 0 Then
|
||||
Var RemainAmount = PayAmount - CoinAmount
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCampaign
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCredit
|
||||
|
||||
Var SumCoinAmount = CoinAmount + Seeker.IntVendingCampaign
|
||||
Var SumCoinAmount = SumCoinAmount + Seeker.IntVendingCredit
|
||||
|
||||
If SumCoinAmount >= PayAmount Then
|
||||
;Var VendingQRCode = "ERROR"
|
||||
CoinVending OFF
|
||||
VendingQR OFF
|
||||
Var Canout = SumCoinAmount - PayAmount
|
||||
If Canout = 0 Then
|
||||
Var RemainAmountStr = 0
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
Var RemainAmountStr = "Change " + Canout
|
||||
Var RemainAmountStr = RemainAmountStr + "###size=90"
|
||||
Else
|
||||
Var FlagalphaState2 = 1
|
||||
Var RemainAmountStr = "ทอน " + Canout
|
||||
EndIf
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var RemainAmountStr = "ငွေပြောင်းပါ။ " + Canout
|
||||
Var RemainAmountStr = RemainAmountStr + "###size=60"
|
||||
EndIf
|
||||
If LanguageShow = "MSC" Then
|
||||
Var RemainAmountStr = "找钱 " + Canout
|
||||
Var RemainAmountStr = RemainAmountStr + "###size=60"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var CancleState = "Disable"
|
||||
Var CoinInOK = 1
|
||||
Var CoinInCounter = 0
|
||||
|
||||
Else
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Timeout
|
||||
Var Timeout = 0
|
||||
|
||||
;Var RemainAmount = 0
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
Var alphaState2 = "Enable"
|
||||
Var alphaState2t = alphaState2
|
||||
If FlagalphaState2 = 1 Then
|
||||
Var alphaState2t = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
If CreditCardLoading = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
If ViewBill > 0 Then
|
||||
CoinVending BILLREJECT
|
||||
EndIf
|
||||
If CashButtonState = "Enable" Then
|
||||
Var CoinInFlag = 1
|
||||
|
||||
Var RemainAmount = PayAmount - Seeker.IntVendingCampaign
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCredit
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
If ViewBill > 0 Then
|
||||
If PayOfflineMode = 1 Then
|
||||
Var alphaState3_offline = "Enable"
|
||||
;CoinVending BILLREJECT
|
||||
Else
|
||||
|
||||
If Seeker.StoreCreditFlag = 1 Then
|
||||
CoinVending BILLSTACKALL
|
||||
Else
|
||||
|
||||
|
||||
Var RemainAmount = PayAmount - CoinAmount
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCampaign
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCredit
|
||||
|
||||
If ViewBill >= RemainAmount Then
|
||||
Var RemainAmountKeep = ViewBill - RemainAmount
|
||||
Else
|
||||
Var RemainAmountKeep = ViewBill
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Timeout
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
|
||||
|
||||
|
||||
If SELLONLINE = 1 Then
|
||||
Var alphaState3 = "Enable"
|
||||
Else
|
||||
Var alphaState3_offline = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If show_eng = "true" Then
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_eng/The_change_has_run_out.mp3"
|
||||
Else
|
||||
PlayLong "/mnt/sdcard/coffeevending/taobin_project/sound_thai/The_change_has_run_out.mp3"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If CoinInOK = 0 Then
|
||||
Var RemainAmount = PayAmount - CoinAmount
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCampaign
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCredit
|
||||
|
||||
Var SumCoinAmount = CoinAmount + Seeker.IntVendingCampaign
|
||||
Var SumCoinAmount = SumCoinAmount + Seeker.IntVendingCredit
|
||||
|
||||
If SumCoinAmount >= PayAmount Then
|
||||
;Var VendingQRCode = "ERROR"
|
||||
CoinVending OFF
|
||||
VendingQR OFF
|
||||
Var Canout = SumCoinAmount - PayAmount
|
||||
If Canout = 0 Then
|
||||
Var RemainAmountStr = 0
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
Var RemainAmountStr = "Change " + Canout
|
||||
Var RemainAmountStr = RemainAmountStr + "###size=90"
|
||||
Else
|
||||
Var FlagalphaState2 = 1
|
||||
Var RemainAmountStr = "ทอน " + Canout
|
||||
EndIf
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var RemainAmountStr = "ငွေပြောင်းပါ။ " + Canout
|
||||
Var RemainAmountStr = RemainAmountStr + "###size=60"
|
||||
EndIf
|
||||
If LanguageShow = "MSC" Then
|
||||
Var RemainAmountStr = "找钱 " + Canout
|
||||
Var RemainAmountStr = RemainAmountStr + "###size=60"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
Var CancleState = "Disable"
|
||||
Var CoinInOK = 1
|
||||
Var CoinInCounter = 0
|
||||
|
||||
Else
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Timeout
|
||||
Var Timeout = 0
|
||||
|
||||
;Var RemainAmount = 0
|
||||
Var showRemaining = charOfBaht + RemainAmountStr
|
||||
Var alphaState2 = "Enable"
|
||||
Var alphaState2t = alphaState2
|
||||
If FlagalphaState2 = 1 Then
|
||||
Var alphaState2t = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If ViewBill > 0 Then
|
||||
CoinVending BILLREJECT
|
||||
EndIf
|
||||
|
||||
Var RemainAmount = PayAmount - Seeker.IntVendingCampaign
|
||||
Var RemainAmount = RemainAmount - Seeker.IntVendingCredit
|
||||
Var RemainAmountStr = "" + RemainAmount
|
||||
EndIf
|
||||
Refresh
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
Refresh
|
||||
</EventCoin>
|
||||
<EventVDCancle>
|
||||
If CoinInFlag = 1 Then
|
||||
|
|
@ -3068,14 +3094,19 @@
|
|||
If KBankCashlessMachine = 1 Then
|
||||
Var QR_POPUP = "/img_popup8_with_service_charge.png"
|
||||
Var cancelButtonQRPopupState = "Invisible"
|
||||
Var PopupTimeoutEnable = "Enable"
|
||||
Var PopupTimeout = 20
|
||||
Var AlphaPopupLoadingState = "Enable"
|
||||
Var LOADING_STATE = "Enable"
|
||||
Var CreditCardLoading = 1
|
||||
Var CreditCardLoadingTimeout = 3
|
||||
VendingQR OFF
|
||||
CoinVending OFF
|
||||
Coin CARD
|
||||
Else
|
||||
Var QR_POPUP = "/img_popup8.png"
|
||||
Var cancelButtonQRPopupState = "Enable"
|
||||
Coin CARD
|
||||
EndIf
|
||||
Var alphaState = "Enable"
|
||||
Coin CARD
|
||||
Var ReqPayInfoFromCashOther = 2
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -3294,11 +3325,14 @@ eval(
|
|||
Var CancelingPopupFlag = "Enable"
|
||||
Var CancelingPopupCountDown = 0
|
||||
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If ServiceCharge > 0 Then
|
||||
Var ServiceCharge = 0
|
||||
EndIf
|
||||
EndIf
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If ReqPayInfoFromCashOther = 2 Then
|
||||
If ServiceCharge > 0 Then
|
||||
Var ServiceCharge = 0
|
||||
EndIf
|
||||
CoinVending XBILL
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
EndIf
|
||||
|
|
@ -3640,6 +3674,13 @@ eval(
|
|||
;<Filename> Var( DirImage + "/loading.gif" )</Filename>
|
||||
;</GIF>
|
||||
|
||||
<Image>
|
||||
<X> 249 </X>
|
||||
<Y> 748 </Y>
|
||||
<State> AlphaPopupLoadingState </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/alpha_popup.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<GIF>
|
||||
<X> 493 </X>
|
||||
<Y> 968 </Y>
|
||||
|
|
|
|||
|
|
@ -125,7 +125,11 @@
|
|||
If LanguageShow = "MSC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_msc/"
|
||||
EndIf
|
||||
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
EndIf
|
||||
|
||||
Var txtDrinkOKState = "Invisible"
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
|
||||
|
|
@ -394,6 +398,9 @@
|
|||
If LanguageShow = "MSC" Then
|
||||
Var MachineErrorDetailAll = " 请拿杯子。"
|
||||
EndIf
|
||||
If LanguageShow = "MTC" Then
|
||||
Var MachineErrorDetailAll = " 請拿杯子。"
|
||||
EndIf
|
||||
Else
|
||||
If CupChecking = "true" Then
|
||||
If show_eng = "true" Then
|
||||
|
|
@ -408,7 +415,9 @@
|
|||
If LanguageShow = "MSC" Then
|
||||
Var MachineErrorDetailAll = " 请拿杯子。"
|
||||
EndIf
|
||||
EndIf
|
||||
If LanguageShow = "MTC" Then
|
||||
Var MachineErrorDetailAll = " 請拿杯子。"
|
||||
EndIf
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
Var MachineErrorDetailAll = " Press button for take a cup."
|
||||
|
|
@ -422,6 +431,9 @@
|
|||
If LanguageShow = "MSC" Then
|
||||
Var MachineErrorDetailAll = " 按按钮取杯子。"
|
||||
EndIf
|
||||
If LanguageShow = "MTC" Then
|
||||
Var MachineErrorDetailAll = " 按按鈕取杯子。"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
|
|
@ -46,6 +46,8 @@
|
|||
DEBUGVAR JXMLVersionInt
|
||||
|
||||
Var CHECK_EventOpen_Double = 0
|
||||
|
||||
Var Seeker.orderFromNewTopping = 0
|
||||
|
||||
If RecipeTag3 = "CoffeePlay" Then
|
||||
Open "ROOT/taobin_project/xml/page_topping_select8.xml"
|
||||
|
|
@ -73,6 +75,22 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
SetLanguage "ENG"
|
||||
Else
|
||||
SetLanguage "THAI"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If InternationalShow = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_topping_select8.xml"
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ToppingNewUINewSystem
|
||||
If ToppingNewUINewSystem = 1 Then
|
||||
Var ProductMilkCat = "12-03-03-0105,12-03-02-0005,12-03-03-0005,12-03-01-0001,12-03-02-0001,12-03-03-0001,12-03-01-0004,12-03-02-0004,12-03-03-0004,12-03-02-0006,12-03-03-0006,12-03-01-0002,12-03-02-0002,12-03-03-0002,12-03-02-0065,12-03-03-0065,12-03-02-0067,12-03-03-0067,12-01-03-0078,12-21-03-0078,12-02-03-0057,12-02-03-0058,12-01-03-0010,12-03-02-0010,12-03-03-0010,12-03-03-0011,12-03-03-0009,12-03-01-0019,12-03-02-0019,12-03-03-0019,12-03-03-0032,12-03-03-0026,12-03-02-0058,12-03-03-0058,12-03-02-0059,12-03-03-0059,12-03-03-0027,12-03-03-0094,12-03-03-0095,12-03-03-0100,12-03-03-0101,12-03-03-0102,12-03-03-0103,12-03-03-0104"
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue