merge page board
This commit is contained in:
commit
1516ff2616
426 changed files with 94322 additions and 115895 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"
|
||||
|
||||
|
|
@ -56,23 +56,27 @@ Else
|
|||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR OpenFromMulti
|
||||
If CatalogLayoutV3 = 1 Then
|
||||
|
||||
|
||||
SAVELOG " CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3 CatalogLayoutV3"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/multi/v3/event/script_open_promotion_v3.ev"
|
||||
EndIf
|
||||
|
||||
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
||||
DEBUGVAR BigButtonEnable
|
||||
|
||||
OpenInst 2 FileRecommendToOpen
|
||||
Var OpenFromPageBoard = 0
|
||||
|
||||
Else
|
||||
|
||||
|
||||
Open FileRecommendToOpen
|
||||
If OpenFromPageBoard = 1 Then
|
||||
|
||||
DEBUGVAR BigButtonEnable
|
||||
|
||||
OpenInst 2 FileRecommendToOpen
|
||||
Var OpenFromPageBoard = 0
|
||||
|
||||
Else
|
||||
|
||||
Open FileRecommendToOpen
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Var OpenFromPageBoard = 0
|
||||
|
|
@ -81,3 +85,4 @@ If OpenFromMulti = 1 Then
|
|||
TabMenuVisibleInst 99
|
||||
EndIf
|
||||
Var OpenFromMulti = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -56,9 +56,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
|
||||
|
||||
|
|
@ -277,7 +274,6 @@ DEBUGVAR HaveIngredientOvaltine
|
|||
If HaveIngredientOvaltine = "true" Then
|
||||
|
||||
Else
|
||||
Var OvaltineSchoolPro = 0
|
||||
Var SchoolOvaltinePro = 0
|
||||
Var RedStringOfFatePro = 0
|
||||
EndIf
|
||||
|
|
@ -323,10 +319,3 @@ If BoxID = 176757 Then
|
|||
EndIf
|
||||
|
||||
DEBUGVAR SystemDateDayOfWeek
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/kbank_cashless_machine" KBankCashlessMachineContent
|
||||
DEBUGVAR KBankCashlessMachineContent
|
||||
If KBankCashlessMachineContent = 1 Then
|
||||
Var KBankCashlessMachine = 1
|
||||
EndIf
|
||||
DEBUGVAR KBankCashlessMachine
|
||||
|
|
@ -6,6 +6,8 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payext_setup.ev"
|
||||
|
||||
Var SendNotiPaySuccess = 2
|
||||
|
|
@ -286,6 +288,15 @@
|
|||
Var EnableTopupCreditBetweenBrew = "Enable"
|
||||
EndIf
|
||||
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var SelectMenuBetweenBrewEnable1 = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If GetFreeFromError = 1 Then
|
||||
Var SelectMenuBetweenBrewEnable1 = "Invisible"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
|
|
@ -424,7 +435,7 @@
|
|||
DEBUGVAR GameEnableFromTrickerEv
|
||||
DEBUGVAR GameOverrideDisable
|
||||
DEBUGVAR game_mode_enable
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR Seeker
|
||||
|
|
@ -616,11 +627,11 @@
|
|||
Var IgnoreLidStrawAll = 0
|
||||
Var bg_lidProblem_ST = "Invisible"
|
||||
Var GetLidButtonState = "Invisible"
|
||||
|
||||
|
||||
Var bg_strawProblem_ST = "Invisible"
|
||||
Var EnableGetMoreStrawFileName = "Invisible"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
__CMD "SetErrorCodeHandleByXML" 1028 "-" "-"
|
||||
|
|
@ -668,7 +679,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -721,7 +732,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -883,7 +894,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -928,7 +939,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -967,7 +978,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -1138,7 +1149,6 @@
|
|||
|
||||
Else
|
||||
Var SelectMenuBetweenBrewEnable1Blink = "Invisible"
|
||||
|
||||
EndIf
|
||||
|
||||
DEBUGVAR CountUpBrewing
|
||||
|
|
@ -1410,6 +1420,14 @@
|
|||
EndIf
|
||||
|
||||
|
||||
If SelectMenuBetweenBrewEnable1 = "Enable" Then
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
Else
|
||||
Var SelectMenuBetweenBrewEnable1 = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
TimerReset
|
||||
|
|
|
|||
|
|
@ -55,6 +55,14 @@
|
|||
Var EnableSelectMenuBetweenBrew = "Enable"
|
||||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var EnableSelectMenuBetweenBrew = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If GetFreeFromError = 1 Then
|
||||
Var EnableSelectMenuBetweenBrew = "Invisible"
|
||||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
|
|
@ -186,7 +194,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -243,7 +251,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -342,7 +350,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -388,7 +396,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -427,7 +435,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -584,6 +592,16 @@
|
|||
Var EnableTopupCreditBetweenBrew = "Invisible"
|
||||
EndIf
|
||||
|
||||
If EnableSelectMenuBetweenBrew = "Enable" Then
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var EnableSelectMenuBetweenBrew = "Invisible"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If EnableSelectMenuBetweenBrew = "Enable" Then
|
||||
If EnableSelectMenuBetweenBrewBlink = "Enable" Then
|
||||
Var EnableSelectMenuBetweenBrewBlink = "Invisible"
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -245,7 +245,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -322,7 +322,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -397,7 +397,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
@ -438,7 +438,7 @@
|
|||
Var PayDetail2 = ""
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var ServiceRefund = 0
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceRefund ServiceCharge Donate
|
||||
|
||||
Var waitAckPay = 2
|
||||
|
|
|
|||
|
|
@ -11,7 +11,17 @@
|
|||
Var routeManTest = CountryRootPath + "/xml/route_man_test.lxml"
|
||||
OpenInst 0 routeManTest
|
||||
Else
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
If EnableHelperShow = 1 Then
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If showMultiAds = "true" Then
|
||||
|
|
|
|||
|
|
@ -10,6 +10,8 @@
|
|||
; tab_menu hide
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
DEBUGVAR LangProcess
|
||||
|
||||
Var ToggleAfterEventProfileOff = 0
|
||||
|
|
@ -32,6 +34,7 @@
|
|||
Var credit_card_enable = ""
|
||||
READ_FILE "/mnt/sdcard/credit_card_enable" credit_card_enable
|
||||
|
||||
Var BaseOnPageBoard = 1
|
||||
|
||||
Var eng_enable = "true"
|
||||
Var thai_enable = "true"
|
||||
|
|
@ -42,10 +45,12 @@
|
|||
Var Seeker = "next"
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
Var Seeker = "curr"
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
DEBUGVAR web_ref
|
||||
DEBUGVAR web_payment
|
||||
|
|
@ -134,6 +139,8 @@
|
|||
Var ShowButtonClick_WTC = "Invisible"
|
||||
Var ShowButtonClickFull_WTC = "Invisible"
|
||||
|
||||
Var BtnLangToggleIndex = "Invisible"
|
||||
|
||||
;SAVELOG DisplayType
|
||||
|
||||
If DisplayType = "2" Then
|
||||
|
|
@ -592,10 +599,24 @@
|
|||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_network_down_pos_machine.xml"
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_pos_machine_network_down.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
DEBUGVAR POS_SELL_MODE
|
||||
Var POSSellCountdown = 5
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var BackgroundColor = "0x2C2F4E"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_midnight_close.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
DEBUGVAR ButtontoTopupMenu
|
||||
STRCONTAIN "taobin_notopup" XMLProfile taobin_notopup
|
||||
STRCONTAIN "taobin_notopping" XMLProfile taobin_notopping
|
||||
|
|
@ -1120,7 +1141,7 @@
|
|||
EnableLanguage "MTC"
|
||||
EnableLanguage "MSC"
|
||||
EnableLanguage "ENG"
|
||||
|
||||
|
||||
Var LanguageShow = "MTC"
|
||||
SetLanguage "MTC"
|
||||
LanguageControl "UpdateList" "-"
|
||||
|
|
@ -1136,8 +1157,14 @@
|
|||
|
||||
Var TextPriceMenuSize = 12
|
||||
Var TextPriceMenuY = 266
|
||||
Var TextPriceMenuColdx = 113
|
||||
Var TextPriceMenuBlendX = 180
|
||||
Var TextPriceMenuHotX = 48
|
||||
|
||||
Var TextHotMenuX = 19
|
||||
Var TextColdMenuX = 84
|
||||
Var TextBlendMenuX = 148
|
||||
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ButtontoTopupMenu = "Invisible"
|
||||
|
||||
|
|
@ -1318,22 +1345,67 @@
|
|||
|
||||
If EnableMultiInstanceFromBoxID = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
|
||||
|
||||
|
||||
; enable helper
|
||||
Var EnableHelperShow = 0
|
||||
;Var FromDrinkOk = 1
|
||||
If EnableHelperShow = 1 Then
|
||||
; enable btn_change_langs
|
||||
Var EnableBtnLangWithHelper = 1
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
If FromDrinkOk = 1 Then
|
||||
Var TimeOutShowHelpCenter = 15
|
||||
|
||||
Var FromSmoothieProcess = "Invisible"
|
||||
Var FromPaymentCash = "Invisible"
|
||||
Var FromBrewingProcess = "Enable"
|
||||
|
||||
RootLayoutVisible 14 "show"
|
||||
If CurrHelpCenter = 1 Then
|
||||
;do not thing
|
||||
Else
|
||||
OpenInst 14 "ROOT/taobin_project/inter/tha/xml/topview_helper.lxml"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 14 "hide"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
|
||||
Var EnableMultiInstance = "true"
|
||||
Var MyanmarLangEnable = "true"
|
||||
Var InternationalShow = 0
|
||||
|
||||
Var CatalogLayoutV3 = 1
|
||||
|
||||
|
||||
|
||||
If BoxID = 123456 Then
|
||||
Var SpiralOnline = "true"
|
||||
|
||||
|
||||
Var InternationalShow = 0
|
||||
EndIf
|
||||
|
||||
|
||||
If BoxID = 210699 Then
|
||||
Var SpiralOnline = "true"
|
||||
Var SpiralModeFrozenFruit = 1
|
||||
Var InternationalShow = 1
|
||||
EndIf
|
||||
|
||||
If BoxID = 105005 Then
|
||||
Var SpiralOnline = "true"
|
||||
Var SpiralModeFrozenFruit = 1
|
||||
Var InternationalShow = 1
|
||||
EndIf
|
||||
|
||||
; test payment
|
||||
Var New_Payment = 1
|
||||
|
|
@ -1464,7 +1536,17 @@
|
|||
;DEBUGVAR LivenessControlVersion
|
||||
;DEBUGVAR Not#CameraSettingStatus
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
If EnableMultiInstanceFromBoxID = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
If EnableHelperShow = 1 Then
|
||||
RootLayoutVisible 3 "show"
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
Else
|
||||
RootLayoutVisible 3 "hide"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
OpenInst 0 "/ROOT/xml/offline.xml"
|
||||
|
|
@ -1656,7 +1738,7 @@
|
|||
|
||||
Machine NewPaymentOpenBrewingXMLEnable
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
|
||||
If EnablePepsiFullscreen = 1 Then
|
||||
DEBUGVAR EnablePepsiFullscreen
|
||||
|
|
@ -1840,6 +1922,7 @@ PRICE "Reset" "-"
|
|||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
;include="ROOT/taobin_project/inter/tha/xml/multi/tab_menu_hide.lxml"
|
||||
|
||||
If CNTDOWN_PROTECT_SCREEN_BLANK > 0 Then
|
||||
|
|
@ -2059,45 +2142,57 @@ PRICE "Reset" "-"
|
|||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
Else
|
||||
__CMD "CLI" "arm_id=3,arm_position=posi_espresso_ii" "-" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR InternationalEnable
|
||||
DEBUGVAR CountryName
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else
|
||||
; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
|
||||
If CurrHelpCenter = 1 Then
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
If BeerTrapEnable = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
If CupOnArm = "true" Then
|
||||
|
||||
Else
|
||||
__CMD "CLI" "arm_id=3,arm_position=posi_espresso_ii" "-" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
Var BaseOnPageBoard = 0
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else
|
||||
; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If BeerTrapEnable = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -2110,11 +2205,11 @@ PRICE "Reset" "-"
|
|||
Var CountUpReloadAll = CountUpReloadAll + 1
|
||||
|
||||
DEBUGVAR CountUpReloadAll
|
||||
; setvarint CountUpReloadAll 49
|
||||
; setvarint CountUpReloadAll 200
|
||||
; Original value is 40
|
||||
If EnableMultiInstance = "true" Then
|
||||
|
||||
If CountUpReloadAll > 300 Then
|
||||
If CountUpReloadAll > 100 Then
|
||||
Var NeedReboot = "false"
|
||||
|
||||
Var StartUpExt = "-"
|
||||
|
|
@ -2123,21 +2218,9 @@ PRICE "Reset" "-"
|
|||
ReloadAll
|
||||
EndIf
|
||||
|
||||
If CountUpReloadAll = 50 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 150 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 200 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
If CountUpReloadAll = 250 Then
|
||||
Var SlientRefreshIndex = 2
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If CountUpReloadAll > 100 Then
|
||||
If CountUpReloadAll > 50 Then
|
||||
Var NeedReboot = "false"
|
||||
|
||||
Var StartUpExt = "-"
|
||||
|
|
@ -2282,11 +2365,57 @@ PRICE "Reset" "-"
|
|||
Open "ROOT/taobin_project/xml/page_sleepmode.xml"
|
||||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POSSellCountdown > 0 Then
|
||||
Var POSSellCountdown = POSSellCountdown - 1
|
||||
Else
|
||||
DEBUGVAR POS_SELL_MODE
|
||||
Var POSSellCountdown = 5
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
Var BackgroundColor = "0x2C2F4E"
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/sold_cup_count.xml"
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_midnight_close.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
; for count helper show
|
||||
If EnableHelperShow = 1 Then
|
||||
If FromDrinkOk = 1 Then
|
||||
If TimeOutShowHelpCenter > 0 Then
|
||||
Var TimeOutShowHelpCenter = TimeOutShowHelpCenter - 1
|
||||
EndIf
|
||||
|
||||
If TimeOutShowHelpCenter = 0 Then
|
||||
Var FromDrinkOk = 0
|
||||
If CurrHelpCenter = 1 Then
|
||||
;do not thing
|
||||
Else
|
||||
OpenInst 14 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_instance_empty.lxml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Refresh
|
||||
|
||||
TimerReset
|
||||
</EventTimeout>
|
||||
|
||||
<EventLanguageOnChange>
|
||||
|
||||
Var LanguageButtonEnable = "Enable"
|
||||
Var ButtonLanguageCurrentXPosition = 990
|
||||
Var ButtonLanguageCurrentYPosition = 608
|
||||
Var ButtonLanguageListXPosition = 970
|
||||
Var ButtonLanguageListYPosition = 590
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
||||
RefreshAll
|
||||
</EventLanguageOnChange>
|
||||
|
||||
<EventEnd>
|
||||
SAVELOG "EVENT END"
|
||||
|
||||
|
|
@ -2358,6 +2487,8 @@ PRICE "Reset" "-"
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
;OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
|
|
@ -2405,6 +2536,7 @@ PRICE "Reset" "-"
|
|||
<EventClick>
|
||||
|
||||
Var NextPage = "-"
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
|
||||
|
|
@ -2464,6 +2596,7 @@ PRICE "Reset" "-"
|
|||
SAVELOG "click ShowButtonClickFull"
|
||||
|
||||
Var NextPage = "-"
|
||||
Var BaseOnPageBoard = 0
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert.xml"
|
||||
If SpiralOnline = "true" Then
|
||||
If InternationalEnable = 1 Then
|
||||
|
|
@ -2546,7 +2679,7 @@ PRICE "Reset" "-"
|
|||
<EventClick>
|
||||
|
||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
|
||||
SAVELOG " NEXT PAGE NEXT PAGE NEXT PAGE "
|
||||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_advert2.xml"
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
|
@ -2560,32 +2693,37 @@ PRICE "Reset" "-"
|
|||
|
||||
Var OpenFromPageBoard = 1
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else ; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
If CurrHelpCenter = 1 Then
|
||||
OpenInst 0 "ROOT/taobin_project/xml/page_board.xml"
|
||||
Else
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
SAVELOG " Thailand Thailand Thailand Thailand Pooon Pooon Pooon Pooon Pooon"
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
Else ; show language icon
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
RootLayoutVisible 3 "show"
|
||||
|
||||
Var OpenFileXML = CountryRootPath + "xml/event/script_common_for_open_promotion_xml.ev"
|
||||
TRY OpenFileXML
|
||||
EndIf
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
|
||||
If CocktailShow = "true" Then
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_cocktail.xml"
|
||||
Else
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/script_common_for_open_promotion_xml.ev"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
EndIf
|
||||
|
||||
Machine DoorClose
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
Var waitAckPay = 0
|
||||
Var ChangeFlag = 0
|
||||
|
||||
|
|
|
|||
|
|
@ -182,6 +182,7 @@
|
|||
Var LidStateX = "Enable"
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
Var bg_strawlid = DirImage2 + "/bg_strawlidSmall.png"
|
||||
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,14 @@
|
|||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
RebootWithCause "BoxID was zero 3"
|
||||
EndIf
|
||||
|
||||
|
||||
If SetSpiralOnline = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
|
@ -47,6 +55,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,11 @@
|
|||
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
If BoxID = 0 Then
|
||||
RebootWithCause "BoxID was zero 2"
|
||||
EndIf
|
||||
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog.lxml"
|
||||
EndIf
|
||||
|
|
@ -29,6 +34,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
@ -219,12 +225,6 @@
|
|||
Var menu_desc_thai_blender = ""
|
||||
|
||||
|
||||
|
||||
|
||||
If BoxID = 0 Then
|
||||
RebootWithCause "BoxID was zero"
|
||||
EndIf
|
||||
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/event/tricker.ev"
|
||||
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -43,21 +43,21 @@
|
|||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 14
|
||||
; menu_new_list 15
|
||||
; ==================> 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,$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,$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>
|
||||
|
|
@ -69,14 +69,14 @@
|
|||
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
|
||||
|
|
@ -98,7 +98,7 @@
|
|||
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
|
||||
|
|
@ -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 = $##-##-##-####.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
|
||||
|
|
@ -214,7 +214,7 @@
|
|||
<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>
|
||||
|
|
@ -224,8 +224,8 @@
|
|||
<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>
|
||||
|
|
@ -250,10 +250,10 @@
|
|||
<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"
|
||||
|
|
@ -289,7 +289,7 @@
|
|||
<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>
|
||||
|
|
@ -547,19 +547,19 @@
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0106 -
|
||||
; - 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,$Sum1205020106) </State>
|
||||
<State> Flag( 12-05-02-0106.Button,12-05-03-0106.Button,$Sum12050201061205030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020106 </State>
|
||||
<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-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<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>
|
||||
|
|
@ -571,14 +571,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0106.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0106.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0106"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
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 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
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
|
||||
|
|
@ -600,7 +600,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0106"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -613,10 +613,10 @@
|
|||
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 = $##-##-##-####.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-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
|
||||
|
|
@ -716,7 +716,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -726,8 +726,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0106.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -752,10 +752,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020106 = "Disable" Then
|
||||
If $Sum12050201061205030106 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0106.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0106.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -791,7 +791,7 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
@ -1802,6 +1802,259 @@ Ice" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - -
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( $Sum) </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>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Tao Power Drink Ume Soda"
|
||||
Var NameDrinkTH = "เต่าทรงพลังบ๊วยโซดา"
|
||||
Var DrinkDescriptionTH = "เครื่องดื่มเต่าทรงพลัง บ๊วย และโซดา (มีคาเฟอีน)"
|
||||
Var DrinkDescription = "Medicine Drink, Ume , Soda"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( -, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $##-##-##-####.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> "Tao Power Drink Ume 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> "Medicine Drink, Ume ,
|
||||
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> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "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 $Sum = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.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> $Sum </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
|
|
|
|||
|
|
@ -15873,39 +15873,39 @@ Iced Espresso" </Value>
|
|||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 21
|
||||
; 12-01-01-0006 12-01-02-0003 12-01-03-0003
|
||||
; ==================> Len = 20
|
||||
; 12-01-02-0003 12-01-03-0003 bn_hot_mocha.png
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0006.Button,12-01-02-0003.Button,12-01-03-0003.Button,$Sum120101000612010200031201030003) </State>
|
||||
<State> Flag( 12-01-02-0003.Button,12-01-03-0003.Button,bn_hot_mocha.png.Button,$Sum12010200031201030003bn_hot_mocha.png) </State>
|
||||
<Button>
|
||||
<State> $Sum120101000612010200031201030003 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_mocha.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_mocha.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_mocha.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-01-01-0006, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<State> $Sum12010200031201030003bn_hot_mocha.png </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//12-21-01-0006" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//12-21-01-0006" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//12-21-01-0006" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-01-02-0003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_-.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Mocha"
|
||||
Var NameDrinkTH = "มอคค่า"
|
||||
Var DrinkDescriptionTH = "กาแฟ นม โกโก้ และ น้ำตาล"
|
||||
Var DrinkDescription = "Espresso, Cocoa, Milk, Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_mocha.png"
|
||||
Var NameDrink = "กาแฟ นม โกโก้ และ น้ำตาล"
|
||||
Var NameDrinkTH = "Mocha"
|
||||
Var DrinkDescriptionTH = "Espresso, Cocoa, Milk, Sugar"
|
||||
Var DrinkDescription = "12-01-01-0006"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "12-21-01-0006"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0006.Price
|
||||
Var PriceD2 = $12-01-02-0003.Price
|
||||
Var PriceD3 = $12-01-03-0003.Price
|
||||
Var PD_CODE1 = "12-01-01-0006"
|
||||
Var PD_CODE2 = "12-01-02-0003"
|
||||
Var PD_CODE3 = "12-01-03-0003"
|
||||
Var PD_STAGE_1 = $12-01-01-0006.Button
|
||||
Var PD_STAGE_2 = $12-01-02-0003.Button
|
||||
Var PD_STAGE_3 = $12-01-03-0003.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0006, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PriceD1 = $12-01-02-0003.Price
|
||||
Var PriceD2 = $12-01-03-0003.Price
|
||||
Var PriceD3 = $bn_hot_mocha.png.Price
|
||||
Var PD_CODE1 = "12-01-02-0003"
|
||||
Var PD_CODE2 = "12-01-03-0003"
|
||||
Var PD_CODE3 = "bn_hot_mocha.png"
|
||||
Var PD_STAGE_1 = $12-01-02-0003.Button
|
||||
Var PD_STAGE_2 = $12-01-03-0003.Button
|
||||
Var PD_STAGE_3 = $bn_hot_mocha.png.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_-.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -15922,28 +15922,28 @@ Iced Espresso" </Value>
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-01-02-0003"
|
||||
Topping "Load" "12-01-03-0003"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-01-01-0006"
|
||||
Topping "Load" "12-01-02-0003"
|
||||
Else
|
||||
Topping "Load" "12-01-03-0003"
|
||||
Topping "Load" "bn_hot_mocha.png"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-01-01-0006.NameE
|
||||
Var menu_desc_eng_hot = $12-01-01-0006.descriptionE
|
||||
Var menu_name_thai_hot = $12-01-01-0006.Name
|
||||
Var menu_desc_thai_hot = $12-01-01-0006.description
|
||||
Var menu_name_eng_hot = $12-01-02-0003.NameE
|
||||
Var menu_desc_eng_hot = $12-01-02-0003.descriptionE
|
||||
Var menu_name_thai_hot = $12-01-02-0003.Name
|
||||
Var menu_desc_thai_hot = $12-01-02-0003.description
|
||||
|
||||
Var menu_name_eng_cold = $12-01-02-0003.NameE
|
||||
Var menu_desc_eng_cold = $12-01-02-0003.descriptionE
|
||||
Var menu_name_thai_cold = $12-01-02-0003.Name
|
||||
Var menu_desc_thai_cold = $12-01-02-0003.description
|
||||
Var menu_name_eng_cold = $12-01-03-0003.NameE
|
||||
Var menu_desc_eng_cold = $12-01-03-0003.descriptionE
|
||||
Var menu_name_thai_cold = $12-01-03-0003.Name
|
||||
Var menu_desc_thai_cold = $12-01-03-0003.description
|
||||
|
||||
Var menu_name_eng_blender = $12-01-03-0003.NameE
|
||||
Var menu_desc_eng_blender = $12-01-03-0003.descriptionE
|
||||
Var menu_name_thai_blender = $12-01-03-0003.Name
|
||||
Var menu_desc_thai_blender = $12-01-03-0003.description
|
||||
Var menu_name_eng_blender = $bn_hot_mocha.png.NameE
|
||||
Var menu_desc_eng_blender = $bn_hot_mocha.png.descriptionE
|
||||
Var menu_name_thai_blender = $bn_hot_mocha.png.Name
|
||||
Var menu_desc_thai_blender = $bn_hot_mocha.png.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -15964,7 +15964,7 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "มอคค่า" </Value>
|
||||
<Value> "Mocha" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -15974,7 +15974,7 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟ นม โกโก้ และ น้ำตาล" </Value>
|
||||
<Value> "Espresso, Cocoa, Milk, Sugar" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -15985,7 +15985,7 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Mocha" </Value>
|
||||
<Value> "กาแฟ นม โกโก้ และ น้ำตาล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -15995,7 +15995,7 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Espresso, Cocoa, Milk, Sugar" </Value>
|
||||
<Value> "12-01-01-0006" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -16005,7 +16005,7 @@ Iced Espresso" </Value>
|
|||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-01-01-0006.Button </State>
|
||||
<State> $12-01-02-0003.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
|
|
@ -16017,15 +16017,15 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-01-01-0006.Button </State>
|
||||
<Value> StringFmt( $12-01-01-0006.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-01-02-0003.Button </State>
|
||||
<Value> StringFmt( $12-01-02-0003.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-01-02-0003.Button </State>
|
||||
<State> $12-01-03-0003.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
|
|
@ -16035,15 +16035,15 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-01-02-0003.Button </State>
|
||||
<Value> StringFmt( $12-01-02-0003.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-01-03-0003.Button </State>
|
||||
<Value> StringFmt( $12-01-03-0003.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-01-03-0003.Button </State>
|
||||
<State> $bn_hot_mocha.png.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -16053,8 +16053,8 @@ Iced Espresso" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-01-03-0003.Button </State>
|
||||
<Value> StringFmt( $12-01-03-0003.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $bn_hot_mocha.png.Button </State>
|
||||
<Value> StringFmt( $bn_hot_mocha.png.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -16063,7 +16063,7 @@ Iced Espresso" </Value>
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120101000612010200031201030003 = "Disable" Then
|
||||
If $Sum12010200031201030003bn_hot_mocha.png = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -16083,10 +16083,10 @@ Iced Espresso" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120101000612010200031201030003 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-01-01-0006.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-01-02-0003.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-01-03-0003.TAG tag3_is_disable
|
||||
If $Sum12010200031201030003bn_hot_mocha.png = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-01-02-0003.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-01-03-0003.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $bn_hot_mocha.png.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -16122,43 +16122,43 @@ Iced Espresso" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120101000612010200031201030003 </State>
|
||||
<State> $Sum12010200031201030003bn_hot_mocha.png </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; 12-21-01-0006 12-21-02-0003 12-21-03-0003
|
||||
; 12-21-02-0003 12-21-03-0003 posi1
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0006.Button,12-21-02-0003.Button,12-21-03-0003.Button,$Sum122101000612210200031221030003) </State>
|
||||
<State> Flag( 12-21-02-0003.Button,12-21-03-0003.Button,posi1.Button,$Sum12210200031221030003posi1) </State>
|
||||
<Button>
|
||||
<State> $Sum122101000612210200031221030003 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_mocha.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_mocha.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_mocha.png" </FilenameDisable>
|
||||
<State> $Sum12210200031221030003posi1 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//12-21-01-0006" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//12-21-01-0006" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//12-21-01-0006" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<OverlayImage> xmlpro( 12-21-01-0006, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-21-02-0003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_-.png") </OverlayImage>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Mocha"
|
||||
Var NameDrinkTH = "มอคค่า"
|
||||
Var DrinkDescriptionTH = "กาแฟ นม โกโก้ และ น้ำตาล"
|
||||
Var DrinkDescription = "Espresso, Cocoa, Milk, Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_mocha.png"
|
||||
Var NameDrink = "กาแฟ นม โกโก้ และ น้ำตาล"
|
||||
Var NameDrinkTH = "Mocha"
|
||||
Var DrinkDescriptionTH = "Espresso, Cocoa, Milk, Sugar"
|
||||
Var DrinkDescription = "12-01-01-0006"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "12-21-01-0006"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-21-01-0006.Price
|
||||
Var PriceD2 = $12-21-02-0003.Price
|
||||
Var PriceD3 = $12-21-03-0003.Price
|
||||
Var PD_CODE1 = "12-21-01-0006"
|
||||
Var PD_CODE2 = "12-21-02-0003"
|
||||
Var PD_CODE3 = "12-21-03-0003"
|
||||
Var PD_STAGE_1 = $12-21-01-0006.Button
|
||||
Var PD_STAGE_2 = $12-21-02-0003.Button
|
||||
Var PD_STAGE_3 = $12-21-03-0003.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0006, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PriceD1 = $12-21-02-0003.Price
|
||||
Var PriceD2 = $12-21-03-0003.Price
|
||||
Var PriceD3 = $posi1.Price
|
||||
Var PD_CODE1 = "12-21-02-0003"
|
||||
Var PD_CODE2 = "12-21-03-0003"
|
||||
Var PD_CODE3 = "posi1"
|
||||
Var PD_STAGE_1 = $12-21-02-0003.Button
|
||||
Var PD_STAGE_2 = $12-21-03-0003.Button
|
||||
Var PD_STAGE_3 = $posi1.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0003, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_-.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -16175,28 +16175,28 @@ Iced Espresso" </Value>
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-21-02-0003"
|
||||
Topping "Load" "12-21-03-0003"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-21-01-0006"
|
||||
Topping "Load" "12-21-02-0003"
|
||||
Else
|
||||
Topping "Load" "12-21-03-0003"
|
||||
Topping "Load" "posi1"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-21-01-0006.NameE
|
||||
Var menu_desc_eng_hot = $12-21-01-0006.descriptionE
|
||||
Var menu_name_thai_hot = $12-21-01-0006.Name
|
||||
Var menu_desc_thai_hot = $12-21-01-0006.description
|
||||
Var menu_name_eng_hot = $12-21-02-0003.NameE
|
||||
Var menu_desc_eng_hot = $12-21-02-0003.descriptionE
|
||||
Var menu_name_thai_hot = $12-21-02-0003.Name
|
||||
Var menu_desc_thai_hot = $12-21-02-0003.description
|
||||
|
||||
Var menu_name_eng_cold = $12-21-02-0003.NameE
|
||||
Var menu_desc_eng_cold = $12-21-02-0003.descriptionE
|
||||
Var menu_name_thai_cold = $12-21-02-0003.Name
|
||||
Var menu_desc_thai_cold = $12-21-02-0003.description
|
||||
Var menu_name_eng_cold = $12-21-03-0003.NameE
|
||||
Var menu_desc_eng_cold = $12-21-03-0003.descriptionE
|
||||
Var menu_name_thai_cold = $12-21-03-0003.Name
|
||||
Var menu_desc_thai_cold = $12-21-03-0003.description
|
||||
|
||||
Var menu_name_eng_blender = $12-21-03-0003.NameE
|
||||
Var menu_desc_eng_blender = $12-21-03-0003.descriptionE
|
||||
Var menu_name_thai_blender = $12-21-03-0003.Name
|
||||
Var menu_desc_thai_blender = $12-21-03-0003.description
|
||||
Var menu_name_eng_blender = $posi1.NameE
|
||||
Var menu_desc_eng_blender = $posi1.descriptionE
|
||||
Var menu_name_thai_blender = $posi1.Name
|
||||
Var menu_desc_thai_blender = $posi1.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -16217,7 +16217,7 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "มอคค่า" </Value>
|
||||
<Value> "Mocha" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -16227,7 +16227,7 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟ นม โกโก้ และ น้ำตาล" </Value>
|
||||
<Value> "Espresso, Cocoa, Milk, Sugar" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -16238,7 +16238,7 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Mocha" </Value>
|
||||
<Value> "กาแฟ นม โกโก้ และ น้ำตาล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -16248,7 +16248,7 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Espresso, Cocoa, Milk, Sugar" </Value>
|
||||
<Value> "12-01-01-0006" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -16258,7 +16258,7 @@ Iced Espresso" </Value>
|
|||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-21-01-0006.Button </State>
|
||||
<State> $12-21-02-0003.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
|
|
@ -16270,36 +16270,18 @@ Iced Espresso" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-21-01-0006.Button </State>
|
||||
<Value> StringFmt( $12-21-01-0006.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-21-02-0003.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-21-02-0003.Button </State>
|
||||
<Value> StringFmt( $12-21-02-0003.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-21-03-0003.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 183 </X>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
|
|
@ -16310,13 +16292,31 @@ Iced Espresso" </Value>
|
|||
<Value> StringFmt( $12-21-03-0003.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> $posi1.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 183 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $posi1.Button </State>
|
||||
<Value> StringFmt( $posi1.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum122101000612210200031221030003 = "Disable" Then
|
||||
If $Sum12210200031221030003posi1 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -16336,10 +16336,10 @@ Iced Espresso" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum122101000612210200031221030003 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-21-01-0006.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-21-02-0003.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-21-03-0003.TAG tag3_is_disable
|
||||
If $Sum12210200031221030003posi1 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-21-02-0003.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-21-03-0003.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $posi1.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -16375,7 +16375,7 @@ Iced Espresso" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum122101000612210200031221030003 </State>
|
||||
<State> $Sum12210200031221030003posi1 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
@ -20981,39 +20981,39 @@ Milk, Sugar" </Value>
|
|||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; ==================> Len = 21
|
||||
; 12-01-01-0017 12-01-02-0017 -
|
||||
; ==================> Len = 20
|
||||
; 12-01-02-0017 - bn_hot_lychee_espresso.png
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-01-01-0017.Button,12-01-02-0017.Button,$Sum12010100171201020017) </State>
|
||||
<State> Flag( 12-01-02-0017.Button,bn_hot_lychee_espresso.png.Button,$Sum1201020017bn_hot_lychee_espresso.png) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100171201020017 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_lychee_espresso.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_lychee_espresso.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_lychee_espresso.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-01-01-0017, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<State> $Sum1201020017bn_hot_lychee_espresso.png </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//12-21-01-0017" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//12-21-01-0017" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//12-21-01-0017" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-01-02-0017, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_-.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Lycheecano"
|
||||
Var NameDrinkTH = "ลิ้นจี่กาโน่"
|
||||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ ลิ้นจี่"
|
||||
Var DrinkDescription = "Espresso, Lychee, Sugar, Water"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_lychee_espresso.png"
|
||||
Var NameDrink = "กาแฟ น้ำ และ ลิ้นจี่"
|
||||
Var NameDrinkTH = "Lycheecano"
|
||||
Var DrinkDescriptionTH = "Espresso, Lychee, Sugar, Water"
|
||||
Var DrinkDescription = "12-01-01-0017"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "12-21-01-0017"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0017.Price
|
||||
Var PriceD2 = $12-01-02-0017.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "12-01-01-0017"
|
||||
Var PD_CODE2 = "12-01-02-0017"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = $12-01-01-0017.Button
|
||||
Var PD_STAGE_2 = $12-01-02-0017.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-01-0017, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PriceD1 = $12-01-02-0017.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $bn_hot_lychee_espresso.png.Price
|
||||
Var PD_CODE1 = "12-01-02-0017"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "bn_hot_lychee_espresso.png"
|
||||
Var PD_STAGE_1 = $12-01-02-0017.Button
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $bn_hot_lychee_espresso.png.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-01-02-0017, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_-.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -21030,28 +21030,28 @@ Milk, Sugar" </Value>
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-01-02-0017"
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-01-01-0017"
|
||||
Topping "Load" "12-01-02-0017"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "bn_hot_lychee_espresso.png"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-01-01-0017.NameE
|
||||
Var menu_desc_eng_hot = $12-01-01-0017.descriptionE
|
||||
Var menu_name_thai_hot = $12-01-01-0017.Name
|
||||
Var menu_desc_thai_hot = $12-01-01-0017.description
|
||||
Var menu_name_eng_hot = $12-01-02-0017.NameE
|
||||
Var menu_desc_eng_hot = $12-01-02-0017.descriptionE
|
||||
Var menu_name_thai_hot = $12-01-02-0017.Name
|
||||
Var menu_desc_thai_hot = $12-01-02-0017.description
|
||||
|
||||
Var menu_name_eng_cold = $12-01-02-0017.NameE
|
||||
Var menu_desc_eng_cold = $12-01-02-0017.descriptionE
|
||||
Var menu_name_thai_cold = $12-01-02-0017.Name
|
||||
Var menu_desc_thai_cold = $12-01-02-0017.description
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||||
Var menu_name_eng_blender = $bn_hot_lychee_espresso.png.NameE
|
||||
Var menu_desc_eng_blender = $bn_hot_lychee_espresso.png.descriptionE
|
||||
Var menu_name_thai_blender = $bn_hot_lychee_espresso.png.Name
|
||||
Var menu_desc_thai_blender = $bn_hot_lychee_espresso.png.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -21072,7 +21072,7 @@ Milk, Sugar" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ลิ้นจี่กาโน่" </Value>
|
||||
<Value> "Lycheecano" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -21082,7 +21082,8 @@ Milk, Sugar" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟ น้ำ และ ลิ้นจี่" </Value>
|
||||
<Value> "Espresso, Lychee,
|
||||
Sugar, Water" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -21093,7 +21094,7 @@ Milk, Sugar" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Lycheecano" </Value>
|
||||
<Value> "กาแฟ น้ำ และ ลิ้นจี่" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -21103,8 +21104,7 @@ Milk, Sugar" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Espresso, Lychee,
|
||||
Sugar, Water" </Value>
|
||||
<Value> "12-01-01-0017" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -21114,7 +21114,7 @@ Sugar, Water" </Value>
|
|||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-01-01-0017.Button </State>
|
||||
<State> $12-01-02-0017.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
|
|
@ -21126,15 +21126,15 @@ Sugar, Water" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-01-01-0017.Button </State>
|
||||
<Value> StringFmt( $12-01-01-0017.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-01-02-0017.Button </State>
|
||||
<Value> StringFmt( $12-01-02-0017.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-01-02-0017.Button </State>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
|
|
@ -21144,15 +21144,15 @@ Sugar, Water" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-01-02-0017.Button </State>
|
||||
<Value> StringFmt( $12-01-02-0017.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $bn_hot_lychee_espresso.png.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -21162,8 +21162,8 @@ Sugar, Water" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $bn_hot_lychee_espresso.png.Button </State>
|
||||
<Value> StringFmt( $bn_hot_lychee_espresso.png.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -21172,7 +21172,7 @@ Sugar, Water" </Value>
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum12010100171201020017 = "Disable" Then
|
||||
If $Sum1201020017bn_hot_lychee_espresso.png = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -21192,10 +21192,10 @@ Sugar, Water" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12010100171201020017 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-01-01-0017.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-01-02-0017.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
If $Sum1201020017bn_hot_lychee_espresso.png = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-01-02-0017.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $bn_hot_lychee_espresso.png.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -21231,43 +21231,43 @@ Sugar, Water" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12010100171201020017 </State>
|
||||
<State> $Sum1201020017bn_hot_lychee_espresso.png </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; 12-21-01-0017 12-21-02-0017 -
|
||||
; 12-21-02-0017 - posi1
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-21-01-0017.Button,12-21-02-0017.Button,$Sum12210100171221020017) </State>
|
||||
<State> Flag( 12-21-02-0017.Button,posi1.Button,$Sum1221020017posi1) </State>
|
||||
<Button>
|
||||
<State> $Sum12210100171221020017 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_lychee_espresso.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_lychee_espresso.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_lychee_espresso.png" </FilenameDisable>
|
||||
<State> $Sum1221020017posi1 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//12-21-01-0017" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//12-21-01-0017" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//12-21-01-0017" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<OverlayImage> xmlpro( 12-21-01-0017, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-21-02-0017, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_-.png") </OverlayImage>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Lycheecano"
|
||||
Var NameDrinkTH = "ลิ้นจี่กาโน่"
|
||||
Var DrinkDescriptionTH = "กาแฟ น้ำ และ ลิ้นจี่"
|
||||
Var DrinkDescription = "Espresso, Lychee, Sugar, Water"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_lychee_espresso.png"
|
||||
Var NameDrink = "กาแฟ น้ำ และ ลิ้นจี่"
|
||||
Var NameDrinkTH = "Lycheecano"
|
||||
Var DrinkDescriptionTH = "Espresso, Lychee, Sugar, Water"
|
||||
Var DrinkDescription = "12-01-01-0017"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "12-21-01-0017"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-21-01-0017.Price
|
||||
Var PriceD2 = $12-21-02-0017.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PD_CODE1 = "12-21-01-0017"
|
||||
Var PD_CODE2 = "12-21-02-0017"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = $12-21-01-0017.Button
|
||||
Var PD_STAGE_2 = $12-21-02-0017.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-21-01-0017, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PriceD1 = $12-21-02-0017.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $posi1.Price
|
||||
Var PD_CODE1 = "12-21-02-0017"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "posi1"
|
||||
Var PD_STAGE_1 = $12-21-02-0017.Button
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $posi1.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-21-02-0017, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_-.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -21284,28 +21284,28 @@ Sugar, Water" </Value>
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-21-02-0017"
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-21-01-0017"
|
||||
Topping "Load" "12-21-02-0017"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "posi1"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-21-01-0017.NameE
|
||||
Var menu_desc_eng_hot = $12-21-01-0017.descriptionE
|
||||
Var menu_name_thai_hot = $12-21-01-0017.Name
|
||||
Var menu_desc_thai_hot = $12-21-01-0017.description
|
||||
Var menu_name_eng_hot = $12-21-02-0017.NameE
|
||||
Var menu_desc_eng_hot = $12-21-02-0017.descriptionE
|
||||
Var menu_name_thai_hot = $12-21-02-0017.Name
|
||||
Var menu_desc_thai_hot = $12-21-02-0017.description
|
||||
|
||||
Var menu_name_eng_cold = $12-21-02-0017.NameE
|
||||
Var menu_desc_eng_cold = $12-21-02-0017.descriptionE
|
||||
Var menu_name_thai_cold = $12-21-02-0017.Name
|
||||
Var menu_desc_thai_cold = $12-21-02-0017.description
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_blender = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_blender = $##-##-##-####.Name
|
||||
Var menu_desc_thai_blender = $##-##-##-####.description
|
||||
Var menu_name_eng_blender = $posi1.NameE
|
||||
Var menu_desc_eng_blender = $posi1.descriptionE
|
||||
Var menu_name_thai_blender = $posi1.Name
|
||||
Var menu_desc_thai_blender = $posi1.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -21326,7 +21326,7 @@ Sugar, Water" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ลิ้นจี่กาโน่" </Value>
|
||||
<Value> "Lycheecano" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -21336,7 +21336,8 @@ Sugar, Water" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "กาแฟ น้ำ และ ลิ้นจี่" </Value>
|
||||
<Value> "Espresso, Lychee,
|
||||
Sugar, Water" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -21347,7 +21348,7 @@ Sugar, Water" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Lycheecano" </Value>
|
||||
<Value> "กาแฟ น้ำ และ ลิ้นจี่" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -21357,8 +21358,7 @@ Sugar, Water" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Espresso, Lychee,
|
||||
Sugar, Water" </Value>
|
||||
<Value> "12-01-01-0017" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -21368,7 +21368,7 @@ Sugar, Water" </Value>
|
|||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-21-01-0017.Button </State>
|
||||
<State> $12-21-02-0017.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
|
|
@ -21380,36 +21380,18 @@ Sugar, Water" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-21-01-0017.Button </State>
|
||||
<Value> StringFmt( $12-21-01-0017.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-21-02-0017.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-21-02-0017.Button </State>
|
||||
<Value> StringFmt( $12-21-02-0017.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 183 </X>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
|
|
@ -21420,13 +21402,31 @@ Sugar, Water" </Value>
|
|||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $posi1.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 183 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $posi1.Button </State>
|
||||
<Value> StringFmt( $posi1.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum12210100171221020017 = "Disable" Then
|
||||
If $Sum1221020017posi1 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -21446,10 +21446,10 @@ Sugar, Water" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum12210100171221020017 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-21-01-0017.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-21-02-0017.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
If $Sum1221020017posi1 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-21-02-0017.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $posi1.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -21485,7 +21485,7 @@ Sugar, Water" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum12210100171221020017 </State>
|
||||
<State> $Sum1221020017posi1 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
|
|||
|
|
@ -567,9 +567,9 @@ Volcano" </Value>
|
|||
<State> Flag( 12-03-03-0095.Button,DateTimeStart="2024/12/16T00:00:00",$Sum1203030095) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030095 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0095, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -578,7 +578,7 @@ Volcano" </Value>
|
|||
Var NameDrinkTH = "โอวัลตินรถโรงเรียน ซุปเปอร์ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "โอวัลติน น้ำตาล และ นม"
|
||||
Var DrinkDescription = "Ovaltine, Sugar, milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
|
|
|
|||
|
|
@ -4615,9 +4615,9 @@ Coffee, Sugar" </Value>
|
|||
<State> Flag( 12-03-03-0095.Button,DateTimeStart="2024/12/16T00:00:00",$Sum1203030095) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030095 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_Super_Ovaltine_cocoa_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0095, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -4626,7 +4626,7 @@ Coffee, Sugar" </Value>
|
|||
Var NameDrinkTH = "โอวัลตินรถโรงเรียน ซุปเปอร์ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "โอวัลติน น้ำตาล และ นม"
|
||||
Var DrinkDescription = "Ovaltine, Sugar, milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_Super_Ovaltine_cocoa_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
|
|
|
|||
|
|
@ -3339,257 +3339,7 @@ Sugar, Oreo" </Value>
|
|||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
;
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( .Button,.Button,.Button,$Sum) </State>
|
||||
<Button>
|
||||
<State> $Sum </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_peach_Oreo_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_peach_Oreo_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_peach_Oreo_smoothie.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<OverlayImage> xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "Peach Oreo"
|
||||
Var NameDrinkTH = "พีชโอรีโอภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "พีช นม น้ำตาล Oreo"
|
||||
Var DrinkDescription = "Peach, Milk, Sugar, Oreo"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_peach_Oreo_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $.Price
|
||||
Var PriceD2 = $.Price
|
||||
Var PriceD3 = $.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( , "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_3 = "Enable" Then
|
||||
Topping "Load" ""
|
||||
Else
|
||||
If PD_STAGE_2 = "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 = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.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> "พีช นม น้ำตาล
|
||||
Oreo" </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> "Peach Oreo" </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> "Peach, Milk,
|
||||
Sugar, Oreo" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 183 </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>
|
||||
<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 $Sum = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.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> $Sum </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
</FrameScroll>
|
||||
; Cart
|
||||
<Button>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -293,19 +293,19 @@
|
|||
</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/01/01T00:00:00",$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,DateTimeStart="2025/01/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>
|
||||
|
|
@ -317,14 +317,14 @@
|
|||
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
|
||||
|
|
@ -346,7 +346,7 @@
|
|||
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
|
||||
|
|
@ -359,10 +359,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 = $##-##-##-####.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
|
||||
|
|
@ -462,7 +462,7 @@
|
|||
<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>
|
||||
|
|
@ -472,8 +472,8 @@
|
|||
<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>
|
||||
|
|
@ -498,10 +498,10 @@
|
|||
<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"
|
||||
|
|
@ -537,26 +537,26 @@
|
|||
<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>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0106 -
|
||||
; - 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,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020106) </State>
|
||||
<State> Flag( 12-05-02-0106.Button,12-05-03-0106.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050201061205030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020106 </State>
|
||||
<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-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<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>
|
||||
|
|
@ -568,14 +568,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0106.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0106.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0106"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
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 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
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
|
||||
|
|
@ -597,7 +597,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0106"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -610,10 +610,10 @@
|
|||
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 = $##-##-##-####.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-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
|
||||
|
|
@ -713,7 +713,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -723,8 +723,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0106.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -749,10 +749,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020106 = "Disable" Then
|
||||
If $Sum12050201061205030106 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0106.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0106.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -788,26 +788,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0057 -
|
||||
; - 12-05-02-0057 12-05-03-0057
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0057.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020057) </State>
|
||||
<State> Flag( 12-05-02-0057.Button,12-05-03-0057.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050200571205030057) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020057 </State>
|
||||
<State> $Sum12050200571205030057 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Lychee.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Lychee.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Lychee.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0057, "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>
|
||||
|
|
@ -819,14 +819,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0057.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0057.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0057"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0057"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0057.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0057.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -848,7 +848,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0057"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -861,10 +861,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0057.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0057.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-0057.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0057.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0057.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0057.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -964,7 +964,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0057.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -974,8 +974,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0057.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0057.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1000,10 +1000,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020057 = "Disable" Then
|
||||
If $Sum12050200571205030057 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0057.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0057.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1039,26 +1039,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020057 </State>
|
||||
<State> $Sum12050200571205030057 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0058 -
|
||||
; - 12-05-02-0058 12-05-03-0058
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0058.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020058) </State>
|
||||
<State> Flag( 12-05-02-0058.Button,12-05-03-0058.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050200581205030058) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020058 </State>
|
||||
<State> $Sum12050200581205030058 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Strawberry.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Strawberry.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Strawberry.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0058, "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>
|
||||
|
|
@ -1070,14 +1070,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0058.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0058.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0058"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0058"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0058.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0058.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1099,7 +1099,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0058"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1112,10 +1112,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0058.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0058.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-0058.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0058.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0058.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0058.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1215,7 +1215,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0058.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1225,8 +1225,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0058.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1251,10 +1251,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020058 = "Disable" Then
|
||||
If $Sum12050200581205030058 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0058.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0058.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1290,26 +1290,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020058 </State>
|
||||
<State> $Sum12050200581205030058 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0148 -
|
||||
; - 12-05-02-0148 12-05-03-0148
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0148.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020148) </State>
|
||||
<State> Flag( 12-05-02-0148.Button,12-05-03-0148.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050201481205030148) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Tropical.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Tropical.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Tropical.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0148, "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>
|
||||
|
|
@ -1321,14 +1321,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0148.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0148.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0148"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0148"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0148.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0148.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1350,7 +1350,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0148"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1363,10 +1363,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0148.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0148.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-0148.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0148.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0148.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0148.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1466,7 +1466,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1476,8 +1476,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0148.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1502,10 +1502,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020148 = "Disable" Then
|
||||
If $Sum12050201481205030148 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0148.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0148.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1541,26 +1541,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0149 -
|
||||
; - 12-05-02-0149 12-05-03-0149
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0149.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020149) </State>
|
||||
<State> Flag( 12-05-02-0149.Button,12-05-03-0149.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050201491205030149) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020149 </State>
|
||||
<State> $Sum12050201491205030149 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Lime.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Lime.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Lime.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0149, "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>
|
||||
|
|
@ -1572,14 +1572,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0149.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0149.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0149"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0149"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0149.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0149.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1601,7 +1601,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0149"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1614,10 +1614,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0149.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0149.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-0149.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0149.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0149.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0149.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1717,7 +1717,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0149.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1727,8 +1727,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0149.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0149.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1753,10 +1753,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020149 = "Disable" Then
|
||||
If $Sum12050201491205030149 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0149.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0149.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1792,26 +1792,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020149 </State>
|
||||
<State> $Sum12050201491205030149 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0150 -
|
||||
; - 12-05-02-0150 12-05-03-0150
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0150.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum1205020150) </State>
|
||||
<State> Flag( 12-05-02-0150.Button,12-05-03-0150.Button,DateTimeStart="2025/04/01T00:00:00",Var=KingdomThaiTeaPro,$Sum12050201501205030150) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020150 </State>
|
||||
<State> $Sum12050201501205030150 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi Caramel.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi Caramel.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi Caramel.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0150, "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>
|
||||
|
|
@ -1823,14 +1823,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0150.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0150.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0150"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0150"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0150.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0150.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1852,7 +1852,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0150"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1865,10 +1865,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0150.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0150.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-0150.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0150.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0150.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0150.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1968,7 +1968,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0150.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1978,8 +1978,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0150.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0150.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -2004,10 +2004,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020150 = "Disable" Then
|
||||
If $Sum12050201501205030150 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0150.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0150.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -2043,7 +2043,7 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020150 </State>
|
||||
<State> $Sum12050201501205030150 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
|
|||
|
|
@ -10854,19 +10854,19 @@ And Soda" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0106 -
|
||||
; - 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,$Sum1205020106) </State>
|
||||
<State> Flag( 12-05-02-0106.Button,12-05-03-0106.Button,$Sum12050201061205030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Yuzu_lucky_draw_x2.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Yuzu_lucky_draw_x2.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Yuzu_lucky_draw_x2.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<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>
|
||||
|
|
@ -10878,14 +10878,14 @@ And Soda" </Value>
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0106.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0106.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0106"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
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 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
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
|
||||
|
|
@ -10907,7 +10907,7 @@ And Soda" </Value>
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0106"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -10920,10 +10920,10 @@ And Soda" </Value>
|
|||
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 = $##-##-##-####.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-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
|
||||
|
|
@ -11023,7 +11023,7 @@ And Soda" </Value>
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -11033,8 +11033,8 @@ And Soda" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0106.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -11059,10 +11059,10 @@ And Soda" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020106 = "Disable" Then
|
||||
If $Sum12050201061205030106 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0106.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0106.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -11098,7 +11098,7 @@ And Soda" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
|
|||
|
|
@ -4317,9 +4317,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-01-02-0061.Button,12-01-03-0061.Button,$Sum12010200611201030061) </State>
|
||||
<Button>
|
||||
<State> $Sum12010200611201030061 </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>
|
||||
<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( 12-01-03-0061, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -4328,7 +4328,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "มอคค่ามัทฉะโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม โกโก้ และ กล้วย"
|
||||
Var DrinkDescription = "Espresso, Banana , Cocoa, Milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-01-02-0061.Price
|
||||
|
|
@ -4568,9 +4568,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-01-02-0062.Button,$Sum1201020062) </State>
|
||||
<Button>
|
||||
<State> $Sum1201020062 </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>
|
||||
<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( 12-01-02-0062, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -4579,7 +4579,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "มัทฉะลาเต้โตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "กาแฟ น้ำ นม มัทฉะ และ กล้วย"
|
||||
Var DrinkDescription = "Espresso, Banana , Matcha, Milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-01-02-0062.Price
|
||||
|
|
@ -4819,9 +4819,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-03-02-0024.Button,12-03-03-0024.Button,$Sum12030200241203030024) </State>
|
||||
<Button>
|
||||
<State> $Sum12030200241203030024 </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>
|
||||
<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( 12-03-03-0024, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -4830,7 +4830,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "นมช็อกโกโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "โกโก้ โตเกียวบานาน่า นม น้ำตาลและน้ำแข็ง"
|
||||
Var DrinkDescription = "Tokyo Banana , Milk, Sugar, Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-03-02-0024.Price
|
||||
|
|
@ -5070,9 +5070,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-03-03-0045.Button,$Sum1203030045) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030045 </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>
|
||||
<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( 12-03-03-0045, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -5081,7 +5081,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "สตรอว์เบอร์รี่โตเกียวบานาน่าปั่น"
|
||||
Var DrinkDescriptionTH = "กล้วย สตรอเบอรี และนม"
|
||||
Var DrinkDescription = "Banana , Strawberry , Milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
|
|
@ -5321,9 +5321,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-03-03-0029.Button,$Sum1203030029) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030029 </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>
|
||||
<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( 12-03-03-0029, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -5332,7 +5332,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "นมกล้วยปั่น โอรีโอภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "กล้วย นม น้ำตาล Oreo"
|
||||
Var DrinkDescription = "Banana , Milk, Sugar, Oreo"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
|
|
@ -5572,9 +5572,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-02-02-0053.Button,$Sum1202020053) </State>
|
||||
<Button>
|
||||
<State> $Sum1202020053 </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>
|
||||
<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( 12-02-02-0053, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -5583,7 +5583,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "ขิงโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "กล้วย ขิง และน้ำแข็ง"
|
||||
Var DrinkDescription = "Banana , Ginger And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-02-02-0053.Price
|
||||
|
|
@ -5823,9 +5823,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-02-02-0054.Button,$Sum1202020054) </State>
|
||||
<Button>
|
||||
<State> $Sum1202020054 </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>
|
||||
<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( 12-02-02-0054, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -5834,7 +5834,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "ชาไทยโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "กล้วย ชาไทย นม และน้ำแข็ง"
|
||||
Var DrinkDescription = "Banana , Thai Tea, Milk And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-02-02-0054.Price
|
||||
|
|
@ -6074,9 +6074,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-03-02-0023.Button,12-03-03-0023.Button,$Sum12030200231203030023) </State>
|
||||
<Button>
|
||||
<State> $Sum12030200231203030023 </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>
|
||||
<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( 12-03-03-0023, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -6085,7 +6085,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "นมโตเกียวบานาน่าเย็น"
|
||||
Var DrinkDescriptionTH = "โตเกียวบานาน่า นม น้ำตาลและน้ำแข็ง"
|
||||
Var DrinkDescription = "Tokyo Banana , Milk, Sugar, Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-03-02-0023.Price
|
||||
|
|
@ -6325,9 +6325,9 @@ Mint Soda" </Value>
|
|||
<State> Flag( 12-05-02-0078.Button,$Sum1205020078) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020078 </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>
|
||||
<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( 12-05-02-0078, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -6336,7 +6336,7 @@ Mint Soda" </Value>
|
|||
Var NameDrinkTH = "เต่าทรงพลังโตเกียวบานาน่าโซดาเย็น"
|
||||
Var DrinkDescriptionTH = "กล้วย เต่าทรงพลัง (มีคาเฟอีน)"
|
||||
Var DrinkDescription = "Banana , Medicine Drink, Soda And Ice"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0078.Price
|
||||
|
|
|
|||
|
|
@ -39,19 +39,19 @@
|
|||
;dummy_layout.inc
|
||||
; menu_new_list 11
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0148 -
|
||||
; - 12-05-02-0148 12-05-03-0148
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0148.Button,$Sum1205020148) </State>
|
||||
<State> Flag( 12-05-02-0148.Button,12-05-03-0148.Button,$Sum12050201481205030148) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Tropical.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Tropical.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Tropical.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0148, "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>
|
||||
|
|
@ -63,14 +63,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0148.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0148.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0148"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0148"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0148.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0148.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0148"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -105,10 +105,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0148.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0148.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-0148.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0148.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0148.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0148.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -208,7 +208,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -218,8 +218,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0148.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -244,10 +244,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020148 = "Disable" Then
|
||||
If $Sum12050201481205030148 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0148.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0148.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -283,7 +283,7 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -3344,19 +3344,19 @@ Coconut" </Value>
|
|||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; 12-05-02-0114 12-05-03-0114
|
||||
; - 12-05-02-0114 12-05-03-0114
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( .Button,12-05-02-0114.Button,12-05-03-0114.Button,$Sum12050201141205030114) </State>
|
||||
<State> Flag( 12-05-02-0114.Button,12-05-03-0114.Button,$Sum12050201141205030114) </State>
|
||||
<Button>
|
||||
<State> $Sum12050201141205030114 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi_coconut_pro.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi_coconut_pro.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi_coconut_pro.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0114, "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>
|
||||
|
|
@ -3366,7 +3366,7 @@ Coconut" </Value>
|
|||
Var DrinkDescription = "Coconut , Pepsi And Soda"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_pepsi_coconut_pro.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $.Price
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0114.Price
|
||||
Var PriceD3 = $12-05-03-0114.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
|
|
@ -3375,7 +3375,7 @@ Coconut" </Value>
|
|||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0114.Button
|
||||
Var PD_STAGE_3 = $12-05-03-0114.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0114, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -3395,7 +3395,7 @@ Coconut" </Value>
|
|||
Topping "Load" "12-05-02-0114"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" ""
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-05-03-0114"
|
||||
EndIf
|
||||
|
|
@ -3490,7 +3490,7 @@ Coconut" </Value>
|
|||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
|
|||
|
|
@ -796,261 +796,6 @@ Sugar Oreo" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - 12-03-03-0027
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0027.Button,$Sum1203030027) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030027 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Strawberr_milk_Oreo_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Strawberr_milk_Oreo_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Strawberr_milk_Oreo_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0027, "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 = "Strawberry Milk Oreo Smoothie"
|
||||
Var NameDrinkTH = "สตรอเบอรีปั่นโอรีโอ ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "สตรอเบอรี นม น้ำตาล โอรีโอ"
|
||||
Var DrinkDescription = "Strawberry , Milk, Sugar, Oreo"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Strawberr_milk_Oreo_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-03-03-0027.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-03-03-0027"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-03-03-0027.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0027, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0027"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0027.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0027.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0027.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0027.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> "Strawberry Milk Oreo
|
||||
Smoothie" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Strawberry , Milk,
|
||||
Sugar, Oreo" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-03-0027.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-03-0027.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0027.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 $Sum1203030027 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0027.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> $Sum1203030027 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
|
|
@ -1306,6 +1051,261 @@ Sugar, Oreo" </Value>
|
|||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - 12-03-03-0027
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-03-0027.Button,$Sum1203030027) </State>
|
||||
<Button>
|
||||
<State> $Sum1203030027 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Strawberr_milk_Oreo_smoothie.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Strawberr_milk_Oreo_smoothie.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Strawberr_milk_Oreo_smoothie.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-03-0027, "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 = "Strawberry Milk Oreo Smoothie"
|
||||
Var NameDrinkTH = "สตรอเบอรีปั่นโอรีโอ ภูเขาไฟ"
|
||||
Var DrinkDescriptionTH = "สตรอเบอรี นม น้ำตาล โอรีโอ"
|
||||
Var DrinkDescription = "Strawberry , Milk, Sugar, Oreo"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_Strawberr_milk_Oreo_smoothie.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $-.Price
|
||||
Var PriceD3 = $12-03-03-0027.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-03-03-0027"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = "Disable2"
|
||||
Var PD_STAGE_3 = $12-03-03-0027.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-03-0027, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0027"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_hot = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_hot = $##-##-##-####.Name
|
||||
Var menu_desc_thai_hot = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_cold = $##-##-##-####.NameE
|
||||
Var menu_desc_eng_cold = $##-##-##-####.descriptionE
|
||||
Var menu_name_thai_cold = $##-##-##-####.Name
|
||||
Var menu_desc_thai_cold = $##-##-##-####.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0027.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0027.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0027.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0027.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> "Strawberry Milk Oreo
|
||||
Smoothie" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
<Y> 220 </Y>
|
||||
<Size> 14 </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Strawberry , Milk,
|
||||
Sugar, Oreo" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> "Invisible" </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 146 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-03-0027.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-03-0027.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0027.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 $Sum1203030027 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0027.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> $Sum1203030027 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
|
|
|
|||
|
|
@ -39,19 +39,19 @@
|
|||
;dummy_layout.inc
|
||||
; menu_new_list 12
|
||||
; ==================> 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,$Sum1205020133) </State>
|
||||
<State> Flag( 12-05-02-0133.Button,12-05-03-0133.Button,$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>
|
||||
|
|
@ -63,14 +63,14 @@
|
|||
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
|
||||
|
|
@ -92,7 +92,7 @@
|
|||
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
|
||||
|
|
@ -105,10 +105,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 = $##-##-##-####.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
|
||||
|
|
@ -208,7 +208,7 @@
|
|||
<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>
|
||||
|
|
@ -218,8 +218,8 @@
|
|||
<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>
|
||||
|
|
@ -244,10 +244,10 @@
|
|||
<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"
|
||||
|
|
@ -283,26 +283,26 @@
|
|||
<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>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0106 -
|
||||
; - 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,$Sum1205020106) </State>
|
||||
<State> Flag( 12-05-02-0106.Button,12-05-03-0106.Button,$Sum12050201061205030106) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020106 </State>
|
||||
<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-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<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>
|
||||
|
|
@ -314,14 +314,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0106.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0106.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0106"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
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 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0106, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
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
|
||||
|
|
@ -343,7 +343,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0106"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -356,10 +356,10 @@
|
|||
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 = $##-##-##-####.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-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
|
||||
|
|
@ -459,7 +459,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -469,8 +469,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0106.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0106.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -495,10 +495,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020106 = "Disable" Then
|
||||
If $Sum12050201061205030106 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0106.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0106.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -534,26 +534,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020106 </State>
|
||||
<State> $Sum12050201061205030106 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0057 -
|
||||
; - 12-05-02-0057 12-05-03-0057
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0057.Button,$Sum1205020057) </State>
|
||||
<State> Flag( 12-05-02-0057.Button,12-05-03-0057.Button,$Sum12050200571205030057) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020057 </State>
|
||||
<State> $Sum12050200571205030057 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Lychee.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Lychee.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Lychee.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0057, "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>
|
||||
|
|
@ -565,14 +565,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0057.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0057.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0057"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0057"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0057.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0057.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0057, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -594,7 +594,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0057"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -607,10 +607,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0057.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0057.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-0057.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0057.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0057.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0057.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -710,7 +710,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0057.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -720,8 +720,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0057.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0057.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -746,10 +746,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020057 = "Disable" Then
|
||||
If $Sum12050200571205030057 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0057.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0057.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -785,26 +785,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020057 </State>
|
||||
<State> $Sum12050200571205030057 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0058 -
|
||||
; - 12-05-02-0058 12-05-03-0058
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0058.Button,$Sum1205020058) </State>
|
||||
<State> Flag( 12-05-02-0058.Button,12-05-03-0058.Button,$Sum12050200581205030058) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020058 </State>
|
||||
<State> $Sum12050200581205030058 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Strawberry.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Strawberry.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Strawberry.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0058, "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>
|
||||
|
|
@ -816,14 +816,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0058.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0058.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0058"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0058"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0058.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0058.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0058, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -845,7 +845,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0058"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -858,10 +858,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0058.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0058.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-0058.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0058.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0058.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0058.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -961,7 +961,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0058.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -971,8 +971,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0058.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0058.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -997,10 +997,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020058 = "Disable" Then
|
||||
If $Sum12050200581205030058 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0058.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0058.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1036,26 +1036,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020058 </State>
|
||||
<State> $Sum12050200581205030058 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0148 -
|
||||
; - 12-05-02-0148 12-05-03-0148
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0148.Button,$Sum1205020148) </State>
|
||||
<State> Flag( 12-05-02-0148.Button,12-05-03-0148.Button,$Sum12050201481205030148) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Tropical.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Tropical.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Tropical.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0148, "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>
|
||||
|
|
@ -1067,14 +1067,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0148.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0148.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0148"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0148"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0148.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0148.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0148, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1096,7 +1096,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0148"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1109,10 +1109,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0148.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0148.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-0148.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0148.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0148.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0148.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1212,7 +1212,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1222,8 +1222,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0148.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0148.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1248,10 +1248,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020148 = "Disable" Then
|
||||
If $Sum12050201481205030148 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0148.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0148.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1287,26 +1287,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020148 </State>
|
||||
<State> $Sum12050201481205030148 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0149 -
|
||||
; - 12-05-02-0149 12-05-03-0149
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0149.Button,$Sum1205020149) </State>
|
||||
<State> Flag( 12-05-02-0149.Button,12-05-03-0149.Button,$Sum12050201491205030149) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020149 </State>
|
||||
<State> $Sum12050201491205030149 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Lime.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Lime.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Lime.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0149, "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>
|
||||
|
|
@ -1318,14 +1318,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0149.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0149.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0149"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0149"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0149.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0149.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0149, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1347,7 +1347,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0149"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1360,10 +1360,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0149.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0149.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-0149.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0149.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0149.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0149.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1463,7 +1463,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0149.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1473,8 +1473,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0149.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0149.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1499,10 +1499,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020149 = "Disable" Then
|
||||
If $Sum12050201491205030149 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0149.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0149.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1538,26 +1538,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020149 </State>
|
||||
<State> $Sum12050201491205030149 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0150 -
|
||||
; - 12-05-02-0150 12-05-03-0150
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0150.Button,$Sum1205020150) </State>
|
||||
<State> Flag( 12-05-02-0150.Button,12-05-03-0150.Button,$Sum12050201501205030150) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020150 </State>
|
||||
<State> $Sum12050201501205030150 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi Caramel.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi Caramel.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi Caramel.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0150, "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>
|
||||
|
|
@ -1569,14 +1569,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0150.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0150.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0150"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0150"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0150.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0150.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0150, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1598,7 +1598,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0150"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1611,10 +1611,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0150.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0150.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-0150.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0150.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0150.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0150.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1714,7 +1714,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0150.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1724,8 +1724,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0150.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0150.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1750,10 +1750,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020150 = "Disable" Then
|
||||
If $Sum12050201501205030150 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0150.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0150.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1789,26 +1789,26 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020150 </State>
|
||||
<State> $Sum12050201501205030150 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - 12-05-02-0114 -
|
||||
; - 12-05-02-0114 12-05-03-0114
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-05-02-0114.Button,$Sum1205020114) </State>
|
||||
<State> Flag( 12-05-02-0114.Button,12-05-03-0114.Button,$Sum12050201141205030114) </State>
|
||||
<Button>
|
||||
<State> $Sum1205020114 </State>
|
||||
<State> $Sum12050201141205030114 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_Pepsi_Coconut.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_Pepsi_Coconut.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_Pepsi_Coconut.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-05-02-0114, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<OverlayImage> xmlpro( 12-05-03-0114, "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>
|
||||
|
|
@ -1820,14 +1820,14 @@
|
|||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $-.Price
|
||||
Var PriceD2 = $12-05-02-0114.Price
|
||||
Var PriceD3 = $-.Price
|
||||
Var PriceD3 = $12-05-03-0114.Price
|
||||
Var PD_CODE1 = "##-##-##-####"
|
||||
Var PD_CODE2 = "12-05-02-0114"
|
||||
Var PD_CODE3 = "##-##-##-####"
|
||||
Var PD_CODE3 = "12-05-03-0114"
|
||||
Var PD_STAGE_1 = "Disable2"
|
||||
Var PD_STAGE_2 = $12-05-02-0114.Button
|
||||
Var PD_STAGE_3 = "Disable2"
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-02-0114, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
Var PD_STAGE_3 = $12-05-03-0114.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0114, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
|
|
@ -1849,7 +1849,7 @@
|
|||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "-"
|
||||
Else
|
||||
Topping "Load" "-"
|
||||
Topping "Load" "12-05-03-0114"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $##-##-##-####.NameE
|
||||
|
|
@ -1862,10 +1862,10 @@
|
|||
Var menu_name_thai_cold = $12-05-02-0114.Name
|
||||
Var menu_desc_thai_cold = $12-05-02-0114.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-0114.NameE
|
||||
Var menu_desc_eng_blender = $12-05-03-0114.descriptionE
|
||||
Var menu_name_thai_blender = $12-05-03-0114.Name
|
||||
Var menu_desc_thai_blender = $12-05-03-0114.description
|
||||
|
||||
DEBUGVAR PD_STAGE_1
|
||||
DEBUGVAR PD_STAGE_2
|
||||
|
|
@ -1965,7 +1965,7 @@
|
|||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "blend.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "blend_db.png" ) </FilenameDisable>
|
||||
<State> "Invisible" </State>
|
||||
<State> $12-05-03-0114.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1975,8 +1975,8 @@
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> "Invisible" </State>
|
||||
<Value> StringFmt( $-.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-05-03-0114.Button </State>
|
||||
<Value> StringFmt( $12-05-03-0114.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -2001,10 +2001,10 @@
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum1205020114 = "Disable" Then
|
||||
If $Sum12050201141205030114 = "Disable" Then
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-05-02-0114.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
|
||||
STRCONTAIN "ERR" $12-05-03-0114.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -2040,7 +2040,7 @@
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum1205020114 </State>
|
||||
<State> $Sum12050201141205030114 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -3379,9 +3379,9 @@ Sugar, Oreo" </Value>
|
|||
<State> Flag( 12-99-03-0016.Button,$Sum1299030016) </State>
|
||||
<Button>
|
||||
<State> $Sum1299030016 </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>
|
||||
<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( 12-99-03-0016, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -3390,7 +3390,7 @@ Sugar, Oreo" </Value>
|
|||
Var NameDrinkTH = "กาเลคซอน "
|
||||
Var DrinkDescriptionTH = "เมล่อน น้ำเชื่อมกล้วย นม และน้ำแข็ง"
|
||||
Var DrinkDescription = "Melon , Banana ,Milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + ""
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "-"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = "-"
|
||||
Var PriceD2 = 35
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
;banner_shifting
|
||||
</Script>
|
||||
;dummy_layout.inc
|
||||
; menu_new_list 61
|
||||
; menu_new_list 62
|
||||
; ==================> Len = 16
|
||||
; - 12-02-02-0099 -
|
||||
<Block>
|
||||
|
|
@ -3084,19 +3084,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>
|
||||
|
|
@ -3108,14 +3108,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
|
||||
|
|
@ -3137,7 +3137,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
|
||||
|
|
@ -3150,10 +3150,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
|
||||
|
|
@ -3253,7 +3253,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>
|
||||
|
|
@ -3263,8 +3263,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>
|
||||
|
|
@ -3289,10 +3289,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"
|
||||
|
|
@ -3328,7 +3328,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>
|
||||
|
|
@ -4867,7 +4867,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>
|
||||
|
|
@ -5111,6 +5111,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
|
||||
|
|
@ -14289,9 +14545,9 @@ Americano" </Value>
|
|||
<State> Flag( 12-01-01-0050.Button,12-01-02-0050.Button,Disable=Invisible,$Sum12010100501201020050) </State>
|
||||
<Button>
|
||||
<State> $Sum12010100501201020050 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_opus_one.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_opus_one.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_opus_one.png" </FilenameDisable>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_hot_americano_light_opus_one.png " </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_hot_americano_light_opus_one.png " </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_hot_americano_light_opus_one.png " </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-01-01-0050, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi2.png") </OverlayImage>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
|
|
@ -14300,7 +14556,7 @@ Americano" </Value>
|
|||
Var NameDrinkTH = "อเมริกาโน Opus One"
|
||||
Var DrinkDescriptionTH = "กาแฟคั่วอ่อน โน๊ต: องุ่น/ลูกพรุนแห้ง/มิ้นท์/น้ำตาลทรายแดง"
|
||||
Var DrinkDescription = "Light Roast. Note: Grape/Dried prunes/Mint/Brown Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_opus_one.png"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_hot_americano_light_opus_one.png "
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-01-01-0050.Price
|
||||
Var PriceD2 = $12-01-02-0050.Price
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
36
xml/page_catalog_group_school_ovaltine.skt
Normal file
36
xml/page_catalog_group_school_ovaltine.skt
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
<?hurr
|
||||
#include=menu_head.py
|
||||
?>
|
||||
|
||||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
;<Background> "0xeae6e1" </Background>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_default_init.xml"
|
||||
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new_menu.xml"
|
||||
</EventOpen>
|
||||
|
||||
|
||||
;include="ROOT/taobin_project/xml/menu_catalog_new.xml"
|
||||
|
||||
|
||||
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen_v2.py
|
||||
?>
|
||||
<?hurr
|
||||
#include=menu_new_layout_gen.py
|
||||
?>
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
2821
xml/page_catalog_group_school_ovaltine.xml
Normal file
2821
xml/page_catalog_group_school_ovaltine.xml
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -24,6 +24,7 @@
|
|||
|
||||
Var Seeker.thankLidFlag = 0
|
||||
Var Seeker.thankStrawFlag = 0
|
||||
Var Seeker.SmoothieToPayment = 0
|
||||
|
||||
WEB "DISABLE"
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -293,6 +293,9 @@
|
|||
|
||||
Var EnableDoorJamAlert = 0
|
||||
|
||||
; helper show in page_board
|
||||
Var FromDrinkOk = 1
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 500 </Timeout>
|
||||
<EventTimeout>
|
||||
|
|
|
|||
|
|
@ -209,6 +209,7 @@
|
|||
If Seeker.PayWithQR = 0 Then
|
||||
DEBUGVAR TxRef1
|
||||
Var PayDetail2 = ToppingDetail
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR PayDetail2
|
||||
|
||||
|
|
@ -225,6 +226,10 @@
|
|||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/payment.ev"
|
||||
EndIf
|
||||
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_before_conti.xml"
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
EndIf
|
||||
|
||||
|
|
@ -244,7 +249,7 @@
|
|||
|
||||
EndIf
|
||||
Else
|
||||
|
||||
; seeker currr
|
||||
|
||||
|
||||
DEBUGVAR ChangeFlag2
|
||||
|
|
@ -253,6 +258,7 @@
|
|||
If Seeker.PayWithQR = 0 Then
|
||||
DEBUGVAR TxRef1
|
||||
Var PayDetail2 = ToppingDetail
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR PayDetail2
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||
OpenInst 0 "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
|
||||
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If MachineStage = "remove-cup" Then
|
||||
SAVELOG "MachineStage = remove-cup"
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
Var IndoQR = 0
|
||||
|
||||
Var PaymentEnableAll = "true"
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
|
||||
SAVELOG BoxID
|
||||
|
||||
Var ServiceCharge = 0
|
||||
Var Seeker.ServiceCharge = 0
|
||||
|
||||
Var AdultFlag = 0
|
||||
|
||||
|
|
@ -247,6 +247,23 @@
|
|||
Var ReadyForBrew = "false"
|
||||
EndIf
|
||||
|
||||
READ_FILE "/mnt/sdcard/coffeevending/app_manager/app_list/king_power_service/enable" POSMachineFlag
|
||||
DEBUGVAR POSMachineFlag
|
||||
If POSMachineFlag = 1 Then
|
||||
Var ConnectWithPOSMachine = 1
|
||||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
|
||||
Else
|
||||
If Seeker = "next" Then
|
||||
Open "ROOT/taobin_project/xml/page_brewing3Conti.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
; Test
|
||||
|
|
@ -343,7 +360,7 @@
|
|||
|
||||
Var RoadShowMarketCode = ""
|
||||
Var Seeker.VendingCode = RoadShowMarketCode
|
||||
|
||||
|
||||
DEBUGVAR PriceDrink
|
||||
|
||||
Var Seeker.IntVendingCampaign = PriceDrink
|
||||
|
|
@ -398,6 +415,7 @@
|
|||
Var param2 = PureName
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ConnectWithPOSMachine
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
Var WaitPOSStatus = 1
|
||||
Var TimeWaitPOSStatus = 0
|
||||
|
|
@ -503,6 +521,8 @@
|
|||
|
||||
If WaitPOSStatus = 1 Then
|
||||
|
||||
DEBUGVAR TimeWaitPOSStatus
|
||||
DEBUGVAR POS_SELL_STATUS
|
||||
If TimeWaitPOSStatus < 10 Then
|
||||
Var TimeWaitPOSStatus = TimeWaitPOSStatus + 1
|
||||
|
||||
|
|
@ -630,9 +650,11 @@
|
|||
<State> StageShowAlias</State>
|
||||
<X> 0 </X>
|
||||
<Y> 938 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 66 </Size>
|
||||
<MaxSize> 66 </MaxSize>
|
||||
<Size> Auto </Size>
|
||||
<MaxLine> 1 </MaxLine>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> HeadlineColor </Color>
|
||||
<Value> showname </Value>
|
||||
|
|
|
|||
|
|
@ -9,11 +9,17 @@
|
|||
RootLayoutVisible 3 "hide"
|
||||
|
||||
DEBUGVAR CountryName
|
||||
|
||||
SAVELOG "cash version 1.1"
|
||||
|
||||
Var cash_disable = "0"
|
||||
READ_FILE "/mnt/sdcard/coffeevending/cash_disable" cash_disable
|
||||
DEBUGVAR cash_disable
|
||||
|
||||
Var KBankCashlessMachine = "0"
|
||||
READ_FILE "/mnt/sdcard/coffeevending/kbank_cashless_machine" KBankCashlessMachine
|
||||
DEBUGVAR KBankCashlessMachine
|
||||
|
||||
;Cash for any lang
|
||||
;include="ROOT/taobin_project/xml/payment_cash.ev"
|
||||
|
||||
|
|
@ -196,7 +202,7 @@
|
|||
Var ServiceCredit = SelectDrink
|
||||
Var ServiceAmount2 = PayAmount
|
||||
Var Seeker.ServiceAmount2 = PayAmount
|
||||
Var ServiceCharge = 0
|
||||
Var Seeker.ServiceCharge = 0
|
||||
Var Donate = ""
|
||||
Var SuggestID = ""
|
||||
Var CancleState = "Enable"
|
||||
|
|
@ -425,23 +431,7 @@
|
|||
If GetFreeFromError = 1 Then
|
||||
Var Seeker.FreeVendingCampaign = 1
|
||||
CoinVending OFF
|
||||
If Seeker = "curr" Then
|
||||
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -457,7 +447,11 @@
|
|||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
|
|
@ -468,7 +462,11 @@
|
|||
Var PaidPaymentFromNextStage = 1
|
||||
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -709,7 +707,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -764,7 +762,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -818,7 +816,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -871,7 +869,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -924,7 +922,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -977,7 +975,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1031,7 +1029,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1085,7 +1083,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1138,7 +1136,7 @@
|
|||
EndIf
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1192,7 +1190,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1246,7 +1244,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -1290,6 +1288,22 @@
|
|||
Var X_CASH3 = 664 - 113
|
||||
EndIf
|
||||
|
||||
; helper
|
||||
Var FromSmoothieProcess = "Invisible"
|
||||
Var FromPaymentCash = "Enable"
|
||||
Var FromBrewingProcess = "Invisible"
|
||||
Var BaseOnPageBoard = 0
|
||||
|
||||
If EnableHelperShow = 1 Then
|
||||
Var Showhelper = "Enable"
|
||||
Else
|
||||
Var Showhelper = "Invisible"
|
||||
EndIf
|
||||
|
||||
; langs
|
||||
Var EnableBtnLangWithHelper = 0
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<EventActionOk>
|
||||
|
|
@ -1366,19 +1380,11 @@
|
|||
Var Seeker.PayWithQR = 1
|
||||
Var Seeker.VendingTSID = VendingTSID
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
;Var TxRef1 = ""
|
||||
;CreateTxRef1 TxRef1
|
||||
EndIf
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
|
||||
|
||||
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||
Var BrewingTextThai = "เตรียมแก้ว"
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -1898,7 +1904,7 @@
|
|||
If VendingCashless = "OK" Then
|
||||
DEBUGVAR CashlessCode
|
||||
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Var Seeker.CashlessVendingTrackNumber = VendingTrackNumber
|
||||
|
||||
|
|
@ -1920,17 +1926,11 @@
|
|||
CoinVending OFF
|
||||
Refresh
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
|
||||
Var Seeker.CreditCard = 1
|
||||
Var Seeker.CreditCardRef = CreditCardRef
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -1964,7 +1964,7 @@
|
|||
If CoinInOK = 1 Then
|
||||
|
||||
Else
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
; popup will close after 30 second
|
||||
Var Timeout = 90
|
||||
Var PopupTimeoutEnable = "Invisible"
|
||||
|
|
@ -1975,6 +1975,8 @@
|
|||
Var LOADING_STATE = "Invisible"
|
||||
Var CreditCardLoading = 0
|
||||
|
||||
Var Seeker.ServiceCharge = 0
|
||||
|
||||
CoinVending XBILL
|
||||
Else
|
||||
Var Timeout = 0
|
||||
|
|
@ -2004,7 +2006,7 @@
|
|||
GenHashWithTimeStamp CreditCardRef
|
||||
DEBUGVAR VendingCashless
|
||||
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
If VendingCashless = "READY" Then
|
||||
Var QRCODE99 = ""
|
||||
If CoinInOK = 1 Then
|
||||
|
|
@ -2015,9 +2017,9 @@
|
|||
|
||||
Var QRErrorState = "Invisible"
|
||||
Var VendingCashless = "-"
|
||||
Var ServiceCharge = 3
|
||||
Var Seeker.ServiceCharge = 3
|
||||
Var RemainAmountX = RemainAmount
|
||||
Var RemainAmountX = RemainAmountX + ServiceCharge
|
||||
Var RemainAmountX = RemainAmountX + Seeker.ServiceCharge
|
||||
CashlessPay RemainAmountX CreditCardRef
|
||||
Var CashlessPayFlag = 1
|
||||
EndIf
|
||||
|
|
@ -2144,7 +2146,7 @@
|
|||
Var ECommerce = ECommerce + "C:"
|
||||
Var ECommerce = ECommerce + Seeker.IntVendingCampaign
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -2170,8 +2172,12 @@
|
|||
|
||||
|
||||
If TestLoopMakeDrink = 1 Then
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -2202,7 +2208,11 @@
|
|||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
|
|
@ -2213,7 +2223,11 @@
|
|||
|
||||
EndIf
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
|
||||
Else
|
||||
If CancelFlag = 0 Then
|
||||
|
|
@ -2229,7 +2243,7 @@
|
|||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Else
|
||||
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||
|
|
@ -2321,6 +2335,7 @@
|
|||
Var ServiceType = "credit"
|
||||
Var SessionID2 = SelectDrink
|
||||
Var ServiceCredit = "coffee"
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
|
||||
Var PayDetail2 = Seeker.PayDetail2
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
|
|
@ -2390,7 +2405,7 @@
|
|||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Else
|
||||
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||
|
|
@ -2408,7 +2423,7 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
If alphaState = "Enable" Then
|
||||
If ReqPayInfoFromCashOther = 2 Then
|
||||
If CreditCardLoading = 1 Then
|
||||
|
|
@ -2754,7 +2769,24 @@
|
|||
EndIf
|
||||
</EventVDCancle>
|
||||
|
||||
; helper button
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 430 </Y>
|
||||
<State> Showhelper </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_payment/helper.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_payment/helper.png" </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
Var OpenFromXML = "ROOT/taobin_project/xml/page_payment_cash.xml"
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
|
||||
OpenInst 14 "ROOT/taobin_project/inter/tha/xml/page_help_center.lxml"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
|
||||
<Image>
|
||||
|
|
@ -2825,7 +2857,7 @@
|
|||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Else
|
||||
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||
|
|
@ -2885,8 +2917,12 @@
|
|||
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
|
||||
Var MachineStage = "make-drink"
|
||||
Var BrewingTextThai = "เตรียมแก้ว"
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
;Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
|
||||
EndIf
|
||||
|
|
@ -3016,7 +3052,7 @@
|
|||
|
||||
|
||||
Var ServiceParameter = "max"
|
||||
Var ServiceCharge = 0
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
Var AccountType = "new"
|
||||
Var testservice = "kbank"
|
||||
Var tc = ""
|
||||
|
|
@ -3091,7 +3127,7 @@
|
|||
If alphaState = "Invisible" Then
|
||||
If CoinInFlag = 0 Then
|
||||
If CancelFlag = 0 Then
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
Var QR_POPUP = "/img_popup8_with_service_charge.png"
|
||||
Var cancelButtonQRPopupState = "Invisible"
|
||||
Var AlphaPopupLoadingState = "Enable"
|
||||
|
|
@ -3201,7 +3237,7 @@
|
|||
|
||||
If CashlessPayFlag = 1 Then
|
||||
Var CashlessPayFlag = 0
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
|
||||
Else
|
||||
CashlessReq CANCEL Seeker.CashlessVendingTrackNumber
|
||||
|
|
@ -3232,9 +3268,11 @@
|
|||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 938 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Width> 1080 </Width>
|
||||
<Align> Center </Align>
|
||||
<Size> 72 </Size>
|
||||
<MaxSize> 66 </MaxSize>
|
||||
<Size> Auto </Size>
|
||||
<MaxLine> 1 </MaxLine>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> HeadlineColor </Color>
|
||||
<Value> showname </Value>
|
||||
|
|
@ -3325,11 +3363,9 @@ eval(
|
|||
Var CancelingPopupFlag = "Enable"
|
||||
Var CancelingPopupCountDown = 0
|
||||
|
||||
If KBankCashlessMachine = 1 Then
|
||||
If KBankCashlessMachine = "1" Then
|
||||
If ReqPayInfoFromCashOther = 2 Then
|
||||
If ServiceCharge > 0 Then
|
||||
Var ServiceCharge = 0
|
||||
EndIf
|
||||
Var Seeker.ServiceCharge = 0
|
||||
CoinVending XBILL
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -3737,11 +3773,19 @@ eval(
|
|||
If IgnoreNetCore = "true" Then
|
||||
If Seeker = "curr" Then
|
||||
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
Else
|
||||
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
|
@ -3758,9 +3802,12 @@ eval(
|
|||
</Text>
|
||||
|
||||
<EventUnitTest1>
|
||||
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
|
||||
</EventUnitTest1>
|
||||
|
||||
|
|
|
|||
|
|
@ -376,22 +376,7 @@
|
|||
Else
|
||||
Var CART_INDEX = 0
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
DEBUGVAR Seeker
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
EndIf
|
||||
Else
|
||||
If ShouldCollectPoint = 1 Then
|
||||
|
|
|
|||
|
|
@ -216,23 +216,7 @@
|
|||
Else
|
||||
Var CART_INDEX = 0
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Else
|
||||
DEBUGVAR Seeker
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
EndIf
|
||||
|
||||
Var ReqAdddata22 = 0
|
||||
|
|
|
|||
|
|
@ -113,23 +113,7 @@
|
|||
Else
|
||||
Var CART_INDEX = 0
|
||||
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Else
|
||||
DEBUGVAR Seeker
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
EndIf
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
EndIf
|
||||
|
||||
Var ReqAdddata22 = 0
|
||||
|
|
|
|||
|
|
@ -97,25 +97,7 @@
|
|||
|
||||
If FlagPayCredit = 1 Then
|
||||
Var FlagPayCredit = 0
|
||||
|
||||
If Seeker = "curr" Then
|
||||
|
||||
DEBUGVAR "MakeDrinkV1"
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
|
||||
EndIf
|
||||
|
||||
Var Seeker.StoreCreditFlag = 1
|
||||
Var Seeker.StoreCreditFlag = 1
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -123,7 +105,7 @@
|
|||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout > 3 Then
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
;include="ROOT/taobin_project/xml/sometime/make_drink.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
|
|
|||
80
xml/page_pos_machine_midnight_close.xml
Normal file
80
xml/page_pos_machine_midnight_close.xml
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
<Page>
|
||||
<X> 0 </X>
|
||||
<Y> 380 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1540 </Height>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Background> "0x2C2F4E" </Background>
|
||||
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
Var title_image = "ROOT/taobin_project/image/pos_midnight/pos_close_midnight_th.png"
|
||||
If show_eng = "true" Then
|
||||
Var title_image = "ROOT/taobin_project/image/pos_midnight/pos_close_midnight_en.png"
|
||||
EndIf
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
If Timeout > 5 Then
|
||||
DEBUGVAR POS_SELL_MODE
|
||||
If POS_SELL_MODE = "NORMAL" Then
|
||||
RootLayoutVisible 3 "show"
|
||||
Open "ROOT/taobin_project/xml/page_board.xml"
|
||||
EndIf
|
||||
|
||||
Var Timeout = 0
|
||||
Else
|
||||
Var Timeout = Timeout + 1
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
|
||||
</EventTimeout>
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Filename> "ROOT/taobin_project/video/Taobin_Sleep_Screen.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Button>
|
||||
<X> 990 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> show_btn </Filename>
|
||||
<FilenamePress> show_btp </FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
; eng
|
||||
If show_eng = "true" Then
|
||||
Var show_eng = "false"
|
||||
Else
|
||||
Var show_eng = "true"
|
||||
EndIf
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
|
||||
Else
|
||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
|
||||
EndIf
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_midnight_close.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Image>
|
||||
<X> 156 </X>
|
||||
<Y> 380 </Y>
|
||||
<Filename> title_image </Filename>
|
||||
</Image>
|
||||
|
||||
</Page>
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
EndIf
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_network_down_pos_machine.xml"
|
||||
Open "ROOT/taobin_project/xml/page_pos_machine_network_down.xml"
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
77
xml/page_spiral_before_conti.xml
Normal file
77
xml/page_spiral_before_conti.xml
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 7 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3Conti.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 0 </Y>
|
||||
<Refresh> "Reload" </Refresh>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> "ROOT/taobin_project/video/taobin_thank2.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<Image>
|
||||
<X> 84 </X>
|
||||
<Y> 1314 </Y>
|
||||
<Width> 911 </Width>
|
||||
<Height> 265 </Height>
|
||||
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1344 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 85 </Height>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002433 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1430 </Y>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002434 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
76
xml/page_spiral_failed.xml
Normal file
76
xml/page_spiral_failed.xml
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 3 Then
|
||||
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
<Image>
|
||||
<X> 89 </X>
|
||||
<Y> 700 </Y>
|
||||
<Width> 902 </Width>
|
||||
<Height> 902 </Height>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_fail.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 84 </X>
|
||||
<Y> 1314 </Y>
|
||||
<Width> 911 </Width>
|
||||
<Height> 265 </Height>
|
||||
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1344 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 85 </Height>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002430 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1430 </Y>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002432 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
76
xml/page_spiral_invalid_failed.xml
Normal file
76
xml/page_spiral_invalid_failed.xml
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
|
||||
Var Timeout = 0
|
||||
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
If Timeout > 3 Then
|
||||
Open "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
<Image>
|
||||
<X> 89 </X>
|
||||
<Y> 700 </Y>
|
||||
<Width> 902 </Width>
|
||||
<Height> 902 </Height>
|
||||
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/spiral_fail.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Image>
|
||||
<X> 84 </X>
|
||||
<Y> 1314 </Y>
|
||||
<Width> 911 </Width>
|
||||
<Height> 265 </Height>
|
||||
<Filename> "ROOT/taobin_project/image/smoothie/proccess/bg_empty.png" </Filename>
|
||||
</Image>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1344 </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 85 </Height>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002430 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
<Text>
|
||||
<X> 0 </X>
|
||||
<Y> 1430 </Y>
|
||||
<Align> Center </Align>
|
||||
<Language>
|
||||
<ID> 002431 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
111
xml/page_spiral_sell.xml
Normal file
111
xml/page_spiral_sell.xml
Normal file
|
|
@ -0,0 +1,111 @@
|
|||
<Popup>
|
||||
<Cache> "Enable" </Cache>
|
||||
<Width> 1080 </Width>
|
||||
<Height> 1920 </Height>
|
||||
<Background> "0xeae6e1" </Background>
|
||||
;<Sound> "ROOT/taobin_project/sounds/chaching.mp3" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
SAVELOG " spiral sell v3"
|
||||
|
||||
Var Timeout = 0
|
||||
Var LastMakeSpiralResult = 0
|
||||
Var ShowSwapVDO = "ROOT/taobin_project/spiral/video/sp01.mp4"
|
||||
GenHashWithTimeStamp SpiralRef
|
||||
Var Seeker.sprial_product_code = LinkProductCodeAnotherMachine[0]
|
||||
DEBUGVAR Seeker.sprial_product_code
|
||||
Var ServiceCredit = Seeker.sprial_product_code
|
||||
SPIRAL_SELL ServiceCredit SpiralRef
|
||||
|
||||
Var TimeOutSmoothiesProcess = 120
|
||||
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
Var Timeout = Timeout + 1
|
||||
|
||||
; test
|
||||
;If Timeout > 10 Then
|
||||
; Var LastMakeSpiralResult = 2
|
||||
;EndIf
|
||||
|
||||
DEBUGVAR LastMakeSpiralResult
|
||||
|
||||
If LastMakeSpiralResult = 1 Then
|
||||
|
||||
Var SessionID4 = MachineSpiralID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralVMName
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + ServiceCredit
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + 1
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralRemaining
|
||||
|
||||
Var SpiralPayDetail="locker:S:0:"
|
||||
Var SpiralPayDetail = SpiralPayDetail + SessionID4
|
||||
|
||||
DEBUGVAR SpiralPayDetail
|
||||
Var Seeker.sprial_pay_detail = SpiralPayDetail
|
||||
|
||||
If Seeker = "next" Then
|
||||
Var NextOrder = "true"
|
||||
Var NextSmoothie = 1
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_spiral_before_conti.xml"
|
||||
EndIf
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||
EndIf
|
||||
|
||||
If LastMakeSpiralResult = 2 Then
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/spiral_pay_fail.ev"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_spiral_failed.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
If Timeout > 120 Then
|
||||
|
||||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/spiral_pay_fail.ev"
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_spiral_failed.xml"
|
||||
EndIf
|
||||
|
||||
TimerReset
|
||||
Refresh
|
||||
</EventTimeout>
|
||||
|
||||
|
||||
|
||||
<Video>
|
||||
<X> 0 </X>
|
||||
<Y> 700 </Y>
|
||||
<Width> 1080</Width>
|
||||
<Height> 840 </Height>
|
||||
<Refresh> "Reload" </Refresh>
|
||||
<Loop> "true" </Loop>
|
||||
<Filename> ShowSwapVDO </Filename>
|
||||
;<Filename> "ROOT/taobin_project/spiral/video/sp01.mp4" </Filename>
|
||||
</Video>
|
||||
|
||||
<EventActionOk>
|
||||
</EventActionOk>
|
||||
|
||||
;include="ROOT/taobin_project/inc/video.inc"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</Popup>
|
||||
|
|
@ -7,6 +7,9 @@
|
|||
<Volume> SoundVolume </Volume>
|
||||
<EventOpen>
|
||||
; On open
|
||||
|
||||
RootLayoutVisible 3 "hide"
|
||||
|
||||
Var CountDownThankyou = 3
|
||||
Var CountDownBrewing = BrewTime
|
||||
Var CountUpBrewing = 0
|
||||
|
|
@ -357,6 +360,9 @@
|
|||
Var VendingDiscount = Seeker.VendingDiscount
|
||||
Var VendingCampaign = Seeker.VendingCampaign
|
||||
|
||||
DEBUGVAR Seeker.ServiceCharge
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
DEBUGVAR ServiceCharge
|
||||
|
||||
Var PayDetail = "2/F:1311/0//XML|" + Seeker.OrderChanel
|
||||
Var PayType = ""
|
||||
|
|
@ -378,6 +384,7 @@
|
|||
Var SessionID2 = SessionID2 + "/"
|
||||
|
||||
Var PayDetail2 = ToppingDetail
|
||||
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR PayDetail2
|
||||
|
||||
|
|
|
|||
|
|
@ -8,6 +8,9 @@
|
|||
<EventOpen>
|
||||
; This page Seeker must curr
|
||||
; On open
|
||||
|
||||
|
||||
|
||||
Var CountDownThankyou = 4
|
||||
Var CountDownBrewing = BrewTime
|
||||
Var CountUpBrewing = 0
|
||||
|
|
@ -33,7 +36,11 @@
|
|||
DEBUGVAR MachineStage
|
||||
DEBUGVAR NextOrderStatus
|
||||
|
||||
Var text_id_001525 = 001525
|
||||
Var text_id_001526 = 001526
|
||||
|
||||
Var TEXT_ID_STRING_001525 !assigned GetLanguageID(text_id_001525, LanguageShowByIndex)
|
||||
Var TEXT_ID_STRING_001526 !assigned GetLanguageID(text_id_001526, LanguageShowByIndex)
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var ImageDoing = "ROOT/taobin_project/image/page_doing/img2_eng.png"
|
||||
|
|
@ -49,18 +56,16 @@
|
|||
EndIf
|
||||
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page_thankyou_mmr"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
If LanguageShow = "MSC" Then
|
||||
|
||||
Var BottomText = PicturePath + "text_bottom_eng.png"
|
||||
|
||||
Var DirImage = "ROOT/taobin_project/image/page_thankyou_msc"
|
||||
EndIf
|
||||
|
||||
;DEBUGVAR StarwState
|
||||
|
|
@ -110,25 +115,42 @@
|
|||
DEBUGVAR MachineStage
|
||||
DEBUGVAR NextOrderStatus
|
||||
|
||||
; Show text and button for remove CUP.
|
||||
If show_eng = "true" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_en/"
|
||||
; Default dir image
|
||||
Var DirImage = "ROOT/taobin_project/image/complete/"
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_en/"
|
||||
|
||||
If InternationalEnable = 1 Then
|
||||
|
||||
If LanguageShow = "THAI" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "ENG" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_en/"
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_mmr/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_msc/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
EndIf
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete/"
|
||||
If show_eng = "true" Then
|
||||
|
||||
Else
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete/"
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
|
||||
;inter-image
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/image/complete_mmr/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MSC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_msc/"
|
||||
EndIf
|
||||
|
||||
If LanguageShow = "MTC" Then
|
||||
Var DirImage2 = "ROOT/taobin_project/inter/hkg/image/complete_mtc/"
|
||||
EndIf
|
||||
|
||||
Var txtDrinkOKState = "Invisible"
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
|
|
@ -143,7 +165,15 @@
|
|||
|
||||
;include=ROOT/taobin_project/inc/remove_cup_event_open.inc
|
||||
|
||||
SAVELOG "Thank you conti version TCT6"
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
|
||||
Var thankyouContiVersion = "TCV9 "
|
||||
SAVELOG "Thank you conti version " + thankyouContiVersion
|
||||
SAVELOG "Support NextSmoothie and fix bug next"
|
||||
SAVELOG "DirImage detele. use DirImage2"
|
||||
|
||||
DEBUGVAR NextSmoothie
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
|
||||
;PendingFlag InternationalEnable
|
||||
;PendingFlag New_Payment
|
||||
|
|
@ -179,7 +209,7 @@
|
|||
SAVELOG "Make next order by take-cup with close-maintenance 2"
|
||||
|
||||
Var error_code_stop_now = 1221
|
||||
|
||||
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
|
|
@ -192,7 +222,7 @@
|
|||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
|
||||
|
||||
Open "ROOT/taobin_project/xml/page_cannotConti.xml "
|
||||
|
||||
EndIf
|
||||
|
|
@ -203,29 +233,29 @@
|
|||
SAVELOG "Make next order by take-cup with close-maintenance 3"
|
||||
|
||||
Var error_code_stop_now = CupErrorCodeForNextOrder
|
||||
|
||||
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
Else
|
||||
Var error_code_stop_now = 1296
|
||||
__CMD "error-code-1296" 0 "-" "-"
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
|
||||
|
||||
Var LastMakeDrinkResult = "fail"
|
||||
Open "ROOT/taobin_project/xml/page_cannotConti.xml"
|
||||
|
||||
EndIf
|
||||
|
||||
; setvarint Timeout2 888
|
||||
|
||||
|
||||
If Timeout2 > 890 Then
|
||||
|
||||
|
||||
__CMD "cup-error-code" "-" "-" "-"
|
||||
DEBUGVAR CupErrorCodeForNextOrder
|
||||
EndIf
|
||||
|
|
@ -245,7 +275,7 @@
|
|||
|
||||
__CMD "check-cup" Seeker.selected_a_drink "-" "-"
|
||||
|
||||
; old condition
|
||||
; old condition
|
||||
If HaveCup = "false" Then
|
||||
If MachineStage = "show-menu" Then
|
||||
|
||||
|
|
@ -274,8 +304,8 @@
|
|||
|
||||
DEBUGVAR CountDownThankyou
|
||||
|
||||
; run test;
|
||||
If CountDownThankyou = 0 Then
|
||||
; obsolete
|
||||
If CountDownThankyou = 99 Then
|
||||
|
||||
; reset all var
|
||||
DEBUGVAR MachineStage
|
||||
|
|
@ -290,6 +320,7 @@
|
|||
|
||||
If MachineStage = "show-menu" Then
|
||||
If HaveCup = "false" Then
|
||||
|
||||
Var LastMakeDrinkResult = "-"
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
|
|
@ -337,18 +368,34 @@
|
|||
Var MachineState_Result = 0
|
||||
|
||||
If MenuReadyForCup = "YES" Then
|
||||
|
||||
|
||||
|
||||
Var LastMakeDrinkResult = "-"
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
|
||||
; smoothie next
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
Var NextSmoothie = 0
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Var TimeOutSmoothiesProcess = 120
|
||||
|
||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
MakeDrinkV1 Seeker.selected_a_drink SelectSugarID
|
||||
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
EndIf
|
||||
Else
|
||||
|
||||
|
|
@ -357,12 +404,12 @@
|
|||
Open Brew3Inter
|
||||
Else
|
||||
;obsolete
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
If New_Payment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_NewBrewing3.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
Open "ROOT/taobin_project/xml/page_brewing3.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
@ -384,66 +431,30 @@
|
|||
|
||||
|
||||
;include=ROOT/taobin_project/inc/remove_cup_step.inc
|
||||
If Timeout2 < 3 Then
|
||||
Var buttonRemoveCup = "Invisible"
|
||||
EndIf
|
||||
|
||||
If buttonRemoveCup = "Invisible" Then
|
||||
If show_eng = "true" Then
|
||||
Var MachineErrorDetailAll = " Please take cup."
|
||||
Else
|
||||
Var MachineErrorDetailAll = " กรุณานำแก้วออกก่อนครับ/คะ"
|
||||
EndIf
|
||||
;inter-text
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var MachineErrorDetailAll = " ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။"
|
||||
EndIf
|
||||
If LanguageShow = "MSC" Then
|
||||
Var MachineErrorDetailAll = " 请拿杯子。"
|
||||
EndIf
|
||||
If LanguageShow = "MTC" Then
|
||||
Var MachineErrorDetailAll = " 請拿杯子。"
|
||||
EndIf
|
||||
Else
|
||||
Var MachineErrorDetailAll = TEXT_ID_STRING_001525
|
||||
Else
|
||||
If CupChecking = "true" Then
|
||||
If show_eng = "true" Then
|
||||
Var MachineErrorDetailAll = " Please take a cup."
|
||||
Else
|
||||
Var MachineErrorDetailAll = " กรุณานำแก้วออกก่อนครับ/คะ"
|
||||
EndIf
|
||||
;inter-text
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var MachineErrorDetailAll = " ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။"
|
||||
EndIf
|
||||
If LanguageShow = "MSC" Then
|
||||
Var MachineErrorDetailAll = " 请拿杯子。"
|
||||
EndIf
|
||||
If LanguageShow = "MTC" Then
|
||||
Var MachineErrorDetailAll = " 請拿杯子。"
|
||||
EndIf
|
||||
Var MachineErrorDetailAll = TEXT_ID_STRING_001525
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
Var MachineErrorDetailAll = " Press button for take a cup."
|
||||
Else
|
||||
Var MachineErrorDetailAll = " กรุณากดปุ่ม แล้วนำแก้วออกก่อนครับ/คะ"
|
||||
EndIf
|
||||
;inter-text
|
||||
If LanguageShow = "MYANMAR" Then
|
||||
Var MachineErrorDetailAll = " ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။"
|
||||
EndIf
|
||||
If LanguageShow = "MSC" Then
|
||||
Var MachineErrorDetailAll = " 按按钮取杯子。"
|
||||
EndIf
|
||||
If LanguageShow = "MTC" Then
|
||||
Var MachineErrorDetailAll = " 按按鈕取杯子。"
|
||||
EndIf
|
||||
Var MachineErrorDetailAll = TEXT_ID_STRING_001526
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If Timeout2 < 3 Then
|
||||
Var MachineErrorDetailAll = "..."
|
||||
EndIf
|
||||
|
||||
DEBUGVAR MenuReadyForCup
|
||||
|
||||
If MenuReadyForCup = "YES" Then
|
||||
|
||||
If DoorCupPosition = "bottom" Then
|
||||
|
||||
|
||||
Var VideoPlayFile = VideoPath
|
||||
Var VideoPlayFile = VideoPlayFile + VideoFileBegin
|
||||
Var VideoPlayFile = VideoPlayFile + "1"
|
||||
|
|
@ -456,9 +467,9 @@
|
|||
|
||||
DEBUGVAR CountDownForShowMenuNextOrderToBrew
|
||||
DEBUGVAR Seeker.selected_a_drink
|
||||
|
||||
|
||||
If CountDownForShowMenuNextOrderToBrew = 3 Then
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -477,7 +488,7 @@
|
|||
Var buttonRemoveCup = "Invisible"
|
||||
|
||||
Else
|
||||
|
||||
|
||||
|
||||
EndIf
|
||||
|
||||
|
|
@ -566,7 +577,7 @@
|
|||
<Width> 1080 </Width>
|
||||
<Align> end </Align>
|
||||
<Color> 0xFF0000 </Color>
|
||||
<Value> "TCT6 "</Value>
|
||||
<Value> thankyouContiVersion </Value>
|
||||
</Text>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@
|
|||
EndIf
|
||||
Machine WakeUp
|
||||
|
||||
Var OverridePrice = 100
|
||||
|
||||
Var Seeker.orderFromNewTopping = 1
|
||||
|
||||
Var TextSelfTestCntColor = "0x746253"
|
||||
|
|
@ -851,8 +853,8 @@
|
|||
|
||||
TRY "ROOT/taobin_project/speical/call_from_topping.ev"
|
||||
|
||||
DEBUGVAR $12-02-03-0043.Name
|
||||
DEBUGVAR $12-02-03-0043.NameE
|
||||
DEBUGVAR SpeicalButtonPositionX
|
||||
DEBUGVAR TextShowSpecialButton
|
||||
|
||||
If show_eng = "true" Then
|
||||
Var showname = NameDrink
|
||||
|
|
@ -1819,10 +1821,17 @@
|
|||
Var CustomMilkState[1] = "Enable"
|
||||
Var CustomMilkState[2] = "Enable"
|
||||
Else
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
If TOPPING11 = "milk-level" Then
|
||||
Var CustomMilkState[0] = "Enable"
|
||||
Var CustomMilkState[1] = "Enable"
|
||||
Var CustomMilkState[2] = "Enable"
|
||||
Else
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
|
|
@ -2213,15 +2222,22 @@
|
|||
Var showShotNormalSoda = "Invisible"
|
||||
Var showShotEnableSoda = "Invisible"
|
||||
Else
|
||||
Var showShotNormalSoda = "Disable"
|
||||
Var showShotEnableSoda = "Disable"
|
||||
If toppingID13index2Status = "Enable" Then
|
||||
Var showShotEnableSoda = "Enable"
|
||||
Var showShotNormalSoda = "Enable"
|
||||
Else
|
||||
Var showShotNormalSoda = "Disable"
|
||||
Var showShotEnableSoda = "Disable"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Else
|
||||
Var showShotNormalSoda = "Disable"
|
||||
Var showShotEnableSoda = "Disable"
|
||||
EndIf
|
||||
|
||||
|
||||
|
||||
DEBUGVAR SubMenuGroupIDSlot6_1
|
||||
|
||||
DEBUGVAR TOPPING3
|
||||
|
|
@ -2621,6 +2637,20 @@
|
|||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
|
||||
If TOPPING13 = "shot coffee" Then
|
||||
If showShotNormalSoda = "Enable" Then
|
||||
If showShotEnableSoda = "Enable" Then
|
||||
Var showShotNormalSoda = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
If showShotNormal = "Enable" Then
|
||||
If showShotEnable = "Enable" Then
|
||||
Var showShotNormal = "Press"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
Var SelectToppingType = 1
|
||||
EndIf
|
||||
|
||||
|
|
@ -2680,34 +2710,30 @@
|
|||
EndIf
|
||||
EndIf
|
||||
|
||||
If CustomMilkState[0] = "Enable" Then
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
EndIf
|
||||
If TOPPING11 = "milk-level" Then
|
||||
|
||||
If CustomMilkState[1] = "Enable" Then
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
EndIf
|
||||
If CustomMilkState[2] = "Enable" Then
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
If CustomMilkState[0] = "Disable" Then
|
||||
Var CustomMilkState[0] = "Enable"
|
||||
EndIf
|
||||
|
||||
If CustomMilkState[0] = "PressForever" Then
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
EndIf
|
||||
If CustomMilkState[1] = "Disable" Then
|
||||
Var CustomMilkState[1] = "Enable"
|
||||
EndIf
|
||||
If CustomMilkState[2] = "Disable" Then
|
||||
Var CustomMilkState[2] = "Enable"
|
||||
EndIf
|
||||
|
||||
If CustomMilkState[1] = "PressForever" Then
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
EndIf
|
||||
If CustomMilkState[2] = "PressForever" Then
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
|
||||
If CustomMilkState[0] = "Enable" Then
|
||||
If CustomMilkState[1] = "Enable" Then
|
||||
If CustomMilkState[2] = "Enable" Then
|
||||
Var CustomMilkState[1] = "PressForever" Then
|
||||
If CustomMilkState[0] = "Enable" Then
|
||||
If CustomMilkState[1] = "Enable" Then
|
||||
If CustomMilkState[2] = "Enable" Then
|
||||
Var CustomMilkState[1] = "PressForever" Then
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
Var CustomMilkState[0] = "Disable"
|
||||
Var CustomMilkState[1] = "Disable"
|
||||
Var CustomMilkState[2] = "Disable"
|
||||
EndIf
|
||||
|
||||
If TOPPING13 = "shot coffee" Then
|
||||
|
|
@ -8051,7 +8077,7 @@
|
|||
<Y> CustomEspressoTextY </Y>
|
||||
<State> showEspressoLevel </State>
|
||||
<Language>
|
||||
<ID> 002059 </ID>
|
||||
<ID> 002058 </ID>
|
||||
</Language>
|
||||
</Text>
|
||||
|
||||
|
|
@ -10763,6 +10789,48 @@
|
|||
|
||||
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
<Button>
|
||||
<X> SpeicalButtonPositionX </X>
|
||||
<Y> 1785 </Y>
|
||||
<State> ShowSpecialButton </State>
|
||||
<Filename> Var( DirImage + "/bn_button_no_text.png" ) </Filename>
|
||||
<FilenamePress> Var( DirImage + "/bp_button_no_text.png" )</FilenamePress>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventClick>
|
||||
|
||||
;include="ROOT/taobin_project/inc/button_topping_select_confirm_order.inc"
|
||||
|
||||
</EventClick>
|
||||
</Button>
|
||||
|
||||
<Text>
|
||||
<X> SpeicalButtonPositionX </X>
|
||||
<Y> 1785 </Y>
|
||||
<Width> 360 </Width>
|
||||
<Height> 92 </Height>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
<State> ShowSpecialButton </State>
|
||||
<Value> TextShowSpecialButton </Value>
|
||||
<Font> KanitTTF </Font>
|
||||
<Size> TextSize </Size>
|
||||
</Text>
|
||||
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
;
|
||||
|
||||
|
||||
|
||||
<Function2>
|
||||
Var fun = "function2"
|
||||
DEBUGVAR fun
|
||||
|
|
@ -10892,11 +10960,11 @@
|
|||
Var showdesc = DescLang[0][LanguageShowByIndex]
|
||||
Else
|
||||
If show_eng = "true" Then
|
||||
Var showname = menu_name_eng_blender
|
||||
Var showdesc = menu_desc_eng_blender
|
||||
Var showname = menu_name_eng_hot
|
||||
Var showdesc = menu_desc_eng_hot
|
||||
Else
|
||||
Var showname = menu_name_thai_blender
|
||||
Var showdesc = menu_desc_thai_blender
|
||||
Var showname = menu_name_thai_hot
|
||||
Var showdesc = menu_desc_thai_hot
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ If Seeker.PayWithQR = 0 Then
|
|||
Var PayO2 = Seeker.CoffeePinNumber
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR TelephoneNumber
|
||||
Var TelephoneNumberExt = TelephoneNumber
|
||||
If TelephoneNumberExt = "" Then
|
||||
|
|
@ -24,3 +24,10 @@ EndIf
|
|||
__CMD "SetTelNum" TelephoneNumberExt Seeker.ORDER_ID Seeker.VendingTSID
|
||||
Var payOrderChannel = "/XML|" + Seeker.OrderChanel
|
||||
__CMD "SetPayType" Seeker.ORDER_ID payOrderChannel ""
|
||||
|
||||
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
SAVELOG "[FROZEN-FRUIT] Set spiral pay detail"
|
||||
__CMD "SprialPayDetail" Seeker.sprial_pay_detail "-" "-"
|
||||
EndIf
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
DEBUGVAR "MIGGAZE0"
|
||||
DEBUGVAR " payment ev evaluate "
|
||||
If Seeker.PayWithQR = 1 Then
|
||||
|
||||
Var ServiceAmount2 = Seeker.ServiceAmount2
|
||||
|
|
@ -8,6 +8,7 @@ If Seeker.PayWithQR = 1 Then
|
|||
Var VendingCampaign = 0
|
||||
Var SelectDrink = Seeker.selected_a_drink
|
||||
Var SuggestID = ""
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
|
||||
If ChangeFlag2 = 1 Then
|
||||
Var TelephoneNumber = "0899999999"
|
||||
|
|
@ -54,6 +55,8 @@ If Seeker.PayWithQR = 1 Then
|
|||
Var ServiceCredit = SelectDrink
|
||||
Var SuggestID = ""
|
||||
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
|
||||
Var PayDetail = "2/S:0/0//XML|" + Seeker.OrderChanel
|
||||
|
||||
If GetFreeFromError = 1 Then
|
||||
|
|
@ -90,6 +93,8 @@ If Seeker.PayWithQR = 1 Then
|
|||
Var ServiceCredit = SelectDrink
|
||||
Var SuggestID = ""
|
||||
|
||||
Var ServiceCharge = Seeker.ServiceCharge
|
||||
|
||||
Var PayDetail = "2/S:0/0//XML|" + Seeker.OrderChanel
|
||||
|
||||
If GetFreeFromError = 1 Then
|
||||
|
|
|
|||
73
xml/process/spiral_pay_fail.ev
Normal file
73
xml/process/spiral_pay_fail.ev
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
TRY "/mnt/sdcard/coffeevending/taobin_project/xml/process/addpoint.ev"
|
||||
|
||||
Var SelectDrink = Seeker.selected_a_drink
|
||||
Var ExtendData = Seeker.ExtendData
|
||||
Var ServiceAmount2 = Seeker.ServiceAmount2
|
||||
Var SessionID2 = SelectSlot + ":"
|
||||
Var SessionID2 = SessionID2 + ExtendData
|
||||
|
||||
Var CreditReference = Seeker.CreditReferenceTmp
|
||||
Var VendingDiscount = Seeker.VendingDiscount
|
||||
Var VendingCampaign = Seeker.VendingCampaign
|
||||
Var TxReference = Seeker.TxRef1
|
||||
Var VendingOrderID = Seeker.ORDER_ID
|
||||
Var PayType = "newpay"
|
||||
|
||||
Var ServiceType = "coffee-payment"
|
||||
Var ServiceCredit = SelectDrink
|
||||
Var SuggestID = ""
|
||||
|
||||
DEBUGVAR Seeker
|
||||
|
||||
Var PayDetail = "2/S:0/0/"
|
||||
|
||||
Var SessionID4 = MachineSpiralID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralVMName
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralSlotID
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + ServiceCredit
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + 1
|
||||
Var SessionID4 = SessionID4 + ":"
|
||||
Var SessionID4 = SessionID4 + MachineSpiralRemaining
|
||||
|
||||
Var PayDetail = PayDetail + "|locker:F:"
|
||||
Var PayDetail = PayDetail + MachineSpiralErrorCode
|
||||
Var PayDetail = PayDetail + ":"
|
||||
Var PayDetail = PayDetail + SessionID4
|
||||
|
||||
Var PayDetail = PayDetail + "/XML|"
|
||||
Var PayDetail = PayDetail + Seeker.OrderChanel
|
||||
|
||||
If Seeker.CodeChannel = 1 Then
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + ""
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + Seeker.VendingCode
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + SelectDrink
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + BoxID
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + "S"
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
Var SessionID2 = SessionID2 + Seeker.CodeNumber
|
||||
Var SessionID2 = SessionID2 + "/"
|
||||
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR Seeker.PayDetail2
|
||||
DEBUGVAR SessionID2
|
||||
|
||||
Var PayDetail2 = Seeker.PayDetail2
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
Else
|
||||
|
||||
DEBUGVAR PayDetail
|
||||
DEBUGVAR Seeker.PayDetail2
|
||||
|
||||
Var PayDetail2 = Seeker.PayDetail2
|
||||
Pay ServiceType TelephoneNumber ServiceCredit SuggestID SessionID2 ServiceAmount2 ServiceCharge Donate
|
||||
|
||||
EndIf
|
||||
28
xml/sometime/make_drink.xml
Normal file
28
xml/sometime/make_drink.xml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
SAVELOG "[MAKE_DRINK] V2"
|
||||
DEBUGVAR Seeker
|
||||
DEBUGVAR Seeker.SmoothieToPayment
|
||||
If Seeker = "curr" Then
|
||||
If New_Payment = 1 Then
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
; do nothing
|
||||
Else
|
||||
MakeDrinkV1 SelectDrink SelectSugarID
|
||||
EndIf
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
Else
|
||||
Var TxRef1 = ""
|
||||
CreateTxRef1 TxRef1
|
||||
|
||||
Var DrinkPaid = SelectDrink
|
||||
Var PaidPaymentFromNextStage = 1
|
||||
EndIf
|
||||
|
||||
If Seeker.SmoothieToPayment = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_spiral_sell.xml"
|
||||
Else
|
||||
Open "ROOT/taobin_project/xml/page_thankyou.xml"
|
||||
EndIf
|
||||
|
||||
|
|
@ -3,7 +3,6 @@
|
|||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
Var InstanceTabOpenFile11 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.xml"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 10000 </Timeout>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
Var InstanceTabOpenFile12 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.xml"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 10000 </Timeout>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
Var InstanceTabOpenFile13 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.xml"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 10000 </Timeout>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
<Height> 1920 </Height>
|
||||
|
||||
<EventOpen>
|
||||
Var InstanceTabOpenFile14 = "ROOT/taobin_project/inter/tha/xml/multi/start_up_inst_dummy.xml"
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 10000 </Timeout>
|
||||
|
|
|
|||
|
|
@ -19,12 +19,14 @@
|
|||
EndIf
|
||||
|
||||
If CountryName = "Thailand" Then
|
||||
Var BtnLangToggleIndex = "Invisible"
|
||||
TRY topview2_script
|
||||
EndIf
|
||||
|
||||
If CountryName = "HongKong" Then
|
||||
If EnableMultiInstance = "true" Then
|
||||
TRY topview2_script
|
||||
TRY "ROOT/taobin_project/inter/hkg/xml/multi/GetStringTextId.ev"
|
||||
Else
|
||||
ENABLE_MULTI_INSTANCE "set"
|
||||
Var InitialMultiInstance = 1
|
||||
|
|
@ -75,6 +77,8 @@
|
|||
Var ButtonLanguageListWidth = 70
|
||||
l 86
|
||||
|
||||
Var ButtonLanguageListXPositionIconForFlag = ButtonLanguageListXPositionIcon - 10
|
||||
|
||||
DEBUGVAR ENABLE_LANGUAGE_COUNT
|
||||
If ENABLE_LANGUAGE_COUNT = "" Then
|
||||
LanguageControl "UpdateList" 1
|
||||
|
|
@ -151,7 +155,9 @@
|
|||
|
||||
If PowderScheduleTimeOut = 0 Then
|
||||
Var PowderScheduleTimeOut = 1
|
||||
Var powder_sch_ev = "ROOT/taobin_project/inter/tha/" + "/hardware/powder_schedule.ev"
|
||||
Var powder_sch_ev = "ROOT/taobin_project/inter/tha/" + "/hardware/powder_schedule_v2.ev"
|
||||
EndIf
|
||||
|
||||
TRY powder_sch_ev
|
||||
EndIf
|
||||
EndIf
|
||||
|
|
@ -219,18 +225,18 @@
|
|||
Var ENABLE_CHINA = "Invisible"
|
||||
Var ENABLE_MALAY = "Invisible"
|
||||
Var ENABLE_MTC = "Invisible"
|
||||
|
||||
|
||||
TRY "ROOT/taobin_project/inter/tha/xml/multi/control_and_lang_swith.ev"
|
||||
EndIf
|
||||
If CountryName = "HongKong" Then
|
||||
If EnableMultiInstance = "true" Then
|
||||
Var ENABLE_UAE_DUBAI = "Invisible"
|
||||
Var ENABLE_THAI = "Invisible"
|
||||
Var ENABLE_JAPAN = "Invisible"
|
||||
Var ENABLE_CHINA = "Invisible"
|
||||
Var ENABLE_MALAY = "Invisible"
|
||||
Var ENABLE_MYANMAR = "Invisible"
|
||||
TRY "ROOT/taobin_project/inter/hkg/xml/multi/control_and_lang_swith.ev"
|
||||
EndIf
|
||||
Var ENABLE_UAE_DUBAI = "Invisible"
|
||||
Var ENABLE_THAI = "Invisible"
|
||||
Var ENABLE_JAPAN = "Invisible"
|
||||
Var ENABLE_CHINA = "Invisible"
|
||||
Var ENABLE_MALAY = "Invisible"
|
||||
Var ENABLE_MYANMAR = "Invisible"
|
||||
TRY "ROOT/taobin_project/inter/hkg/xml/multi/control_and_lang_swith.ev"
|
||||
EndIf
|
||||
Else
|
||||
|
||||
|
|
@ -501,7 +507,7 @@
|
|||
</ListView1>
|
||||
|
||||
<ListView1>
|
||||
<X> ButtonLanguageListXPositionIcon </X>
|
||||
<X> ButtonLanguageListXPositionIconForFlag </X>
|
||||
<Y> ButtonLanguageListYPositionIcon </Y>
|
||||
<Width> 1080 </Width>
|
||||
<Height> "auto" </Height>
|
||||
|
|
|
|||
|
|
@ -8,6 +8,14 @@
|
|||
; On open
|
||||
Machine AndroidTemperatureUpdateNow
|
||||
|
||||
DEBUGVAR CH9991_Status
|
||||
DEBUGVAR CH9992_Status
|
||||
DEBUGVAR CH9993_Status
|
||||
DEBUGVAR CH9994_Status
|
||||
DEBUGVAR GetFreeFromError
|
||||
DEBUGVAR FailErrorHappend
|
||||
|
||||
|
||||
Var info_startX = 11
|
||||
Var info_1Y = 250
|
||||
Var info_2Y = 320
|
||||
|
|
@ -175,6 +183,7 @@
|
|||
DEBUGVAR TestArrary[2]
|
||||
DEBUGVAR TestArrary[3]
|
||||
|
||||
Var CountTouchButton = 0
|
||||
|
||||
</EventOpen>
|
||||
<Timeout> 1000 </Timeout>
|
||||
|
|
@ -321,7 +330,40 @@
|
|||
<Y> info_3Y </Y>
|
||||
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
|
||||
<EventClick>
|
||||
OpenInst 4 ""
|
||||
If CountTouchButton = 4 Then
|
||||
|
||||
Var TimeOutSmoothiesProcess = 181
|
||||
Var SelectDrink = "12-00-07-0000"
|
||||
Var Seeker.selected_a_drink = SelectDrink
|
||||
Var Seeker.TNumberTaobinCredit = "0899999999"
|
||||
Var Seeker.StoreCreditFlag = 0
|
||||
Var Seeker.CoffeePinNumber = ""
|
||||
Var Seeker.VendingTSI = ""
|
||||
|
||||
Var RemainAmountStr = "Free###size=150"
|
||||
|
||||
Var RoadShowMarketCode = "EFR01"
|
||||
|
||||
Var Seeker.VendingCode = RoadShowMarketCode
|
||||
DEBUGVAR RoadShowMarketCode
|
||||
|
||||
Var Seeker.IntVendingCampaign = PriceDrink
|
||||
Var Seeker.FreeVendingCampaign = 1
|
||||
Var Seeker.CodeChannel = 1
|
||||
Var Seeker.CodeNumber = IDNum
|
||||
|
||||
If New_Payment = 1 Then
|
||||
Var Seeker.ORDER_ID = ""
|
||||
GenHashWithTimeStamp Seeker.ORDER_ID
|
||||
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||
EndIf
|
||||
|
||||
|
||||
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||
|
||||
TopView "show"
|
||||
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||
EndIf
|
||||
</EventClick>
|
||||
</Image>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue