add dirty

This commit is contained in:
kong 2021-07-13 14:04:36 +07:00
parent e29fc53f7a
commit dcf80415fa
7 changed files with 134 additions and 18 deletions

View file

@ -26,6 +26,8 @@
product_code.append('12-01-01-0011')
product_code.append('12-01-01-0012')
product_code.append('12-01-01-0017')
product_code.append('12-01-02-0018')
product_code.append('12-11-02-0001')
product_code.append('12-01-02-0001')

View file

@ -1564,7 +1564,100 @@
<Value> $12-01-01-0017.descriptionE </Value>
</Text>
</Block>
; button i=15 12-11-02-0001
; button i=15 12-01-02-0018
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-01-02-0018.Button </State>
<Button>
<State> $12-01-02-0018.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-01-02-0018.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-01-02-0018.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-01-02-0018.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-01-02-0018.Self
Var NameDrink = $12-01-02-0018.NameE
Var NameDrinkTH = $12-01-02-0018.Name
Var DrinkDescriptionTH = $12-01-02-0018.description
Var DrinkDescription = $12-01-02-0018.descriptionE
Var PriceDrink = $12-01-02-0018.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-01-02-0018.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-0018.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-0018.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-0018.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-0018.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-0018.descriptionE </Value>
</Text>
</Block>
; button i=16 12-11-02-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1657,7 +1750,7 @@
<Value> $12-11-02-0001.descriptionE </Value>
</Text>
</Block>
; button i=16 12-01-02-0001
; button i=17 12-01-02-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1750,7 +1843,7 @@
<Value> $12-01-02-0001.descriptionE </Value>
</Text>
</Block>
; button i=17 12-01-02-0011
; button i=18 12-01-02-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1843,7 +1936,7 @@
<Value> $12-01-02-0011.descriptionE </Value>
</Text>
</Block>
; button i=18 12-01-02-0002
; button i=19 12-01-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1936,7 +2029,7 @@
<Value> $12-01-02-0002.descriptionE </Value>
</Text>
</Block>
; button i=19 12-11-02-0002
; button i=20 12-11-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2029,7 +2122,7 @@
<Value> $12-11-02-0002.descriptionE </Value>
</Text>
</Block>
; button i=20 12-01-02-0003
; button i=21 12-01-02-0003
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2122,7 +2215,7 @@
<Value> $12-01-02-0003.descriptionE </Value>
</Text>
</Block>
; button i=21 12-01-02-0004
; button i=22 12-01-02-0004
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2215,7 +2308,7 @@
<Value> $12-01-02-0004.descriptionE </Value>
</Text>
</Block>
; button i=22 12-01-02-0005
; button i=23 12-01-02-0005
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2308,7 +2401,7 @@
<Value> $12-01-02-0005.descriptionE </Value>
</Text>
</Block>
; button i=23 12-01-02-0007
; button i=24 12-01-02-0007
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2401,7 +2494,7 @@
<Value> $12-01-02-0007.descriptionE </Value>
</Text>
</Block>
; button i=24 12-01-02-0008
; button i=25 12-01-02-0008
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2494,7 +2587,7 @@
<Value> $12-01-02-0008.descriptionE </Value>
</Text>
</Block>
; button i=25 12-01-02-0009
; button i=26 12-01-02-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2587,7 +2680,7 @@
<Value> $12-01-02-0009.descriptionE </Value>
</Text>
</Block>
; button i=26 12-01-02-0017
; button i=27 12-01-02-0017
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2680,7 +2773,7 @@
<Value> $12-01-02-0017.descriptionE </Value>
</Text>
</Block>
; button i=27 11-01-02-0009
; button i=28 11-01-02-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>