Add idcard .xml

This commit is contained in:
kong 2020-11-15 23:14:16 +07:00
parent 7269467922
commit 53f54b912e
47 changed files with 1038 additions and 430 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View file

@ -192,7 +192,7 @@
<Y> 610 </Y>
<State> ShowButtonClickFull </State>
<Width> 1070 </Width>
<Height> 1200 </Height>
<Height> 1100 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
@ -215,5 +215,18 @@
</Text>
<Button>
<X> 870 </X>
<Y> 1860 </Y>
<Width> 200 </Width>
<Height> 50 </Height>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Open "//mnt/sdcard/coffeevending/taobin_project/xml/vending_info.xml"
</EventClick>
</Button>
</Page>

View file

@ -477,17 +477,17 @@
<Value> ShowCountDownBrewing </Value>
</Text>
<Text>
<X> 100 </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 30 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> MachineStage </Value>
</Text>
;<Text>
;<X> 100 </X>
;<Y> 470 </Y>
;<Align> End </Align>
;<Width> 153 </Width>
;<Size> 30 </Size>
;<Font> RobotoBold </Font>
;<Color> 0x513C2F </Color>
;<Value> MachineStage </Value>
;</Text>
;
<Text>

View file

@ -4,57 +4,26 @@
<?hurr
bt_pic = []
#bt_pic.append('b#_blue_soda.png')
#bt_pic.append('b#_blue_water.png')
#bt_pic.append('b#_rasp_cocktail.png')
#bt_pic.append('b#_apple_cocktail.png')
#bt_pic.append('b#_blue_col.png')
#bt_pic.append('b#_punch_cocktail.png')
#bt_pic.append('b#_iris_coffee.png')
bt_pic.append('b#_iced_epsresso.png')
bt_pic.append('b#_iced_lattle.png')
bt_pic.append('b#_iced_america_no.png')
bt_pic.append('b#_iced_mocha.png')
bt_pic.append('b#_iced_cappuccino.png')
bt_pic.append('b#_hot_america_no.png')
bt_pic.append('b#_sala.png')
bt_pic.append('b#_iced_lemonade_soda.png')
bt_pic.append('b#_hot_milk_caramel.png')
bt_pic.append('b#_iced_cola.png')
product_code = []
#product_code.append('11-99-02-0038')
#product_code.append('11-99-02-0039')
#product_code.append('11-99-02-0040')
#product_code.append('11-99-02-0041')
#product_code.append('11-99-02-0042')
#product_code.append('11-99-02-0043')
#product_code.append('11-99-02-0044')
product_code.append('11-99-02-0006')
product_code.append('11-99-02-0001')
product_code.append('11-99-02-0003')
product_code.append('11-99-02-0007')
product_code.append('11-99-02-0002')
product_code.append('11-99-01-0004')
product_code.append('11-99-01-0001')
product_code.append('11-99-01-0002')
product_code.append('11-99-01-0003')
product_code.append('11-99-02-0005')
product_code.append('11-99-02-0013')
product_code.append('11-99-02-0014')
product_code.append('11-99-02-0018')
product_code.append('11-99-02-0020')
product_code.append('11-99-02-0017')
product_code.append('11-99-01-0017')
product_code.append('11-99-02-0018')
product_code.append('11-99-02-0023')
product_code.append('11-99-02-0024')
product_code.append('11-99-02-0033')
product_code.append('11-99-02-0051')
product_code.append('11-99-02-0039')
product_code.append('11-99-02-0038')
product_code.append('11-99-02-0035')
menu_count = len( bt_pic)
menu_count = len( product_code)
?>
<Popup>

File diff suppressed because it is too large Load diff

View file

@ -24,7 +24,7 @@
product_code.append('11-99-02-0018')
product_code.append('11-99-02-0019')
product_code.append('11-99-02-0020')
product_code.append('11-99-02-0021')
#product_code.append('11-99-02-0021')
product_code.append('11-99-02-0022')
product_code.append('11-99-02-0023')
@ -33,7 +33,7 @@
product_code.append('11-99-02-0026')
menu_count = len( bt_pic)
menu_count = len( product_code)
?>
<Popup>

View file

@ -475,34 +475,10 @@
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=13 11-99-02-0021
; button i=13 11-99-02-0022
<Button>
<X> 44 </X>
<Y> 1004 </Y>
<State> $11-99-02-0021.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0021.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0021.image ) " </FilenamePress>
<FilenameDisable> Var( "ROOT/taobin_project/image/page_drink_disable/" + $11-99-02-0021.image ) " </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
Var SelectDrink = "11-99-02-0021"
Var NameDrink = $11-99-02-0021.NameE
Var NameDrinkTH = $11-99-02-0021.Name
Var DrinkDescriptionTH = $11-99-02-0021.description
Var DrinkDescription = $11-99-02-0021.descriptionE
Var PriceDrink = $11-99-02-0021.Price
Var PictureDrink = "ROOT/taobin_project/image/page_drink_select/" + $11-99-02-0021.image
Topping "Load" SelectDrink
SAVELOG NameDrink
Var PriceShowValue = charOfBaht + PriceDrink
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=14 11-99-02-0022
<Button>
<X> 301 </X>
<Y> 1004 </Y>
<State> $11-99-02-0022.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0022.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0022.image ) " </FilenamePress>
@ -523,9 +499,9 @@
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=15 11-99-02-0023
; button i=14 11-99-02-0023
<Button>
<X> 558 </X>
<X> 301 </X>
<Y> 1004 </Y>
<State> $11-99-02-0023.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0023.image ) </Filename>
@ -547,9 +523,9 @@
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=16 11-99-02-0024
; button i=15 11-99-02-0024
<Button>
<X> 815 </X>
<X> 558 </X>
<Y> 1004 </Y>
<State> $11-99-02-0024.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0024.image ) </Filename>
@ -571,10 +547,10 @@
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=17 11-99-02-0025
; button i=16 11-99-02-0025
<Button>
<X> 44 </X>
<Y> 1332 </Y>
<X> 815 </X>
<Y> 1004 </Y>
<State> $11-99-02-0025.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0025.image ) </Filename>
<FilenamePress> Var( "ROOT/taobin_project/image/page_drink_press/" + $11-99-02-0025.image ) " </FilenamePress>
@ -595,9 +571,9 @@
Open "ROOT/taobin_project/xml/page_topping_alter.xml"
</EventOnClick>
</Button>
; button i=18 11-99-02-0026
; button i=17 11-99-02-0026
<Button>
<X> 301 </X>
<X> 44 </X>
<Y> 1332 </Y>
<State> $11-99-02-0026.Button </State>
<Filename> Var( "ROOT/taobin_project/image/page_drink/" + $11-99-02-0026.image ) </Filename>
@ -1359,7 +1335,7 @@
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0021.Price </Value>
<Value> $11-99-02-0022.Price </Value>
</Text>
<Text>
<X> 208 </X>
@ -1379,7 +1355,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0021.Name </Value>
<Value> $11-99-02-0022.Name </Value>
</Text>
<Text>
<X> 60 </X>
@ -1389,7 +1365,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0021.description </Value>
<Value> $11-99-02-0022.description </Value>
</Text>
<Text>
<X> 60 </X>
@ -1400,7 +1376,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0021.NameE </Value>
<Value> $11-99-02-0022.NameE </Value>
</Text>
<Text>
<X> 60 </X>
@ -1410,7 +1386,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0021.descriptionE </Value>
<Value> $11-99-02-0022.descriptionE </Value>
</Text>
<Text>
<X> 483 </X>
@ -1420,7 +1396,7 @@
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0022.Price </Value>
<Value> $11-99-02-0023.Price </Value>
</Text>
<Text>
<X> 465 </X>
@ -1440,7 +1416,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0022.Name </Value>
<Value> $11-99-02-0023.Name </Value>
</Text>
<Text>
<X> 317 </X>
@ -1450,7 +1426,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0022.description </Value>
<Value> $11-99-02-0023.description </Value>
</Text>
<Text>
<X> 317 </X>
@ -1461,7 +1437,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0022.NameE </Value>
<Value> $11-99-02-0023.NameE </Value>
</Text>
<Text>
<X> 317 </X>
@ -1471,7 +1447,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0022.descriptionE </Value>
<Value> $11-99-02-0023.descriptionE </Value>
</Text>
<Text>
<X> 740 </X>
@ -1481,7 +1457,7 @@
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0023.Price </Value>
<Value> $11-99-02-0024.Price </Value>
</Text>
<Text>
<X> 722 </X>
@ -1501,7 +1477,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0023.Name </Value>
<Value> $11-99-02-0024.Name </Value>
</Text>
<Text>
<X> 574 </X>
@ -1511,7 +1487,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0023.description </Value>
<Value> $11-99-02-0024.description </Value>
</Text>
<Text>
<X> 574 </X>
@ -1522,7 +1498,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0023.NameE </Value>
<Value> $11-99-02-0024.NameE </Value>
</Text>
<Text>
<X> 574 </X>
@ -1532,7 +1508,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0023.descriptionE </Value>
<Value> $11-99-02-0024.descriptionE </Value>
</Text>
<Text>
<X> 997 </X>
@ -1542,7 +1518,7 @@
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0024.Price </Value>
<Value> $11-99-02-0025.Price </Value>
</Text>
<Text>
<X> 979 </X>
@ -1562,7 +1538,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0024.Name </Value>
<Value> $11-99-02-0025.Name </Value>
</Text>
<Text>
<X> 831 </X>
@ -1572,7 +1548,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0024.description </Value>
<Value> $11-99-02-0025.description </Value>
</Text>
<Text>
<X> 831 </X>
@ -1583,7 +1559,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0024.NameE </Value>
<Value> $11-99-02-0025.NameE </Value>
</Text>
<Text>
<X> 831 </X>
@ -1593,7 +1569,7 @@
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0024.descriptionE </Value>
<Value> $11-99-02-0025.descriptionE </Value>
</Text>
<Text>
<X> 226 </X>
@ -1603,7 +1579,7 @@
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0025.Price </Value>
<Value> $11-99-02-0026.Price </Value>
</Text>
<Text>
<X> 208 </X>
@ -1623,71 +1599,10 @@
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0025.Name </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0025.description </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1522 </Y>
<Size> 22 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showengText </State>
<Value> $11-99-02-0025.NameE </Value>
</Text>
<Text>
<X> 60 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
<Font> KanitMediumTTF </Font>
<Color> 0x6F5F51 </Color>
<State> showengText </State>
<Value> $11-99-02-0025.descriptionE </Value>
</Text>
<Text>
<X> 483 </X>
<Y> 1344 </Y>
<Align> "Hurr" </Align>
<Width>150</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> $11-99-02-0026.Price </Value>
</Text>
<Text>
<X> 465 </X>
<Y> 1344 </Y>
<Width>20</Width>
<Size> 27 </Size>
<Font> KanitTTF </Font>
<Color> 0xB78F24 </Color>
<Value> "฿"" </Value>
</Text>
<Text>
<X> 317 </X>
<Y> 1522 </Y>
<Size> 24 </Size>
<Width>220</Width>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> showthaiText </State>
<Value> $11-99-02-0026.Name </Value>
</Text>
<Text>
<X> 317 </X>
<X> 60 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>
@ -1697,7 +1612,7 @@
<Value> $11-99-02-0026.description </Value>
</Text>
<Text>
<X> 317 </X>
<X> 60 </X>
<Y> 1522 </Y>
<Size> 22 </Size>
<Width>220</Width>
@ -1708,7 +1623,7 @@
<Value> $11-99-02-0026.NameE </Value>
</Text>
<Text>
<X> 317 </X>
<X> 60 </X>
<Y> 1578 </Y>
<Size> 14 </Size>
<Width>220</Width>

View file

@ -0,0 +1,59 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/display_disqualified_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Else
Var DirImage = "ROOT/taobin_project/image/display_disqualified"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 3 Then
; goto lid straw
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<Image>
<X> 0 </X>
<Y> 0 </Y>
<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
</Image>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/display_got_free/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 665 </Y>
<Filename> Var( DirImage + "/img_popup1.png" )</Filename>
</Image>
</Popup>

View file

@ -4,7 +4,6 @@
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Sound> "ROOT/sounds/Ding-dong.wav" </Sound>
<EventOpen>
; On open
Var LidState = "Enable"

View file

@ -0,0 +1,77 @@
<Popup>
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<EventOpen>
; On open
Var Timeout = 0
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/display_got_free_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Else
Var DirImage = "ROOT/taobin_project/image/display_got_free"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 3 Then
; goto lid straw
Open "ROOT/taobin_project/xml/page_thankyou.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>
<Image>
<X> 0 </X>
<Y> 0 </Y>
<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
</Image>
<Image>
<X> 0 </X>
<Y> 380 </Y>
<Filename> "ROOT/taobin_project/image/display_got_free/alpha.png" </Filename>
</Image>
<Image>
<X> 158 </X>
<Y> 665 </Y>
<Filename> Var( DirImage + "/img_popup1.png" )</Filename>
</Image>
;
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> "ROOT/taobin_project/image/page_doing/img2.png" </Filename>
</Image>
;
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> ShowCountDownBrewing </Value>
</Text>
</Popup>

View file

@ -27,6 +27,8 @@
; Below original
; On open
Var alphaState = "Invisible"
Var alphaState2 = "Invisible"
Var CoinInFlag = 0
;Var CoinAmount = 0
@ -111,7 +113,7 @@
Var showRemaining = "Free"
Else
Var PayState1 = "PressForever"
Var PayState1 = "Enable"
If IntVendingCampaign = 0 Then
Var PayState2 = "Enable"
Else
@ -200,10 +202,12 @@
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/page_payment_en/page_payment"
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
Else
Var DirImage = "ROOT/taobin_project/image/page_payment"
Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend"
Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
EndIf
@ -451,6 +455,8 @@
;Var RemainAmount = 0
Var showRemaining = charOfBaht + RemainAmountStr
Var alphaState2 = "Enable"
EndIf
@ -531,6 +537,7 @@
;Var PayState2 = "Enable"
;Var QRChannel = 0
;Open "ROOT/taobin_project/xml/page_payment_cash.xml"
Var alphaState2 = "Enable"
If RoadShow = "true" Then
Var GIFShowProcess = "ROOT/ui/page_05_loading/pic_loading_cup.gif"
@ -679,7 +686,7 @@
<Value> showdesc </Value>
</Text>
; QR popup
<Image>
<X> 0 </X>
<Y> 380 </Y>
@ -710,6 +717,62 @@
</EventClick>
</Button>
; begin cash popup
<Image>
<X> 0 </X>
<Y> 380 </Y>
<State> alphaState2 </State>
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
</Image>
<Image>
<X> 182 </X>
<Y> 748 </Y>
<State> alphaState2 </State>
<Filename> Var( DirImage2 + "/img_popup11.png" )</Filename>
</Image>
<Button>
<X> 438 </X>
<Y> 1345 </Y>
<State> alphaState2 </State>
<Filename> Var( DirImage + "/bn_cancel.png" )</Filename>
<FilenamePress> Var( DirImage + "/bp_cancel.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
VendingQR OFF
If CoinInOK = 0 Then
If CancelFlag = 0 Then
CoinVending OFF
Var CancelFlag = 1
Var CancelCounter = 0
EndIf
EndIf
Var alphaState2 = "Invisible"
Refresh
</EventClick>
</Button>
<Text>
<X> 0 </X>
<Y> 1041 </Y>
<Size> 144 </Size>
<Align> Center </Align>
<Width> 1080 </Width>
<Font> KanitRegularTTF </Font>
<State> alphaState2 </State>
<Color> 0xDE794E </Color>
<Value> RemainAmountStr </Value>
</Text>
; end case popup
<QRCode>
<X> 399 </X>
@ -760,7 +823,7 @@
;Var UnitTestType = "1"
Var UnitTestType = "2"
Open "ROOT/taobin_project/xml/page_id_card_result.xml"
Open "ROOT/taobin_project/xml/page_show_consent2.xml"
;Open "ROOT/taobin_project/xml/page_payment_code.xml"

View file

@ -13,12 +13,12 @@
SAVELOG show_eng
If show_eng = "true" Then
Var DirImage = "ROOT/taobin_project/image/consent_en/"
Var DirImage = "ROOT/taobin_project/image/consent_idcard_en/"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Else
Var DirImage = "ROOT/taobin_project/image/consent/"
Var DirImage = "ROOT/taobin_project/image/consent_idcard/"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
EndIf
@ -35,6 +35,13 @@
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
EndIf
; add
If Timeout = 3 Then
;page_disqualified_idcard
;page_got_free_idcard
Open "ROOT/taobin_project/xml/page_got_free_idcard.xml"
EndIf
TimerReset
Refresh
</EventTimeout>
@ -46,8 +53,15 @@
Var IDValid = ""
; add
SAVELOG Ext1a
SPLIT Ext1a "|" 1 IDValid
; add
Var IDValid = "ok"
If IDValid = "ok" Then
Var FreeVendingCampaign = 1
@ -59,7 +73,7 @@
Else
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
Open "ROOT/taobin_project/xml/page_disqualified_idcard.xml"
EndIf
Refresh
@ -168,39 +182,9 @@
<Filename> "ROOT/taobin_project/image/ad_medium_2.png" </Filename>
</Image>
;
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> "ROOT/taobin_project/image/page_doing/img2.png" </Filename>
</Image>
;
;
<Image>
<X> 751 </X>
<Y> 413 </Y>
<Filename> "ROOT/taobin_project/image/page_doing/img2.png" </Filename>
</Image>
;
;
<Text>
<X> XPosiShowCountDownBrew </X>
<Y> 470 </Y>
<Align> End </Align>
<Width> 153 </Width>
<Size> 88 </Size>
<Font> RobotoBold </Font>
<Color> 0x513C2F </Color>
<Value> AcceptFlag </Value>
</Text>
<EventSecurity>
Open "/media/bt/xml/security_alarm.xml"
</EventSecurity>

View file

@ -8,7 +8,7 @@
<EventOpen>
; On open
Var CountDownThankyou = 3
Var CountDownBrewing = 99
Var CountDownBrewing = BrewTime
Var ShowCountDownBrewing = CountDownBrewing
Var Timeout = 0
Var ChangeFlag = 0

View file

@ -40,17 +40,19 @@
;Var DirImage = "ROOT/taobin_project/image/page2_en/page2"
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_thai_lang.png"
Var showname = NameDrinkTH
Var showdesc = DrinkDescriptionTH
Var showname = NameDrink
Var showdesc = DrinkDescription
Else
;Var DirImage = "ROOT/taobin_project/image/page2"
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
Var show_btn = "ROOT/taobin_project/image/bn_eng_lang.png"
Var showname = NameDrink
Var showdesc = DrinkDescription
Var showname = NameDrinkTH
Var showdesc = DrinkDescriptionTH
EndIf
CRLFToSpace showname
;SAVELOG showname
</EventOpen>
<Timeout> 30000 </Timeout>
@ -88,7 +90,7 @@
Var showname = NameDrinkTH
Var showdesc = DrinkDescriptionTH
EndIf
CRLFToSpace showname
RefreshAll
</EventClick>

View file

@ -52,6 +52,7 @@
Var ShowVersionAll = BrewMachineFirmwareVersion + " | "
Var ShowVersionAll = ShowVersionAll + XMLPageVersion
Var IDCardState = "Invisible"
Var Timeout = 0
@ -223,6 +224,17 @@
</Text>
<Text>
<X> info2_text_startX </X>
<Y> info_text_4Y </Y>
<Size> 30 </Size>
<State> IDCardState </State>
<Font> fontType1 </Font>
<Color> 0x000000 </Color>
<Value> IDFullNameEng</Value>
</Text>
<Button>
<X> 431 </X>
<Y> 805 </Y>
@ -235,6 +247,11 @@
</EventClick>
</Button>
<EventIDCard>
Var IDCardState = "Enable"
SAVELOG IDFullNameEng
</EventIDCard>