Merge apple

This commit is contained in:
wanlop run 2025-05-22 11:48:32 +07:00
parent 4f9bc018eb
commit 7b3c793961
65 changed files with 32394 additions and 28639 deletions

View file

@ -165,10 +165,6 @@ EndIf
Var ToppingNewUINewSystem = 0
If BoxID = 201193 Then
Var BoostEnergyPro = 1
EndIf
If BoxID = 105005 Then
Var NewFlowPaymentCode = 1
Var New_Payment = 1
@ -188,21 +184,6 @@ If BoxID = 201714 Then
Var Catalog20BahtEnable = 1
EndIf
If BoxID = 201729 Then
Var KingdomThaiTeaPro = 1
Var SongkranSoundCampaign = 1
Var NewMatchaPremiumX3 = 1
EndIf
If BoxID = 173149 Then
Var MomCocoaPro = 0
Var MomCocoaProDiscountEnable = 0
Var RobinsonBeautyPro = 0
Var JemilaToppingFlag = 1
EndIf
If BoxID = 123456 Then
Var ToppingNewUINewSystem = 0
Var BoostEnergyPro = 1

View file

@ -1752,7 +1752,7 @@
EndIf
Var CountDownFailErrorHappendClear = 8
</EventOpen>
<EventActionOk>
@ -1935,6 +1935,17 @@ PRICE "Reset" "-"
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
EndIf
DEBUGVAR FailErrorHappend
If FailErrorHappend = 1 Then
If CountDownFailErrorHappendClear > 0 Then
Var CountDownFailErrorHappendClear = CountDownFailErrorHappendClear - 1
If CountDownFailErrorHappendClear = 1 Then
__CMD "error-code-clear-all" "-" "-" "-"
EndIf
EndIf
EndIf
If IgnoreNetCore = "true" Then
Else

View file

@ -43,21 +43,21 @@
;banner_shifting
</Script>
;dummy_layout.inc
; menu_new_list 15
; menu_new_list 13
; ==================> Len = 16
; - 12-05-02-0133 12-05-03-0133
; - 12-05-02-0133 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,$Sum12050201331205030133) </State>
<State> Flag( 12-05-02-0133.Button,$Sum1205020133) </State>
<Button>
<State> $Sum12050201331205030133 </State>
<State> $Sum1205020133 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_extra_catalog.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_extra_catalog.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_extra_catalog.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<OverlayImage> xmlpro( 12-05-02-0133, "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>
@ -69,14 +69,14 @@
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0133.Price
Var PriceD3 = $12-05-03-0133.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0133"
Var PD_CODE3 = "12-05-03-0133"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0133.Button
Var PD_STAGE_3 = $12-05-03-0133.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
@ -98,7 +98,7 @@
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0133"
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $##-##-##-####.NameE
@ -111,10 +111,10 @@
Var menu_name_thai_cold = $12-05-02-0133.Name
Var menu_desc_thai_cold = $12-05-02-0133.description
Var menu_name_eng_blender = $12-05-03-0133.NameE
Var menu_desc_eng_blender = $12-05-03-0133.descriptionE
Var menu_name_thai_blender = $12-05-03-0133.Name
Var menu_desc_thai_blender = $12-05-03-0133.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -214,7 +214,7 @@
<Y> 264 </Y>
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
<State> $12-05-03-0133.Button </State>
<State> "Invisible" </State>
</Image>
<Text>
<X> 180 </X>
@ -224,263 +224,12 @@
<Font> KanitRegularTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $12-05-03-0133.Button </State>
<Value> StringFmt( $12-05-03-0133.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 $Sum12050201331205030133 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0133.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> $Sum12050201331205030133 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 16
; - 12-05-02-0106 12-05-03-0106
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0106.Button,12-05-03-0106.Button,$Sum12050201061205030106) </State>
<Button>
<State> $Sum12050201061205030106 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Yuzu.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Yuzu.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Yuzu.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0106, "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 = "Pepsi Yuzu"
Var NameDrinkTH = "เป๊ปซี่ยูซุ"
Var DrinkDescriptionTH = "เป๊ปซี่ ยูซุ โซดา"
Var DrinkDescription = "Pepsi Yuzu Soda"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Pepsi_Yuzu.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0106.Price
Var PriceD3 = $12-05-03-0106.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0106"
Var PD_CODE3 = "12-05-03-0106"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0106.Button
Var PD_STAGE_3 = $12-05-03-0106.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0106, "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-05-02-0106"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0106"
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 = $12-05-02-0106.NameE
Var menu_desc_eng_cold = $12-05-02-0106.descriptionE
Var menu_name_thai_cold = $12-05-02-0106.Name
Var menu_desc_thai_cold = $12-05-02-0106.description
Var menu_name_eng_blender = $12-05-03-0106.NameE
Var menu_desc_eng_blender = $12-05-03-0106.descriptionE
Var menu_name_thai_blender = $12-05-03-0106.Name
Var menu_desc_thai_blender = $12-05-03-0106.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> "Pepsi Yuzu" </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> "Pepsi Yuzu Soda" </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> $12-05-02-0106.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-05-02-0106.Button </State>
<Value> StringFmt( $12-05-02-0106.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-05-03-0106.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-05-03-0106.Button </State>
<Value> StringFmt( $12-05-03-0106.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 81 </X>
<Y> 264 </Y>
<State>
eval(
If ICE_PROCESS_STATUS = 2 Then
@ -501,10 +250,10 @@
<Y> 117 </Y>
<State>
eval(
If $Sum12050201061205030106 = "Disable" Then
If $Sum1205020133 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0106.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0106.TAG tag3_is_disable
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -540,7 +289,7 @@
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum12050201061205030106 </State>
<State> $Sum1205020133 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
@ -1054,19 +803,19 @@ Ice" </Value>
</Block>
; - - -
; ==================> Len = 16
; - - -
; - 12-05-02-0137 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( $Sum) </State>
<State> Flag( 12-05-02-0137.Button,$Sum1205020137) </State>
<Button>
<State> $Sum </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//-" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//-" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//-" </FilenameDisable>
<OverlayImage> xmlpro( -, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<State> $Sum1205020137 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_energy_drink_plum_soda.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_energy_drink_plum_soda.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_energy_drink_plum_soda.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-02-0137, "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>
@ -1074,18 +823,18 @@ Ice" </Value>
Var NameDrinkTH = "เต่าทรงพลัง บ๊วยโซดา"
Var DrinkDescriptionTH = "เครื่องดื่มเต่าทรงพลัง บ๊วย และโซดา (มีคาเฟอีน)"
Var DrinkDescription = "Medicine Drink, Ume , Soda"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_energy_drink_plum_soda.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $-.Price
Var PriceD2 = $12-05-02-0137.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0137"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0137.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( -, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0137, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
@ -1102,7 +851,7 @@ Ice" </Value>
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "-"
Topping "Load" "12-05-02-0137"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
@ -1115,10 +864,10 @@ Ice" </Value>
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_cold = $12-05-02-0137.NameE
Var menu_desc_eng_cold = $12-05-02-0137.descriptionE
Var menu_name_thai_cold = $12-05-02-0137.Name
Var menu_desc_thai_cold = $12-05-02-0137.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
@ -1209,7 +958,7 @@ Soda" </Value>
<Y> 264 </Y>
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
<State> "Invisible" </State>
<State> $12-05-02-0137.Button </State>
</Image>
<Text>
<X> 115 </X>
@ -1219,8 +968,8 @@ Soda" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> "Invisible" </State>
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-05-02-0137.Button </State>
<Value> StringFmt( $12-05-02-0137.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
</Text>
<Image>
<X> 146 </X>
@ -1263,9 +1012,9 @@ Soda" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum = "Disable" Then
If $Sum1205020137 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-02-0137.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
@ -1302,7 +1051,7 @@ Soda" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum </State>
<State> $Sum1205020137 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
@ -2827,257 +2576,6 @@ Soda" </Value>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 21
; - 12-05-02-0033 -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-02-0033.Button,$Sum1205020033) </State>
<Button>
<State> $Sum1205020033 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Lychee_soda.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Lychee_soda.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Lychee_soda.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-02-0033, "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 = "Lychee Soda"
Var NameDrinkTH = "น้ำลิ้นจี่โซดา"
Var DrinkDescriptionTH = "ลิ้นจี่ โซดา "
Var DrinkDescription = "Lychee, Soda & Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Lychee_soda.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0033.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0033"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0033.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0033, "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-05-02-0033"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "-"
Else
Topping "Load" "-"
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 = $12-05-02-0033.NameE
Var menu_desc_eng_cold = $12-05-02-0033.descriptionE
Var menu_name_thai_cold = $12-05-02-0033.Name
Var menu_desc_thai_cold = $12-05-02-0033.description
Var menu_name_eng_blender = $##-##-##-####.NameE
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
Var menu_name_thai_blender = $##-##-##-####.Name
Var menu_desc_thai_blender = $##-##-##-####.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> "Lychee Soda" </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> "Lychee, Soda & Ice" </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> $12-05-02-0033.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-05-02-0033.Button </State>
<Value> StringFmt( $12-05-02-0033.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> "Invisible" </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> "Invisible" </State>
<Value> StringFmt( $-.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 $Sum1205020033 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0033.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.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> $Sum1205020033 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 21

View file

@ -550,7 +550,7 @@
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 15
; ==================> Len = 16
; 12-01-01-0088 12-01-02-0088 -
<Block>
<MarginLeft> 33 </MarginLeft>
@ -1057,7 +1057,7 @@
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; ==================> Len = 15
; ==================> Len = 16
; - 12-01-02-0091 -
<Block>
<MarginLeft> 33 </MarginLeft>

View file

@ -126,7 +126,7 @@
If Catalog20BahtEnable = 1 Then
Var Menu61Selected = "Invisible"
Var Menu63Selected = "Enable"

View file

@ -126,7 +126,7 @@
If Catalog20BahtEnable = 1 Then
Var Menu61Selected = "Invisible"
Var Menu63Selected = "Enable"

View file

@ -167,7 +167,7 @@
Var buttonRemoveCup = "Invisible"
Var thankyouContiVersion = "TCV9 "
Var thankyouContiVersion = "TC12 "
SAVELOG "Thank you conti version " + thankyouContiVersion
SAVELOG "Support NextSmoothie and fix bug next"
SAVELOG "DirImage detele. use DirImage2"
@ -182,6 +182,13 @@
Var CupErrorCodeForNextOrder = 0
Var CountDownForShowMenuNextOrderToBrew = 4
Var CountDownFailErrorHappendClear = 30
Var ThankyouContiString = ""
DEBUGVAR FailErrorHappend
; setvarint FailErrorHappend 1
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
@ -189,14 +196,30 @@
DEBUGVAR MachineStage
DEBUGVAR HaveCup
DEBUGVAR CHECKCUP
DEBUGVAR CupChecking
DEBUGVAR MaybeHaveCup
DEBUGVAR DoorCupPosition
DEBUGVAR CountUpDoorCupOpen
DEBUGVAR Timeout
DEBUGVAR Timeout2
DEBUGVAR FailErrorHappend
DEBUGVAR CountDownFailErrorHappendClear
If FailErrorHappend = 1 Then
If CountDownFailErrorHappendClear > 0 Then
If CountDownFailErrorHappendClear = 29 Then
__CMD "CLI" "clear-ice-for-next-drink" "-" "-"
EndIf
If CountDownFailErrorHappendClear = 25 Then
__CMD "error-code-clear-all" "-" "-" "-"
EndIf
Var CountDownFailErrorHappendClear = CountDownFailErrorHappendClear - 1
EndIf
Var ThankyouContiString = "" + CountDownFailErrorHappendClear
EndIf
Var Timeout2 = Timeout2 + 1
@ -366,6 +389,10 @@
Var ShowCountDownBrewing = CountDownBrewing
Var MachineState_Result = 0
If FailErrorHappend = 1 Then
EndIf
If MenuReadyForCup = "YES" Then
@ -594,6 +621,18 @@
</Text>
<Text>
<X> 0 </X>
<Y> 1888 </Y>
<State> "Enable" </State>
<Font> KanitTTF </Font>
<Size> 22 </Size>
<Width> 1078 </Width>
<Align> end </Align>
<Color> 0xFF0000 </Color>
<Value> ThankyouContiString</Value>
</Text>
<EventUnitTest1>
Var Timeout2 = 0

View file

@ -698,11 +698,11 @@
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
Open "ROOT/taobin_project/xml/page_payment.xml"
EndIf
Else
Var MenuReason = "Door-Cup!"
EndIf
EndIf
; seeker
EndIf

View file

@ -14,6 +14,7 @@
If CountryName = "UnitedArabEmirates Dubai" Then
TRY topview2_script
Else
;inter-lang
If CountryName = "Malaysia" Then
TRY topview2_script
EndIf
@ -67,7 +68,7 @@
Var langFileNameIcon = lang_icon_file_name[LanguageShowByIndex]
Var langfn = "ROOT/taobin_project/image/lang/" + langFileNameIcon
DEBUGVAR langfn
Var DirLanguageImage = "ROOT/taobin_project/image/lang/"
@ -75,7 +76,6 @@
Var ButtonLanguageListXPositionIcon = ButtonLanguageListXPosition + 27
Var ButtonLanguageListYPositionIcon = ButtonLanguageListYPosition + 14
Var ButtonLanguageListWidth = 70
l 86
Var ButtonLanguageListXPositionIconForFlag = ButtonLanguageListXPositionIcon - 10
@ -155,23 +155,29 @@
If PowderScheduleTimeOut = 0 Then
Var PowderScheduleTimeOut = 1
Var powder_sch_ev = "ROOT/taobin_project/inter/tha/" + "/hardware/powder_schedule_v2.ev"
EndIf
Var powder_sch_ev = "ROOT/taobin_project/inter/tha/" + "/hardware/powder_schedule_v2.ev"
TRY powder_sch_ev
EndIf
EndIf
DEBUGVAR exhaust_fan_schedule
TRY exhaust_fan_schedule
;include="ROOT/taobin_project/inc/language_toggle_mode.inc"
DEBUGVAR langfn
DEBUGVAR LanguageButtonEnable
DEBUGVAR LanguageShow
Var CheckDisableTimeout = 0
TRY "ROOT/taobin_project/xml/features/alert_sms/check_disable.ev"
</EventOpen>
<Timeout> 1000 </Timeout>
@ -226,9 +232,7 @@
Var ENABLE_MALAY = "Invisible"
Var ENABLE_MTC = "Invisible"
If EnableMultiInstance = "true" Then
TRY "ROOT/taobin_project/inter/tha/xml/multi/control_and_lang_swith.ev"
EndIf
TRY "ROOT/taobin_project/inter/tha/xml/multi/control_and_lang_swith.ev"
EndIf
If CountryName = "HongKong" Then
Var ENABLE_UAE_DUBAI = "Invisible"
@ -386,8 +390,6 @@
DEBUGVAR langfn
LanguageControl "ChangeNextLang" ""
;include="ROOT/taobin_project/inc/language_toggle_mode.inc"
If EnableMultiInstance = "true" Then
Var CountDownRefreshAllGroup = 1
EndIf