before pull

This commit is contained in:
wanlop run 2025-01-24 14:50:18 +07:00
parent 4f3f19beb7
commit ec72f0961f
93 changed files with 40987 additions and 9525 deletions

View file

@ -3598,39 +3598,39 @@ Soda" </Value>
</Text>
</Block>
; - - -
; ==================> Len = 22
; เป๊ปซี่ Pepsi & Ice -
; ==================> Len = 20
; - 12-05-02-0094 12-05-03-0094
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( เป๊ปซี่ .Button,Pepsi & Ice.Button,$Sumเป๊ปซี่ Pepsi & Ice) </State>
<State> Flag( 12-05-02-0094.Button,12-05-03-0094.Button,$Sum12050200941205030094) </State>
<Button>
<State> $Sumเป๊ปซี่ Pepsi & Ice </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//12-05-02-0094" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//12-05-02-0094" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//12-05-02-0094" </FilenameDisable>
<OverlayImage> xmlpro( เป๊ปซี่ , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_-.png") </OverlayImage>
<State> $Sum12050200941205030094 </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_pepsi.png" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_pepsi.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_pepsi.png" </FilenameDisable>
<OverlayImage> xmlpro( 12-05-03-0094, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_posi1.png") </OverlayImage>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var NameDrink = ""
Var NameDrinkTH = "PEPSI"
Var DrinkDescriptionTH = "เป๊ปซี่น้ำแข็ง"
Var DrinkDescription = "Pepsi"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "12-05-02-0094"
Var NameDrink = "Pepsi"
Var NameDrinkTH = "เป๊ปซี่น้ำแข็ง"
Var DrinkDescriptionTH = "เป๊ปซี่ "
Var DrinkDescription = "Pepsi & Ice"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_pepsi.png"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $เป๊ปซี่ .Price
Var PriceD2 = $Pepsi & Ice.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "เป๊ปซี่ "
Var PD_CODE2 = "Pepsi & Ice"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $เป๊ปซี่ .Button
Var PD_STAGE_2 = $Pepsi & Ice.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( เป๊ปซี่ , "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_-.png")
Var PriceD1 = $-.Price
Var PriceD2 = $12-05-02-0094.Price
Var PriceD3 = $12-05-03-0094.Price
Var PD_CODE1 = "##-##-##-####"
Var PD_CODE2 = "12-05-02-0094"
Var PD_CODE3 = "12-05-03-0094"
Var PD_STAGE_1 = "Disable2"
Var PD_STAGE_2 = $12-05-02-0094.Button
Var PD_STAGE_3 = $12-05-03-0094.Button
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0094, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
@ -3647,28 +3647,28 @@ Soda" </Value>
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "Pepsi & Ice"
Topping "Load" "12-05-02-0094"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "เป๊ปซี่ "
Else
Topping "Load" "-"
Else
Topping "Load" "12-05-03-0094"
EndIf
EndIf
Var menu_name_eng_hot = $เป๊ปซี่ .NameE
Var menu_desc_eng_hot = $เป๊ปซี่ .descriptionE
Var menu_name_thai_hot = $เป๊ปซี่ .Name
Var menu_desc_thai_hot = $เป๊ปซี่ .description
Var menu_name_eng_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 = $Pepsi & Ice.NameE
Var menu_desc_eng_cold = $Pepsi & Ice.descriptionE
Var menu_name_thai_cold = $Pepsi & Ice.Name
Var menu_desc_thai_cold = $Pepsi & Ice.description
Var menu_name_eng_cold = $12-05-02-0094.NameE
Var menu_desc_eng_cold = $12-05-02-0094.descriptionE
Var menu_name_thai_cold = $12-05-02-0094.Name
Var menu_desc_thai_cold = $12-05-02-0094.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-0094.NameE
Var menu_desc_eng_blender = $12-05-03-0094.descriptionE
Var menu_name_thai_blender = $12-05-03-0094.Name
Var menu_desc_thai_blender = $12-05-03-0094.description
DEBUGVAR PD_STAGE_1
DEBUGVAR PD_STAGE_2
@ -3689,7 +3689,7 @@ Soda" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> "PEPSI" </Value>
<Value> "เป๊ปซี่น้ำแข็ง" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3699,7 +3699,7 @@ Soda" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> "เป๊ปซี่น้ำแข็ง" </Value>
<Value> "เป๊ปซี่ " </Value>
</Text>
<Text>
<X> 16 </X>
@ -3710,7 +3710,7 @@ Soda" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> "" </Value>
<Value> "Pepsi" </Value>
</Text>
<Text>
<X> 16 </X>
@ -3720,7 +3720,7 @@ Soda" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Pepsi" </Value>
<Value> "Pepsi & Ice" </Value>
</Text>
<Image>
<X> 16 </X>
@ -3730,7 +3730,7 @@ Soda" </Value>
<Image>
<X> 16 </X>
<Y> 264 </Y>
<State> $เป๊ปซี่ .Button </State>
<State> "Invisible" </State>
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
</Image>
@ -3742,15 +3742,15 @@ Soda" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $เป๊ปซี่ .Button </State>
<Value> StringFmt( $เป๊ปซี่ .Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<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> $Pepsi & Ice.Button </State>
<State> $12-05-02-0094.Button </State>
</Image>
<Text>
<X> 115 </X>
@ -3760,15 +3760,15 @@ Soda" </Value>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<ColorDisable> 0xEAE6E1 </ColorDisable>
<State> $Pepsi & Ice.Button </State>
<Value> StringFmt( $Pepsi & Ice.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
<State> $12-05-02-0094.Button </State>
<Value> StringFmt( $12-05-02-0094.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> $12-05-03-0094.Button </State>
</Image>
<Text>
<X> 180 </X>
@ -3778,274 +3778,17 @@ Soda" </Value>
<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
If $Sumเป๊ปซี่ Pepsi & Ice = "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 $Sumเป๊ปซี่ Pepsi & Ice = "Disable" Then
STRCONTAIN "ERR" $เป๊ปซี่ .TAG tag1_is_disable
STRCONTAIN "ERR" $Pepsi & Ice.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เป๊ปซี่ Pepsi & Ice </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; 12-05-03-0094 bn_iced_pepsi.png -
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> Flag( 12-05-03-0094.Button,bn_iced_pepsi.png.Button,$Sum1205030094bn_iced_pepsi.png) </State>
<Button>
<State> $Sum1205030094bn_iced_pepsi.png </State>
<Filename> "ROOT/taobin_project/image/page_drink_n//12-05-02-0094" </Filename>
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//12-05-02-0094" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//12-05-02-0094" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<OverlayImage> xmlpro( 12-05-03-0094, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_%s_-.png") </OverlayImage>
<EventOnClick>
Var NameDrink = ""
Var NameDrinkTH = "PEPSI"
Var DrinkDescriptionTH = "เป๊ปซี่น้ำแข็ง"
Var DrinkDescription = "Pepsi"
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "12-05-02-0094"
Var OpenFromXML = CurrentXMLFileName2
Var PriceD1 = $12-05-03-0094.Price
Var PriceD2 = $bn_iced_pepsi.png.Price
Var PriceD3 = $-.Price
Var PD_CODE1 = "12-05-03-0094"
Var PD_CODE2 = "bn_iced_pepsi.png"
Var PD_CODE3 = "##-##-##-####"
Var PD_STAGE_1 = $12-05-03-0094.Button
Var PD_STAGE_2 = $bn_iced_pepsi.png.Button
Var PD_STAGE_3 = "Disable2"
Var OverlayMenuFilter !assigned xmlpro( 12-05-03-0094, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_-.png")
DEBUGVAR OverlayMenuFilter
Var SelectCountDrinkType = 0
Var DefaultDrinkType = 0
If PD_STAGE_1 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 1
EndIf
If PD_STAGE_2 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 2
EndIf
If PD_STAGE_3 = "Enable" Then
Var SelectCountDrinkType = SelectCountDrinkType + 1
Var DefaultDrinkType = 3
EndIf
If PD_STAGE_2 = "Enable" Then
Topping "Load" "bn_iced_pepsi.png"
Else
If PD_STAGE_1 = "Enable" Then
Topping "Load" "12-05-03-0094"
Else
Topping "Load" "-"
EndIf
EndIf
Var menu_name_eng_hot = $12-05-03-0094.NameE
Var menu_desc_eng_hot = $12-05-03-0094.descriptionE
Var menu_name_thai_hot = $12-05-03-0094.Name
Var menu_desc_thai_hot = $12-05-03-0094.description
Var menu_name_eng_cold = $bn_iced_pepsi.png.NameE
Var menu_desc_eng_cold = $bn_iced_pepsi.png.descriptionE
Var menu_name_thai_cold = $bn_iced_pepsi.png.Name
Var menu_desc_thai_cold = $bn_iced_pepsi.png.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> "PEPSI" </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> "" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 220 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> "Pepsi" </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-05-03-0094.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-05-03-0094.Button </State>
<Value> StringFmt( $12-05-03-0094.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> $bn_iced_pepsi.png.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> $bn_iced_pepsi.png.Button </State>
<Value> StringFmt( $bn_iced_pepsi.png.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
If $Sum1205030094bn_iced_pepsi.png = "Disable" Then
Var ice_tab_process_show = "Disable"
Else
Var ice_tab_process_show = "Enable"
EndIf
Var ice_tab_process_show = "Invisible"
Else
Var ice_tab_process_show = "Invisible"
@ -4061,10 +3804,10 @@ Soda" </Value>
<Y> 117 </Y>
<State>
eval(
If $Sum1205030094bn_iced_pepsi.png = "Disable" Then
STRCONTAIN "ERR" $12-05-03-0094.TAG tag1_is_disable
STRCONTAIN "ERR" $bn_iced_pepsi.png.TAG tag2_is_disable
STRCONTAIN "ERR" $##-##-##-####.TAG tag3_is_disable
If $Sum12050200941205030094 = "Disable" Then
STRCONTAIN "ERR" $##-##-##-####.TAG tag1_is_disable
STRCONTAIN "ERR" $12-05-02-0094.TAG tag2_is_disable
STRCONTAIN "ERR" $12-05-03-0094.TAG tag3_is_disable
Var return = "Invisible"
If tag1_is_disable = "true" Then
Var return = "Enable"
@ -4100,11 +3843,12 @@ Soda" </Value>
<Font> MITRegularTTF </Font>
<Color> 0x5A5A5A </Color>
<Mode> "disable-show" </Mode>
<State> $Sum1205030094bn_iced_pepsi.png </State>
<State> $Sum12050200941205030094 </State>
<Value> text_unavailable </Value>
<Align> center-vertical-horizontal </Align>
</Text>
</Block>
; - - -
; ==================> Len = 20
; - 12-05-02-0095 -
<Block>