Merge branch 'master' of ssh://192.168.10.159:/1TBHDD/ikong/taobin_project
|
|
@ -1,4 +1,4 @@
|
||||||
total 215140
|
total 215180
|
||||||
-rw-rw---- 1 root sdcard_rw 948282 2020-11-15 19:54 TaoBin2_draft02_art1.mp4
|
-rw-rw---- 1 root sdcard_rw 948282 2020-11-15 19:54 TaoBin2_draft02_art1.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 3603060 2020-11-15 20:03 TaoBin2_draft02_art10.mp4
|
-rw-rw---- 1 root sdcard_rw 3603060 2020-11-15 20:03 TaoBin2_draft02_art10.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 3166935 2020-11-15 20:03 TaoBin2_draft02_art11.mp4
|
-rw-rw---- 1 root sdcard_rw 3166935 2020-11-15 20:03 TaoBin2_draft02_art11.mp4
|
||||||
|
|
@ -51,6 +51,7 @@ total 215140
|
||||||
-rw-rw---- 1 root sdcard_rw 3740266 2020-11-15 19:57 TaoBin2_draft02_art7.mp4
|
-rw-rw---- 1 root sdcard_rw 3740266 2020-11-15 19:57 TaoBin2_draft02_art7.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 3998856 2020-11-15 20:01 TaoBin2_draft02_art8.mp4
|
-rw-rw---- 1 root sdcard_rw 3998856 2020-11-15 20:01 TaoBin2_draft02_art8.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 3616423 2020-11-15 20:01 TaoBin2_draft02_art9.mp4
|
-rw-rw---- 1 root sdcard_rw 3616423 2020-11-15 20:01 TaoBin2_draft02_art9.mp4
|
||||||
-rw-rw---- 1 root sdcard_rw 34133 2023-01-23 14:18 play_list.tsv
|
-rw-rw---- 1 root sdcard_rw 36315 2023-03-29 10:40 play_list.tsv
|
||||||
-rw-rw---- 1 root sdcard_rw 33618 2023-01-04 13:56 play_list2.tsv
|
-rw-rw---- 1 root sdcard_rw 33618 2023-01-04 13:56 play_list2.tsv
|
||||||
-rw-rw---- 1 root sdcard_rw 0 2023-01-23 16:07 sync_1.file
|
-rw-rw---- 1 root sdcard_rw 35221 2023-03-17 10:42 play_list_.tsv
|
||||||
|
-rw-rw---- 1 root sdcard_rw 0 2023-04-12 14:42 sync_1.file
|
||||||
|
|
|
||||||
BIN
image/liveness/bg1.png
Normal file
|
After Width: | Height: | Size: 4 KiB |
BIN
image/liveness/bg2.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
image/liveness/bn_cancel.png
Normal file
|
After Width: | Height: | Size: 4.8 KiB |
BIN
image/topping2/bn_price5baht.png
Normal file
|
After Width: | Height: | Size: 4.3 KiB |
BIN
image/topping2/bp_price5baht.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
spiral/image/page_spiral/03-02-01-0013.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
spiral/image/page_spiral/03-02-01-0014.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
spiral/image/page_spiral/spiral_product_03-02-01-0013.png
Normal file
|
After Width: | Height: | Size: 188 KiB |
BIN
spiral/image/page_spiral/spiral_product_03-02-01-0014.png
Normal file
|
After Width: | Height: | Size: 185 KiB |
BIN
spiral/image/page_spiral_press/03-02-01-0013.png
Normal file
|
After Width: | Height: | Size: 35 KiB |
BIN
spiral/image/page_spiral_press/03-02-01-0014.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
|
|
@ -228,7 +228,7 @@
|
||||||
"id": 15,
|
"id": 15,
|
||||||
"code": "03-02-01-0013",
|
"code": "03-02-01-0013",
|
||||||
"name": "บลูเบอรี่ พายป๊อปคอร์น",
|
"name": "บลูเบอรี่ พายป๊อปคอร์น",
|
||||||
"nameE": "Blueberry Pie Popcorn",
|
"nameE": "Blueberry Pie\nPopcorn",
|
||||||
"desc": "TAO BIN SNACK STATION",
|
"desc": "TAO BIN SNACK STATION",
|
||||||
"descE": "TAO BIN SNACK STATION",
|
"descE": "TAO BIN SNACK STATION",
|
||||||
"image": "03-02-01-0013.png",
|
"image": "03-02-01-0013.png",
|
||||||
|
|
@ -243,8 +243,8 @@
|
||||||
{
|
{
|
||||||
"id": 16,
|
"id": 16,
|
||||||
"code": "03-02-01-0014",
|
"code": "03-02-01-0014",
|
||||||
"name": "สตรอเบอร์รี่ ซันเดย์ป๊อปคอร์น",
|
"name": "สตรอเบอร์รี่ ซันเดย์\nป๊อปคอร์น",
|
||||||
"nameE": "Strawberry Sundea Popcorn",
|
"nameE": "Strawberry Sundea\nPopcorn",
|
||||||
"desc": "TAO BIN SNACK STATION",
|
"desc": "TAO BIN SNACK STATION",
|
||||||
"descE": "TAO BIN SNACK STATION",
|
"descE": "TAO BIN SNACK STATION",
|
||||||
"image": "03-02-01-0014.png",
|
"image": "03-02-01-0014.png",
|
||||||
|
|
|
||||||
|
|
@ -1859,6 +1859,321 @@
|
||||||
|
|
||||||
</Block>
|
</Block>
|
||||||
|
|
||||||
|
|
||||||
|
; button i=1 03-02-01-0013
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> $03-02-01-0013.Button </State>
|
||||||
|
<Button>
|
||||||
|
<State> $03-02-01-0013.Button </State>
|
||||||
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-0013.image ) </Filename>
|
||||||
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0013.image ) " </FilenamePress>
|
||||||
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0013.image ) " </FilenameDisable>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var SpiralSelectdetail1 = $03-02-01-0013.detail1
|
||||||
|
Var SpiralSelectheader2 = $03-02-01-0013.header2
|
||||||
|
Var SpiralSelectdetail2 = $03-02-01-0013.detail2
|
||||||
|
|
||||||
|
Var SpiralSelectdetail1E = $03-02-01-0013.detail1E
|
||||||
|
Var SpiralSelectheader2E = $03-02-01-0013.header2E
|
||||||
|
Var SpiralSelectdetail2E = $03-02-01-0013.detail2E
|
||||||
|
|
||||||
|
Var ServiceCredit = "03-02-01-0013"
|
||||||
|
Var SelectDrink = $03-02-01-0013.Self
|
||||||
|
Var NameDrink = $03-02-01-0013.NameE
|
||||||
|
Var NameDrinkTH = $03-02-01-0013.Name
|
||||||
|
Var DrinkDescriptionTH = $03-02-01-0013.description
|
||||||
|
Var DrinkDescription = $03-02-01-0013.descriptionE
|
||||||
|
Var PriceDrink = $03-02-01-0013.Price
|
||||||
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0013.image
|
||||||
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0013.image
|
||||||
|
|
||||||
|
SAVELOG NameDrink
|
||||||
|
Var PriceShowValue = charOfBaht + PriceDrink
|
||||||
|
|
||||||
|
SPIRAL_VERIFY ServiceCredit SpiralRef
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_check.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $03-02-01-0013.Button = "Disable" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $03-02-01-0013.Button </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 10 </X>
|
||||||
|
<Y> 251 </Y>
|
||||||
|
<State> ShowPrice </State>
|
||||||
|
<Width> 67 </Width>
|
||||||
|
<Height> 62 </Height>
|
||||||
|
<Filename> ImageShowPrice </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 57 </X>
|
||||||
|
<Y> 260 </Y>
|
||||||
|
<State> ShowPrice </State>
|
||||||
|
<Align> "Hurr" </Align>
|
||||||
|
<Width>150</Width>
|
||||||
|
<Size> 17 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown2 </Color>
|
||||||
|
<Value> $03-02-01-0013.Price </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 45 </X>
|
||||||
|
<Y> 260 </Y>
|
||||||
|
<State> ShowPrice </State>
|
||||||
|
<Width>20</Width>
|
||||||
|
<Size> 17 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown2 </Color>
|
||||||
|
<Value> "฿"" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 180 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBlack1 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> $03-02-01-0013.Name </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 240 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> $03-02-01-0013.description </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 180 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBlack1 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> $03-02-01-0013.NameE </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 240 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> $03-02-01-0013.descriptionE </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</Block>
|
||||||
|
|
||||||
|
|
||||||
|
; button i=1 03-02-01-0014
|
||||||
|
<Block>
|
||||||
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
<MarginTop> 22 </MarginTop>
|
||||||
|
<Width> 225 </Width>
|
||||||
|
<Height> 296 </Height>
|
||||||
|
<State> $03-02-01-0014.Button </State>
|
||||||
|
<Button>
|
||||||
|
<State> $03-02-01-0014.Button </State>
|
||||||
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $03-02-01-0014.image ) </Filename>
|
||||||
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0014.image ) " </FilenamePress>
|
||||||
|
<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $03-02-01-0014.image ) " </FilenameDisable>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventOnClick>
|
||||||
|
Var SpiralSelectdetail1 = $03-02-01-0014.detail1
|
||||||
|
Var SpiralSelectheader2 = $03-02-01-0014.header2
|
||||||
|
Var SpiralSelectdetail2 = $03-02-01-0014.detail2
|
||||||
|
|
||||||
|
Var SpiralSelectdetail1E = $03-02-01-0014.detail1E
|
||||||
|
Var SpiralSelectheader2E = $03-02-01-0014.header2E
|
||||||
|
Var SpiralSelectdetail2E = $03-02-01-0014.detail2E
|
||||||
|
|
||||||
|
Var ServiceCredit = "03-02-01-0014"
|
||||||
|
Var SelectDrink = $03-02-01-0014.Self
|
||||||
|
Var NameDrink = $03-02-01-0014.NameE
|
||||||
|
Var NameDrinkTH = $03-02-01-0014.Name
|
||||||
|
Var DrinkDescriptionTH = $03-02-01-0014.description
|
||||||
|
Var DrinkDescription = $03-02-01-0014.descriptionE
|
||||||
|
Var PriceDrink = $03-02-01-0014.Price
|
||||||
|
Var SpiralProduct = "ROOT/taobin_project/spiral/image/page_spiral/spiral_product_" + $03-02-01-0014.image
|
||||||
|
Var Spiraldetail = "ROOT/taobin_project/spiral/image/page_spiral/spiral_text_detail_" + $03-02-01-0014.image
|
||||||
|
|
||||||
|
SAVELOG NameDrink
|
||||||
|
Var PriceShowValue = charOfBaht + PriceDrink
|
||||||
|
|
||||||
|
SPIRAL_VERIFY ServiceCredit SpiralRef
|
||||||
|
Open "ROOT/taobin_project/spiral/xml/page_spiral_check.xml"
|
||||||
|
|
||||||
|
</EventOnClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 49 </X>
|
||||||
|
<Y> 117 </Y>
|
||||||
|
<State>
|
||||||
|
eval(
|
||||||
|
If $03-02-01-0014.Button = "Disable" Then
|
||||||
|
Var return = "Enable"
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var return = "Invisible"
|
||||||
|
EndIf
|
||||||
|
)
|
||||||
|
</State>
|
||||||
|
<Filename> "ROOT/taobin_project/image//img_menu_err2.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 48 </X>
|
||||||
|
<Y> 116 </Y>
|
||||||
|
<Size> 32 </Size>
|
||||||
|
<Width>128</Width>
|
||||||
|
<Height>64</Height>
|
||||||
|
<Font> MITRegularTTF </Font>
|
||||||
|
<Color> 0x5A5A5A </Color>
|
||||||
|
<Mode> "disable-show" </Mode>
|
||||||
|
<State> $03-02-01-0014.Button </State>
|
||||||
|
<Value> text_unavailable </Value>
|
||||||
|
<Align> center-vertical-horizontal </Align>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 10 </X>
|
||||||
|
<Y> 251 </Y>
|
||||||
|
<State> ShowPrice </State>
|
||||||
|
<Width> 67 </Width>
|
||||||
|
<Height> 62 </Height>
|
||||||
|
<Filename> ImageShowPrice </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 57 </X>
|
||||||
|
<Y> 260 </Y>
|
||||||
|
<State> ShowPrice </State>
|
||||||
|
<Align> "Hurr" </Align>
|
||||||
|
<Width>150</Width>
|
||||||
|
<Size> 17 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown2 </Color>
|
||||||
|
<Value> $03-02-01-0014.Price </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 45 </X>
|
||||||
|
<Y> 260 </Y>
|
||||||
|
<State> ShowPrice </State>
|
||||||
|
<Width>20</Width>
|
||||||
|
<Size> 17 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown2 </Color>
|
||||||
|
<Value> "฿"" </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 180 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBlack1 </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> $03-02-01-0014.Name </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 240 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown </Color>
|
||||||
|
<State> showthaiText </State>
|
||||||
|
<Value> $03-02-01-0014.description </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 180 </Y>
|
||||||
|
<Size> 22 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Mode> "multi2" </Mode>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBlack1 </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> $03-02-01-0014.NameE </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 16 </X>
|
||||||
|
<Y> 240 </Y>
|
||||||
|
<Size> 14 </Size>
|
||||||
|
<Width>220</Width>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> ColorBrown </Color>
|
||||||
|
<State> showengText </State>
|
||||||
|
<Value> $03-02-01-0014.descriptionE </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
</Block>
|
||||||
|
|
||||||
|
|
||||||
; button i=1 03-02-01-0010
|
; button i=1 03-02-01-0010
|
||||||
<Block>
|
<Block>
|
||||||
<MarginLeft> 33 </MarginLeft>
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
|
@ -2640,6 +2955,7 @@
|
||||||
|
|
||||||
</Block>
|
</Block>
|
||||||
|
|
||||||
|
|
||||||
; button i=1 01-00-00-0015
|
; button i=1 01-00-00-0015
|
||||||
<Block>
|
<Block>
|
||||||
<MarginLeft> 33 </MarginLeft>
|
<MarginLeft> 33 </MarginLeft>
|
||||||
|
|
@ -2651,7 +2967,7 @@
|
||||||
<State> $01-00-00-0015.Button </State>
|
<State> $01-00-00-0015.Button </State>
|
||||||
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0015.image ) </Filename>
|
<Filename> Var( "ROOT/taobin_project/spiral/image/page_spiral/" + $01-00-00-0015.image ) </Filename>
|
||||||
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0015.image ) " </FilenamePress>
|
<FilenamePress> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0015.image ) " </FilenamePress>
|
||||||
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_disable/" + $01-00-00-0015.image ) " </FilenameDisable>
|
;<FilenameDisable> Var( "ROOT/taobin_project/spiral/image/page_spiral_press/" + $01-00-00-0015.image ) " </FilenameDisable>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOnClick>
|
<EventOnClick>
|
||||||
|
|
@ -2765,9 +3081,6 @@
|
||||||
</Block>
|
</Block>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</FrameScroll>
|
</FrameScroll>
|
||||||
; Cart
|
; Cart
|
||||||
<Button>
|
<Button>
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
Var SpiralSelectdetail = SpiralSelectdetail1E
|
Var SpiralSelectdetail = SpiralSelectdetail1E
|
||||||
Var SpiralSelectheader = SpiralSelectheader2E
|
Var SpiralSelectheader = SpiralSelectheader2E
|
||||||
Var SpiralSelectdetail = SpiralSelectdetail2E
|
Var SpiralSelectdetai2 = SpiralSelectdetail2E
|
||||||
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/topping_en"
|
Var DirImage = "ROOT/taobin_project/image/topping_en"
|
||||||
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
Var show_btp = "ROOT/taobin_project/image/bn_thai_lang_press.png"
|
||||||
|
|
@ -71,7 +71,7 @@
|
||||||
|
|
||||||
Var SpiralSelectdetail = SpiralSelectdetail1
|
Var SpiralSelectdetail = SpiralSelectdetail1
|
||||||
Var SpiralSelectheader = SpiralSelectheader2
|
Var SpiralSelectheader = SpiralSelectheader2
|
||||||
Var SpiralSelectdetail = SpiralSelectdetail2
|
Var SpiralSelectdetai2 = SpiralSelectdetail2
|
||||||
|
|
||||||
Var DirImage = "ROOT/taobin_project/image/topping"
|
Var DirImage = "ROOT/taobin_project/image/topping"
|
||||||
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
Var show_btp = "ROOT/taobin_project/image/bn_eng_lang_press.png"
|
||||||
|
|
@ -476,7 +476,7 @@
|
||||||
<Size> 27 </Size>
|
<Size> 27 </Size>
|
||||||
<Font> KanitTTF </Font>
|
<Font> KanitTTF </Font>
|
||||||
<Color> ColorBrown2 </Color>
|
<Color> ColorBrown2 </Color>
|
||||||
<Value> SpiralSelectdetail </Value>
|
<Value> SpiralSelectdetai2 </Value>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -50,6 +50,7 @@
|
||||||
|
|
||||||
Var android_text1_1 = AndroidBoardTemp0
|
Var android_text1_1 = AndroidBoardTemp0
|
||||||
|
|
||||||
|
;CPULP: 9, CPUHP: max(12,13,14,15), GPU:16 คับ
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
|
||||||
|
|
@ -207,7 +207,8 @@
|
||||||
|
|
||||||
If TaobinOnlineX = "true" Then
|
If TaobinOnlineX = "true" Then
|
||||||
Var EventTurnOn = 0
|
Var EventTurnOn = 0
|
||||||
Var CountDownShowButton = 35
|
; CountDownShowButton must value 35
|
||||||
|
Var CountDownShowButton = 35
|
||||||
Var ShowButtonClickFull = "Invisible"
|
Var ShowButtonClickFull = "Invisible"
|
||||||
|
|
||||||
If LanguageInit = "ENG" Then
|
If LanguageInit = "ENG" Then
|
||||||
|
|
@ -312,6 +313,7 @@
|
||||||
Else
|
Else
|
||||||
Machine Initial
|
Machine Initial
|
||||||
Var StartUpExt = "false"
|
Var StartUpExt = "false"
|
||||||
|
Var CameraSettingStatus = ""
|
||||||
;DEBUGVAR "FlushTxRef1"
|
;DEBUGVAR "FlushTxRef1"
|
||||||
;FlushTxRef1
|
;FlushTxRef1
|
||||||
|
|
||||||
|
|
@ -821,6 +823,11 @@
|
||||||
|
|
||||||
DEBUGVAR SoundThaiIndex
|
DEBUGVAR SoundThaiIndex
|
||||||
|
|
||||||
|
|
||||||
|
Var CountDownCheckCamera = 0
|
||||||
|
|
||||||
|
DEBUGVAR EnableLiveness
|
||||||
|
|
||||||
RootLayoutVisible 3 "hide"
|
RootLayoutVisible 3 "hide"
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
|
|
@ -831,7 +838,6 @@
|
||||||
Var SongkranEnable = 1
|
Var SongkranEnable = 1
|
||||||
</EventUnitTest2>
|
</EventUnitTest2>
|
||||||
|
|
||||||
|
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
If IgnoreNetCore = "true" Then
|
If IgnoreNetCore = "true" Then
|
||||||
|
|
@ -908,6 +914,8 @@
|
||||||
Var CountDownShowButton = CountDownShowButton - 1
|
Var CountDownShowButton = CountDownShowButton - 1
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;SAVELOG MachineStage
|
;SAVELOG MachineStage
|
||||||
;SAVELOG CountDownShowButton
|
;SAVELOG CountDownShowButton
|
||||||
;SAVELOG ShowButtonClickFull
|
;SAVELOG ShowButtonClickFull
|
||||||
|
|
@ -930,6 +938,8 @@
|
||||||
If CountDownPauseVideo > 0 Then
|
If CountDownPauseVideo > 0 Then
|
||||||
; ignore
|
; ignore
|
||||||
Var CountDownPauseVideo = CountDownPauseVideo - 1
|
Var CountDownPauseVideo = CountDownPauseVideo - 1
|
||||||
|
|
||||||
|
|
||||||
If CountDownPauseVideo = 0 Then
|
If CountDownPauseVideo = 0 Then
|
||||||
|
|
||||||
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
Var NextPage = "ROOT/taobin_project/xml/page_back_to_main.xml"
|
||||||
|
|
@ -1006,6 +1016,20 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
;DEBUGVAR CountDownCheckCamera
|
||||||
|
DEBUGVAR Not#CameraSettingStatus
|
||||||
|
If CountDownCheckCamera = 0 Then
|
||||||
|
Var CountDownCheckCamera = 5
|
||||||
|
If Not#CameraSettingStatus = "" Then
|
||||||
|
If CameraCount = 1 Then
|
||||||
|
|
||||||
|
CameraSetting "usbfront" "default" "Rotate=90,Resolution=1280x720,scaleX=1.0,scaleY=0.7"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var CountDownCheckCamera = CountDownCheckCamera - 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -208,6 +208,9 @@
|
||||||
Else
|
Else
|
||||||
Var PromotionOreoVolcanoEnable = 0
|
Var PromotionOreoVolcanoEnable = 0
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Price5Active = 0
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<EventLanguageChange>
|
<EventLanguageChange>
|
||||||
;
|
;
|
||||||
|
|
|
||||||
|
|
@ -6,27 +6,41 @@
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventOpen>
|
<EventOpen>
|
||||||
|
|
||||||
Var CamFlag = 0
|
|
||||||
Var CamCount = 0
|
|
||||||
Var Timeout = 0
|
Var Timeout = 0
|
||||||
|
|
||||||
Var LOADING_STATE = "Enable"
|
|
||||||
|
|
||||||
DEBUGVAR LOADING_STATE
|
|
||||||
|
|
||||||
|
Var IDcardTextStatus = "กรุณารอสักครู"
|
||||||
|
Var FaceCompareStatus = ""
|
||||||
|
Var load_gif_stage = "Enable"
|
||||||
|
Var IDcardTextState = "Invisible"
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<EventActionOk>
|
<EventActionOk>
|
||||||
SAVELOG "EventActionOk"
|
SAVELOG "EventActionOk"
|
||||||
|
Var FaceCompareStatus = "OK"
|
||||||
Var AdultFlag = 0
|
Var AdultFlag = 0
|
||||||
CoinVending XBILL
|
|
||||||
Open "ROOT/taobin_project/xml/page_payment_cash.xml"
|
Var load_gif_stage = "Invisible"
|
||||||
|
Var IDcardTextState = "Enable"
|
||||||
|
|
||||||
|
Var Price5Active = 1
|
||||||
|
|
||||||
|
Var PriceDrink = 5
|
||||||
|
If blend_button_state = "PressForever" Then
|
||||||
|
Var PriceDrink = 10
|
||||||
|
EndIf
|
||||||
|
Open "ROOT/taobin_project/xml/page_payment.xml"
|
||||||
|
|
||||||
</EventActionOk>
|
</EventActionOk>
|
||||||
|
|
||||||
<EventActionError>
|
<EventActionError>
|
||||||
|
Var Price5Active = 0
|
||||||
|
Var FaceCompareStatus = "Fail"
|
||||||
SAVELOG "EventActionError"
|
SAVELOG "EventActionError"
|
||||||
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
Var load_gif_stage = "Invisible"
|
||||||
|
Var Timeout = 10
|
||||||
|
Var IDcardTextState = "Enable"
|
||||||
|
Var IDcardTextStatus = "ใบหน้าไม่เหมือนกับบัตร"
|
||||||
|
|
||||||
</EventActionError>
|
</EventActionError>
|
||||||
|
|
||||||
|
|
@ -40,7 +54,7 @@
|
||||||
FaceCompare 30
|
FaceCompare 30
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Timeout > 31 Then
|
If Timeout > 40 Then
|
||||||
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -58,12 +72,6 @@
|
||||||
<Filename> video_menu_0 </Filename>
|
<Filename> video_menu_0 </Filename>
|
||||||
</Video>
|
</Video>
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 144 </X>
|
|
||||||
<Y> 413 </Y>
|
|
||||||
<Filename> pay_with_chanel_text </Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
|
|
||||||
; back
|
; back
|
||||||
<Button>
|
<Button>
|
||||||
|
|
@ -77,66 +85,6 @@
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 375 </X>
|
|
||||||
<Y> 623 </Y>
|
|
||||||
<Width> 331 </Width>
|
|
||||||
<Height> 435 </Height>
|
|
||||||
<Filename> PictureDrink </Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 375 </X>
|
|
||||||
<Y> 623 </Y>
|
|
||||||
<State> eval(
|
|
||||||
If IsSmoRet = "true" Then
|
|
||||||
Var return = "Enable"
|
|
||||||
Else
|
|
||||||
Var return = "Invisible"
|
|
||||||
EndIf
|
|
||||||
)
|
|
||||||
</State>
|
|
||||||
<Filename> "ROOT/taobin_project/image/topping2/blender_icon.png" </Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 1065 </Y>
|
|
||||||
<Width> 1080</Width>
|
|
||||||
<Align> Center </Align>
|
|
||||||
<Size> 72 </Size>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0xB78F24 </Color>
|
|
||||||
<Value> showRemaining </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 938 </Y>
|
|
||||||
<Width> 1080</Width>
|
|
||||||
<Align> Center </Align>
|
|
||||||
<Size> 72 </Size>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0x513C2F </Color>
|
|
||||||
<Value> showname </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 1022 </Y>
|
|
||||||
<Width> 1080</Width>
|
|
||||||
<Align> Center </Align>
|
|
||||||
<Size> 24 </Size>
|
|
||||||
<Font> KanitLightTTF </Font>
|
|
||||||
<Color> 0x6F5F51 </Color>
|
|
||||||
<Value> showdesc </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
<Y> 380 </Y>
|
<Y> 380 </Y>
|
||||||
|
|
@ -144,23 +92,54 @@
|
||||||
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/page_payment/alpha.png" </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
<Button>
|
<Image>
|
||||||
<X> 689 </X>
|
<X> 249 </X>
|
||||||
<Y> 875 </Y>
|
<Y> 751 </Y>
|
||||||
<State> "Enable" </State>
|
<State> "Enable" </State>
|
||||||
<Filename> Var( DirImage + "/img_popup6.png" )</Filename>
|
<Filename> "ROOT/taobin_project/image/liveness/bg1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1050 </Y>
|
||||||
|
<State> IDcardTextState </State>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 56 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<Value> IDcardTextStatus </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
; back
|
||||||
|
<Button>
|
||||||
|
<X> 356 </X>
|
||||||
|
<Y> 1608 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/liveness/bn_cancel.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/liveness/bn_cancel.png" </FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
</EventClick>
|
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
||||||
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<GIF>
|
<GIF>
|
||||||
<X> 837 </X>
|
<X> 440 </X>
|
||||||
<Y> 1255 </Y>
|
<Y> 988 </Y>
|
||||||
<Width> 94 </Width>
|
<State> load_gif_stage </State>
|
||||||
<Height> 94 </Height>
|
<Filename> "ROOT/taobin_project/image/page_payment/loading.gif"</Filename>
|
||||||
<State> LOADING_STATE </State>
|
|
||||||
<Filename> Var( DirImage + "/loading.gif" )</Filename>
|
|
||||||
</GIF>
|
</GIF>
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
EventEvaluate "EventActionOk"
|
||||||
|
</EventUnitTest1>
|
||||||
|
<EventUnitTest2>
|
||||||
|
EventEvaluate "EventActionError"
|
||||||
|
</EventUnitTest2>
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,6 @@
|
||||||
INT sdateday
|
INT sdateday
|
||||||
INT sdatemonth
|
INT sdatemonth
|
||||||
INT sdateyear
|
INT sdateyear
|
||||||
READCARDID
|
|
||||||
|
|
||||||
Var AdultState = "Enable"
|
Var AdultState = "Enable"
|
||||||
Var AdultState1 = "Enable"
|
Var AdultState1 = "Enable"
|
||||||
|
|
||||||
|
|
@ -54,9 +52,20 @@
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var IDBirthdate = ""
|
||||||
|
|
||||||
|
Var LivenessResult = ""
|
||||||
|
|
||||||
Var CountDownDelayReadCardID = 5
|
Var CountDownDelayReadCardID = 5
|
||||||
DEBUGVAR CameraCount
|
DEBUGVAR CameraCount
|
||||||
|
;STOPCARDID
|
||||||
|
Var LivenessShowString = ""
|
||||||
|
|
||||||
|
Var CameraStage = "Invisible"
|
||||||
|
Var IDcardStage = "Enable"
|
||||||
|
Var IDcardStageText = "Enable"
|
||||||
|
Var load_gif_stage = "Invisible"
|
||||||
|
Var IDcardTextStatus = "โปรดเสียบบัตรประชาชน \nเพื่อดำเนินการต่อ"
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<EventActionOk>
|
<EventActionOk>
|
||||||
|
|
@ -72,118 +81,108 @@
|
||||||
DEBUGVAR IDCardReady
|
DEBUGVAR IDCardReady
|
||||||
DEBUGVAR IDCardData
|
DEBUGVAR IDCardData
|
||||||
DEBUGVAR IDBirthdate
|
DEBUGVAR IDBirthdate
|
||||||
|
DEBUGVAR IDFullNameEng
|
||||||
|
|
||||||
If AdultFlag2 = 1 Then
|
|
||||||
|
|
||||||
If IDCardStatus = "OK" Then
|
If IDCardStatus = "OK" Then
|
||||||
If IDCardReady = "OK" Then
|
If IDCardReady = "OK" Then
|
||||||
If IDCardData = "START" Then
|
If IDCardData = "START" Then
|
||||||
|
Var load_gif_stage = "Enable"
|
||||||
Var AdultState2 = "Enable"
|
Var IDcardStageText = "Invisible"
|
||||||
Var AdultState1 = "Invisible"
|
|
||||||
Var AdultState3 = "Invisible"
|
RefreshAll
|
||||||
|
|
||||||
Refresh
|
|
||||||
EndIf
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
If IDCardStatus = "OK" Then
|
If IDCardStatus = "OK" Then
|
||||||
If IDCardReady = "OK" Then
|
If IDCardReady = "OK" Then
|
||||||
If IDCardData = "ERROR" Then
|
If IDCardData = "ERROR" Then
|
||||||
Var AdultState2 = "Invisible"
|
Var load_gif_stage = "Invisible"
|
||||||
Var AdultState3 = "Enable"
|
Var IDcardStageText = "Enable"
|
||||||
|
Var IDcardTextStatus = "อ่านบัตรไม่ได้อะ"
|
||||||
Refresh
|
Refresh
|
||||||
EndIf
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
If IDCardStatus = "ERROR" Then
|
If IDCardStatus = "ERROR" Then
|
||||||
Var AdultState2 = "Invisible"
|
Var load_gif_stage = "Invisible"
|
||||||
Var AdultState3 = "Enable"
|
Var IDcardStageText = "Enable"
|
||||||
|
Var IDcardTextStatus = "อ่านบัตรไม่ได้เลยนะ"
|
||||||
Refresh
|
Refresh
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If IDCardStatus = "OK" Then
|
If IDCardStatus = "OK" Then
|
||||||
If IDCardReady = "OK" Then
|
If IDCardReady = "OK" Then
|
||||||
If IDCardData = "DONE" Then
|
If IDCardData = "DONE" Then
|
||||||
|
|
||||||
;Var birthDate = IDBirthdate
|
;Var birthDate = IDBirthdate
|
||||||
Var StrYear = ""
|
Var StrYear = ""
|
||||||
Var StrMon = ""
|
Var StrMon = ""
|
||||||
Var StrDay = ""
|
Var StrDay = ""
|
||||||
|
|
||||||
SUBSTRING IDBirthdate 0 4 StrYear
|
SUBSTRING IDBirthdate 0 4 StrYear
|
||||||
SUBSTRING IDBirthdate 4 6 StrMon
|
SUBSTRING IDBirthdate 4 6 StrMon
|
||||||
SUBSTRING IDBirthdate 6 8 StrDay
|
SUBSTRING IDBirthdate 6 8 StrDay
|
||||||
|
|
||||||
INT StrYear
|
INT StrYear
|
||||||
INT StrMon
|
INT StrMon
|
||||||
INT StrDay
|
INT StrDay
|
||||||
|
|
||||||
Var Adult20 = 0
|
Var Adult20 = 0
|
||||||
|
|
||||||
|
|
||||||
DEBUGVAR StrYear
|
DEBUGVAR StrYear
|
||||||
DEBUGVAR StrMon
|
DEBUGVAR StrMon
|
||||||
DEBUGVAR StrDay
|
DEBUGVAR StrDay
|
||||||
|
|
||||||
DEBUGVAR sdatemonth
|
DEBUGVAR sdatemonth
|
||||||
DEBUGVAR sdateday
|
DEBUGVAR sdateday
|
||||||
|
|
||||||
Var sdateyear = sdateyear + 543
|
Var sdateyear = sdateyear + 543
|
||||||
Var AgeNumber = sdateyear - StrYear
|
Var AgeNumber = sdateyear - StrYear
|
||||||
DEBUGVAR AgeNumber
|
DEBUGVAR AgeNumber
|
||||||
|
|
||||||
If AgeNumber >= 20 Then
|
If AgeNumber >= 20 Then
|
||||||
|
|
||||||
If AgeNumber = 20 Then
|
If AgeNumber = 20 Then
|
||||||
If sdatemonth > StrMon Then
|
If sdatemonth > StrMon Then
|
||||||
Var Adult20 = 1
|
Var Adult20 = 1
|
||||||
Else
|
Else
|
||||||
If sdatemonth = StrMon Then
|
If sdatemonth = StrMon Then
|
||||||
If sdateday >= StrDay Then
|
If sdateday >= StrDay Then
|
||||||
Var Adult20 = 1
|
Var Adult20 = 1
|
||||||
EndIf
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
Else
|
|
||||||
Var Adult20 = 1
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If Adult20 = 1 Then
|
|
||||||
Var AdultState3 = "Invisible"
|
|
||||||
Var AdultState2 = "Invisible"
|
|
||||||
Var AdultState1 = "Invisible"
|
|
||||||
Var AdultState = "Invisible"
|
|
||||||
Refresh
|
|
||||||
|
|
||||||
Else
|
|
||||||
Var AdultState2 = "Invisible"
|
|
||||||
Var AdultState3 = "Enable"
|
|
||||||
Refresh
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var AdultState2 = "Invisible"
|
Var Adult20 = 1
|
||||||
Var AdultState3 = "Enable"
|
|
||||||
Refresh
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
Var AdultFlag2 = 1
|
Else
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If Adult20 = 1 Then
|
||||||
|
LivenessCommand "start"
|
||||||
|
Var load_gif_stage = "Invisible"
|
||||||
|
Var IDcardStageText = "Invisible"
|
||||||
|
Var IDcardStage = "Invisible"
|
||||||
|
Var IDcardTextStatus = "แสกนหน้า"
|
||||||
|
Var CameraStage = "Enable"
|
||||||
|
Refresh
|
||||||
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</EventIDCard>
|
</EventIDCard>
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -195,26 +194,35 @@
|
||||||
DEBUGVAR IDBirthdate
|
DEBUGVAR IDBirthdate
|
||||||
DEBUGVAR CountDownDelayReadCardID
|
DEBUGVAR CountDownDelayReadCardID
|
||||||
DEBUGVAR ShutterResult
|
DEBUGVAR ShutterResult
|
||||||
|
DEBUGVAR IDCardState
|
||||||
|
|
||||||
|
|
||||||
If IDBirthdate = "" Then
|
If IDBirthdate = "" Then
|
||||||
Var CountDownDelayReadCardID = CountDownDelayReadCardID - 1
|
Var CountDownDelayReadCardID = CountDownDelayReadCardID - 1
|
||||||
If CountDownDelayReadCardID = 0 Then
|
If CountDownDelayReadCardID = 0 Then
|
||||||
READCARDID
|
READCARDID
|
||||||
Var CountDownDelayReadCardID = 10
|
Var CountDownDelayReadCardID = 600
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR Timeout
|
DEBUGVAR Timeout
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
If Timeout > 30 Then
|
If Timeout > 120 Then
|
||||||
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
If ShutterResult = "ok" Then
|
;If ShutterResult = "ok" Then
|
||||||
|
; Open "ROOT/taobin_project/xml/page_face_compare.xml"
|
||||||
|
;EndIf
|
||||||
|
|
||||||
|
DEBUGVAR LivenessResult
|
||||||
|
|
||||||
|
If LivenessResult = "pass" Then
|
||||||
|
Var LivenessShowString = "Pass "
|
||||||
|
Var load_gif_stage = "Enable"
|
||||||
Open "ROOT/taobin_project/xml/page_face_compare.xml"
|
Open "ROOT/taobin_project/xml/page_face_compare.xml"
|
||||||
EndIf
|
EndIff
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
TimerReset
|
TimerReset
|
||||||
|
|
@ -230,35 +238,6 @@
|
||||||
<Filename> video_menu_0 </Filename>
|
<Filename> video_menu_0 </Filename>
|
||||||
</Video>
|
</Video>
|
||||||
|
|
||||||
<Image>
|
|
||||||
<X> 144 </X>
|
|
||||||
<Y> 413 </Y>
|
|
||||||
<Filename> pay_with_chanel_text </Filename>
|
|
||||||
</Image>
|
|
||||||
|
|
||||||
|
|
||||||
; back
|
|
||||||
<Button>
|
|
||||||
<X> 18 </X>
|
|
||||||
<Y> 422 </Y>
|
|
||||||
<Filename> Var( DirImage + "/bn_back_arrow2.png") </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bn_back_arrow2.png") </FilenamePress>
|
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
|
||||||
<Volume> SoundVolume </Volume>
|
|
||||||
<EventClick>
|
|
||||||
</EventClick>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Text>
|
|
||||||
<X> 0 </X>
|
|
||||||
<Y> 1065 </Y>
|
|
||||||
<Width> 1080</Width>
|
|
||||||
<Align> Center </Align>
|
|
||||||
<Size> 72 </Size>
|
|
||||||
<Font> KanitMediumTTF </Font>
|
|
||||||
<Color> 0xB78F24 </Color>
|
|
||||||
<Value> showRemaining </Value>
|
|
||||||
</Text>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -270,47 +249,86 @@
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 689 </X>
|
<X> 123 </X>
|
||||||
<Y> 875 </Y>
|
<Y> 598 </Y>
|
||||||
<State> "Enable" </State>
|
<State> CameraStage </State>
|
||||||
<Filename> Var( DirImage + "/img_popup6.png" )</Filename>
|
<Filename> "ROOT/taobin_project/image/liveness/bg2.png" </Filename>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
<Button>
|
|
||||||
<X> 784 </X>
|
|
||||||
<Y> 1435 </Y>
|
|
||||||
<State> "Enable" </State>
|
|
||||||
<Filename> Var( DirImage + "/bn_shoot.png" )</Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_shoot.png" )</FilenamePress>
|
|
||||||
<EventClick>
|
|
||||||
|
|
||||||
Var Timeout = 0
|
|
||||||
CameraCmd "usbfront" "shutter" "/mnt/sdcard/camera1.jpg"
|
|
||||||
|
|
||||||
|
|
||||||
</EventClick>
|
<Text>
|
||||||
</Button>
|
<X> 0 </X>
|
||||||
|
<Y> 602 </Y>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 60 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<State> CameraStage </State>
|
||||||
|
<Value> LivenessShowString </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 1032 </X>
|
<X> 249 </X>
|
||||||
<Y> 875 </Y>
|
<Y> 751 </Y>
|
||||||
<Width> 48 </Width>
|
<Filename> "ROOT/taobin_project/image/liveness/bg1.png" </Filename>
|
||||||
<Height> 48 </Height>
|
</Image>
|
||||||
|
|
||||||
|
|
||||||
|
; back
|
||||||
|
<Button>
|
||||||
|
<X> 356 </X>
|
||||||
|
<Y> 1608 </Y>
|
||||||
|
<Filename> "ROOT/taobin_project/image/liveness/bn_cancel.png" </Filename>
|
||||||
|
<FilenamePress> "ROOT/taobin_project/image/liveness/bn_cancel.png" </FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
Open "ROOT/taobin_project/xml/page_catalog2.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Image>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<CameraX>
|
<CameraX>
|
||||||
<X> 0 </X>
|
<X> 120 </X>
|
||||||
<Y> 381 </Y>
|
<Y> 781 </Y>
|
||||||
<Name>"usbfront"</Name>
|
<Name>"usbfront"</Name>
|
||||||
<Width> 700 </Width>
|
<Width> 800 </Width>
|
||||||
<Height> 394 </Height>
|
<Height> 800 </Height>
|
||||||
|
<LivenessParameterWhenOK> "FileName=/mnt/sdcard/camera1.jpg" </LivenessParameterWhenOK>
|
||||||
</CameraX>
|
</CameraX>
|
||||||
|
|
||||||
|
<Image>
|
||||||
|
<X> 249 </X>
|
||||||
|
<Y> 751 </Y>
|
||||||
|
<State> IDcardStage </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/liveness/bg1.png" </Filename>
|
||||||
|
</Image>
|
||||||
|
|
||||||
|
<Text>
|
||||||
|
<X> 0 </X>
|
||||||
|
<Y> 1050 </Y>
|
||||||
|
<State> IDcardStageText </State>
|
||||||
|
<Width> 1080</Width>
|
||||||
|
<Align> Center </Align>
|
||||||
|
<Size> 56 </Size>
|
||||||
|
<Font> KanitMediumTTF </Font>
|
||||||
|
<Color> 0xDE794E </Color>
|
||||||
|
<Value> IDcardTextStatus </Value>
|
||||||
|
</Text>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<GIF>
|
||||||
|
<X> 440 </X>
|
||||||
|
<Y> 988 </Y>
|
||||||
|
<State> load_gif_stage </State>
|
||||||
|
<Filename> "ROOT/taobin_project/image/page_payment/loading.gif"</Filename>
|
||||||
|
</GIF>
|
||||||
|
|
||||||
|
|
||||||
<EventCamera>
|
<EventCamera>
|
||||||
DEBUGVAR BugFlag
|
DEBUGVAR BugFlag
|
||||||
|
|
@ -319,11 +337,37 @@
|
||||||
EndIf
|
EndIf
|
||||||
</EventCamera>
|
</EventCamera>
|
||||||
|
|
||||||
<EventIDCard>
|
<EventLivenessState>
|
||||||
|
DEBUGVAR LivenessStateString
|
||||||
|
|
||||||
|
If LivenessResult = "pass" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var LivenessShowString = LivenessStateString
|
||||||
|
EndIf
|
||||||
|
Refresh
|
||||||
|
</EventLivenessState>
|
||||||
|
|
||||||
|
<EventLivenessResult>
|
||||||
|
DEBUGVAR LivenessResult
|
||||||
|
|
||||||
|
</EventLivenessResult>
|
||||||
|
|
||||||
|
<EventUnitTest1>
|
||||||
|
Var IDCardStatus = "OK"
|
||||||
|
Var IDCardReady = "OK"
|
||||||
|
Var IDCardData = "START"
|
||||||
|
EventEvaluate "EventIDCard"
|
||||||
|
</EventUnitTest1>
|
||||||
|
|
||||||
|
<EventUnitTest2>
|
||||||
|
Var IDBirthdate = 25271014
|
||||||
|
Var IDCardStatus = "OK"
|
||||||
|
Var IDCardReady = "OK"
|
||||||
|
Var IDCardData = "DONE"
|
||||||
|
EventEvaluate "EventIDCard"
|
||||||
|
</EventUnitTest2>
|
||||||
|
|
||||||
DEBUGVAR IDCardStatus
|
|
||||||
DEBUGVAR IDCardReady
|
|
||||||
DEBUGVAR IDCardData
|
|
||||||
DEBUGVAR IDBirthdate
|
|
||||||
</EventIDCard>
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -330,6 +330,25 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
DEBUGVAR PromotionIDCurrentOrder
|
DEBUGVAR PromotionIDCurrentOrder
|
||||||
|
Var DiscountWithIdentifyState = "Invisible"
|
||||||
|
|
||||||
|
DEBUGVAR Price5Active
|
||||||
|
DEBUGVAR EnableLiveness
|
||||||
|
|
||||||
|
If EnableLiveness = "true" Then
|
||||||
|
If CameraCount = 1 Then
|
||||||
|
READ_FILE "/mnt/sdcard/enable_discount_price5" EnableDiscountPrice5
|
||||||
|
DEBUGVAR EnableDiscountPrice5
|
||||||
|
If EnableDiscountPrice5 = "true" Then
|
||||||
|
Var EnableDiscountWithIdentify = 1
|
||||||
|
Var DiscountWithIdentifyState = "Enable"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If Price5Active = 1 Then
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
@ -3271,6 +3290,238 @@
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
|
; liveness + camera + IDcard
|
||||||
|
<Button>
|
||||||
|
<State> DiscountWithIdentifyState </State>
|
||||||
|
<X> 285 </X>
|
||||||
|
<Y> 1785 </Y>
|
||||||
|
<Filename> Var( DirImage + "/bp_price5baht.png" ) </Filename>
|
||||||
|
<FilenamePress> Var( DirImage + "/bp_price5baht.png" )</FilenamePress>
|
||||||
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
<Volume> SoundVolume </Volume>
|
||||||
|
<EventClick>
|
||||||
|
;Var Seeker = "curr"
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR PriceDrinkTmp
|
||||||
|
|
||||||
|
;Var Seeker.PriceDrink = PriceDrinkTmp
|
||||||
|
|
||||||
|
Var PriceDrink = PriceDrinkTmp
|
||||||
|
|
||||||
|
SAVELOG "USER press next ( topping ) - new"
|
||||||
|
|
||||||
|
If SugarState1 = "PressForever" Then
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SugarState2 = "PressForever" Then
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SugarState3 = "PressForever" Then
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var topping1 = toppingID1index3
|
||||||
|
EndIf
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
If ShiftSugarStep = 3 Then
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SugarState3 = "PressForever" Then
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var topping1 = toppingID1index3
|
||||||
|
EndIf
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
If ShiftSugarStep = 3 Then
|
||||||
|
Var topping1 = toppingID1index1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SugarState4 = "PressForever" Then
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var topping1 = toppingID1index4
|
||||||
|
EndIf
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
Var topping1 = toppingID1index3
|
||||||
|
EndIf
|
||||||
|
If ShiftSugarStep = 3 Then
|
||||||
|
Var topping1 = toppingID1index2
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SugarState5 = "PressForever" Then
|
||||||
|
If ShiftSugarStep = 1 Then
|
||||||
|
Var topping1 = toppingID1index5
|
||||||
|
EndIf
|
||||||
|
If ShiftSugarStep = 2 Then
|
||||||
|
Var topping1 = toppingID1index4
|
||||||
|
EndIf
|
||||||
|
If ShiftSugarStep = 3 Then
|
||||||
|
Var topping1 = toppingID1index3
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
Var Seeker.topping1 = topping1
|
||||||
|
Var Seeker.topping2 = topping2
|
||||||
|
Var Seeker.topping3 = topping3
|
||||||
|
Var Seeker.topping6 = topping6
|
||||||
|
|
||||||
|
Var Seeker.get_a_straw = StrawState
|
||||||
|
Var Seeker.get_a_lid = LidState
|
||||||
|
|
||||||
|
|
||||||
|
DEBUGVAR Seeker.topping1
|
||||||
|
DEBUGVAR Seeker.topping2
|
||||||
|
DEBUGVAR Seeker.topping3
|
||||||
|
DEBUGVAR Seeker.topping6
|
||||||
|
DEBUGVAR Seeker.get_a_straw
|
||||||
|
DEBUGVAR Seeker.get_a_lid
|
||||||
|
|
||||||
|
DEBUGVAR LidState
|
||||||
|
DEBUGVAR StrawState
|
||||||
|
DEBUGVAR UserSelectProductCode
|
||||||
|
|
||||||
|
|
||||||
|
If StrawState = "Press" Then
|
||||||
|
Machine StrawOrder
|
||||||
|
Var LedLidBlink = "true"
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If LidState = "Press" Then
|
||||||
|
Machine LidOrder
|
||||||
|
Var LedLidBlink = "true"
|
||||||
|
Var bg_lidProblem_ST = "Enable"
|
||||||
|
Else
|
||||||
|
If LidState = "Disable" Then
|
||||||
|
Var bg_lidProblem_ST = "Disable"
|
||||||
|
Else
|
||||||
|
Var bg_lidProblem_ST = "Invisible"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
Var StrawState = "Enable"
|
||||||
|
Var LidState = "Enable"
|
||||||
|
EndIf
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
Var SelectDrink = UserSelectProductCode
|
||||||
|
|
||||||
|
Var Seeker.selected_a_drink = UserSelectProductCode
|
||||||
|
DEBUGVAR Seeker.selected_a_drink
|
||||||
|
|
||||||
|
; Set drink
|
||||||
|
|
||||||
|
If Seeker = "curr" Then
|
||||||
|
Topping "Select" UserSelectProductCode
|
||||||
|
|
||||||
|
; Set option toppinng and pack
|
||||||
|
Topping "Select1-ID" topping1
|
||||||
|
Topping "Select2-ID" topping2
|
||||||
|
Topping "Select3-ID" topping3
|
||||||
|
Topping "Select6-ID" topping6
|
||||||
|
|
||||||
|
; Pack
|
||||||
|
Topping "Pack" ExtendDataCurr
|
||||||
|
|
||||||
|
Else
|
||||||
|
Topping "SetNextOrder" UserSelectProductCode
|
||||||
|
|
||||||
|
|
||||||
|
Topping "__select" UserSelectProductCode
|
||||||
|
; Set option toppinng and pack
|
||||||
|
Topping "__select1-id" topping1
|
||||||
|
Topping "__select2-id" topping2
|
||||||
|
Topping "__select3-id" topping3
|
||||||
|
Topping "__select6-id" topping6
|
||||||
|
; Pack
|
||||||
|
Topping "__pack" ExtendDataNext
|
||||||
|
|
||||||
|
Var NextUserSelectDrinkFromPaid = UserSelectProductCode
|
||||||
|
Var NextUserSelecttopping1Paid = topping1
|
||||||
|
Var NextUserSelecttopping2Paid = topping2
|
||||||
|
Var NextUserSelecttopping3Paid = topping3
|
||||||
|
Var NextUserSelecttopping6Paid = topping6
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
DEBUGVAR Seeker
|
||||||
|
DEBUGVAR Seeker.ExtendData
|
||||||
|
|
||||||
|
Var Seeker.PictureDrink = PictureDrink
|
||||||
|
Var Seeker.showname = showname
|
||||||
|
|
||||||
|
DEBUGVAR MenuCautionImageStage0
|
||||||
|
DEBUGVAR CustomerFilterEnable
|
||||||
|
DEBUGVAR CustomerFilterType
|
||||||
|
|
||||||
|
|
||||||
|
GetLongTimeInMinute LastTimeClickOrder
|
||||||
|
|
||||||
|
If CART_COUNT = 0 Then
|
||||||
|
If UserSelectProductCode = "-" Then
|
||||||
|
|
||||||
|
Else
|
||||||
|
|
||||||
|
If SelectDrinkType = 1 Then
|
||||||
|
OpenInst 1 "/mnt/sdcard/coffeevending/taobin_project/xml/page_blank.xml"
|
||||||
|
Open "ROOT/taobin_project/xml/page_identity_verification.xml"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SelectDrinkType = 0 Then
|
||||||
|
Var high_light_drink_type = "Enable"
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
|
||||||
|
If CART1_STATUS = "EMPTY" Then
|
||||||
|
Cart "AddMenuID" 1
|
||||||
|
Else
|
||||||
|
If CART2_STATUS = "EMPTY" Then
|
||||||
|
Cart "AddMenuID" 2
|
||||||
|
Else
|
||||||
|
If CART3_STATUS = "EMPTY" Then
|
||||||
|
Cart "AddMenuID" 3
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var CartUpdate = "true"
|
||||||
|
Var ButtonNext = "true"
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
Var LastTimeClickOrder = 0
|
||||||
|
|
||||||
|
|
||||||
|
</EventClick>
|
||||||
|
</Button>
|
||||||
|
|
||||||
|
|
||||||
; next
|
; next
|
||||||
<Button>
|
<Button>
|
||||||
<X> 673 </X>
|
<X> 673 </X>
|
||||||
|
|
@ -3764,9 +4015,19 @@
|
||||||
DEBUGVAR showShotEnable
|
DEBUGVAR showShotEnable
|
||||||
DEBUGVAR PriceDrinkTmpShow
|
DEBUGVAR PriceDrinkTmpShow
|
||||||
|
|
||||||
|
If Price5Active = 1 Then
|
||||||
|
Var PriceDrinkNoTop = 5
|
||||||
|
If blend_button_state = "PressForever" Then
|
||||||
|
Var PriceDrinkNoTop = 10
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
Var PriceDrinkTmp = PriceDrinkNoTop + TOPPING_PRICE
|
Var PriceDrinkTmp = PriceDrinkNoTop + TOPPING_PRICE
|
||||||
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
Var PriceDrinkTmpShow = charOfBaht + PriceDrinkTmp
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If SelectDrinkType = 0 Then
|
If SelectDrinkType = 0 Then
|
||||||
Var PriceDrinkTmpShow = "---"
|
Var PriceDrinkTmpShow = "---"
|
||||||
Else
|
Else
|
||||||
|
|
|
||||||
|
|
@ -153,6 +153,19 @@
|
||||||
Var skr = "next"
|
Var skr = "next"
|
||||||
DEBUGVAR skr.NOBONUS
|
DEBUGVAR skr.NOBONUS
|
||||||
|
|
||||||
|
DEBUGVAR Not#CameraSettingStatus
|
||||||
|
If CountDownCheckCamera = 0 Then
|
||||||
|
Var CountDownCheckCamera = 5
|
||||||
|
If Not#CameraSettingStatus = "" Then
|
||||||
|
If CameraCount = 1 Then
|
||||||
|
|
||||||
|
CameraSetting "usbfront" "default" "Rotate=90,Resolution=1280x720,scaleX=1.0,scaleY=0.65"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
Else
|
||||||
|
Var CountDownCheckCamera = CountDownCheckCamera - 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
Refresh
|
Refresh
|
||||||
TimerReset
|
TimerReset
|
||||||
|
|
||||||
|
|
@ -570,10 +583,7 @@
|
||||||
<Y> info_10Y </Y>
|
<Y> info_10Y </Y>
|
||||||
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
If CameraCount = 1 Then
|
|
||||||
|
|
||||||
CameraSetting "usbfront" "default" "Rotate=90,Resolution=1280x720,scaleX=1.0,scaleY=1.0"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
;Open "ROOT/taobin_project/xml/test_qr.xml"
|
;Open "ROOT/taobin_project/xml/test_qr.xml"
|
||||||
</EventClick>
|
</EventClick>
|
||||||
|
|
|
||||||
|
|
@ -108,8 +108,8 @@
|
||||||
Var RandomPromotionMyworld = 0
|
Var RandomPromotionMyworld = 0
|
||||||
Var RandomSalePackage = 0
|
Var RandomSalePackage = 0
|
||||||
|
|
||||||
Var XMLPageVersion = "7.07"
|
Var XMLPageVersion = "7.10"
|
||||||
Var XMLPageVersionInt = 707
|
Var XMLPageVersionInt = 710
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
||||||
<Text>
|
<Text>
|
||||||
|
|
|
||||||