page_smoothie_suggest_and_process.xml fix step cup
This commit is contained in:
parent
f1bc6cd492
commit
7f2e2a8801
6 changed files with 72 additions and 18 deletions
|
|
@ -1381,8 +1381,8 @@ Macallan Lumina Mizuwari 11-99-05-0055 1 27 28 24 100 7:40 32
|
||||||
โอวัลตินคาราเมล 12-03-03-0109 1 51 17 22 23 41 24 100 7:40 32
|
โอวัลตินคาราเมล 12-03-03-0109 1 51 17 22 23 41 24 100 7:40 32
|
||||||
โอวัลตินมะพร้าว 12-03-03-0110 1 51 17 62 23 41 24 100 7:40 32
|
โอวัลตินมะพร้าว 12-03-03-0110 1 51 17 62 23 41 24 100 7:40 32
|
||||||
|
|
||||||
มะม่วงปั่น ( test) 12-00-07-0000 1 65 64 24 100 7:40 32
|
มะม่วงปั่น ( test) 12-00-07-0000 1 65 24 100 7:40 32
|
||||||
มะม่วงเต่าปั่น 12-06-03-0001 1 65 64 24 100 8:40 32
|
มะม่วงเต่าปั่น 12-06-03-0001 1 65 24 100 8:40 32
|
||||||
มะม่่วงลิ้นจี่เต่าปั่น 12-06-03-0002 1 11 65 24 100 9:40 32
|
มะม่่วงลิ้นจี่เต่าปั่น 12-06-03-0002 1 11 65 24 100 9:40 32
|
||||||
มะม่วงสตรอเบอรีเต่าปั่น 12-06-03-0003 1 19 65 24 100 10:40 32
|
มะม่วงสตรอเบอรีเต่าปั่น 12-06-03-0003 1 19 65 24 100 10:40 32
|
||||||
มะม่วงสละเต่าปั่น 12-06-03-0004 1 21 65 24 100 11:40 32
|
มะม่วงสละเต่าปั่น 12-06-03-0004 1 21 65 24 100 11:40 32
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 40.
|
|
|
@ -1381,8 +1381,8 @@ Macallan Lumina Mizuwari 11-99-05-0055 1 27 28 24 100 7:40 32
|
||||||
โอวัลตินคาราเมล 12-03-03-0109 1 51 17 22 23 41 24 100 7:40 32
|
โอวัลตินคาราเมล 12-03-03-0109 1 51 17 22 23 41 24 100 7:40 32
|
||||||
โอวัลตินมะพร้าว 12-03-03-0110 1 51 17 62 23 41 24 100 7:40 32
|
โอวัลตินมะพร้าว 12-03-03-0110 1 51 17 62 23 41 24 100 7:40 32
|
||||||
|
|
||||||
มะม่วงปั่น ( test) 12-00-07-0000 1 65 64 24 100 7:40 32
|
มะม่วงปั่น ( test) 12-00-07-0000 1 65 24 100 7:40 32
|
||||||
มะม่วงเต่าปั่น 12-06-03-0001 1 65 64 24 100 8:40 32
|
มะม่วงเต่าปั่น 12-06-03-0001 1 65 24 100 8:40 32
|
||||||
มะม่่วงลิ้นจี่เต่าปั่น 12-06-03-0002 1 11 65 24 100 9:40 32
|
มะม่่วงลิ้นจี่เต่าปั่น 12-06-03-0002 1 11 65 24 100 9:40 32
|
||||||
มะม่วงสตรอเบอรีเต่าปั่น 12-06-03-0003 1 19 65 24 100 10:40 32
|
มะม่วงสตรอเบอรีเต่าปั่น 12-06-03-0003 1 19 65 24 100 10:40 32
|
||||||
มะม่วงสละเต่าปั่น 12-06-03-0004 1 21 65 24 100 11:40 32
|
มะม่วงสละเต่าปั่น 12-06-03-0004 1 21 65 24 100 11:40 32
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 40.
|
|
|
@ -255,8 +255,8 @@
|
||||||
001024 Please get a drink at the door below. กรุณารับเครื่องดื่มที่ช่องด้านล่าง 请从下方出货口取走饮品 Please get a drink at the door below. ကျေးဇူးပြုပြီး အောက်တံခါးမှာ သောက်ပါ။
|
001024 Please get a drink at the door below. กรุณารับเครื่องดื่มที่ช่องด้านล่าง 请从下方出货口取走饮品 Please get a drink at the door below. ကျေးဇူးပြုပြီး အောက်တံခါးမှာ သောက်ပါ။
|
||||||
Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Regular,Size=48,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F
|
Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Regular,Size=48,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F
|
||||||
001524 Pull the cup straight out. ดึงแก้วออกตรงๆ ไม่ต้องยกแก้วค่ะ 将杯子直接取出 Pull the cup straight out. ခွက်ကို တည့်တည့်ဆွဲထုတ်ပါ။
|
001524 Pull the cup straight out. ดึงแก้วออกตรงๆ ไม่ต้องยกแก้วค่ะ 将杯子直接取出 Pull the cup straight out. ခွက်ကို တည့်တည့်ဆွဲထုတ်ပါ။
|
||||||
|
001525 Please take a cup. กรุณานำแก้วออกก่อนครับ/ค่ะ 请拿杯子。 ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။
|
||||||
|
001526 Press button for take a cup. กรุณากดปุ่ม แล้วนำแก้วออกก่อนครับ/ค่ะ 按按钮取杯子。 ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 22.
|
|
|
@ -85,7 +85,7 @@
|
||||||
Var TextDoorButtonID = 001202
|
Var TextDoorButtonID = 001202
|
||||||
|
|
||||||
Var SmoothieProcessState = "idle"
|
Var SmoothieProcessState = "idle"
|
||||||
Var CountDownCertainConfuse = 5
|
Var CountDownCertainConfuse = 2
|
||||||
|
|
||||||
Var ArmIDForMakeOrder = 0
|
Var ArmIDForMakeOrder = 0
|
||||||
|
|
||||||
|
|
@ -101,6 +101,7 @@
|
||||||
DEBUGVAR ArmIDForMakeOrder
|
DEBUGVAR ArmIDForMakeOrder
|
||||||
__CMD "ui-load-playlist" 0 SelectDrink "-"
|
__CMD "ui-load-playlist" 0 SelectDrink "-"
|
||||||
|
|
||||||
|
Var CountDownCupStageRunningTimeout = 15
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
|
|
@ -164,7 +165,9 @@
|
||||||
Var TimeOutSmoothiesProcess = TimeOutSmoothiesProcess - 1
|
Var TimeOutSmoothiesProcess = TimeOutSmoothiesProcess - 1
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
If TimeOutSmoothiesProcess = 2 Then
|
||||||
|
Machine DoorClose
|
||||||
|
EndIf
|
||||||
If TimeOutSmoothiesProcess = 0 Then
|
If TimeOutSmoothiesProcess = 0 Then
|
||||||
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process_3.xml"
|
Open "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process_3.xml"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -176,10 +179,8 @@
|
||||||
DEBUGVAR CH9994_Status
|
DEBUGVAR CH9994_Status
|
||||||
|
|
||||||
DEBUGVAR HaveCup
|
DEBUGVAR HaveCup
|
||||||
DEBUGVAR CupOnArm
|
DEBUGVAR CountDownCupStageRunningTimeout
|
||||||
DEBUGVAR DoorCupPosition
|
DEBUGVAR DoorCupPosition
|
||||||
DEBUGVAR CupChecking
|
|
||||||
DEBUGVAR CupArmMove
|
|
||||||
DEBUGVAR buttonRemoveCup
|
DEBUGVAR buttonRemoveCup
|
||||||
DEBUGVAR SmoothieProcessState
|
DEBUGVAR SmoothieProcessState
|
||||||
DEBUGVAR AnyArmConfuse
|
DEBUGVAR AnyArmConfuse
|
||||||
|
|
@ -206,7 +207,8 @@
|
||||||
Else
|
Else
|
||||||
If SmoothieProcessState = "insert" Then
|
If SmoothieProcessState = "insert" Then
|
||||||
Var TextDoorButtonID = 001203
|
Var TextDoorButtonID = 001203
|
||||||
|
Machine CheckCupCurrentProcess
|
||||||
|
Var SmoothieProcessState = "checking"
|
||||||
Else
|
Else
|
||||||
|
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -244,9 +246,23 @@
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If SmoothieProcessState = "checking" Then
|
||||||
|
|
||||||
|
If CountDownCupStageRunningTimeout > 0 Then
|
||||||
|
|
||||||
|
Var CountDownCupStageRunningTimeout = CountDownCupStageRunningTimeout - 1
|
||||||
|
|
||||||
|
EndIf
|
||||||
|
If CountDownCupStageRunningTimeout = 0 Then
|
||||||
|
Var SmoothieProcessState = "idle"
|
||||||
|
Var TextDoorButtonID = 001202
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
Else
|
Else
|
||||||
|
|
||||||
If ChannelArmForProccessStatus = "RUNNING" Then
|
If ChannelArmForProccessStatus = "RUNNING" Then
|
||||||
|
|
||||||
Var SmoothieProcessState = "blendnow"
|
Var SmoothieProcessState = "blendnow"
|
||||||
EndIf
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
|
|
@ -276,7 +292,7 @@
|
||||||
Refresh
|
Refresh
|
||||||
TimerReset
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
; setvarint TimeOutSmoothiesProcess 2
|
||||||
;DEBUGVAR Var [ChannelArmForProccessStatus] = RUNNING
|
;DEBUGVAR Var [ChannelArmForProccessStatus] = RUNNING
|
||||||
|
|
||||||
;include="ROOT/taobin_project/inc/video.inc"
|
;include="ROOT/taobin_project/inc/video.inc"
|
||||||
|
|
@ -392,11 +408,13 @@
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
|
SAVELOG " SmoothieProcessState press "
|
||||||
Var SmoothieProcessState = "press"
|
Var SmoothieProcessState = "press"
|
||||||
If DoorCupPosition = "top" Then
|
If DoorCupPosition = "top" Then
|
||||||
|
|
||||||
Else
|
Else
|
||||||
Var CountDownCertainConfuse = 5
|
Var CountDownCupStageRunningTimeout = 15
|
||||||
|
Var CountDownCertainConfuse = 2
|
||||||
Var ArmIDForMakeOrderStr = "" + ArmIDForMakeOrder
|
Var ArmIDForMakeOrderStr = "" + ArmIDForMakeOrder
|
||||||
DEBUGVAR ArmIDForMakeOrderStr
|
DEBUGVAR ArmIDForMakeOrderStr
|
||||||
__CMD "UseArm" ArmIDForMakeOrderStr "-" "-"
|
__CMD "UseArm" ArmIDForMakeOrderStr "-" "-"
|
||||||
|
|
@ -456,7 +474,9 @@
|
||||||
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
<Sound> "/mnt/sdcard/coffeevending/wav/click.wav" </Sound>
|
||||||
<Volume> SoundVolume </Volume>
|
<Volume> SoundVolume </Volume>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
If DoorCupPosition = "top" Then
|
SAVELOG " Cancel order press "
|
||||||
|
|
||||||
|
If DoorCupPosition = "bottom" Then
|
||||||
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
Var OpenFromXML = "ROOT/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||||
|
|
||||||
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
OpenInst 3 "ROOT/taobin_project/xml/topview2.xml"
|
||||||
|
|
|
||||||
|
|
@ -255,8 +255,8 @@
|
||||||
001024 Please get a drink at the door below. กรุณารับเครื่องดื่มที่ช่องด้านล่าง 请从下方出货口取走饮品 Please get a drink at the door below. ကျေးဇူးပြုပြီး အောက်တံခါးမှာ သောက်ပါ။
|
001024 Please get a drink at the door below. กรุณารับเครื่องดื่มที่ช่องด้านล่าง 请从下方出货口取走饮品 Please get a drink at the door below. ကျေးဇူးပြုပြီး အောက်တံခါးမှာ သောက်ပါ။
|
||||||
Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Regular,Size=48,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F
|
Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Regular,Size=48,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F Font=Roboto,Type=Medium,Size=75,Color=0x513C2F
|
||||||
001524 Pull the cup straight out. ดึงแก้วออกตรงๆ ไม่ต้องยกแก้วค่ะ 将杯子直接取出 Pull the cup straight out. ခွက်ကို တည့်တည့်ဆွဲထုတ်ပါ။
|
001524 Pull the cup straight out. ดึงแก้วออกตรงๆ ไม่ต้องยกแก้วค่ะ 将杯子直接取出 Pull the cup straight out. ခွက်ကို တည့်တည့်ဆွဲထုတ်ပါ။
|
||||||
|
001525 Please take a cup. กรุณานำแก้วออกก่อนครับ/ค่ะ 请拿杯子。 ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။
|
||||||
|
001526 Press button for take a cup. กรุณากดปุ่ม แล้วนำแก้วออกก่อนครับ/ค่ะ 按按钮取杯子。 ကျေးဇူးပြုပြီး ဖန်ခွက်ကို အရင်ထုတ်ပါ။
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
Can't render this file because it has a wrong number of fields in line 22.
|
|
|
@ -181,6 +181,7 @@
|
||||||
DEBUGVAR TestArrary[2]
|
DEBUGVAR TestArrary[2]
|
||||||
DEBUGVAR TestArrary[3]
|
DEBUGVAR TestArrary[3]
|
||||||
|
|
||||||
|
Var CountTouchButton = 0
|
||||||
|
|
||||||
</EventOpen>
|
</EventOpen>
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
|
|
@ -327,7 +328,40 @@
|
||||||
<Y> info_3Y </Y>
|
<Y> info_3Y </Y>
|
||||||
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
|
<Filename> "ROOT/taobin_project/image/tab_1.png" </Filename>
|
||||||
<EventClick>
|
<EventClick>
|
||||||
OpenInst 4 ""
|
If CountTouchButton = 4 Then
|
||||||
|
|
||||||
|
Var TimeOutSmoothiesProcess = 181
|
||||||
|
Var SelectDrink = "12-00-07-0000"
|
||||||
|
Var Seeker.selected_a_drink = SelectDrink
|
||||||
|
Var Seeker.TNumberTaobinCredit = "0899999999"
|
||||||
|
Var Seeker.StoreCreditFlag = 0
|
||||||
|
Var Seeker.CoffeePinNumber = ""
|
||||||
|
Var Seeker.VendingTSI = ""
|
||||||
|
|
||||||
|
Var RemainAmountStr = "Free###size=150"
|
||||||
|
|
||||||
|
Var RoadShowMarketCode = "EFR01"
|
||||||
|
|
||||||
|
Var Seeker.VendingCode = RoadShowMarketCode
|
||||||
|
DEBUGVAR RoadShowMarketCode
|
||||||
|
|
||||||
|
Var Seeker.IntVendingCampaign = PriceDrink
|
||||||
|
Var Seeker.FreeVendingCampaign = 1
|
||||||
|
Var Seeker.CodeChannel = 1
|
||||||
|
Var Seeker.CodeNumber = IDNum
|
||||||
|
|
||||||
|
If New_Payment = 1 Then
|
||||||
|
Var Seeker.ORDER_ID = ""
|
||||||
|
GenHashWithTimeStamp Seeker.ORDER_ID
|
||||||
|
__CMD "SetPay" "coffee-payment" Seeker.VendingTSID Seeker.ORDER_ID
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
|
||||||
|
OpenInst 2 "/mnt/sdcard/coffeevending/taobin_project/inter/tha/xml/page_smoothie_suggest_and_process.xml"
|
||||||
|
|
||||||
|
TopView "show"
|
||||||
|
Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_main_blank.xml"
|
||||||
|
EndIf
|
||||||
</EventClick>
|
</EventClick>
|
||||||
</Image>
|
</Image>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue