Update video taobin_thank1_event.mp4
This commit is contained in:
parent
5a13cbe074
commit
fa6fbe409c
9 changed files with 31 additions and 262 deletions
|
|
@ -1,12 +1,10 @@
|
||||||
SAVELOG "For change size this file."
|
SAVELOG "For change size this file."
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If EventTurnOn = 1 Then
|
If EventTurnOn = 1 Then
|
||||||
|
|
||||||
GetFileSizeK "taobin_project/inter/aus/video/taobin_thank1_event.mp4" MainfileSize
|
GetFileSizeK "taobin_project/inter/aus/video/taobin_thank1_event.mp4" MainfileSize
|
||||||
DEBUGVAR MainfileSize
|
DEBUGVAR MainfileSize
|
||||||
If MainfileSize = 2927671 Then
|
If MainfileSize = 6749397 Then
|
||||||
Var video_file_name = "ROOT/taobin_project/inter/aus/video/taobin_thank1_event.mp4"
|
Var video_file_name = "ROOT/taobin_project/inter/aus/video/taobin_thank1_event.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -1,13 +1,13 @@
|
||||||
SAVELOG "For change size this file."
|
SAVELOG "For change size this file. New video"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If EventTurnOn = 1 Then
|
If EventTurnOn = 1 Then
|
||||||
|
|
||||||
GetFileSizeK "taobin_project/inter/aus/video/taobin_thank1_event.mp4" MainfileSize
|
GetFileSizeK "taobin_project/inter/aus/video/taobin_thank1_event.mp4" MainfileSize
|
||||||
DEBUGVAR MainfileSize
|
DEBUGVAR MainfileSize
|
||||||
If MainfileSize = 2927671 Then
|
If MainfileSize = 6749397 Then
|
||||||
Var video_file_name = "ROOT/taobin_project/inter/aus/video/taobin_thank1_event.mp4"
|
Var video_file_name = "ROOT/taobin_project/inter/aus/video/taobin_thank1_event.mp4"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -80,6 +80,13 @@ If SystemDateMonthInt = 12 Then
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
If SystemDateMonthInt = 1 Then
|
||||||
|
If SystemDateDayInt < 15 Then
|
||||||
|
Var MyMintEnable = 1
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
If BoxID = 173149 Then
|
If BoxID = 173149 Then
|
||||||
Var MyMintEnable = 1
|
Var MyMintEnable = 1
|
||||||
|
|
|
||||||
|
|
@ -701,6 +701,7 @@
|
||||||
|
|
||||||
|
|
||||||
<EventUnitTest1>
|
<EventUnitTest1>
|
||||||
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_catalog_group_soft_serve.xml"
|
||||||
|
|
||||||
</EventUnitTest1>
|
</EventUnitTest1>
|
||||||
<EventUnitTest2>
|
<EventUnitTest2>
|
||||||
|
|
|
||||||
|
|
@ -860,6 +860,12 @@
|
||||||
DEBUGVAR toppingID2index4
|
DEBUGVAR toppingID2index4
|
||||||
DEBUGVAR toppingID2index5
|
DEBUGVAR toppingID2index5
|
||||||
|
|
||||||
|
DEBUGVAR toppingID6index1
|
||||||
|
DEBUGVAR toppingID6index2
|
||||||
|
DEBUGVAR toppingID6index3
|
||||||
|
DEBUGVAR toppingID6index4
|
||||||
|
DEBUGVAR toppingID6index5
|
||||||
|
|
||||||
DEBUGVAR toppingID7index1
|
DEBUGVAR toppingID7index1
|
||||||
DEBUGVAR toppingID7index2
|
DEBUGVAR toppingID7index2
|
||||||
DEBUGVAR toppingID7index3
|
DEBUGVAR toppingID7index3
|
||||||
|
|
@ -955,24 +961,7 @@
|
||||||
|
|
||||||
Var PriceCustomCoffeeFormat = "%.0f฿"
|
Var PriceCustomCoffeeFormat = "%.0f฿"
|
||||||
|
|
||||||
Var EnableCustomCoffeeFromMenu = 0
|
|
||||||
If PD_CODE1 = "12-21-01-0003" Then
|
|
||||||
Var EnableCustomCoffeeFromMenu = 1
|
|
||||||
EndIf
|
|
||||||
If PD_CODE2 = "12-21-02-0001" Then
|
|
||||||
Var EnableCustomCoffeeFromMenu = 1
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If PD_CODE1 = "12-21-01-0004" Then
|
|
||||||
Var EnableCustomCoffeeFromMenu = 1
|
|
||||||
EndIf
|
|
||||||
If PD_CODE1 = "12-21-02-0002" Then
|
|
||||||
Var EnableCustomCoffeeFromMenu = 1
|
|
||||||
EndIf
|
|
||||||
If PD_CODE1 = "12-21-03-0002" Then
|
|
||||||
Var EnableCustomCoffeeFromMenu = 1
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If TOPPING7 = "water-level" Then
|
If TOPPING7 = "water-level" Then
|
||||||
Var CustomCoffeeEnable = "True"
|
Var CustomCoffeeEnable = "True"
|
||||||
Var showCustomCoffee = "Enable"
|
Var showCustomCoffee = "Enable"
|
||||||
|
|
@ -5869,240 +5858,6 @@
|
||||||
; zone
|
; zone
|
||||||
|
|
||||||
|
|
||||||
; free oreo
|
|
||||||
<Button>
|
|
||||||
<State> WelcomeDrinkButtonState </State>
|
|
||||||
<X> 673 </X>
|
|
||||||
<Y> 1785 </Y>
|
|
||||||
<Filename> Var( DirImage + "/bn_childrenFree.png" ) </Filename>
|
|
||||||
<FilenamePress> Var( DirImage + "/bp_childrenFree.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 PromotionIDCurrentOrder = 0
|
|
||||||
|
|
||||||
|
|
||||||
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"
|
|
||||||
Open "ROOT/taobin_project/xml/page_payment.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>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Image>
|
<Image>
|
||||||
<X> 0 </X>
|
<X> 0 </X>
|
||||||
|
|
@ -6263,6 +6018,14 @@
|
||||||
DEBUGVAR PromotionOreoToppingFreeEnable
|
DEBUGVAR PromotionOreoToppingFreeEnable
|
||||||
</EventUnitTest2>
|
</EventUnitTest2>
|
||||||
|
|
||||||
|
<EventUnitTest4>
|
||||||
|
Topping "ClearMultiTopping" "Test 4"
|
||||||
|
Var strMulti6_1 = "TPID=311,multiply=2"
|
||||||
|
Var strMulti6_2 = "TPID=313,multiply=1"
|
||||||
|
|
||||||
|
Topping "Multiply6-ID" strMulti6_1
|
||||||
|
Topping "Multiply6-ID" strMulti6_2
|
||||||
|
|
||||||
|
</EventUnitTest4>
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
|
||||||
|
|
@ -108,8 +108,8 @@
|
||||||
Var RandomPromotionMyworld = 0
|
Var RandomPromotionMyworld = 0
|
||||||
Var RandomSalePackage = 0
|
Var RandomSalePackage = 0
|
||||||
|
|
||||||
Var XMLPageVersion = "7.99"
|
Var XMLPageVersion = "8.00"
|
||||||
Var XMLPageVersionInt = 799
|
Var XMLPageVersionInt = 800
|
||||||
;Oreo
|
;Oreo
|
||||||
Var OreoGuarantee = 0
|
Var OreoGuarantee = 0
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue