THAI: bring back cha thai
This commit is contained in:
parent
0712e6d78d
commit
60589410e6
2 changed files with 1008 additions and 1010 deletions
|
|
@ -1335,38 +1335,41 @@ Sugar, Oreo" </Value>
|
|||
</Text>
|
||||
</Block>
|
||||
|
||||
|
||||
|
||||
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
; 12-03-01-0002 12-03-02-0002 12-03-03-0002
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,$Sum120201003912020200391202030039) </State>
|
||||
<State> Flag( 12-03-01-0002.Button,12-03-02-0002.Button,12-03-03-0002.Button,$Sum120301000212030200021203030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120201003912020200391202030039 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_SingPark.png" </FilenameDisable>
|
||||
<State> $Sum120301000212030200021203030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_cocoa.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_cocoa.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_cocoa.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-01-0002, "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 = "THAI MILK TEA"
|
||||
Var NameDrinkTH = "ชานมไทย "
|
||||
Var DrinkDescriptionTH = "ชาไทย และ นม"
|
||||
Var DrinkDescription = "Thai tea, Sugar, milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_SingPark.png"
|
||||
Var NameDrink = "COCOA"
|
||||
Var NameDrinkTH = "โกโก้ "
|
||||
Var DrinkDescriptionTH = "โกโก้ นมและน้ำตาล"
|
||||
Var DrinkDescription = "Milk, Cocoa, Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_cocoa.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0039.Price
|
||||
Var PriceD2 = $12-02-02-0039.Price
|
||||
Var PriceD3 = $12-02-03-0039.Price
|
||||
Var PD_CODE1 = "12-02-01-0039"
|
||||
Var PD_CODE2 = "12-02-02-0039"
|
||||
Var PD_CODE3 = "12-02-03-0039"
|
||||
Var PD_STAGE_1 = $12-02-01-0039.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0039.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0039.Button
|
||||
Var PriceD1 = $12-03-01-0002.Price
|
||||
Var PriceD2 = $12-03-02-0002.Price
|
||||
Var PriceD3 = $12-03-03-0002.Price
|
||||
Var PD_CODE1 = "12-03-01-0002"
|
||||
Var PD_CODE2 = "12-03-02-0002"
|
||||
Var PD_CODE3 = "12-03-03-0002"
|
||||
Var PD_STAGE_1 = $12-03-01-0002.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0002.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0002.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0002, "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
|
||||
|
|
@ -1382,35 +1385,35 @@ Sugar, Oreo" </Value>
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0039"
|
||||
Topping "Load" "12-03-02-0002"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0039"
|
||||
Topping "Load" "12-03-01-0002"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0039"
|
||||
Topping "Load" "12-03-03-0002"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0039.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0039.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0039.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0039.description
|
||||
Var menu_name_eng_hot = $12-03-01-0002.NameE
|
||||
Var menu_desc_eng_hot = $12-03-01-0002.descriptionE
|
||||
Var menu_name_thai_hot = $12-03-01-0002.Name
|
||||
Var menu_desc_thai_hot = $12-03-01-0002.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0039.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0039.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0039.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0039.description
|
||||
Var menu_name_eng_cold = $12-03-02-0002.NameE
|
||||
Var menu_desc_eng_cold = $12-03-02-0002.descriptionE
|
||||
Var menu_name_thai_cold = $12-03-02-0002.Name
|
||||
Var menu_desc_thai_cold = $12-03-02-0002.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0039.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0039.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0039.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0039.description
|
||||
Var menu_name_eng_blender = $12-03-03-0002.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0002.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0002.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0002.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>
|
||||
|
|
@ -1424,7 +1427,7 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชานมไทย " </Value>
|
||||
<Value> "โกโก้ " </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1434,7 +1437,7 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชาไทย และ นม" </Value>
|
||||
<Value> "โกโก้ นมและน้ำตาล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1445,7 +1448,7 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "THAI MILK TEA" </Value>
|
||||
<Value> "COCOA" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1455,7 +1458,7 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Thai tea, Sugar, milk" </Value>
|
||||
<Value> "Milk, Cocoa, Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1465,7 +1468,7 @@ Sugar, Oreo" </Value>
|
|||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-02-01-0039.Button </State>
|
||||
<State> $12-03-01-0002.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
|
|
@ -1477,15 +1480,15 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-01-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-03-01-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-01-0002.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-0039.Button </State>
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
|
|
@ -1495,15 +1498,15 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0002.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-0039.Button </State>
|
||||
<State> $12-03-03-0002.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1513,8 +1516,8 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-03-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-03-03-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1523,7 +1526,7 @@ Sugar, Oreo" </Value>
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201003912020200391202030039 = "Disable" Then
|
||||
If $Sum120301000212030200021203030002 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1543,10 +1546,10 @@ Sugar, Oreo" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201003912020200391202030039 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0039.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0039.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0039.TAG tag3_is_disable
|
||||
If $Sum120301000212030200021203030002 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0002.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0002.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0002.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1582,11 +1585,12 @@ Sugar, Oreo" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201003912020200391202030039 </State>
|
||||
<State> $Sum120301000212030200021203030002 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
|
|
@ -2336,7 +2340,255 @@ 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( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,$Sum120201003912020200391202030039) </State>
|
||||
<Button>
|
||||
<State> $Sum120201003912020200391202030039 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_SingPark.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "THAI MILK TEA"
|
||||
Var NameDrinkTH = "ชานมไทย "
|
||||
Var DrinkDescriptionTH = "ชาไทย และ นม"
|
||||
Var DrinkDescription = "Thai tea, Sugar, milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_SingPark.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0039.Price
|
||||
Var PriceD2 = $12-02-02-0039.Price
|
||||
Var PriceD3 = $12-02-03-0039.Price
|
||||
Var PD_CODE1 = "12-02-01-0039"
|
||||
Var PD_CODE2 = "12-02-02-0039"
|
||||
Var PD_CODE3 = "12-02-03-0039"
|
||||
Var PD_STAGE_1 = $12-02-01-0039.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0039.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0039.Button
|
||||
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-0039"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0039"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0039"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0039.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0039.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0039.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0039.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0039.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0039.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0039.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0039.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0039.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0039.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0039.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0039.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> "THAI MILK 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> "Thai tea, Sugar, milk" </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-0039.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-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0039.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-0039.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-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0039.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-0039.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-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201003912020200391202030039 = "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 $Sum120201003912020200391202030039 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0039.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0039.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0039.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> $Sum120201003912020200391202030039 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; menu_new_li;TAGESP
|
||||
; ==================> Len = 17
|
||||
; - - 12-03-03-0009
|
||||
|
|
@ -2590,261 +2842,7 @@ VOLCANO" </Value>
|
|||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
; 12-03-01-0002 12-03-02-0002 12-03-03-0002
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0002.Button,12-03-02-0002.Button,12-03-03-0002.Button,Disable=Invisible,$Sum120301000212030200021203030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120301000212030200021203030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_cocoa.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_cocoa.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_cocoa.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-01-0002, "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 = "COCOA"
|
||||
Var NameDrinkTH = "โกโก้ "
|
||||
Var DrinkDescriptionTH = "โกโก้ นมและน้ำตาล"
|
||||
Var DrinkDescription = "Milk, Cocoa, Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_cocoa.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0002.Price
|
||||
Var PriceD2 = $12-03-02-0002.Price
|
||||
Var PriceD3 = $12-03-03-0002.Price
|
||||
Var PD_CODE1 = "12-03-01-0002"
|
||||
Var PD_CODE2 = "12-03-02-0002"
|
||||
Var PD_CODE3 = "12-03-03-0002"
|
||||
Var PD_STAGE_1 = $12-03-01-0002.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0002.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0002.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0002, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0002"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0002"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0002"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-03-01-0002.NameE
|
||||
Var menu_desc_eng_hot = $12-03-01-0002.descriptionE
|
||||
Var menu_name_thai_hot = $12-03-01-0002.Name
|
||||
Var menu_desc_thai_hot = $12-03-01-0002.description
|
||||
|
||||
Var menu_name_eng_cold = $12-03-02-0002.NameE
|
||||
Var menu_desc_eng_cold = $12-03-02-0002.descriptionE
|
||||
Var menu_name_thai_cold = $12-03-02-0002.Name
|
||||
Var menu_desc_thai_cold = $12-03-02-0002.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0002.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0002.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0002.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0002.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> "COCOA" </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> "Milk, Cocoa, Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-03-01-0002.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-01-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-01-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0002.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-0002.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-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301000212030200021203030002 = "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 $Sum120301000212030200021203030002 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0002.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0002.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0002.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> $Sum120301000212030200021203030002 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - 12-03-03-0029
|
||||
|
|
|
|||
|
|
@ -1336,37 +1336,41 @@ Sugar, Oreo" </Value>
|
|||
</Block>
|
||||
|
||||
|
||||
|
||||
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
; 12-03-01-0002 12-03-02-0002 12-03-03-0002
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,$Sum120201003912020200391202030039) </State>
|
||||
<State> Flag( 12-03-01-0002.Button,12-03-02-0002.Button,12-03-03-0002.Button,$Sum120301000212030200021203030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120201003912020200391202030039 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_SingPark.png" </FilenameDisable>
|
||||
<State> $Sum120301000212030200021203030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_cocoa.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_cocoa.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_cocoa.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-01-0002, "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 = "THAI MILK TEA"
|
||||
Var NameDrinkTH = "ชานมไทย "
|
||||
Var DrinkDescriptionTH = "ชาไทย และ นม"
|
||||
Var DrinkDescription = "Thai tea, Sugar, milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_SingPark.png"
|
||||
Var NameDrink = "COCOA"
|
||||
Var NameDrinkTH = "โกโก้ "
|
||||
Var DrinkDescriptionTH = "โกโก้ นมและน้ำตาล"
|
||||
Var DrinkDescription = "Milk, Cocoa, Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_cocoa.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0039.Price
|
||||
Var PriceD2 = $12-02-02-0039.Price
|
||||
Var PriceD3 = $12-02-03-0039.Price
|
||||
Var PD_CODE1 = "12-02-01-0039"
|
||||
Var PD_CODE2 = "12-02-02-0039"
|
||||
Var PD_CODE3 = "12-02-03-0039"
|
||||
Var PD_STAGE_1 = $12-02-01-0039.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0039.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0039.Button
|
||||
Var PriceD1 = $12-03-01-0002.Price
|
||||
Var PriceD2 = $12-03-02-0002.Price
|
||||
Var PriceD3 = $12-03-03-0002.Price
|
||||
Var PD_CODE1 = "12-03-01-0002"
|
||||
Var PD_CODE2 = "12-03-02-0002"
|
||||
Var PD_CODE3 = "12-03-03-0002"
|
||||
Var PD_STAGE_1 = $12-03-01-0002.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0002.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0002.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0002, "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
|
||||
|
|
@ -1382,35 +1386,35 @@ Sugar, Oreo" </Value>
|
|||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-02-02-0039"
|
||||
Topping "Load" "12-03-02-0002"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0039"
|
||||
Topping "Load" "12-03-01-0002"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0039"
|
||||
Topping "Load" "12-03-03-0002"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0039.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0039.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0039.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0039.description
|
||||
Var menu_name_eng_hot = $12-03-01-0002.NameE
|
||||
Var menu_desc_eng_hot = $12-03-01-0002.descriptionE
|
||||
Var menu_name_thai_hot = $12-03-01-0002.Name
|
||||
Var menu_desc_thai_hot = $12-03-01-0002.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0039.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0039.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0039.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0039.description
|
||||
Var menu_name_eng_cold = $12-03-02-0002.NameE
|
||||
Var menu_desc_eng_cold = $12-03-02-0002.descriptionE
|
||||
Var menu_name_thai_cold = $12-03-02-0002.Name
|
||||
Var menu_desc_thai_cold = $12-03-02-0002.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0039.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0039.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0039.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0039.description
|
||||
Var menu_name_eng_blender = $12-03-03-0002.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0002.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0002.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0002.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>
|
||||
|
|
@ -1424,7 +1428,7 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชานมไทย " </Value>
|
||||
<Value> "โกโก้ " </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1434,7 +1438,7 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showthaiText </State>
|
||||
<Value> "ชาไทย และ นม" </Value>
|
||||
<Value> "โกโก้ นมและน้ำตาล" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1445,7 +1449,7 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x322B26 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "THAI MILK TEA" </Value>
|
||||
<Value> "COCOA" </Value>
|
||||
</Text>
|
||||
<Text>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1455,7 +1459,7 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<State> showengText </State>
|
||||
<Value> "Thai tea, Sugar, milk" </Value>
|
||||
<Value> "Milk, Cocoa, Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
|
|
@ -1465,7 +1469,7 @@ Sugar, Oreo" </Value>
|
|||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-02-01-0039.Button </State>
|
||||
<State> $12-03-01-0002.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
|
|
@ -1477,15 +1481,15 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-01-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-03-01-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-01-0002.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-0039.Button </State>
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
|
|
@ -1495,15 +1499,15 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-02-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0002.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-0039.Button </State>
|
||||
<State> $12-03-03-0002.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 180 </X>
|
||||
|
|
@ -1513,8 +1517,8 @@ Sugar, Oreo" </Value>
|
|||
<Font> KanitRegularTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-02-03-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
<State> $12-03-03-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
|
|
@ -1523,7 +1527,7 @@ Sugar, Oreo" </Value>
|
|||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201003912020200391202030039 = "Disable" Then
|
||||
If $Sum120301000212030200021203030002 = "Disable" Then
|
||||
Var ice_tab_process_show = "Disable"
|
||||
Else
|
||||
Var ice_tab_process_show = "Enable"
|
||||
|
|
@ -1543,10 +1547,10 @@ Sugar, Oreo" </Value>
|
|||
<Y> 117 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If $Sum120201003912020200391202030039 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0039.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0039.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0039.TAG tag3_is_disable
|
||||
If $Sum120301000212030200021203030002 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0002.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0002.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0002.TAG tag3_is_disable
|
||||
Var return = "Invisible"
|
||||
If tag1_is_disable = "true" Then
|
||||
Var return = "Enable"
|
||||
|
|
@ -1582,11 +1586,12 @@ Sugar, Oreo" </Value>
|
|||
<Font> MITRegularTTF </Font>
|
||||
<Color> 0x5A5A5A </Color>
|
||||
<Mode> "disable-show" </Mode>
|
||||
<State> $Sum120201003912020200391202030039 </State>
|
||||
<State> $Sum120301000212030200021203030002 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
|
|
@ -2336,6 +2341,255 @@ 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( 12-02-01-0039.Button,12-02-02-0039.Button,12-02-03-0039.Button,$Sum120201003912020200391202030039) </State>
|
||||
<Button>
|
||||
<State> $Sum120201003912020200391202030039 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_thai_milk_tea_SingPark.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_thai_milk_tea_SingPark.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_thai_milk_tea_SingPark.png" </FilenameDisable>
|
||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||
<Volume> SoundVolume </Volume>
|
||||
<EventOnClick>
|
||||
Var NameDrink = "THAI MILK TEA"
|
||||
Var NameDrinkTH = "ชานมไทย "
|
||||
Var DrinkDescriptionTH = "ชาไทย และ นม"
|
||||
Var DrinkDescription = "Thai tea, Sugar, milk"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_thai_milk_tea_SingPark.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-02-01-0039.Price
|
||||
Var PriceD2 = $12-02-02-0039.Price
|
||||
Var PriceD3 = $12-02-03-0039.Price
|
||||
Var PD_CODE1 = "12-02-01-0039"
|
||||
Var PD_CODE2 = "12-02-02-0039"
|
||||
Var PD_CODE3 = "12-02-03-0039"
|
||||
Var PD_STAGE_1 = $12-02-01-0039.Button
|
||||
Var PD_STAGE_2 = $12-02-02-0039.Button
|
||||
Var PD_STAGE_3 = $12-02-03-0039.Button
|
||||
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-0039"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-02-01-0039"
|
||||
Else
|
||||
Topping "Load" "12-02-03-0039"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-02-01-0039.NameE
|
||||
Var menu_desc_eng_hot = $12-02-01-0039.descriptionE
|
||||
Var menu_name_thai_hot = $12-02-01-0039.Name
|
||||
Var menu_desc_thai_hot = $12-02-01-0039.description
|
||||
|
||||
Var menu_name_eng_cold = $12-02-02-0039.NameE
|
||||
Var menu_desc_eng_cold = $12-02-02-0039.descriptionE
|
||||
Var menu_name_thai_cold = $12-02-02-0039.Name
|
||||
Var menu_desc_thai_cold = $12-02-02-0039.description
|
||||
|
||||
Var menu_name_eng_blender = $12-02-03-0039.NameE
|
||||
Var menu_desc_eng_blender = $12-02-03-0039.descriptionE
|
||||
Var menu_name_thai_blender = $12-02-03-0039.Name
|
||||
Var menu_desc_thai_blender = $12-02-03-0039.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> "THAI MILK 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> "Thai tea, Sugar, milk" </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-0039.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-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-01-0039.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-0039.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-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-02-0039.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-0039.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-0039.Button </State>
|
||||
<Value> StringFmt( $12-02-03-0039.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120201003912020200391202030039 = "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 $Sum120201003912020200391202030039 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-02-01-0039.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-02-02-0039.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-02-03-0039.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> $Sum120201003912020200391202030039 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; menu_new_li;TAGESP
|
||||
; ==================> Len = 17
|
||||
; - - 12-03-03-0009
|
||||
|
|
@ -2589,261 +2843,7 @@ VOLCANO" </Value>
|
|||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 17
|
||||
; 12-03-01-0002 12-03-02-0002 12-03-03-0002
|
||||
<Block>
|
||||
<MarginLeft> 33 </MarginLeft>
|
||||
<MarginTop> 22 </MarginTop>
|
||||
<Width> 225 </Width>
|
||||
<Height> 296 </Height>
|
||||
<State> Flag( 12-03-01-0002.Button,12-03-02-0002.Button,12-03-03-0002.Button,Disable=Invisible,$Sum120301000212030200021203030002) </State>
|
||||
<Button>
|
||||
<State> $Sum120301000212030200021203030002 </State>
|
||||
<Filename> "ROOT/taobin_project/image/page_drink_n//bn_iced_cocoa.png" </Filename>
|
||||
<FilenamePress> "ROOT/taobin_project/image/page_drink_press_n//bn_iced_cocoa.png" </FilenamePress>
|
||||
<FilenameDisable> "ROOT/taobin_project/image/page_drink_disable_n2//bn_iced_cocoa.png" </FilenameDisable>
|
||||
<OverlayImage> xmlpro( 12-03-01-0002, "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 = "COCOA"
|
||||
Var NameDrinkTH = "โกโก้ "
|
||||
Var DrinkDescriptionTH = "โกโก้ นมและน้ำตาล"
|
||||
Var DrinkDescription = "Milk, Cocoa, Sugar"
|
||||
Var PictureDrink = "ROOT/taobin_project/image/page_drink_picture2_n/" + "bn_iced_cocoa.png"
|
||||
Var OpenFromXML = CurrentXMLFileName2
|
||||
Var PriceD1 = $12-03-01-0002.Price
|
||||
Var PriceD2 = $12-03-02-0002.Price
|
||||
Var PriceD3 = $12-03-03-0002.Price
|
||||
Var PD_CODE1 = "12-03-01-0002"
|
||||
Var PD_CODE2 = "12-03-02-0002"
|
||||
Var PD_CODE3 = "12-03-03-0002"
|
||||
Var PD_STAGE_1 = $12-03-01-0002.Button
|
||||
Var PD_STAGE_2 = $12-03-02-0002.Button
|
||||
Var PD_STAGE_3 = $12-03-03-0002.Button
|
||||
Var OverlayMenuFilter !assigned xmlpro( 12-03-01-0002, "ROOT/taobin_project/image/menu_overlay_set/button_overlay_pic_%s_posi1.png")
|
||||
DEBUGVAR OverlayMenuFilter
|
||||
Var SelectCountDrinkType = 0
|
||||
Var DefaultDrinkType = 0
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 1
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 2
|
||||
EndIf
|
||||
If PD_STAGE_3 = "Enable" Then
|
||||
Var SelectCountDrinkType = SelectCountDrinkType + 1
|
||||
Var DefaultDrinkType = 3
|
||||
EndIf
|
||||
If PD_STAGE_2 = "Enable" Then
|
||||
Topping "Load" "12-03-02-0002"
|
||||
Else
|
||||
If PD_STAGE_1 = "Enable" Then
|
||||
Topping "Load" "12-03-01-0002"
|
||||
Else
|
||||
Topping "Load" "12-03-03-0002"
|
||||
EndIf
|
||||
EndIf
|
||||
Var menu_name_eng_hot = $12-03-01-0002.NameE
|
||||
Var menu_desc_eng_hot = $12-03-01-0002.descriptionE
|
||||
Var menu_name_thai_hot = $12-03-01-0002.Name
|
||||
Var menu_desc_thai_hot = $12-03-01-0002.description
|
||||
|
||||
Var menu_name_eng_cold = $12-03-02-0002.NameE
|
||||
Var menu_desc_eng_cold = $12-03-02-0002.descriptionE
|
||||
Var menu_name_thai_cold = $12-03-02-0002.Name
|
||||
Var menu_desc_thai_cold = $12-03-02-0002.description
|
||||
|
||||
Var menu_name_eng_blender = $12-03-03-0002.NameE
|
||||
Var menu_desc_eng_blender = $12-03-03-0002.descriptionE
|
||||
Var menu_name_thai_blender = $12-03-03-0002.Name
|
||||
Var menu_desc_thai_blender = $12-03-03-0002.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> "COCOA" </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> "Milk, Cocoa, Sugar" </Value>
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "option_deactive.png" ) </Filename>
|
||||
</Image>
|
||||
<Image>
|
||||
<X> 16 </X>
|
||||
<Y> 264 </Y>
|
||||
<State> $12-03-01-0002.Button </State>
|
||||
<Filename> Var( DirImage2 + "hot.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "hot_db.png" ) </FilenameDisable>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 50 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-01-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-01-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<Filename> Var( DirImage2 + "cold.png" ) </Filename>
|
||||
<FilenameDisable> Var( DirImage2 + "cold_db.png" ) </FilenameDisable>
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
</Image>
|
||||
<Text>
|
||||
<X> 115 </X>
|
||||
<Y> TextPriceMenuY </Y>
|
||||
<Size> TextPriceMenuSize </Size>
|
||||
<Width>220</Width>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x6F5F51 </Color>
|
||||
<ColorDisable> 0xEAE6E1 </ColorDisable>
|
||||
<State> $12-03-02-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-02-0002.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-0002.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-0002.Button </State>
|
||||
<Value> StringFmt( $12-03-03-0002.Price , DisplayFormat, PreScaleConvertShow) </Value>; test
|
||||
</Text>
|
||||
<Image>
|
||||
<X> 81 </X>
|
||||
<Y> 264 </Y>
|
||||
<State>
|
||||
eval(
|
||||
If ICE_PROCESS_STATUS = 2 Then
|
||||
|
||||
If $Sum120301000212030200021203030002 = "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 $Sum120301000212030200021203030002 = "Disable" Then
|
||||
STRCONTAIN "ERR" $12-03-01-0002.TAG tag1_is_disable
|
||||
STRCONTAIN "ERR" $12-03-02-0002.TAG tag2_is_disable
|
||||
STRCONTAIN "ERR" $12-03-03-0002.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> $Sum120301000212030200021203030002 </State>
|
||||
<Value> text_unavailable </Value>
|
||||
<Align> center-vertical-horizontal </Align>
|
||||
</Text>
|
||||
</Block>
|
||||
; - - -
|
||||
; ==================> Len = 16
|
||||
; - - 12-03-03-0029
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue