diff --git a/image/collect_point1/text_2.png b/image/collect_point1/text_2.png
new file mode 100644
index 00000000..34e34668
Binary files /dev/null and b/image/collect_point1/text_2.png differ
diff --git a/image/collectiing/Group.png b/image/collectiing/Group.png
new file mode 100644
index 00000000..53dbebe5
Binary files /dev/null and b/image/collectiing/Group.png differ
diff --git a/image/collectiing/bn_cancel2.png b/image/collectiing/bn_cancel2.png
new file mode 100644
index 00000000..fb13903c
Binary files /dev/null and b/image/collectiing/bn_cancel2.png differ
diff --git a/image/collectiing/bn_getPin.png b/image/collectiing/bn_getPin.png
new file mode 100644
index 00000000..cc3d1808
Binary files /dev/null and b/image/collectiing/bn_getPin.png differ
diff --git a/image/collectiing/bn_useCredit.png b/image/collectiing/bn_useCredit.png
new file mode 100644
index 00000000..2b4ff4cf
Binary files /dev/null and b/image/collectiing/bn_useCredit.png differ
diff --git a/image/collectiing/bp_cancel2.png b/image/collectiing/bp_cancel2.png
new file mode 100644
index 00000000..d7694c9b
Binary files /dev/null and b/image/collectiing/bp_cancel2.png differ
diff --git a/image/collectiing/bp_getPin.png b/image/collectiing/bp_getPin.png
new file mode 100644
index 00000000..b8dc2a42
Binary files /dev/null and b/image/collectiing/bp_getPin.png differ
diff --git a/image/collectiing/bp_useCredit.png b/image/collectiing/bp_useCredit.png
new file mode 100644
index 00000000..accc8624
Binary files /dev/null and b/image/collectiing/bp_useCredit.png differ
diff --git a/image/collectiing/img4.png b/image/collectiing/img4.png
new file mode 100644
index 00000000..d9d13c5d
Binary files /dev/null and b/image/collectiing/img4.png differ
diff --git a/image/collectiing/img_popup11.png b/image/collectiing/img_popup11.png
new file mode 100644
index 00000000..2e79d862
Binary files /dev/null and b/image/collectiing/img_popup11.png differ
diff --git a/image/collectiing/text14.png b/image/collectiing/text14.png
new file mode 100644
index 00000000..45fe25ce
Binary files /dev/null and b/image/collectiing/text14.png differ
diff --git a/image/collectiing/text15.png b/image/collectiing/text15.png
new file mode 100644
index 00000000..10c88bf8
Binary files /dev/null and b/image/collectiing/text15.png differ
diff --git a/image/collectiing/text_13.png b/image/collectiing/text_13.png
new file mode 100644
index 00000000..65d2905c
Binary files /dev/null and b/image/collectiing/text_13.png differ
diff --git a/image/collectiing/text_15.png b/image/collectiing/text_15.png
new file mode 100644
index 00000000..9951367f
Binary files /dev/null and b/image/collectiing/text_15.png differ
diff --git a/image/collectiing/text_16.png b/image/collectiing/text_16.png
new file mode 100644
index 00000000..b096a8a6
Binary files /dev/null and b/image/collectiing/text_16.png differ
diff --git a/image/collectiing/text_17.png b/image/collectiing/text_17.png
new file mode 100644
index 00000000..cfc8f4fc
Binary files /dev/null and b/image/collectiing/text_17.png differ
diff --git a/image/collectiing/text_18.png b/image/collectiing/text_18.png
new file mode 100644
index 00000000..34e34668
Binary files /dev/null and b/image/collectiing/text_18.png differ
diff --git a/image/collectiing/text_19.png b/image/collectiing/text_19.png
new file mode 100644
index 00000000..62a2e47b
Binary files /dev/null and b/image/collectiing/text_19.png differ
diff --git a/image/collectiing/text_X.png b/image/collectiing/text_X.png
new file mode 100644
index 00000000..a8763bc8
Binary files /dev/null and b/image/collectiing/text_X.png differ
diff --git a/image/collectiing/text_show_notfound.png b/image/collectiing/text_show_notfound.png
new file mode 100644
index 00000000..a3d55be3
Binary files /dev/null and b/image/collectiing/text_show_notfound.png differ
diff --git a/image/collectiing/text_show_sentSMS.png b/image/collectiing/text_show_sentSMS.png
new file mode 100644
index 00000000..d2590448
Binary files /dev/null and b/image/collectiing/text_show_sentSMS.png differ
diff --git a/image/consent/img_popup2.png b/image/consent/img_popup2.png
new file mode 100644
index 00000000..2c4d2588
Binary files /dev/null and b/image/consent/img_popup2.png differ
diff --git a/image/display_get_free/img_popup2.png b/image/display_get_free/img_popup2.png
new file mode 100644
index 00000000..e4dd525e
Binary files /dev/null and b/image/display_get_free/img_popup2.png differ
diff --git a/image/display_get_free/img_popup3.png b/image/display_get_free/img_popup3.png
new file mode 100644
index 00000000..1a547532
Binary files /dev/null and b/image/display_get_free/img_popup3.png differ
diff --git a/image/display_point/bn_cancel2.png b/image/display_point/bn_cancel2.png
new file mode 100644
index 00000000..fb13903c
Binary files /dev/null and b/image/display_point/bn_cancel2.png differ
diff --git a/image/display_point/bn_check.png b/image/display_point/bn_check.png
new file mode 100644
index 00000000..bf8468a2
Binary files /dev/null and b/image/display_point/bn_check.png differ
diff --git a/image/display_point/bp_cancle2.png b/image/display_point/bp_cancle2.png
new file mode 100644
index 00000000..d7694c9b
Binary files /dev/null and b/image/display_point/bp_cancle2.png differ
diff --git a/image/display_point/bp_check.png b/image/display_point/bp_check.png
new file mode 100644
index 00000000..820a4c40
Binary files /dev/null and b/image/display_point/bp_check.png differ
diff --git a/image/display_point/imgCouponD10.png b/image/display_point/imgCouponD10.png
new file mode 100644
index 00000000..66baa9aa
Binary files /dev/null and b/image/display_point/imgCouponD10.png differ
diff --git a/image/display_point/imgCouponFree.png b/image/display_point/imgCouponFree.png
new file mode 100644
index 00000000..22a5c398
Binary files /dev/null and b/image/display_point/imgCouponFree.png differ
diff --git a/image/display_point/img_popup2.png b/image/display_point/img_popup2.png
new file mode 100644
index 00000000..1ed1e483
Binary files /dev/null and b/image/display_point/img_popup2.png differ
diff --git a/image/display_point/img_popup3.png b/image/display_point/img_popup3.png
new file mode 100644
index 00000000..f1a96fe4
Binary files /dev/null and b/image/display_point/img_popup3.png differ
diff --git a/image/display_point/taoLevel0.png b/image/display_point/taoLevel0.png
new file mode 100644
index 00000000..0208aa88
Binary files /dev/null and b/image/display_point/taoLevel0.png differ
diff --git a/image/display_point/taoLevel1.png b/image/display_point/taoLevel1.png
new file mode 100644
index 00000000..afa817b3
Binary files /dev/null and b/image/display_point/taoLevel1.png differ
diff --git a/image/display_point/taoLevel2.png b/image/display_point/taoLevel2.png
new file mode 100644
index 00000000..d710aa58
Binary files /dev/null and b/image/display_point/taoLevel2.png differ
diff --git a/image/display_point/taobin7.png b/image/display_point/taobin7.png
new file mode 100644
index 00000000..6a9bda21
Binary files /dev/null and b/image/display_point/taobin7.png differ
diff --git a/image/display_point/taobinP1.png b/image/display_point/taobinP1.png
new file mode 100644
index 00000000..438c7d6a
Binary files /dev/null and b/image/display_point/taobinP1.png differ
diff --git a/image/display_point/taobinP10.png b/image/display_point/taobinP10.png
new file mode 100644
index 00000000..b9d324bc
Binary files /dev/null and b/image/display_point/taobinP10.png differ
diff --git a/image/display_point/taobinP11.png b/image/display_point/taobinP11.png
new file mode 100644
index 00000000..b8c871a7
Binary files /dev/null and b/image/display_point/taobinP11.png differ
diff --git a/image/display_point/taobinP12.png b/image/display_point/taobinP12.png
new file mode 100644
index 00000000..cb897156
Binary files /dev/null and b/image/display_point/taobinP12.png differ
diff --git a/image/display_point/taobinP13.png b/image/display_point/taobinP13.png
new file mode 100644
index 00000000..b90209e8
Binary files /dev/null and b/image/display_point/taobinP13.png differ
diff --git a/image/display_point/taobinP14.png b/image/display_point/taobinP14.png
new file mode 100644
index 00000000..a7d94a5d
Binary files /dev/null and b/image/display_point/taobinP14.png differ
diff --git a/image/display_point/taobinP15.png b/image/display_point/taobinP15.png
new file mode 100644
index 00000000..d2567541
Binary files /dev/null and b/image/display_point/taobinP15.png differ
diff --git a/image/display_point/taobinP16.png b/image/display_point/taobinP16.png
new file mode 100644
index 00000000..2b1e8f64
Binary files /dev/null and b/image/display_point/taobinP16.png differ
diff --git a/image/display_point/taobinP17.png b/image/display_point/taobinP17.png
new file mode 100644
index 00000000..3adbb6c7
Binary files /dev/null and b/image/display_point/taobinP17.png differ
diff --git a/image/display_point/taobinP18.png b/image/display_point/taobinP18.png
new file mode 100644
index 00000000..3adbb6c7
Binary files /dev/null and b/image/display_point/taobinP18.png differ
diff --git a/image/display_point/taobinP19.png b/image/display_point/taobinP19.png
new file mode 100644
index 00000000..a96a5551
Binary files /dev/null and b/image/display_point/taobinP19.png differ
diff --git a/image/display_point/taobinP2.png b/image/display_point/taobinP2.png
new file mode 100644
index 00000000..225373ee
Binary files /dev/null and b/image/display_point/taobinP2.png differ
diff --git a/image/display_point/taobinP20.png b/image/display_point/taobinP20.png
new file mode 100644
index 00000000..b7354c6b
Binary files /dev/null and b/image/display_point/taobinP20.png differ
diff --git a/image/display_point/taobinP3.png b/image/display_point/taobinP3.png
new file mode 100644
index 00000000..8b83b8bb
Binary files /dev/null and b/image/display_point/taobinP3.png differ
diff --git a/image/display_point/taobinP4.png b/image/display_point/taobinP4.png
new file mode 100644
index 00000000..ec2a639a
Binary files /dev/null and b/image/display_point/taobinP4.png differ
diff --git a/image/display_point/taobinP5.png b/image/display_point/taobinP5.png
new file mode 100644
index 00000000..4f476277
Binary files /dev/null and b/image/display_point/taobinP5.png differ
diff --git a/image/display_point/taobinP6.png b/image/display_point/taobinP6.png
new file mode 100644
index 00000000..ba3684aa
Binary files /dev/null and b/image/display_point/taobinP6.png differ
diff --git a/image/display_point/taobinP8.png b/image/display_point/taobinP8.png
new file mode 100644
index 00000000..62799e92
Binary files /dev/null and b/image/display_point/taobinP8.png differ
diff --git a/image/display_point/taobinP9.png b/image/display_point/taobinP9.png
new file mode 100644
index 00000000..25fe0907
Binary files /dev/null and b/image/display_point/taobinP9.png differ
diff --git a/image/display_point/text4.png b/image/display_point/text4.png
new file mode 100644
index 00000000..669292e1
Binary files /dev/null and b/image/display_point/text4.png differ
diff --git a/image/display_point/text5.png b/image/display_point/text5.png
new file mode 100644
index 00000000..28801a82
Binary files /dev/null and b/image/display_point/text5.png differ
diff --git a/image/page_payment/bn_pay_with_credit.png b/image/page_payment/bn_pay_with_credit.png
new file mode 100644
index 00000000..be2c7a46
Binary files /dev/null and b/image/page_payment/bn_pay_with_credit.png differ
diff --git a/image/page_payment/bp_pay_with_credit.png b/image/page_payment/bp_pay_with_credit.png
new file mode 100644
index 00000000..f93ee4f0
Binary files /dev/null and b/image/page_payment/bp_pay_with_credit.png differ
diff --git a/image/page_payment_cash_extend/bn_cancel2.png b/image/page_payment_cash_extend/bn_cancel2.png
new file mode 100644
index 00000000..d17404f0
Binary files /dev/null and b/image/page_payment_cash_extend/bn_cancel2.png differ
diff --git a/image/page_payment_cash_extend/bn_cancel3.png b/image/page_payment_cash_extend/bn_cancel3.png
new file mode 100644
index 00000000..e454cc12
Binary files /dev/null and b/image/page_payment_cash_extend/bn_cancel3.png differ
diff --git a/image/page_payment_cash_extend/bn_keep.png b/image/page_payment_cash_extend/bn_keep.png
new file mode 100644
index 00000000..fc1eec0e
Binary files /dev/null and b/image/page_payment_cash_extend/bn_keep.png differ
diff --git a/image/page_payment_cash_extend/bp_cancel2.png b/image/page_payment_cash_extend/bp_cancel2.png
new file mode 100644
index 00000000..bac2d172
Binary files /dev/null and b/image/page_payment_cash_extend/bp_cancel2.png differ
diff --git a/image/page_payment_cash_extend/bp_cancel3.png b/image/page_payment_cash_extend/bp_cancel3.png
new file mode 100644
index 00000000..6142b68c
Binary files /dev/null and b/image/page_payment_cash_extend/bp_cancel3.png differ
diff --git a/image/page_payment_cash_extend/bp_keep.png b/image/page_payment_cash_extend/bp_keep.png
new file mode 100644
index 00000000..6b1f8e7a
Binary files /dev/null and b/image/page_payment_cash_extend/bp_keep.png differ
diff --git a/image/page_payment_cash_extend/img_popup12.png b/image/page_payment_cash_extend/img_popup12.png
new file mode 100644
index 00000000..cb35d3e7
Binary files /dev/null and b/image/page_payment_cash_extend/img_popup12.png differ
diff --git a/image/page_payment_cash_extend/img_popup13.png b/image/page_payment_cash_extend/img_popup13.png
new file mode 100644
index 00000000..2e79d862
Binary files /dev/null and b/image/page_payment_cash_extend/img_popup13.png differ
diff --git a/image/page_payment_cash_extend/img_popup14.png b/image/page_payment_cash_extend/img_popup14.png
new file mode 100644
index 00000000..b2c0dfe9
Binary files /dev/null and b/image/page_payment_cash_extend/img_popup14.png differ
diff --git a/image/page_payment_en/bn_pay_with_code.png b/image/page_payment_en/bn_pay_with_code.png
new file mode 100644
index 00000000..4614e691
Binary files /dev/null and b/image/page_payment_en/bn_pay_with_code.png differ
diff --git a/image/page_payment_en/bn_pay_with_credit.png b/image/page_payment_en/bn_pay_with_credit.png
new file mode 100644
index 00000000..16089760
Binary files /dev/null and b/image/page_payment_en/bn_pay_with_credit.png differ
diff --git a/image/page_payment_en/page_payment/bn_pay_with_credit.png b/image/page_payment_en/page_payment/bn_pay_with_credit.png
new file mode 100644
index 00000000..16089760
Binary files /dev/null and b/image/page_payment_en/page_payment/bn_pay_with_credit.png differ
diff --git a/image/page_payment_en/page_payment/bp_pay_with_credit.png b/image/page_payment_en/page_payment/bp_pay_with_credit.png
new file mode 100644
index 00000000..3526d5d6
Binary files /dev/null and b/image/page_payment_en/page_payment/bp_pay_with_credit.png differ
diff --git a/xml/page_back_to_addpoint.xml b/xml/page_back_to_addpoint.xml
new file mode 100644
index 00000000..7a28e793
--- /dev/null
+++ b/xml/page_back_to_addpoint.xml
@@ -0,0 +1,31 @@
+
+ 1080
+ 1920
+
+
+
+
+
+ TopView "hide"
+
+ If TNumberTaobinMember = "" Then
+
+ Else
+ Var BmiYear = "0/0/0/0/0/0/0/0/0/1"
+ Var PointCrm = "pdpa1"
+ Var GetScore = ""
+ AddData 4 TNumberTaobinMember BmiYear PointCrm GetScore
+ Var TNumberTaobinMember = ""
+ EndIf
+
+ Open "/mnt/sdcard/coffeevending/taobin_project/xml/page_back_to_main.xml"
+
+
+
+ 1000
+
+ ;Var menu_status = "stop"
+
+
+
+
diff --git a/xml/page_check_member.xml b/xml/page_check_member.xml
new file mode 100644
index 00000000..511d6787
--- /dev/null
+++ b/xml/page_check_member.xml
@@ -0,0 +1,438 @@
+
+
+ "Enable"
+ 1080
+ 1920
+ "0xEFEDEA"
+ SoundVolume
+ "Partial"
+
+ ; On open
+
+ Var Timeout = 0
+
+ Var TelephoneNumber = ""
+
+ Var ShowTextNumber = "Enable"
+ Var ShowErrorText = "Invisible"
+ Var Tel_Confirm_State = "Invisible"
+
+ Var GetCreditFlag = 0
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/collectiing_en"
+ Else
+ Var DirImage = "ROOT/taobin_project/image/collectiing"
+ EndIf
+
+ Var FlagWaitUpdateCoinAmount = 0
+
+ 1000
+
+
+ Var Timeout = Timeout + 1
+ If Timeout > 30 Then
+
+ Open "ROOT/taobin_project/xml/page_catalog.xml"
+
+
+ EndIf
+
+
+
+ TimerReset
+
+
+
+
+
+
+
+
+ If Ext1a = "ok" Then
+
+ Open "ROOT/taobin_project/xml/page_check_memeber2.xml"
+
+ Else
+
+ Var ShowErrorText = "Enable"
+
+
+ EndIf
+
+
+
+ Refresh
+
+
+
+
+ Var ShowErrorText = "Enable"
+ Refresh
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 217
+ 784
+ Var( DirImage + "/img3.png" )
+
+
+
+ 349
+ 825
+ ShowTextNumber
+ "Enable"
+ Var( DirImage + "/text15.png" )
+
+
+
+ 248
+ 800
+ ShowTextNumber
+ "Enable"
+ Var( DirImage + "/Group.png" )
+
+
+
+
+ 0
+ 797
+ 1080
+ Center
+ 62
+ RobotoBlack
+ 0x513C2F
+ "Enable"
+ TelephoneNumber
+ Telnum
+
+
+
+
+
+
+ 260
+ 521
+ Var( DirImage + "/text_19.png" )
+
+
+
+ 430
+ 942
+ ShowErrorText
+ "Enable"
+ "ROOT/taobin_project/image/collectiing/text_show_notfound.png"
+
+
+
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+
+
+
+
+
+
diff --git a/xml/page_check_member2.xml b/xml/page_check_member2.xml
new file mode 100644
index 00000000..ee32f349
--- /dev/null
+++ b/xml/page_check_member2.xml
@@ -0,0 +1,296 @@
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ SoundVolume
+
+
+ ; On open
+
+ Var Timeout = 0
+
+
+
+
+
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/display_point_en"
+ Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
+
+ Else
+ Var DirImage = "ROOT/taobin_project/image/display_point"
+ Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
+ EndIf
+
+
+ Var PointDiff = 400 - CoffeePointRank
+
+ Var TaobinLevelDesc1 = "ระดับสมาชิก เต่าเดิน จนถึง "
+ Var TaobinLevelDesc2 = "สะสมแสตมป์อีก "
+
+ Var TaobinLevelDesc2 = TaobinLevelDesc2 + PointDiff
+ Var TaobinLevelDesc2 = TaobinLevelDesc2 + " ดวง ก่อน "
+
+
+ Var TaobinLevelDesc3 = "ตอนนี้คุณมีคูปองแลกเครื่องดื่มฟรีเหลืออยู่ "
+ Var TaobinLevelDesc3 = TaobinLevelDesc3 + TaobinCoupons
+ Var TaobinLevelDesc3 = TaobinLevelDesc3 + " ใบ"
+
+
+ Var TaobinExpireDay = ""
+ Var TaobinExpireMonth = ""
+ Var TaobinExpireYear = ""
+
+
+
+ SPLIT TaobinExpire "/" 1 TaobinExpireDay
+ SPLIT TaobinExpire "/" 2 TaobinExpireMonth
+ SPLIT TaobinExpire "/" 3 TaobinExpireYear
+
+ If TaobinExpireMonth = "01" Then
+ Var TaobinExpireMonth = "ม.ค."
+ EndIf
+
+ If TaobinExpireMonth = "02" Then
+ Var TaobinExpireMonth = "ก.พ."
+ EndIf
+
+ If TaobinExpireMonth = "03" Then
+ Var TaobinExpireMonth = "มี.ค."
+ EndIf
+
+ If TaobinExpireMonth = "04" Then
+ Var TaobinExpireMonth = "เม.ย."
+ EndIf
+
+ If TaobinExpireMonth = "05" Then
+ Var TaobinExpireMonth = "พ.ค."
+ EndIf
+
+ If TaobinExpireMonth = "06" Then
+ Var TaobinExpireMonth = "มิ.ย."
+ EndIf
+
+ If TaobinExpireMonth = "07" Then
+ Var TaobinExpireMonth = "ก.ค."
+ EndIf
+
+ If TaobinExpireMonth = "08" Then
+ Var TaobinExpireMonth = "ส.ค."
+ EndIf
+
+ If TaobinExpireMonth = "09" Then
+ Var TaobinExpireMonth = "ก.ย."
+ EndIf
+
+ If TaobinExpireMonth = "10" Then
+ Var TaobinExpireMonth = "ต.ค."
+ EndIf
+
+ If TaobinExpireMonth = "11" Then
+ Var TaobinExpireMonth = "พ.ย."
+ EndIf
+
+ If TaobinExpireMonth = "12" Then
+ Var TaobinExpireMonth = "ธ.ค."
+ EndIf
+
+ INT TaobinExpireYear
+ INT TaobinExpireDay
+
+ Var TaobinExpireYear = TaobinExpireYear + 543
+
+
+ Var ExpireStrTmp = ""
+ Var ExpireStrTmp = ExpireStrTmp + TaobinExpireDay
+ Var ExpireStrTmp = ExpireStrTmp + " "
+ Var ExpireStrTmp = ExpireStrTmp + TaobinExpireMonth
+ Var ExpireStrTmp = ExpireStrTmp + " "
+ Var ExpireStrTmp = ExpireStrTmp + TaobinExpireYear
+
+ Var TaobinLevelDesc1 = TaobinLevelDesc1 + ExpireStrTmp
+ Var TaobinLevelDesc2 = TaobinLevelDesc2 + ExpireStrTmp
+ Var TaobinLevelDesc2 = TaobinLevelDesc2 + " เพื่อเลื่อนขั้นเป็นเต่าบิน"
+
+
+
+ 1000
+
+
+
+
+
+
+ Var Timeout = Timeout + 1
+ If Timeout > 30 Then
+
+ Open "ROOT/taobin_project/xml/page_back_to_main.xml"
+
+ EndIf
+
+ TimerReset
+ Refresh
+
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+ Open "ROOT/taobin_project/xml/page_check_member2.xml"
+
+
+
+
+ If MachineStage = "drink-success" Then
+ Var MachineState_Result = 1
+ EndIf
+
+ If MachineStage = "drink-failed" Then
+ Var MachineState_Result = 2
+ EndIf
+
+
+;
+; 0
+; 0
+; "ROOT/taobin_project/image/ad_medium_2.png"
+;
+
+
+
+
+ 0
+ 380
+ "ROOT/taobin_project/image/display_point/alpha.png"
+
+
+
+;
+
+
+
+
+ 158
+ 665
+ Var( DirImage + "/img_popup1.png" )
+
+
+
+ 158
+ 665
+ Var( DirImage + "/img_popup3.png" )
+
+
+
+
+ 243
+ 722
+ Var( DirImage + "/text5.png" )
+
+
+
+ 243
+ 857
+ Var( DirImage + "/text4.png" )
+
+
+
+
+ 624
+ 734
+ Var( DirImage + "/taoLevel1.png" )
+
+;
+
+
+
+
+
+
+
+
+
+
+ 250
+ 745
+ 35
+ 1000
+ KanitRegularTTF
+ 0x513C2F
+ TaobinName
+
+
+
+ 250
+ 800
+ 20
+ 1000
+ KanitRegularTTF
+ 0x746253
+ TNumberTaobinMemberXXX
+
+
+
+ 250
+ 890
+ 50
+ 120
+ KanitRegularTTF
+ 0xDE794E
+ CoffeePointRank
+
+
+
+ 250
+ 990
+ 25
+ 1000
+ KanitRegularTTF
+ 0xDE794E
+ TaobinLevelDesc1
+
+
+
+ 250
+ 1020
+ 20
+ 1000
+ KanitRegularTTF
+ 0x746253
+ TaobinLevelDesc2
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xml/page_check_member3.xml b/xml/page_check_member3.xml
new file mode 100644
index 00000000..fb17423c
--- /dev/null
+++ b/xml/page_check_member3.xml
@@ -0,0 +1,202 @@
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ SoundVolume
+
+
+ ; On open
+
+ Var Timeout = 0
+ Var TNumberTaobinMember = TelephoneNumber
+
+ Var CoffeePointStr = CoffeePoint
+
+ SAVELOG TelephoneNumber
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/display_point_en"
+ Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
+
+ Else
+ Var DirImage = "ROOT/taobin_project/image/display_point"
+ Var page_doing_show_time_image = "ROOT/taobin_project/image/page_doing/img2.png"
+ EndIf
+
+
+
+
+
+
+ 1000
+
+ Var Timeout = Timeout + 1
+ If Timeout > 20 Then
+
+ Open "ROOT/taobin_project/xml/page_catalog.xml"
+
+ EndIf
+
+ TimerReset
+ Refresh
+
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+
+
+
+
+
+
+ If MachineStage = "drink-success" Then
+ Var MachineState_Result = 1
+ EndIf
+
+ If MachineStage = "drink-failed" Then
+ Var MachineState_Result = 2
+ EndIf
+
+
+;
+; 0
+; 0
+; "ROOT/taobin_project/image/ad_medium_2.png"
+;
+
+
+
+
+ 0
+ 380
+ "ROOT/taobin_project/image/display_point/alpha.png"
+
+
+
+;
+
+
+
+
+ 158
+ 665
+ Var( DirImage + "/img_popup1.png" )
+
+
+
+ 158
+ 665
+ Var( DirImage + "/img_popup3.png" )
+
+
+
+
+ 243
+ 722
+ Var( DirImage + "/text5.png" )
+
+
+
+ 243
+ 857
+ Var( DirImage + "/text4.png" )
+
+
+
+
+ 624
+ 734
+ Var( DirImage + "/taoLevel1.png" )
+
+;
+
+
+
+
+
+
+
+
+
+
+
+
+;
+; 420
+; 638
+; 56
+; KanitBoldTTF
+; 0x513C2F
+; TelephoneNumber
+; Telnum
+;
+;
+;
+;
+; 323
+; 865
+; 434
+; Center
+; 64
+; KanitSemiBoldTTF
+; 0xDE794E
+; CoffeePoint
+;
+
+
+ 250
+ 1241
+ 434
+ 64
+ KanitSemiBoldTTF
+ 0xDE794E
+ pointStr
+
+
+
+ 243
+ 902
+ 50
+ Center
+ 1080
+ KanitRegularTTF
+ 0xDE794E
+ CoffeePointRank
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xml/page_payment_credit.xml b/xml/page_payment_credit.xml
new file mode 100644
index 00000000..c01f697c
--- /dev/null
+++ b/xml/page_payment_credit.xml
@@ -0,0 +1,449 @@
+
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ "ROOT/sounds/Code8digit.m4a"
+ SoundVolume
+ "Partial"
+
+ ; On open
+
+ VendingQR OFF
+
+ Var Timeout = 0
+
+ Var TelephoneNumber = ""
+
+ Var ShowTextNumber = "Enable"
+ Var ShowErrorText = "Invisible"
+ Var Tel_Confirm_State = "Invisible"
+
+ Var GetCreditFlag = 0
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/collectiing_en"
+ Else
+ Var DirImage = "ROOT/taobin_project/image/collectiing"
+ EndIf
+
+ 1000
+
+
+ Var Timeout = Timeout + 1
+ If Timeout > 30 Then
+ Var PayState1 = "PressForever"
+ Var PayState2 = "Enable"
+ Var QRChannel = 0
+ Var CodeChannel = 0
+ Open "ROOT/taobin_project/xml/page_payment_cash.xml"
+ EndIf
+
+
+ TimerReset
+
+
+
+
+
+
+
+ ;Open "ROOT/taobin_project/xml/page_payment_credit2.xml"
+
+ If Ext1a = "ok" Then
+ Open "ROOT/taobin_project/xml/page_payment_credit2.xml"
+ Else
+ Var ShowErrorText = "Enable"
+ EndIf
+
+ Refresh
+
+
+
+ Var ShowErrorText = "Enable"
+ Refresh
+
+
+
+
+
+ 0
+ 380
+ "ROOT/taobin_project/image/collectiing/alpha.png"
+
+
+
+
+ 158
+ 601
+ "ROOT/taobin_project/image/collectiing/img_popup1.png"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 217
+ 802
+ Var( DirImage + "/img3.png" )
+
+
+
+ 244
+ 817
+ ShowTextNumber
+ "Enable"
+ Var( DirImage + "/text14.png" )
+
+
+
+ 248
+ 836
+ ShowTextNumber
+ "Enable"
+ Var( DirImage + "/Group.png" )
+
+
+
+
+ 0
+ 817
+ 1080
+ Center
+ 62
+ RobotoBlack
+ 0x513C2F
+ "Enable"
+ TelephoneNumber
+ Telnum
+
+
+
+
+
+
+ 188
+ 626
+ Var( DirImage + "/text_13.png" )
+
+
+
+ 444
+ 945
+ ShowErrorText
+ "Enable"
+ "ROOT/taobin_project/image/collectiing/text_show_notfound.png"
+
+
+
+;
+; 0
+; 0
+; "ROOT/taobin_project/image/ad_medium_2.png"
+;
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+
+
+
+
diff --git a/xml/page_payment_credit2.xml b/xml/page_payment_credit2.xml
new file mode 100644
index 00000000..169d7984
--- /dev/null
+++ b/xml/page_payment_credit2.xml
@@ -0,0 +1,738 @@
+
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ "ROOT/sounds/Code8digit.m4a"
+ SoundVolume
+ "Partial"
+
+ ; On open
+
+ Var Timeout = 0
+
+
+ Var ShowSentSmsText = "Invisible"
+
+ Var ShowTextNumber1 = "Invisible"
+ Var ShowTextNumber2 = "Invisible"
+ Var ShowTextNumber3 = "Invisible"
+ Var ShowTextNumber4 = "Invisible"
+
+ Var ShowErrorText = "Invisible"
+ Var Tel_Confirm_State = "Invisible"
+
+ Var PinNumber = ""
+
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/collectiing_en"
+ Else
+ Var DirImage = "ROOT/taobin_project/image/collectiing"
+ EndIf
+
+ 1000
+
+ ;Open "ROOT/xml/page_board.xml"
+
+ Var Timeout = Timeout + 1
+ If Timeout > 30 Then
+ Var PayState1 = "PressForever"
+ Var PayState2 = "Enable"
+ Var QRChannel = 0
+ Var CodeChannel = 0
+ Open "ROOT/taobin_project/xml/page_payment_cash.xml"
+ EndIf
+
+ TimerReset
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ If Ext1a = "ok" Then
+
+ Open "ROOT/taobin_project/xml/page_payment_credit3.xml"
+ Else
+ Var ShowErrorText = "Enable"
+ Var PinNumber = ""
+ Var ShowTextNumber1 = "Invisible"
+ Var ShowTextNumber2 = "Invisible"
+ Var ShowTextNumber3 = "Invisible"
+ Var ShowTextNumber4 = "Invisible"
+ EndIf
+
+ Refresh
+
+
+
+ Var ShowErrorText = "Enable"
+ Refresh
+
+
+
+
+
+
+
+ 0
+ 380
+ "ROOT/taobin_project/image/collectiing/alpha.png"
+
+
+
+
+ 158
+ 601
+ "ROOT/taobin_project/image/collectiing/img_popup1.png"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 242
+ 830
+ Var( DirImage + "/img4.png" )
+
+
+
+ 289
+ 870
+ ShowTextNumber1
+ "Enable"
+ Var( DirImage + "/text_X.png" )
+
+
+
+ 446
+ 870
+ ShowTextNumber2
+ "Enable"
+ Var( DirImage + "/text_X.png" )
+
+
+
+ 603
+ 870
+ ShowTextNumber3
+ "Enable"
+ Var( DirImage + "/text_X.png" )
+
+
+
+ 758
+ 870
+ ShowTextNumber4
+ "Enable"
+ Var( DirImage + "/text_X.png" )
+
+
+
+
+
+
+
+
+
+
+
+ 188
+ 626
+ Var( DirImage + "/text_16.png" )
+
+
+
+ 444
+ 945
+ "Enable"
+ ShowErrorText
+ "ROOT/taobin_project/image/collectiing/text_show_notfound.png"
+
+
+
+ 246
+ 945
+ "Enable"
+ ShowSentSmsText
+ "ROOT/taobin_project/image/collectiing/text_show_sentSMS.png"
+
+
+
+
+
+;
+; 0
+; 0
+; "ROOT/taobin_project/image/ad_medium_2.png"
+;
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+
+
+
+
diff --git a/xml/page_payment_credit3.xml b/xml/page_payment_credit3.xml
new file mode 100644
index 00000000..875ab8e1
--- /dev/null
+++ b/xml/page_payment_credit3.xml
@@ -0,0 +1,167 @@
+
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ "ROOT/sounds/Code8digit.m4a"
+ SoundVolume
+ "Partial"
+
+ ; On open
+
+ Var Timeout = 0
+
+ Var Tel_Confirm_State = "Disable"
+
+ Var CoffeeCredit = Ext1b
+ INT CoffeeCredit
+
+ Var SumCreditAmount = CoffeeCredit
+
+ If SumCreditAmount >= PayAmount Then
+ Var Tel_Confirm_State = "Enable"
+ EndIf
+
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/collectiing_en"
+ Else
+ Var DirImage = "ROOT/taobin_project/image/collectiing"
+ EndIf
+
+ 1000
+
+ ;Open "ROOT/xml/page_board.xml"
+
+ Var Timeout = Timeout + 1
+ If Timeout > 30 Then
+ Var PayState1 = "PressForever"
+ Var PayState2 = "Enable"
+ Var QRChannel = 0
+ Var CodeChannel = 0
+ Open "ROOT/taobin_project/xml/page_payment_cash.xml"
+ EndIf
+
+ TimerReset
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 380
+ "ROOT/taobin_project/image/collectiing/alpha.png"
+
+
+
+
+ 182
+ 748
+ "ROOT/taobin_project/image/collectiing/img_popup11.png"
+
+
+
+ 0
+ 1041
+ 144
+ Center
+ 1080
+ KanitRegularTTF
+
+ 0xDE794E
+ SumCreditAmount
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+;
+; 0
+; 0
+; "ROOT/taobin_project/image/ad_medium_2.png"
+;
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+
+
+
+
diff --git a/xml/page_payment_storeCredit.xml b/xml/page_payment_storeCredit.xml
new file mode 100644
index 00000000..582d7763
--- /dev/null
+++ b/xml/page_payment_storeCredit.xml
@@ -0,0 +1,513 @@
+
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ "ROOT/sounds/Code8digit.m4a"
+ SoundVolume
+ "Partial"
+
+ ; On open
+
+ Var Timeout = 0
+
+ Var TelephoneNumber = ""
+
+ Var ShowTextNumber = "Enable"
+ Var ShowErrorText = "Invisible"
+ Var Tel_Confirm_State = "Invisible"
+
+ Var GetCreditFlag = 0
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/collectiing_en"
+ Else
+ Var DirImage = "ROOT/taobin_project/image/collectiing"
+ EndIf
+
+ Var FlagWaitUpdateCoinAmount = 0
+
+ 1000
+
+
+ Var Timeout = Timeout + 1
+ If Timeout > 30 Then
+ If pageStoreCredit0 = 1 Then
+ Change StoreCreditAmount
+ Var ChangeFlag2 = 1
+ Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
+ Else
+ CoinVending BILLREJECT
+ Open "ROOT/taobin_project/xml/page_payment_cash.xml"
+
+ EndIf
+ EndIf
+
+ If FlagWaitUpdateCoinAmount = 1 Then
+ If Timeout > 2 Then
+ Open "ROOT/taobin_project/xml/page_payment_cash.xml"
+ EndIf
+
+ EndIf
+
+
+ TimerReset
+
+
+
+
+
+
+
+
+
+ If Ext1a = "ok" Then
+ Var CoffeeCredit = Ext1b
+ INT CoffeeCredit
+ Var CoffeePinNumber = Ext1c
+
+ Var TNumberTaobinCredit = TelephoneNumber
+
+ If pageStoreCredit0 = 1 Then
+
+ Var StoreCreditFlag = 1
+
+
+
+ Var CoffeeCreditKeep = StoreCreditAmount + CoffeeCredit
+ Open "ROOT/taobin_project/xml/page_payment_storeCredit3.xml"
+ Else
+
+ Var StoreCreditFlag = 1
+
+
+ If ViewBill < RemainAmount Then
+
+ CoinVending BILLSTACKALL
+
+ Var FlagWaitUpdateCoinAmount = 1
+ Var Timeout = 0
+ Else
+
+ CoinVending BILLSTACKALL
+
+ Var CoffeeCreditKeep = RemainAmountKeep + CoffeeCredit
+ Open "ROOT/taobin_project/xml/page_payment_storeCredit3.xml"
+
+ EndIf
+
+
+
+ EndIf
+
+ Else
+ If Ext1a = "new customer" Then
+ Var CoffeeCreditKeep = 0
+ Var TNumberTaobinCredit = TelephoneNumber
+
+ Open "ROOT/taobin_project/xml/page_payment_storeCredit2.xml"
+ Else
+ Var ShowErrorText = "Enable"
+ EndIf
+
+ EndIf
+
+ Refresh
+
+
+
+
+
+ Var ShowErrorText = "Enable"
+ Refresh
+
+
+
+
+
+ 0
+ 380
+ "ROOT/taobin_project/image/collectiing/alpha.png"
+
+
+
+
+ 158
+ 601
+ "ROOT/taobin_project/image/collectiing/img_popup1.png"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 217
+ 802
+ Var( DirImage + "/img3.png" )
+
+
+
+ 244
+ 817
+ ShowTextNumber
+ "Enable"
+ Var( DirImage + "/text14.png" )
+
+
+
+ 248
+ 836
+ ShowTextNumber
+ "Enable"
+ Var( DirImage + "/Group.png" )
+
+
+
+
+ 0
+ 817
+ 1080
+ Center
+ 62
+ RobotoBlack
+ 0x513C2F
+ "Enable"
+ TelephoneNumber
+ Telnum
+
+
+
+
+
+
+ 188
+ 626
+ Var( DirImage + "/text_17.png" )
+
+
+
+ 330
+ 942
+ ShowErrorText
+ "Enable"
+ "ROOT/taobin_project/image/collectiing/text_show_notfound.png"
+
+
+
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+
+ If MachineStage = "drink-success" Then
+ Var MachineState_Result = 1
+ EndIf
+
+ If MachineStage = "drink-failed" Then
+ Var MachineState_Result = 2
+ EndIf
+
+
+
+
+
diff --git a/xml/page_payment_storeCredit0.xml b/xml/page_payment_storeCredit0.xml
new file mode 100644
index 00000000..33fd26d3
--- /dev/null
+++ b/xml/page_payment_storeCredit0.xml
@@ -0,0 +1,170 @@
+
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ "ROOT/sounds/Code8digit.m4a"
+ SoundVolume
+
+
+ ; On open
+
+ Var Timeout = 0
+
+ Var TelephoneNumber = ""
+
+ Var ShowTextNumber = "Enable"
+ Var ShowErrorText = "Invisible"
+ Var Tel_Confirm_State = "Invisible"
+
+ Var GetCreditFlag = 0
+ Var clickedChangeFlag = 0
+
+ Var pageStoreCredit0 = 1
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/collectiing_en/page_payment"
+ Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend_en"
+
+
+ Else
+ Var DirImage = "ROOT/taobin_project/image/collectiing_en"
+ Var DirImage2 = "ROOT/taobin_project/image/page_payment_cash_extend"
+
+ EndIf
+
+ 1000
+
+
+ Var Timeout = Timeout + 1
+ If Timeout > 30 Then
+
+ Change StoreCreditAmount
+ Var ChangeFlag2 = 1
+
+ Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
+ EndIf
+
+
+ TimerReset
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 380
+ "ROOT/taobin_project/image/page_payment/alpha.png"
+
+
+
+ 182
+ 748
+ Var( DirImage2 + "/img_popup14.png" )
+
+
+
+
+ 0
+ 1041
+ 100
+ Center
+ 1080
+ KanitRegularTTF
+ 0xDE794E
+ StoreCreditAmount
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+
+ If MachineStage = "drink-success" Then
+ Var MachineState_Result = 1
+ EndIf
+
+ If MachineStage = "drink-failed" Then
+ Var MachineState_Result = 2
+ EndIf
+
+
+
+
+
diff --git a/xml/page_payment_storeCredit2.xml b/xml/page_payment_storeCredit2.xml
new file mode 100644
index 00000000..2d613c60
--- /dev/null
+++ b/xml/page_payment_storeCredit2.xml
@@ -0,0 +1,725 @@
+
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ "ROOT/sounds/Code8digit.m4a"
+ SoundVolume
+ "Partial"
+
+ ; On open
+
+ Var Timeout = 0
+
+
+
+ Var ShowTextNumber1 = "Invisible"
+ Var ShowTextNumber2 = "Invisible"
+ Var ShowTextNumber3 = "Invisible"
+ Var ShowTextNumber4 = "Invisible"
+
+ Var ShowErrorText = "Invisible"
+ Var Tel_Confirm_State = "Invisible"
+
+ Var PinNumber = ""
+
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/collectiing_en"
+ Else
+ Var DirImage = "ROOT/taobin_project/image/collectiing"
+ EndIf
+
+ Var FlagWaitUpdateCoinAmount = 0
+
+ Var FlagOKButton = 0
+
+
+ 1000
+
+ ;Open "ROOT/xml/page_board.xml"
+
+ Var Timeout = Timeout + 1
+ If Timeout > 30 Then
+ Open "ROOT/taobin_project/xml/page_payment_storeCredit.xml"
+ EndIf
+
+ If FlagWaitUpdateCoinAmount = 1 Then
+ If Timeout > 2 Then
+ Open "ROOT/taobin_project/xml/page_payment_cash.xml"
+ EndIf
+
+ EndIf
+
+
+ TimerReset
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 380
+ "ROOT/taobin_project/image/collectiing/alpha.png"
+
+
+
+
+ 158
+ 601
+ "ROOT/taobin_project/image/collectiing/img_popup1.png"
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 242
+ 830
+ Var( DirImage + "/img4.png" )
+
+
+
+ 289
+ 870
+ ShowTextNumber1
+ "Enable"
+ Var( DirImage + "/text_X.png" )
+
+
+
+ 446
+ 870
+ ShowTextNumber2
+ "Enable"
+ Var( DirImage + "/text_X.png" )
+
+
+
+ 603
+ 870
+ ShowTextNumber3
+ "Enable"
+ Var( DirImage + "/text_X.png" )
+
+
+
+ 758
+ 870
+ ShowTextNumber4
+ "Enable"
+ Var( DirImage + "/text_X.png" )
+
+
+
+
+
+
+
+
+
+
+
+ 188
+ 626
+ Var( DirImage + "/text_16.png" )
+
+
+
+ 330
+ 942
+ "Enable"
+ ShowErrorText
+ "ROOT/taobin_project/image/collectiing/text_show_notfound.png"
+
+
+
+
+
+
+;
+; 0
+; 0
+; "ROOT/taobin_project/image/ad_medium_2.png"
+;
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+
+ If MachineStage = "drink-success" Then
+ Var MachineState_Result = 1
+ EndIf
+
+ If MachineStage = "drink-failed" Then
+ Var MachineState_Result = 2
+ EndIf
+
+
+
+
+
diff --git a/xml/page_payment_storeCredit3.xml b/xml/page_payment_storeCredit3.xml
new file mode 100644
index 00000000..a69cebbd
--- /dev/null
+++ b/xml/page_payment_storeCredit3.xml
@@ -0,0 +1,154 @@
+
+
+ "Enable"
+ 1080
+ 1920
+ "0xeae6e1"
+ "ROOT/sounds/Code8digit.m4a"
+ SoundVolume
+ "Partial"
+
+ ; On open
+
+ Var Timeout = 0
+
+
+
+
+ If show_eng = "true" Then
+ Var DirImage = "ROOT/taobin_project/image/collectiing_en"
+ Else
+ Var DirImage = "ROOT/taobin_project/image/collectiing"
+ EndIf
+
+ If pageStoreCredit0 = 1 Then
+
+
+ Else
+ VendingQR OFF
+ CoinVending OFF
+ EndIf
+
+
+ 1000
+
+ ;Open "ROOT/xml/page_board.xml"
+
+ Var Timeout = Timeout + 1
+ If Timeout > 5 Then
+
+ If pageStoreCredit0 = 1 Then
+
+
+
+ Open "ROOT/taobin_project/xml/page_collect_point_1.xml"
+ Else
+
+
+ ;Var TNumberTaobinCredit = TelephoneNumber
+ ;Var CoffeePinNumber = PinNumber
+
+ MakeDrinkV1 SelectDrink SelectSugarID
+ Open "ROOT/taobin_project/xml/page_thankyou.xml"
+ EndIf
+
+
+
+ EndIf
+
+ TimerReset
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0
+ 380
+ "ROOT/taobin_project/image/collectiing/alpha.png"
+
+
+
+
+ 182
+ 748
+ "ROOT/taobin_project/image/collectiing/img_popup11.png"
+
+
+
+
+
+
+ 0
+ 1041
+ 144
+ Center
+ 1080
+ KanitRegularTTF
+ 0xDE794E
+ CoffeeCreditKeep
+
+
+
+
+;
+; 0
+; 0
+; "ROOT/taobin_project/image/ad_medium_2.png"
+;
+
+
+
+
+
+
+ Open "/media/bt/xml/security_alarm.xml"
+
+
+
+ If MachineStage = "drink-success" Then
+ Var MachineState_Result = 1
+ EndIf
+
+ If MachineStage = "drink-failed" Then
+ Var MachineState_Result = 2
+ EndIf
+
+
+
+
+
+