update add unit test for testing faster
This commit is contained in:
parent
465484902f
commit
a87683a2c9
3 changed files with 61 additions and 10 deletions
|
|
@ -256,12 +256,13 @@
|
||||||
Var PopweenPointState[10] = 1
|
Var PopweenPointState[10] = 1
|
||||||
EndIf
|
EndIf
|
||||||
If Seeker.selected_a_drink = "12-99-05-0056" Then
|
If Seeker.selected_a_drink = "12-99-05-0056" Then
|
||||||
Var PopweenPointNewIndex = 11
|
|
||||||
Var PopweenPointState[11] = 1
|
|
||||||
|
|
||||||
If PopweenPointState[11] = 1 Then
|
If PopweenPointState[11] = 1 Then
|
||||||
Var PopweenPointNewIndex = ""
|
Var PopweenPointNewIndex = ""
|
||||||
|
Else
|
||||||
|
Var PopweenPointNewIndex = 11
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
Var PopweenPointState[11] = 1
|
||||||
EndIf
|
EndIf
|
||||||
If Seeker.selected_a_drink = "12-99-03-0066" Then
|
If Seeker.selected_a_drink = "12-99-03-0066" Then
|
||||||
If PopweenPointState[12] = 1 Then
|
If PopweenPointState[12] = 1 Then
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
;Add after pay
|
;Add after pay
|
||||||
|
|
||||||
Var PointMaskState = "Invisible"
|
Var PointMaskState = "Invisible"
|
||||||
|
Var showRandomBtnState = "Invisible"
|
||||||
|
|
||||||
Var CoffeePointStr = CoffeePoint
|
Var CoffeePointStr = CoffeePoint
|
||||||
|
|
||||||
|
|
@ -195,6 +196,10 @@
|
||||||
Var TaobinLevelDesc2 = "สะสมให้ครบ 13 เมนูแสนอร่อยปนความสยองตอนนี้เลย!"
|
Var TaobinLevelDesc2 = "สะสมให้ครบ 13 เมนูแสนอร่อยปนความสยองตอนนี้เลย!"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If PepweenPoint = 13 Then
|
||||||
|
Var showRandomBtnState = "Enable"
|
||||||
|
EndIf
|
||||||
|
|
||||||
If Seeker = "curr" Then
|
If Seeker = "curr" Then
|
||||||
Var CheckCouponState = "Enable"
|
Var CheckCouponState = "Enable"
|
||||||
Else
|
Else
|
||||||
|
|
@ -203,13 +208,6 @@
|
||||||
|
|
||||||
Var CurrentPointSlot = PopweenPointNewIndex + 1
|
Var CurrentPointSlot = PopweenPointNewIndex + 1
|
||||||
|
|
||||||
If SELLONLINE = 1 Then
|
|
||||||
Var CurrentPointCheck = ""
|
|
||||||
Else
|
|
||||||
Var CurrentPointCheck = "check"
|
|
||||||
EndIf
|
|
||||||
Var val3 = "X"
|
|
||||||
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
|
|
@ -222,6 +220,9 @@
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
If Timeout > 10 Then
|
If Timeout > 10 Then
|
||||||
|
Var CurrentPointCheck = "check"
|
||||||
|
Var val3 = "X"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
Open "ROOT/taobin_project/xml/page_lid_straw.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
|
@ -318,6 +319,7 @@
|
||||||
<Button>
|
<Button>
|
||||||
<X> 423 </X>
|
<X> 423 </X>
|
||||||
<Y> 1660 </Y>
|
<Y> 1660 </Y>
|
||||||
|
<State> showRandomBtnState </State>
|
||||||
<Filename> Var( DirImage + "/bn_random.png" )</Filename>
|
<Filename> Var( DirImage + "/bn_random.png" )</Filename>
|
||||||
<FilenamePress> Var( DirImage + "/bp_random.png" )</FilenamePress>
|
<FilenamePress> Var( DirImage + "/bp_random.png" )</FilenamePress>
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
|
|
@ -325,6 +327,14 @@
|
||||||
<EventClick>
|
<EventClick>
|
||||||
; goto lid straw
|
; goto lid straw
|
||||||
|
|
||||||
|
If SELLONLINE = 1 Then
|
||||||
|
Var CurrentPointCheck = ""
|
||||||
|
Else
|
||||||
|
Var CurrentPointCheck = "check"
|
||||||
|
EndIf
|
||||||
|
Var val3 = "X"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
Open "ROOT/taobin_project/xml/event/pepween/page_pepween_random.xml"
|
Open "ROOT/taobin_project/xml/event/pepween/page_pepween_random.xml"
|
||||||
|
|
||||||
</EventClick>
|
</EventClick>
|
||||||
|
|
|
||||||
|
|
@ -3831,7 +3831,47 @@ Hag of village" </Value>
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
|
<EventUnitTest4>
|
||||||
|
Var TelephoneNumber = "0809120280"
|
||||||
|
Var CurrentPointCheck = ""
|
||||||
|
Var val3 = "X"
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "1"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "2"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "3"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "4"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "5"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "6"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "7"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "8"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "9"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "10"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "11"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
|
||||||
|
Var CurrentPointSlot = "12"
|
||||||
|
AddData 35 TelephoneNumber CurrentPointSlot CurrentPointCheck val3
|
||||||
|
</EventUnitTest4>
|
||||||
|
|
||||||
|
|
||||||
</Popup>
|
</Popup>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue