Merge branch 'masterpiece' of ssh://forthrd.ddns.net:2222/1TBHDD/ikong/taobin_project into masterpiece

This commit is contained in:
wanlop run 2025-05-16 15:25:47 +07:00
commit 9dabce57bd
4 changed files with 595 additions and 147 deletions

View file

@ -65,7 +65,7 @@
Cart "DeleteMenuID" "ALL"
Var MultiPayEnable = "false"
;Var MultiPayEnable = "false"
;Var MultiPayEnable = "true"
Var PayType = ""
@ -406,7 +406,7 @@
CartTaoBin "CLEAR" "-" "-" "-"
@ -1337,6 +1337,12 @@
TRY "ROOT/taobin_project/inter/tha/configure.ev"
If BoxID = 173372 Then
Var SpiralOnline = "true"
Var InternationalShow = 1
EndIf
If EnableMultiInstanceFromBoxID = 1 Then
If CountryName = "Thailand" Then
@ -1388,6 +1394,7 @@
Var InternationalShow = 0
EndIf
If BoxID = 210699 Then
Var SpiralOnline = "true"
Var SpiralModeFrozenFruit = 1
@ -1744,6 +1751,8 @@
OpenInst 2 PepsiFullScreenPageBoard
EndIf
</EventOpen>
<EventActionOk>
@ -2224,6 +2233,44 @@ PRICE "Reset" "-"
EndIf
DEBUGVAR startTaobinML
DEBUGVAR CountDownOpenTaobinML
If CountDownOpenTaobinML > 0 Then
Else
Var CountDownOpenTaobinML = 0
EndIf
If EnableCameraStraw = "true" Then
If startTaobinML = "true" Then
Else
Var CountDownOpenTaobinML = CountDownOpenTaobinML + 1
If CountDownOpenTaobinML = 70 Then
TrickTaoBinML "START"
Var startTaobinML = "true"
DEBUGVAR startTaobinML
EndIf
EndIf
DEBUGVAR NeedTrickTaobinML
If NeedTrickTaobinML = "true" Then
TrickTaoBinML "TRICKER"
Var NeedTrickTaobinML = "false"
DEBUGVAR NeedTrickTaobinML
EndIf
EndIf
If CupOnArm = "true" Then

View file

@ -2,7 +2,7 @@
<Cache> "Enable" </Cache>
<Width> 1080 </Width>
<Height> 1920 </Height>
<Background> "0xFFFFFF" </Background>
<Background> "0xeae6e1" </Background>
<Volume> SoundVolume </Volume>
<Sound> PlaySoundLag </Sound>
<EventOpen>
@ -290,15 +290,31 @@
EndIf
Var PathAlarm = ""
Var ordersummaryText = ""
Var subtotalText = ""
Var itemText = ""
Var backtext = ""
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"
Var PathAlarm = "ROOT/taobin_project/image/cart_en"
Var ordersummaryText = "Order Summary"
Var subtotalText = "Subtotal ("
Var itemText = "Items )"
Var backtext = "Back"
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"
Var PathAlarm = "ROOT/taobin_project/image/cart_th"
Var ordersummaryText = "รายการสินค้า"
Var subtotalText = "รวมสินค้า ("
Var itemText = "ชิ้น )"
Var backtext = "กลับ"
EndIf
;inter-image
@ -400,6 +416,8 @@
Var PayState5 = "Disable"
EndIf
</EventOpen>
<EventActionOk>
@ -780,6 +798,10 @@
EndIf
</EventChangeStatus>
<EventUnitTest1>
Open "ROOT/taobin_project/xml/page_payment_cashMore.xml"
</EventUnitTest1>
<EventCoin>
TimerReset
@ -970,6 +992,11 @@
Var cart1_en = "Enable"
Var PriceDrinkMulti = CART1_PRICE
Var cardBottomY = 760
Var lineBottomY = 750
Var subtotalBottomY = 810
EndIf
If CART_COUNT >= 2 Then
@ -979,6 +1006,10 @@
Var cart2_en = "Enable"
Var PriceDrinkMulti = PriceDrinkMulti + CART2_PRICE
Var cardBottomY = 910
Var lineBottomY = 900
Var subtotalBottomY = 960
EndIf
If CART_COUNT = 3 Then
@ -988,6 +1019,10 @@
Var cart3_en = "Enable"
Var PriceDrinkMulti = PriceDrinkMulti + CART3_PRICE
Var cardBottomY = 1050
Var lineBottomY = 1040
Var subtotalBottomY = 1100
EndIf
@ -1119,17 +1154,7 @@
;</EventClick>
;</Button>
<Image>
<X> 0 </X>
<Y> 1172 </Y>
<Filename> Var( DirImage + "/Rectangle0.png" )</Filename>
</Image>
<Image>
<X> 0 </X>
<Y> 1012 </Y>
<Filename> Var( DirImage + "/Rectangle.png" )</Filename>
</Image>
<Button>
<X> 0 </X>
@ -1591,168 +1616,445 @@
</EventClick>
</Button>
; card head
<Image>
<X> 60 </X>
<Y> 412 </Y>
<Width> 148 </Width>
<Height> 200 </Height>
<Filename> cart1_pic </Filename>
<X> 40 </X>
<Y> 480 </Y>
<Width> 1000 </Width>
<Height> 150 </Height>
<Filename> "/mnt/sdcard/coffeevending/taobin_project/image/cart_uti/cartTop.png" </Filename>
</Image>
<Text>
<X> 876 </X>
<Y> 467 </Y>
<Width> 1080</Width>
<Size> 50 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<Value> cart1_price </Value>
</Text>
<Text>
<X> 236 </X>
<Y> 470 </Y>
<Width> 1080</Width>
<Size> 50 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Value> cart1_name </Value>
</Text>
<Button>
<X> 1016 </X>
<Y> 500 </Y>
<State> cart1_en </State>
<Filename> "ROOT/taobin_project/image/page_payment/iconX.png" </Filename>
<EventClick>
If CoinInFlag = 0 Then
If Seeker.IntVendingCredit > 0 Then
Var BmiYear = Seeker.IntVendingCredit
Var GetScore = "useCredit"
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
Var Seeker.IntVendingCredit = 0
EndIf
Cart "DeleteMenuID" 1
EndIf
<X> 750 </X>
<Y> 510 </Y>
<State> "Enable" </State>
<Filename> Var( PathAlarm + "/additem_bn.png") </Filename>
<FilenamePress> Var( PathAlarm + "/additem_bp.png") </FilenamePress>
<FilenameDisable> Var( PathAlarm + "/additem_bd.png") </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
</EventClick>
Open "ROOT/taobin_project/spiral/xml/page_board.xml"
</EventOnClick>
</Button>
<Image>
<X> 60 </X>
<Y> 612 </Y>
<Width> 148 </Width>
<Height> 200 </Height>
<Filename> cart2_pic </Filename>
</Image>
<Text>
<X> 876 </X>
<Y> 667 </Y>
<Width> 1080</Width>
<Size> 50 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<Value> cart2_price </Value>
</Text>
<Text>
<X> 236 </X>
<Y> 670 </Y>
<Width> 1080</Width>
<Size> 50 </Size>
<X> 100 </X>
<Y> 520 </Y>
<Width> 500 </Width>
<Size> 37 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Value> cart2_name </Value>
<Value> ordersummaryText </Value>
</Text>
<Button>
<X> 1016 </X>
<Y> 700 </Y>
<State> cart2_en </State>
<Filename> "ROOT/taobin_project/image/page_payment/iconX.png" </Filename>
<EventClick>
If CoinInFlag = 0 Then
If Seeker.IntVendingCredit > 0 Then
Var BmiYear = Seeker.IntVendingCredit
Var GetScore = "useCredit"
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
Var Seeker.IntVendingCredit = 0
EndIf
Cart "DeleteMenuID" 2
EndIf
</EventClick>
</Button>
<Image>
<X> 60 </X>
<Y> 812 </Y>
<Width> 148 </Width>
<Height> 200 </Height>
<Filename> cart3_pic </Filename>
<X> 50 </X>
<Y> 590 </Y>
<Width> 980 </Width>
<Height> 50 </Height>
<Filename> "/mnt/sdcard/coffeevending/taobin_project/image/cart_uti/line.png" </Filename>
</Image>
<Text>
<X> 876 </X>
<Y> 872 </Y>
<Width> 1080</Width>
<Size> 50 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<Value> cart3_price </Value>
</Text>
<Text>
<X> 236 </X>
<Y> 872 </Y>
<Width> 1080</Width>
<Size> 50 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Value> cart3_name </Value>
</Text>
<Button>
<X> 1016 </X>
<Y> 900 </Y>
<State> cart3_en </State>
<Filename> "ROOT/taobin_project/image/page_payment/iconX.png" </Filename>
<EventClick>
If CoinInFlag = 0 Then
If Seeker.IntVendingCredit > 0 Then
Var BmiYear = Seeker.IntVendingCredit
Var GetScore = "useCredit"
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
Var Seeker.IntVendingCredit = 0
EndIf
Cart "DeleteMenuID" 3
EndIf
<FrameScroll>
<X> 10 </X>
<Y> 620 </Y>
<Width> 1080 </Width>
<Height> 620 </Height>
<Scroll> "Vertical" </Scroll>
<Column> 1 </Column>
<Script>
Var block_index_override = 0
Var block_index_move = 0
</Script>
<Block>
<MarginLeft> 0 </MarginLeft>
<MarginTop> 0 </MarginTop>
<Width> 1080 </Width>
<Height> "auto" </Height>
<State> cart1_en </State>
<Image>
<X> 30 </X>
<Y> 0 </Y>
<Width> 1000 </Width>
<Height> 150 </Height>
<Color> "0xFFFFFF" </Color>
</Image>
</EventClick>
</Button>
<Image>
<X> 50 </X>
<Y> 0 </Y>
<Width> 250 </Width>
<Height> 100 </Height>
<State> "Enable" </State>
<Filename> cart1_pic </Filename>
</Image>
<Text>
<X> 350 </X>
<Y> 30 </Y>
<Width> 500 </Width>
<Size> 32 </Size>
;<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> "Enable" </State>
<Value> cart1_name </Value>
</Text>
<Text>
<X> 950 </X>
<Y> 5 </Y>
<Size> 28 </Size>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> "Enable" </State>
<Value> cart1_price </Value>
</Text>
<Button>
<X> 770 </X>
<Y> 30 </Y>
<State> cart1_add_state </State>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bn.png" </Filename>
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bp.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bd.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
</EventOnClick>
</Button>
<Button>
<X> 880 </X>
<Y> 30 </Y>
<State> cart1_remove_clear_state </State>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bn.png" </Filename>
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
If CoinInFlag = 0 Then
If Seeker.IntVendingCredit > 0 Then
Var BmiYear = Seeker.IntVendingCredit
Var GetScore = "useCredit"
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
Var Seeker.IntVendingCredit = 0
EndIf
Cart "DeleteMenuID" 1
EndIf
</EventOnClick>
</Button>
<Text>
<X> 840 </X>
<Y> 5 </Y>
<Size> 30 </Size>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> "Enable" </State>
<Value> "1" </Value>
</Text>
</Block>
<Block>
<MarginLeft> 0 </MarginLeft>
<MarginTop> 0 </MarginTop>
<Width> 1080 </Width>
<Height> "auto" </Height>
<State> cart2_en </State>
<Image>
<X> 30 </X>
<Y> 0 </Y>
<Width> 1000 </Width>
<Height> 150 </Height>
<Color> "0xFFFFFF" </Color>
</Image>
<Image>
<X> 50 </X>
<Y> 0 </Y>
<Width> 250 </Width>
<Height> 100 </Height>
<State> "Enable" </State>
<Filename> cart2_pic </Filename>
</Image>
<Text>
<X> 350 </X>
<Y> 30 </Y>
<Width> 500 </Width>
<Size> 32 </Size>
;<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> "Enable" </State>
<Value> cart2_name </Value>
</Text>
<Text>
<X> 950 </X>
<Y> 5 </Y>
<Size> 28 </Size>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> "Enable" </State>
<Value> cart2_price </Value>
</Text>
<Button>
<X> 770 </X>
<Y> 30 </Y>
<State> cart2_add_state </State>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bn.png" </Filename>
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bp.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bd.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
</EventOnClick>
</Button>
<Button>
<X> 880 </X>
<Y> 30 </Y>
<State> cart2_remove_clear_state </State>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bn.png" </Filename>
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
If CoinInFlag = 0 Then
If Seeker.IntVendingCredit > 0 Then
Var BmiYear = Seeker.IntVendingCredit
Var GetScore = "useCredit"
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
Var Seeker.IntVendingCredit = 0
EndIf
Cart "DeleteMenuID" 2
EndIf
</EventOnClick>
</Button>
<Text>
<X> 840 </X>
<Y> 5 </Y>
<Size> 30 </Size>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> "Enable" </State>
<Value> "1" </Value>
</Text>
</Block>
<Block>
<MarginLeft> 0 </MarginLeft>
<MarginTop> 0 </MarginTop>
<Width> 1080 </Width>
<Height> "auto" </Height>
<State> cart3_en </State>
<Image>
<X> 30 </X>
<Y> 0 </Y>
<Width> 1000 </Width>
<Height> 150 </Height>
<Color> "0xFFFFFF" </Color>
</Image>
<Image>
<X> 50 </X>
<Y> 0 </Y>
<Width> 250 </Width>
<Height> 100 </Height>
<State> "Enable" </State>
<Filename> cart3_pic </Filename>
</Image>
<Text>
<X> 350 </X>
<Y> 30 </Y>
<Width> 500 </Width>
<Size> 32 </Size>
;<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0x322B26 </Color>
<State> "Enable" </State>
<Value> cart3_name </Value>
</Text>
<Text>
<X> 950 </X>
<Y> 5 </Y>
<Size> 28 </Size>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> "Enable" </State>
<Value> cart3_price </Value>
</Text>
<Button>
<X> 770 </X>
<Y> 30 </Y>
<State> cart3_add_state </State>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bn.png" </Filename>
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bp.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/plus_slip_bd.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
</EventOnClick>
</Button>
<Button>
<X> 880 </X>
<Y> 30 </Y>
<State> cart3_remove_clear_state </State>
<Filename> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bn.png" </Filename>
<FilenamePress> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenamePress>
<FilenameDisable> "ROOT/taobin_project/spiral/image/page_spiral/clear_slip_bp.png" </FilenameDisable>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventOnClick>
If CoinInFlag = 0 Then
If Seeker.IntVendingCredit > 0 Then
Var BmiYear = Seeker.IntVendingCredit
Var GetScore = "useCredit"
AddData 24 Seeker.TNumberTaobinCredit BmiYear PointCrm GetScore
Var Seeker.IntVendingCredit = 0
EndIf
Cart "DeleteMenuID" 3
EndIf
</EventOnClick>
</Button>
<Text>
<X> 840 </X>
<Y> 5 </Y>
<Size> 30 </Size>
<Mode> "multi2" </Mode>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<State> "Enable" </State>
<Value> "1" </Value>
</Text>
</Block>
</FrameScroll>
; cartBottom
<Image>
<X> 40 </X>
<Y> cardBottomY </Y>
<Width> 1000 </Width>
<Height> 150 </Height>
<Filename> "/mnt/sdcard/coffeevending/taobin_project/image/cart_uti/cartBottom.png" </Filename>
</Image>
; line buttom
<Image>
<X> 50 </X>
<Y> lineBottomY </Y>
<Width> 980 </Width>
<Height> 50 </Height>
<Filename> "/mnt/sdcard/coffeevending/taobin_project/image/cart_uti/line.png" </Filename>
</Image>
; Subtotal
<Text>
<X> 876 </X>
<Y> 1038 </Y>
<Width> 1080</Width>
<Size> 72 </Size>
<X> 100 </X>
<Y> subtotalBottomY </Y>
<Size> 37 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0xDE794E </Color>
<Color> 0x513C2F </Color>
<State> "Enable" </State>
<Value> subtotalText </Value>
</Text>
<Text>
<X> 270 </X>
<Y> subtotalBottomY </Y>
<Size> 37 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<State> "Enable" </State>
<Value> CART_COUNT </Value>
</Text>
<Text>
<X> 310 </X>
<Y> subtotalBottomY </Y>
<Size> 37 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<State> "Enable" </State>
<Value> itemText </Value>
</Text>
<Text>
<X> 900 </X>
<Y> subtotalBottomY </Y>
<Size> 37 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<State> "Enable" </State>
<Value> showRemaining </Value>
</Text>
<Text>
<X> 80 </X>
<Y> 1038 </Y>
<Width> 1080</Width>
<Size> 72 </Size>
<Font> KanitMediumTTF </Font>
<Color> 0x513C2F </Color>
<Value> cartNumText </Value>
</Text>
;<Text>
;<X> 80 </X>
;<Y> 1038 </Y>
;<Width> 1080</Width>
;<Size> 72 </Size>
;<Font> KanitMediumTTF </Font>
;<Color> 0x513C2F </Color>
;<Value> cartNumText </Value>
;</Text>

View file

@ -45,6 +45,10 @@
Var PriceDrinkMulti = 0
Var CART_INDEX = 0
Var cardBottomY = 0
Var lineBottomY = 0
Var subtotalBottomY = 0
If show_eng = "true" Then
@ -56,6 +60,9 @@
Var cart1_en = "Enable"
Var PriceDrinkMulti = PriceDrinkMulti + CART1_PRICE
Var cardBottomY = 760
Var lineBottomY = 750
Var subtotalBottomY = 810
EndIf
@ -67,6 +74,10 @@
Var PriceDrinkMulti = PriceDrinkMulti + CART2_PRICE
Var cardBottomY = 910
Var lineBottomY = 900
Var subtotalBottomY = 960
EndIf
If CART_COUNT = 3 Then
@ -76,6 +87,11 @@
Var cart3_en = "Enable"
Var PriceDrinkMulti = PriceDrinkMulti + CART3_PRICE
Var cardBottomY = 1050
Var lineBottomY = 1040
Var subtotalBottomY = 1100
EndIf
@ -91,6 +107,10 @@
Var PriceDrinkMulti = PriceDrinkMulti + CART1_PRICE
Var cardBottomY = 760
Var lineBottomY = 750
Var subtotalBottomY = 810
EndIf
If CART_COUNT >= 2 Then
@ -101,6 +121,10 @@
Var PriceDrinkMulti = PriceDrinkMulti + CART2_PRICE
Var cardBottomY = 910
Var lineBottomY = 900
Var subtotalBottomY = 960
EndIf
If CART_COUNT = 3 Then
@ -110,6 +134,10 @@
Var cart3_en = "Enable"
Var PriceDrinkMulti = PriceDrinkMulti + CART3_PRICE
Var cardBottomY = 1050
Var lineBottomY = 1040
Var subtotalBottomY = 1100
EndIf
EndIf

View file

@ -320,6 +320,8 @@
EndIf
EndIf
DEBUGVAR btnAddCart
Var LidDeactiveButton = "Invisible"
Var StrawDeactiveButton = "Invisible"
@ -8020,6 +8022,75 @@
</Function2>
; add cart
<Button>
<State> btnAddCart </State>
<X> 285 </X>
<Y> 1785 </Y>
<Filename> Var( DirImage + "/bn_add.png" ) </Filename>
<FilenamePress> Var( DirImage + "/bp_add.png" )</FilenamePress>
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
<Volume> SoundVolume </Volume>
<EventClick>
Var PriceDrink = PriceDrinkTmp
SAVELOG "USER press next ( topping ) - new"
DEBUGVAR topping1
DEBUGVAR topping2
DEBUGVAR topping3
DEBUGVAR LidState
DEBUGVAR StrawState
DEBUGVAR UserSelectProductCode
DEBUGVAR HAVE_UV_DOOR_LID
If StrawState = "Press" Then
Machine StrawOrder
Var LedLidBlink = "true"
EndIf
If LidState = "Press" Then
Machine LidOrder
Var LedLidBlink = "true"
EndIf
Var StrawState = "Enable"
Var LidState = "Enable"
;
Var SelectDrink = UserSelectProductCode
; Set drink
Topping "Select" UserSelectProductCode
; Set option toppinng and pack
Topping "Select1-ID" topping1
Topping "Select2-ID" topping2
Topping "Select3-ID" topping3
; Pack
Topping "Pack" ExtendData
Var Seeker.ExtendData = ExtendData
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"
</EventClick>
</Button>