DO verison

This commit is contained in:
kong 2022-02-11 17:10:27 +07:00
parent 387221ec42
commit 5bc5ef5f22
9 changed files with 1186 additions and 68 deletions

View file

@ -397,7 +397,113 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=2 12-04-02-0002
; button i=2 12-04-02-0016
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-04-02-0016.Button </State>
<Button>
<State> $12-04-02-0016.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-04-02-0016.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-04-02-0016.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-04-02-0016.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-04-02-0016.Self
Var NameDrink = $12-04-02-0016.NameE
Var NameDrinkTH = $12-04-02-0016.Name
Var DrinkDescriptionTH = $12-04-02-0016.description
Var DrinkDescription = $12-04-02-0016.descriptionE
Var PriceDrink = $12-04-02-0016.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-04-02-0016.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Var OpenFromXML = CurrentXMLFileName2
STRCONTAIN "Smoothie" $12-04-02-0016.Button IsSmoRet
Open "ROOT/taobin_project/xml/page_topping_select.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-04-02-0016.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-04-02-0016.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-04-02-0016.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-04-02-0016.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-04-02-0016.descriptionE </Value>
</Text>
<Image>
<X> 2 </X>
<Y> 2 </Y>
<State> eval( STRCONTAIN "Smoothie" $12-04-02-0016.Button SmoRet
If SmoRet = "true" Then
Var return = "Enable"
Else
Var return = "Invisible"
EndIf
) </State>
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=3 12-04-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -503,7 +609,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=3 12-04-02-0003
; button i=4 12-04-02-0003
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -609,7 +715,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=4 12-04-02-0013
; button i=5 12-04-02-0013
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -715,7 +821,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=5 12-04-02-0004
; button i=6 12-04-02-0004
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -821,7 +927,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=6 12-04-02-0005
; button i=7 12-04-02-0005
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -927,7 +1033,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=7 12-04-02-0006
; button i=8 12-04-02-0006
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1033,7 +1139,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=8 12-04-02-0007
; button i=9 12-04-02-0007
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1139,7 +1245,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=9 12-04-02-0008
; button i=10 12-04-02-0008
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1245,7 +1351,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=10 12-04-02-0009
; button i=11 12-04-02-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1351,7 +1457,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=11 12-04-02-0010
; button i=12 12-04-02-0010
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1457,7 +1563,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=12 12-04-02-0011
; button i=13 12-04-02-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1563,7 +1669,7 @@
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
</Image>
</Block>
; button i=13 12-04-02-0014
; button i=14 12-04-02-0014
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>