Do adver 5.40

This commit is contained in:
kong 2021-06-25 17:14:12 +07:00
parent 1096771744
commit 274be15a8e
14 changed files with 678 additions and 79 deletions

View file

@ -1471,7 +1471,100 @@
<Value> $12-01-01-0012.descriptionE </Value>
</Text>
</Block>
; button i=14 12-11-02-0001
; button i=14 12-01-01-0017
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-01-01-0017.Button </State>
<Button>
<State> $12-01-01-0017.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-01-01-0017.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-01-01-0017.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-01-01-0017.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-01-01-0017.Self
Var NameDrink = $12-01-01-0017.NameE
Var NameDrinkTH = $12-01-01-0017.Name
Var DrinkDescriptionTH = $12-01-01-0017.description
Var DrinkDescription = $12-01-01-0017.descriptionE
Var PriceDrink = $12-01-01-0017.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-01-01-0017.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $12-01-01-0017.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $12-01-01-0017.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $12-01-01-0017.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $12-01-01-0017.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $12-01-01-0017.descriptionE </Value>
</Text>
</Block>
; button i=15 12-11-02-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1564,7 +1657,7 @@
<Value> $12-11-02-0001.descriptionE </Value>
</Text>
</Block>
; button i=15 12-01-02-0001
; button i=16 12-01-02-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1657,7 +1750,7 @@
<Value> $12-01-02-0001.descriptionE </Value>
</Text>
</Block>
; button i=16 12-01-02-0011
; button i=17 12-01-02-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1750,7 +1843,7 @@
<Value> $12-01-02-0011.descriptionE </Value>
</Text>
</Block>
; button i=17 12-01-02-0002
; button i=18 12-01-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1843,7 +1936,7 @@
<Value> $12-01-02-0002.descriptionE </Value>
</Text>
</Block>
; button i=18 12-11-02-0002
; button i=19 12-11-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1936,7 +2029,7 @@
<Value> $12-11-02-0002.descriptionE </Value>
</Text>
</Block>
; button i=19 12-01-02-0003
; button i=20 12-01-02-0003
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2029,7 +2122,7 @@
<Value> $12-01-02-0003.descriptionE </Value>
</Text>
</Block>
; button i=20 12-01-02-0004
; button i=21 12-01-02-0004
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2122,7 +2215,7 @@
<Value> $12-01-02-0004.descriptionE </Value>
</Text>
</Block>
; button i=21 12-01-02-0005
; button i=22 12-01-02-0005
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2215,7 +2308,7 @@
<Value> $12-01-02-0005.descriptionE </Value>
</Text>
</Block>
; button i=22 12-01-02-0007
; button i=23 12-01-02-0007
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2308,7 +2401,7 @@
<Value> $12-01-02-0007.descriptionE </Value>
</Text>
</Block>
; button i=23 12-01-02-0008
; button i=24 12-01-02-0008
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2401,7 +2494,7 @@
<Value> $12-01-02-0008.descriptionE </Value>
</Text>
</Block>
; button i=24 12-01-02-0009
; button i=25 12-01-02-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2494,7 +2587,100 @@
<Value> $12-01-02-0009.descriptionE </Value>
</Text>
</Block>
; button i=25 11-01-02-0009
; button i=26 12-01-02-0017
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-01-02-0017.Button </State>
<Button>
<State> $12-01-02-0017.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-01-02-0017.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-01-02-0017.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-01-02-0017.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-01-02-0017.Self
Var NameDrink = $12-01-02-0017.NameE
Var NameDrinkTH = $12-01-02-0017.Name
Var DrinkDescriptionTH = $12-01-02-0017.description
Var DrinkDescription = $12-01-02-0017.descriptionE
Var PriceDrink = $12-01-02-0017.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-01-02-0017.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Var OpenFromXML = CurrentXMLFileName2
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
<Text>
<X> 182 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $12-01-02-0017.Price </Value>
</Text>
<Text>
<X> 164 </X>
<Y> 12 </Y>
<State> ShowPrice </State>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $12-01-02-0017.Name </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $12-01-02-0017.description </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 190 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $12-01-02-0017.NameE </Value>
</Text>
<Text>
<X> 16 </X>
<Y> 246 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $12-01-02-0017.descriptionE </Value>
</Text>
</Block>
; button i=27 11-01-02-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>