This commit is contained in:
kong 2021-05-24 13:38:59 +07:00
parent a014f56432
commit 7321a4aa50
8 changed files with 27 additions and 118 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View file

@ -91,8 +91,10 @@
DEBUGVAR TermTemOnline
; Dtac.
DEBUGVAR ShowDtac1
Var CAMPAIGN1 = "false"
If TaobinOnline = "true" Then
Var ShowButtonClickFull = "Invisible"
Var VideoMainPage = "ROOT/taobin_project/video/main_page.mp4"
@ -230,7 +232,7 @@
If CountDownPauseVideo > 0 Then
; ignore
;Var CountDownPauseVideo = CountDownPauseVideo - 1
Var CountDownPauseVideo = CountDownPauseVideo - 1
If CountDownPauseVideo = 0 Then
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
@ -263,7 +265,7 @@
DEBUGVAR CountUpReloadAll
If CountUpReloadAll > 180 Then
If CountUpReloadAll > 130 Then
Var StartUpExt = "-"
Var CountUpReloadAll = 0
@ -293,7 +295,7 @@
TouchTapClose
EndIf
Open CurrentXMLFileName0
;Open CurrentXMLFileName0
Refresh
</EventEnd>

View file

@ -12,7 +12,7 @@
product_code.append('12-02-01-0004')
product_code.append('12-02-01-0005')
#product_code.append('12-02-01-0005') #HOT BLACK TEA
product_code.append('12-02-01-0006')
product_code.append('12-02-01-0007')

View file

@ -633,100 +633,7 @@
<Value> $12-02-01-0004.descriptionE </Value>
</Text>
</Block>
; button i=5 12-02-01-0005
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
<Width> 225 </Width>
<Height> 296 </Height>
<State> $12-02-01-0005.Button </State>
<Button>
<State> $12-02-01-0005.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $12-02-01-0005.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $12-02-01-0005.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $12-02-01-0005.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = $12-02-01-0005.Self
Var NameDrink = $12-02-01-0005.NameE
Var NameDrinkTH = $12-02-01-0005.Name
Var DrinkDescriptionTH = $12-02-01-0005.description
Var DrinkDescription = $12-02-01-0005.descriptionE
Var PriceDrink = $12-02-01-0005.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $12-02-01-0005.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-02-01-0005.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-02-01-0005.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-02-01-0005.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-02-01-0005.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-02-01-0005.descriptionE </Value>
</Text>
</Block>
; button i=6 12-02-01-0006
; button i=5 12-02-01-0006
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -819,7 +726,7 @@
<Value> $12-02-01-0006.descriptionE </Value>
</Text>
</Block>
; button i=7 12-02-01-0007
; button i=6 12-02-01-0007
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -912,7 +819,7 @@
<Value> $12-02-01-0007.descriptionE </Value>
</Text>
</Block>
; button i=8 12-02-01-0008
; button i=7 12-02-01-0008
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1005,7 +912,7 @@
<Value> $12-02-01-0008.descriptionE </Value>
</Text>
</Block>
; button i=9 12-02-01-0009
; button i=8 12-02-01-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1098,7 +1005,7 @@
<Value> $12-02-01-0009.descriptionE </Value>
</Text>
</Block>
; button i=10 12-02-01-0010
; button i=9 12-02-01-0010
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1191,7 +1098,7 @@
<Value> $12-02-01-0010.descriptionE </Value>
</Text>
</Block>
; button i=11 12-02-01-0011
; button i=10 12-02-01-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1284,7 +1191,7 @@
<Value> $12-02-01-0011.descriptionE </Value>
</Text>
</Block>
; button i=12 12-02-01-0012
; button i=11 12-02-01-0012
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1377,7 +1284,7 @@
<Value> $12-02-01-0012.descriptionE </Value>
</Text>
</Block>
; button i=13 12-02-01-0017
; button i=12 12-02-01-0017
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1470,7 +1377,7 @@
<Value> $12-02-01-0017.descriptionE </Value>
</Text>
</Block>
; button i=14 12-02-02-0001
; button i=13 12-02-02-0001
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1563,7 +1470,7 @@
<Value> $12-02-02-0001.descriptionE </Value>
</Text>
</Block>
; button i=15 12-02-02-0002
; button i=14 12-02-02-0002
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1656,7 +1563,7 @@
<Value> $12-02-02-0002.descriptionE </Value>
</Text>
</Block>
; button i=16 12-02-02-0003
; button i=15 12-02-02-0003
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1749,7 +1656,7 @@
<Value> $12-02-02-0003.descriptionE </Value>
</Text>
</Block>
; button i=17 12-02-02-0004
; button i=16 12-02-02-0004
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1842,7 +1749,7 @@
<Value> $12-02-02-0004.descriptionE </Value>
</Text>
</Block>
; button i=18 12-02-02-0005
; button i=17 12-02-02-0005
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -1935,7 +1842,7 @@
<Value> $12-02-02-0005.descriptionE </Value>
</Text>
</Block>
; button i=19 12-02-02-0006
; button i=18 12-02-02-0006
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2028,7 +1935,7 @@
<Value> $12-02-02-0006.descriptionE </Value>
</Text>
</Block>
; button i=20 12-02-02-0007
; button i=19 12-02-02-0007
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2121,7 +2028,7 @@
<Value> $12-02-02-0007.descriptionE </Value>
</Text>
</Block>
; button i=21 12-02-02-0008
; button i=20 12-02-02-0008
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2214,7 +2121,7 @@
<Value> $12-02-02-0008.descriptionE </Value>
</Text>
</Block>
; button i=22 12-02-02-0009
; button i=21 12-02-02-0009
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2307,7 +2214,7 @@
<Value> $12-02-02-0009.descriptionE </Value>
</Text>
</Block>
; button i=23 12-02-02-0010
; button i=22 12-02-02-0010
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2400,7 +2307,7 @@
<Value> $12-02-02-0010.descriptionE </Value>
</Text>
</Block>
; button i=24 12-02-02-0011
; button i=23 12-02-02-0011
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2493,7 +2400,7 @@
<Value> $12-02-02-0011.descriptionE </Value>
</Text>
</Block>
; button i=25 12-02-02-0012
; button i=24 12-02-02-0012
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>
@ -2586,7 +2493,7 @@
<Value> $12-02-02-0012.descriptionE </Value>
</Text>
</Block>
; button i=26 12-02-02-0018
; button i=25 12-02-02-0018
<Block>
<MarginLeft> 33 </MarginLeft>
<MarginTop> 22 </MarginTop>