Merge branch 'masterpiece' of ssh://forthrd.ddns.net:2222/1TBHDD/ikong/taobin_project into masterpiece
This commit is contained in:
commit
6467e5f893
61 changed files with 2325 additions and 273 deletions
|
|
@ -3226,19 +3226,19 @@ Volcano" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0133 -
|
||||
; - 12-05-02-0133 12-05-03-0133
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/05/01T00:00:00",$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/05/01T00:00:00",$Sum12050201331205030133) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </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-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-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>
|
||||
|
|
@ -3250,14 +3250,14 @@ Volcano" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0133.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0133.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0133"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0133"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0133.Button
|
||||
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")
|
||||
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")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3279,7 +3279,7 @@ Volcano" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0133"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -3292,10 +3292,10 @@ Volcano" </Value>
|
|||
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 = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||||
Var menu_desc_thai_blender = $##-##-##-####.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
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -3395,7 +3395,7 @@ Volcano" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -3405,8 +3405,8 @@ Volcano" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -3431,10 +3431,10 @@ Volcano" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020133 = "Disable" Then
|
||||
If $Sum12050201331205030133 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -3470,7 +3470,7 @@ Volcano" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
@ -5009,7 +5009,7 @@ Volcano" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0094.Button,$Sum1203030094) </State>
|
||||
<State> Flag( 12-03-03-0094.Button,DateTimeEnd="2025/05/19T00:00:00",$Sum1203030094) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
|
|
@ -5253,6 +5253,262 @@ Volcano" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2025/05/19T00:00:00",$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
|
||||
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
|
||||
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0083.Price
|
||||
Var PriceD2 = $12-02-02-0083.Price
|
||||
Var PriceD3 = $12-02-03-0083.Price
|
||||
Var PD_CODE1 = "12-02-01-0083"
|
||||
Var PD_CODE2 = "12-02-02-0083"
|
||||
Var PD_CODE3 = "12-02-03-0083"
|
||||
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-02-02-0083"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0083"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0083"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0083.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> "Southern Fusion
|
||||
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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-02-01-0083.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-02-01-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0083.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-02-02-0083.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-02-02-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0083.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-02-03-0083.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-02-03-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008312020200831202030083 = "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 $Sum120201008312020200831202030083 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 21
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 61
|
||||
; menu_new_list 62
|
||||
; ==================> Len = 16
|
||||
; - 12-02-02-0099 -
|
||||
<Block>
|
||||
|
|
@ -3091,19 +3091,19 @@ Volcano" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0133 -
|
||||
; - 12-05-02-0133 12-05-03-0133
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum12050201331205030133) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </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-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-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>
|
||||
|
|
@ -3115,14 +3115,14 @@ Volcano" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0133.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0133.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0133"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0133"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0133.Button
|
||||
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")
|
||||
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")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3144,7 +3144,7 @@ Volcano" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0133"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -3157,10 +3157,10 @@ Volcano" </Value>
|
|||
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 = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||||
Var menu_desc_thai_blender = $##-##-##-####.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
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -3260,7 +3260,7 @@ Volcano" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -3270,8 +3270,8 @@ Volcano" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -3296,10 +3296,10 @@ Volcano" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020133 = "Disable" Then
|
||||
If $Sum12050201331205030133 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -3335,7 +3335,7 @@ Volcano" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
@ -4874,7 +4874,7 @@ Volcano" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0094.Button,Disable=Invisible,$Sum1203030094) </State>
|
||||
<State> Flag( 12-03-03-0094.Button,DateTimeEnd="2025/05/19T00:00:00",Disable=Invisible,$Sum1203030094) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
|
|
@ -5118,6 +5118,262 @@ Volcano" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2025/05/19T00:00:00",Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
|
||||
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
|
||||
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0083.Price
|
||||
Var PriceD2 = $12-02-02-0083.Price
|
||||
Var PriceD3 = $12-02-03-0083.Price
|
||||
Var PD_CODE1 = "12-02-01-0083"
|
||||
Var PD_CODE2 = "12-02-02-0083"
|
||||
Var PD_CODE3 = "12-02-03-0083"
|
||||
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-02-02-0083"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0083"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0083"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0083.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var OpenFromInstMenuTab = 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> "Southern Fusion
|
||||
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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-02-01-0083.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-02-01-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0083.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-02-02-0083.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-02-02-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0083.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-02-03-0083.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-02-03-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008312020200831202030083 = "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 $Sum120201008312020200831202030083 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 21
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 61
|
||||
; menu_new_list 62
|
||||
; ==================> Len = 16
|
||||
; - 12-02-02-0099 -
|
||||
<Block>
|
||||
|
|
@ -3091,19 +3091,19 @@ Volcano" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0133 -
|
||||
; - 12-05-02-0133 12-05-03-0133
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum12050201331205030133) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </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-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-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>
|
||||
|
|
@ -3115,14 +3115,14 @@ Volcano" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0133.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0133.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0133"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0133"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0133.Button
|
||||
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")
|
||||
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")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3144,7 +3144,7 @@ Volcano" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0133"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -3157,10 +3157,10 @@ Volcano" </Value>
|
|||
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 = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||||
Var menu_desc_thai_blender = $##-##-##-####.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
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -3260,7 +3260,7 @@ Volcano" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -3270,8 +3270,8 @@ Volcano" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -3296,10 +3296,10 @@ Volcano" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020133 = "Disable" Then
|
||||
If $Sum12050201331205030133 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -3335,7 +3335,7 @@ Volcano" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
@ -4874,7 +4874,7 @@ Volcano" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0094.Button,Disable=Invisible,$Sum1203030094) </State>
|
||||
<State> Flag( 12-03-03-0094.Button,DateTimeEnd="2025/05/19T00:00:00",Disable=Invisible,$Sum1203030094) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
|
|
@ -5118,6 +5118,262 @@ Volcano" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2025/05/19T00:00:00",Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
|
||||
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
|
||||
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0083.Price
|
||||
Var PriceD2 = $12-02-02-0083.Price
|
||||
Var PriceD3 = $12-02-03-0083.Price
|
||||
Var PD_CODE1 = "12-02-01-0083"
|
||||
Var PD_CODE2 = "12-02-02-0083"
|
||||
Var PD_CODE3 = "12-02-03-0083"
|
||||
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-02-02-0083"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0083"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0083"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0083.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var OpenFromInstMenuTab = 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> "Southern Fusion
|
||||
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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-02-01-0083.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-02-01-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0083.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-02-02-0083.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-02-02-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0083.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-02-03-0083.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-02-03-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008312020200831202030083 = "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 $Sum120201008312020200831202030083 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 21
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@
|
|||
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 61
|
||||
; menu_new_list 62
|
||||
; ==================> Len = 16
|
||||
; - 12-02-02-0099 -
|
||||
<Block>
|
||||
|
|
@ -3091,19 +3091,19 @@ Volcano" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0133 -
|
||||
; - 12-05-02-0133 12-05-03-0133
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/05/01T00:00:00",Disable=Invisible,$Sum12050201331205030133) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </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-02-0133, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-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>
|
||||
|
|
@ -3115,14 +3115,14 @@ Volcano" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0133.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0133.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0133"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0133"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0133.Button
|
||||
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")
|
||||
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")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3144,7 +3144,7 @@ Volcano" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0133"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -3157,10 +3157,10 @@ Volcano" </Value>
|
|||
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 = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||||
Var menu_desc_thai_blender = $##-##-##-####.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
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -3260,7 +3260,7 @@ Volcano" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -3270,8 +3270,8 @@ Volcano" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0133.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0133.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -3296,10 +3296,10 @@ Volcano" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020133 = "Disable" Then
|
||||
If $Sum12050201331205030133 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0133.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0133.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -3335,7 +3335,7 @@ Volcano" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020133 </State>
|
||||
<State> $Sum12050201331205030133 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
@ -4874,7 +4874,7 @@ Volcano" </Value>
|
|||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0094.Button,Disable=Invisible,$Sum1203030094) </State>
|
||||
<State> Flag( 12-03-03-0094.Button,DateTimeEnd="2025/05/19T00:00:00",Disable=Invisible,$Sum1203030094) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030094 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
|
|
@ -5118,6 +5118,262 @@ Volcano" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-02-01-0083 12-02-02-0083 12-02-03-0083
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0083.Button,12-02-02-0083.Button,12-02-03-0083.Button,DateTimeStart="2025/05/19T00:00:00",Disable=Invisible,$Sum120201008312020200831202030083) </State>
|
||||
<Button>
|
||||
<State> $Sum120201008312020200831202030083 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_southern_fusion_tea.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_southern_fusion_tea.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_southern_fusion_tea.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-02-01-0083, "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 = "Southern Fusion Tea"
|
||||
Var NameDrinkTH = "ชาผสานปักษ์ใต้"
|
||||
Var DrinkDescriptionTH = "มัทฉะ ชาไทย นม และคาราเมล"
|
||||
Var DrinkDescription = "Matcha , Thai Tea, Milk Caramel"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_southern_fusion_tea.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0083.Price
|
||||
Var PriceD2 = $12-02-02-0083.Price
|
||||
Var PriceD3 = $12-02-03-0083.Price
|
||||
Var PD_CODE1 = "12-02-01-0083"
|
||||
Var PD_CODE2 = "12-02-02-0083"
|
||||
Var PD_CODE3 = "12-02-03-0083"
|
||||
Var PD_STAGE_1 = $12-02-01-0083.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0083.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0083.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-02-01-0083, "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-02-02-0083"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0083"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0083"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0083.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0083.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0083.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0083.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0083.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0083.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0083.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0083.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0083.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0083.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0083.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0083.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
DEBUGVAR PD_STAGE_3
|
||||
Var SelectDrinkType = 0
|
||||
|
||||
Var OpenFromInstMenuTab = 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> "Southern Fusion
|
||||
Tea" </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> "Matcha , Thai Tea, Milk Caramel" </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-02-01-0083.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-02-01-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0083.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-02-02-0083.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-02-02-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0083.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-02-03-0083.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-02-03-0083.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0083.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201008312020200831202030083 = "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 $Sum120201008312020200831202030083 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0083.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0083.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0083.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> $Sum120201008312020200831202030083 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 21
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ DEBUGVAR CocktailShow
|
|||
DEBUGVAR OpenFromPageBoard
|
||||
|
||||
DEBUGVAR MatchaEveryDayPro
|
||||
DEBUGVAR SchoolOvaltine
|
||||
DEBUGVAR SchoolOvaltinePro
|
||||
DEBUGVAR OreoVolcanoPro
|
||||
|
||||
Var PromotionState1 = "Invisible"
|
||||
|
|
@ -34,7 +34,7 @@ Else
|
|||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_matcha_every_day.xml"
|
||||
EndIf
|
||||
|
||||
If SchoolOvaltine = 1 Then
|
||||
If SchoolOvaltinePro = 1 Then
|
||||
Var FileRecommendToOpen = "ROOT/taobin_project/xml/event/promotion_school_ovaltine.xml"
|
||||
Var PromotionState1 = "Enable"
|
||||
|
||||
|
|
|
|||
|
|
@ -55,9 +55,6 @@ Var ThickTeaByBrewerBanner = 0
|
|||
Var StrawberrySeriesPro = 0
|
||||
Var StrawberrySeriesMenu = 0
|
||||
|
||||
; Ovaltine school, 1 - 28 Feb
|
||||
Var OvaltineSchoolPro = 0
|
||||
|
||||
; Red string of fate, 10 - 23 Feb
|
||||
Var RedStringOfFatePro = 0
|
||||
|
||||
|
|
@ -276,7 +273,6 @@ DEBUGVAR HaveIngredientOvaltine
|
|||
If HaveIngredientOvaltine = "true" Then
|
||||
|
||||
Else
|
||||
Var OvaltineSchoolPro = 0
|
||||
Var SchoolOvaltinePro = 0
|
||||
Var RedStringOfFatePro = 0
|
||||
EndIf
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -56,11 +56,10 @@
|
|||
|
||||
Var TextBottomShowX = 0
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
|
|
|
|||
|
|
@ -9,11 +9,22 @@
|
|||
|
||||
Var buttonRemoveCup = "Enable"
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
|
||||
Else
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
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/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
EndIf
|
||||
|
||||
Var Timeout = 0
|
||||
|
|
|
|||
|
|
@ -110,24 +110,22 @@
|
|||
DEBUGVAR MachineStage
|
||||
DEBUGVAR NextOrderStatus
|
||||
|
||||
; Show text and button for remove CUP.
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_en/"
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete/"
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_en/"
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_mmr/"
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage = "ROOT/taobin_project/image/complete_mmr/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_msc/"
|
||||
If LanguageShow = "MSC" Then
|
||||
Var DirImage = "ROOT/taobin_project/inter/hkg/image/complete_msc/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
EndIf
|
||||
|
||||
Var txtDrinkOKState = "Invisible"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue