diff --git a/image/new_vending_info/backtohome_testcoin.png b/image/new_vending_info/backtohome_testcoin.png
new file mode 100644
index 00000000..015b758d
Binary files /dev/null and b/image/new_vending_info/backtohome_testcoin.png differ
diff --git a/image/new_vending_info/backtohome_testcoin_bp.png b/image/new_vending_info/backtohome_testcoin_bp.png
new file mode 100644
index 00000000..9c40e5dc
Binary files /dev/null and b/image/new_vending_info/backtohome_testcoin_bp.png differ
diff --git a/image/new_vending_info/checkin.png b/image/new_vending_info/checkin.png
new file mode 100644
index 00000000..af31bb54
Binary files /dev/null and b/image/new_vending_info/checkin.png differ
diff --git a/image/new_vending_info/checkinheader.png b/image/new_vending_info/checkinheader.png
new file mode 100644
index 00000000..353e8924
Binary files /dev/null and b/image/new_vending_info/checkinheader.png differ
diff --git a/image/new_vending_info/checkinplasewait.png b/image/new_vending_info/checkinplasewait.png
new file mode 100644
index 00000000..dbf11734
Binary files /dev/null and b/image/new_vending_info/checkinplasewait.png differ
diff --git a/image/new_vending_info/checkinplasewait2.png b/image/new_vending_info/checkinplasewait2.png
new file mode 100644
index 00000000..43ed5dc9
Binary files /dev/null and b/image/new_vending_info/checkinplasewait2.png differ
diff --git a/image/new_vending_info/messagebankfail.png b/image/new_vending_info/messagebankfail.png
new file mode 100644
index 00000000..ca6c8ecd
Binary files /dev/null and b/image/new_vending_info/messagebankfail.png differ
diff --git a/image/new_vending_info/messagecoinfail.png b/image/new_vending_info/messagecoinfail.png
new file mode 100644
index 00000000..f0cb6018
Binary files /dev/null and b/image/new_vending_info/messagecoinfail.png differ
diff --git a/image/new_vending_info/messagetestallsuccess.png b/image/new_vending_info/messagetestallsuccess.png
new file mode 100644
index 00000000..8db9eec1
Binary files /dev/null and b/image/new_vending_info/messagetestallsuccess.png differ
diff --git a/image/new_vending_info/messsagechangefail.png b/image/new_vending_info/messsagechangefail.png
new file mode 100644
index 00000000..36291878
Binary files /dev/null and b/image/new_vending_info/messsagechangefail.png differ
diff --git a/image/new_vending_info/personguildline.png b/image/new_vending_info/personguildline.png
new file mode 100644
index 00000000..18ce2e48
Binary files /dev/null and b/image/new_vending_info/personguildline.png differ
diff --git a/image/new_vending_info/retrycheckin.png b/image/new_vending_info/retrycheckin.png
new file mode 100644
index 00000000..40fe51b5
Binary files /dev/null and b/image/new_vending_info/retrycheckin.png differ
diff --git a/image/new_vending_info/retryprocess_testcoin.png b/image/new_vending_info/retryprocess_testcoin.png
new file mode 100644
index 00000000..c6c98b56
Binary files /dev/null and b/image/new_vending_info/retryprocess_testcoin.png differ
diff --git a/image/new_vending_info/retryprocess_testcoin_bp.png b/image/new_vending_info/retryprocess_testcoin_bp.png
new file mode 100644
index 00000000..79a68a7a
Binary files /dev/null and b/image/new_vending_info/retryprocess_testcoin_bp.png differ
diff --git a/image/new_vending_info/sendcheckin.png b/image/new_vending_info/sendcheckin.png
new file mode 100644
index 00000000..63638444
Binary files /dev/null and b/image/new_vending_info/sendcheckin.png differ
diff --git a/image/new_vending_info/sendpicturecheckinbackhome.png b/image/new_vending_info/sendpicturecheckinbackhome.png
new file mode 100644
index 00000000..bc1f1d4e
Binary files /dev/null and b/image/new_vending_info/sendpicturecheckinbackhome.png differ
diff --git a/image/new_vending_info/sendpicturecheckinprocess.png b/image/new_vending_info/sendpicturecheckinprocess.png
new file mode 100644
index 00000000..de6c737f
Binary files /dev/null and b/image/new_vending_info/sendpicturecheckinprocess.png differ
diff --git a/image/new_vending_info/sendpicturecheckinsuccess.png b/image/new_vending_info/sendpicturecheckinsuccess.png
new file mode 100644
index 00000000..bfc1b038
Binary files /dev/null and b/image/new_vending_info/sendpicturecheckinsuccess.png differ
diff --git a/image/new_vending_info/startcapture.png b/image/new_vending_info/startcapture.png
new file mode 100644
index 00000000..d12539bd
Binary files /dev/null and b/image/new_vending_info/startcapture.png differ
diff --git a/image/new_vending_info/test_bank_20.png b/image/new_vending_info/test_bank_20.png
new file mode 100644
index 00000000..54e282ee
Binary files /dev/null and b/image/new_vending_info/test_bank_20.png differ
diff --git a/image/new_vending_info/test_bank_coin_plasewait.png b/image/new_vending_info/test_bank_coin_plasewait.png
new file mode 100644
index 00000000..b6f45b55
Binary files /dev/null and b/image/new_vending_info/test_bank_coin_plasewait.png differ
diff --git a/image/new_vending_info/test_bank_header_page.png b/image/new_vending_info/test_bank_header_page.png
new file mode 100644
index 00000000..c6100224
Binary files /dev/null and b/image/new_vending_info/test_bank_header_page.png differ
diff --git a/image/new_vending_info/test_change_10.png b/image/new_vending_info/test_change_10.png
new file mode 100644
index 00000000..13eaf9be
Binary files /dev/null and b/image/new_vending_info/test_change_10.png differ
diff --git a/image/new_vending_info/test_change_10_page.png b/image/new_vending_info/test_change_10_page.png
new file mode 100644
index 00000000..0b5a84cd
Binary files /dev/null and b/image/new_vending_info/test_change_10_page.png differ
diff --git a/image/new_vending_info/test_change_10_page_bn.png b/image/new_vending_info/test_change_10_page_bn.png
new file mode 100644
index 00000000..5d3beb36
Binary files /dev/null and b/image/new_vending_info/test_change_10_page_bn.png differ
diff --git a/image/new_vending_info/test_change_10_page_bp.png b/image/new_vending_info/test_change_10_page_bp.png
new file mode 100644
index 00000000..f5d7a7cd
Binary files /dev/null and b/image/new_vending_info/test_change_10_page_bp.png differ
diff --git a/image/new_vending_info/test_change_header_page.png b/image/new_vending_info/test_change_header_page.png
new file mode 100644
index 00000000..27a7c9b2
Binary files /dev/null and b/image/new_vending_info/test_change_header_page.png differ
diff --git a/image/new_vending_info/test_coin_10_bath.png b/image/new_vending_info/test_coin_10_bath.png
new file mode 100644
index 00000000..68fbab9b
Binary files /dev/null and b/image/new_vending_info/test_coin_10_bath.png differ
diff --git a/image/new_vending_info/test_coin_5_bath.png b/image/new_vending_info/test_coin_5_bath.png
new file mode 100644
index 00000000..15811ac0
Binary files /dev/null and b/image/new_vending_info/test_coin_5_bath.png differ
diff --git a/image/new_vending_info/test_coin_backmain_page.png b/image/new_vending_info/test_coin_backmain_page.png
new file mode 100644
index 00000000..6e8e2531
Binary files /dev/null and b/image/new_vending_info/test_coin_backmain_page.png differ
diff --git a/image/new_vending_info/test_coin_cancel.png b/image/new_vending_info/test_coin_cancel.png
new file mode 100644
index 00000000..1362138f
Binary files /dev/null and b/image/new_vending_info/test_coin_cancel.png differ
diff --git a/image/new_vending_info/test_coin_cancel_page.png b/image/new_vending_info/test_coin_cancel_page.png
new file mode 100644
index 00000000..6d84d46e
Binary files /dev/null and b/image/new_vending_info/test_coin_cancel_page.png differ
diff --git a/image/new_vending_info/test_coin_header_page.png b/image/new_vending_info/test_coin_header_page.png
new file mode 100644
index 00000000..a391ff93
Binary files /dev/null and b/image/new_vending_info/test_coin_header_page.png differ
diff --git a/image/new_vending_info/test_success_coinbank_header_page.png b/image/new_vending_info/test_success_coinbank_header_page.png
new file mode 100644
index 00000000..7157b327
Binary files /dev/null and b/image/new_vending_info/test_success_coinbank_header_page.png differ
diff --git a/image/new_vending_info/testcoin_10_fail.png b/image/new_vending_info/testcoin_10_fail.png
new file mode 100644
index 00000000..0e0197aa
Binary files /dev/null and b/image/new_vending_info/testcoin_10_fail.png differ
diff --git a/image/new_vending_info/testcoin_10_foc.png b/image/new_vending_info/testcoin_10_foc.png
new file mode 100644
index 00000000..445e8706
Binary files /dev/null and b/image/new_vending_info/testcoin_10_foc.png differ
diff --git a/image/new_vending_info/testcoin_10_nor.png b/image/new_vending_info/testcoin_10_nor.png
new file mode 100644
index 00000000..e7f3b25d
Binary files /dev/null and b/image/new_vending_info/testcoin_10_nor.png differ
diff --git a/image/new_vending_info/testcoin_10_succ.png b/image/new_vending_info/testcoin_10_succ.png
new file mode 100644
index 00000000..5908c6d0
Binary files /dev/null and b/image/new_vending_info/testcoin_10_succ.png differ
diff --git a/image/new_vending_info/testcoin_20_fail.png b/image/new_vending_info/testcoin_20_fail.png
new file mode 100644
index 00000000..99f7390d
Binary files /dev/null and b/image/new_vending_info/testcoin_20_fail.png differ
diff --git a/image/new_vending_info/testcoin_20_foc.png b/image/new_vending_info/testcoin_20_foc.png
new file mode 100644
index 00000000..f04eff57
Binary files /dev/null and b/image/new_vending_info/testcoin_20_foc.png differ
diff --git a/image/new_vending_info/testcoin_20_nor.png b/image/new_vending_info/testcoin_20_nor.png
new file mode 100644
index 00000000..30630953
Binary files /dev/null and b/image/new_vending_info/testcoin_20_nor.png differ
diff --git a/image/new_vending_info/testcoin_20_succ.png b/image/new_vending_info/testcoin_20_succ.png
new file mode 100644
index 00000000..7a9e4c3e
Binary files /dev/null and b/image/new_vending_info/testcoin_20_succ.png differ
diff --git a/image/new_vending_info/testcoin_5_fail.png b/image/new_vending_info/testcoin_5_fail.png
new file mode 100644
index 00000000..d868f47d
Binary files /dev/null and b/image/new_vending_info/testcoin_5_fail.png differ
diff --git a/image/new_vending_info/testcoin_5_foc.png b/image/new_vending_info/testcoin_5_foc.png
new file mode 100644
index 00000000..fbc2baa3
Binary files /dev/null and b/image/new_vending_info/testcoin_5_foc.png differ
diff --git a/image/new_vending_info/testcoin_5_succ.png b/image/new_vending_info/testcoin_5_succ.png
new file mode 100644
index 00000000..4c357478
Binary files /dev/null and b/image/new_vending_info/testcoin_5_succ.png differ
diff --git a/image/new_vending_info/testcoin_change_fail.png b/image/new_vending_info/testcoin_change_fail.png
new file mode 100644
index 00000000..9471e064
Binary files /dev/null and b/image/new_vending_info/testcoin_change_fail.png differ
diff --git a/image/new_vending_info/testcoin_change_foc.png b/image/new_vending_info/testcoin_change_foc.png
new file mode 100644
index 00000000..7753f2d7
Binary files /dev/null and b/image/new_vending_info/testcoin_change_foc.png differ
diff --git a/image/new_vending_info/testcoin_change_nor.png b/image/new_vending_info/testcoin_change_nor.png
new file mode 100644
index 00000000..ac8cafdd
Binary files /dev/null and b/image/new_vending_info/testcoin_change_nor.png differ
diff --git a/image/new_vending_info/testcoin_change_succ.png b/image/new_vending_info/testcoin_change_succ.png
new file mode 100644
index 00000000..6beaca1b
Binary files /dev/null and b/image/new_vending_info/testcoin_change_succ.png differ
diff --git a/image/new_vending_info/testcoinbank_header.png b/image/new_vending_info/testcoinbank_header.png
new file mode 100644
index 00000000..09bb4234
Binary files /dev/null and b/image/new_vending_info/testcoinbank_header.png differ
diff --git a/image/new_vending_info/testcoinbankwait.png b/image/new_vending_info/testcoinbankwait.png
new file mode 100644
index 00000000..142d9e65
Binary files /dev/null and b/image/new_vending_info/testcoinbankwait.png differ
diff --git a/image/new_vending_info/testmoney.png b/image/new_vending_info/testmoney.png
new file mode 100644
index 00000000..003be073
Binary files /dev/null and b/image/new_vending_info/testmoney.png differ
diff --git a/image/new_vending_info/undotest_testcoin.png b/image/new_vending_info/undotest_testcoin.png
new file mode 100644
index 00000000..8441e3db
Binary files /dev/null and b/image/new_vending_info/undotest_testcoin.png differ
diff --git a/image/new_vending_info/undotest_testcoin_bp.png b/image/new_vending_info/undotest_testcoin_bp.png
new file mode 100644
index 00000000..bffdc2d6
Binary files /dev/null and b/image/new_vending_info/undotest_testcoin_bp.png differ
diff --git a/xml/checkin.xml b/xml/checkin.xml
new file mode 100644
index 00000000..0f8f575e
--- /dev/null
+++ b/xml/checkin.xml
@@ -0,0 +1,259 @@
+
+ 1080
+ 1312
+ SoundVolume
+ "0x2c2928"
+
+
+
+ DEBUGVAR SystemDate
+ Var sdate = ""
+ Var sdate = SystemDate
+ Var sdateday = ""
+ Var sdatemonth = ""
+ Var sdateyear = ""
+ SPLIT sdate "/" 1 sdateday
+ SPLIT sdate "/" 2 sdatemonth
+ SPLIT sdate "/" 3 sdateyear
+
+ DEBUGVAR sdateday
+ DEBUGVAR sdatemonth
+ DEBUGVAR sdateyear
+
+ Var KornCamDisplayX = 285
+ Var KornCamDisplayY = 250
+ Var KornCamDisplayW = 500
+ Var KornCamDisplayH = 680
+ Var KornCamYHidden = 208
+ Var KornCameraXOffsetX = 150
+ Var TimerbacktoHome = 60
+
+ Var KornCameraXX = KornCamDisplayX - KornCameraXOffsetX
+ Var KornCameraXY = KornCamDisplayY
+ Var KornCameraXW = 800
+ Var KornCameraXH = 800
+
+ Var startCapture = "false"
+ Var timerCoundown = 10
+
+ Var showTimeCounter = "Invisible"
+ Var showTakePictureBtn = "Enable"
+ Var showTexttakingPicture = "Invisible"
+
+ Var strOnpageLogtext = tmpPassPhrase + " on page checkin"
+ Var strOnstartLogtext = tmpPassPhrase + " start capture checkin"
+ Var strOnCancelLogtext = tmpPassPhrase + " cancel capture checkin"
+
+ DEBUGVAR SystemTimeHour
+ DEBUGVAR SystemTimeMinute
+ DEBUGVAR SystemTimeSecond
+
+ Var filepushname = ""
+
+ Var filepushname = "" + BoxID
+ Var filepushname = filepushname + "_"
+ Var filepushname = filepushname + sdateyear
+ Var filepushname = filepushname + "_"
+ Var filepushname = filepushname + sdatemonth
+ Var filepushname = filepushname + "_"
+ Var filepushname = filepushname + sdateday
+ Var filepushname = filepushname + "_"
+ Var filepushname = filepushname + SystemTimeHour
+ Var filepushname = filepushname + "_"
+ Var filepushname = filepushname + SystemTimeMinute
+ Var filepushname = filepushname + "_"
+ Var filepushname = filepushname + tmpPassPhrase
+ Var filepushname = filepushname + ".png"
+
+ Var filesavepath = "/mnt/sdcard/" + filepushname
+
+ DEBUGVAR tmpPassPhrase
+ DEBUGVAR filepushname
+ DEBUGVAR BoxID
+
+ SAVELOG strOnpageLogtext
+
+
+
+ 1000
+
+
+ DEBUGVAR startCapture
+ DEBUGVAR timerCoundown
+
+ If startCapture = "true" Then
+ Var TimerbacktoHome = 60
+ Var timerCoundown = timerCoundown - 1
+ EndIf
+
+ If timerCoundown = 0 Then
+ Var showTimeCounter = "Invisible"
+ Var showTexttakingPicture = "Enable"
+ CameraCmd "usbfront" "shutter" filesavepath
+ EndIf
+
+ If timerCoundown = -3 Then
+ Var startCapture = "false"
+ Var timerCoundown = 10
+ Open "ROOT/taobin_project/xml/page_checkin_result.xml"
+ EndIf
+
+ Var TimerbacktoHome = TimerbacktoHome - 1
+
+ If TimerbacktoHome = 0 Then
+ SAVELOG "timeout"
+ SAVELOG "back_to_page_board"
+ Open "ROOT/taobin_project/xml/page_board.xml"
+ EndIf
+
+ Refresh
+ TimerReset
+
+
+
+
+; header
+
+ 0
+ 0
+ 80
+ 1080
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/nav-bar-mid.png"
+
+
+;back
+
+
+
+
+ 800
+ 20
+ 19
+ fontType1
+ 0xe2e2e2
+ Text1_9
+
+
+
+;task
+
+
+ 250
+ 150
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/checkinheader.png"
+
+
+
+
+
+ KornCameraXX
+ KornCameraXY
+"usbfront"
+ KornCameraXW
+ KornCameraXH
+ "Enable"
+
+
+
+
+ 280
+ 250
+ 510
+ 510
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/personguildline.png"
+
+
+
+ 440
+ 450
+ showTexttakingPicture
+ "ROOT/taobin_project/image/page_payment/loading.gif"
+
+
+
+
+
+ 230
+ 990
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/checkinplasewait.png"
+ showTimeCounter
+
+
+
+ 230
+ 990
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/checkinplasewait2.png"
+ showTexttakingPicture
+
+
+
+ 690
+ 980
+ 40
+ fontType1
+ 0xe2e2e2
+ showTimeCounter
+ timerCoundown
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xml/page_checkin_result.xml b/xml/page_checkin_result.xml
new file mode 100644
index 00000000..f03b87ae
--- /dev/null
+++ b/xml/page_checkin_result.xml
@@ -0,0 +1,260 @@
+
+ 1080
+ 1312
+ SoundVolume
+ "0x2c2928"
+
+
+
+
+
+
+
+ Var KornCamDisplayX = 285
+ Var KornCamDisplayY = 250
+ Var KornCamDisplayW = 500
+ Var KornCamDisplayH = 680
+ Var KornCamYHidden = 208
+ Var KornCameraXOffsetX = 150
+ Var TimerbacktoHome = 60
+
+ Var KornCameraXX = KornCamDisplayX - KornCameraXOffsetX
+ Var KornCameraXY = KornCamDisplayY
+ Var KornCameraXW = 800
+ Var KornCameraXH = 800
+ Var timerCoundown = 3
+ Var showSendandRetryState = "true"
+ Var countdownToSend = "false"
+ Var countdownToHome = "false"
+ Var showSendandRetry = "Invisible"
+
+ DEBUGVAR tmpPassPhrase
+
+ Var strOnpageLogtext = tmpPassPhrase + " on page checkin result"
+ Var strOnsendLogtext = tmpPassPhrase + " send capture checkin"
+ Var strOnretryLogtext = tmpPassPhrase + " retry capture checkin"
+
+ Var statesendButton = "Invisible"
+ Var stateprocessButton = "Invisible"
+ Var statesendsuccessButton = "Invisible"
+ Var statesendHomeButton = "Invisible"
+
+
+ DEBUGVAR strOnpageLogtext
+ DEBUGVAR strOnsendLogtext
+ DEBUGVAR strOnretryLogtext
+ DEBUGVAR filepushname
+
+ SAVELOG strOnpageLogtext
+
+
+
+ 1000
+
+
+ If showSendandRetryState = "true" Then
+ Var timerCoundown = timerCoundown - 1
+ If timerCoundown = 0 Then
+ Var showSendandRetry = "Enable"
+ Var statesendButton = "Enable"
+ Var showSendandRetryState = "false"
+ Var timerCoundown = 3
+ EndIf
+ EndIf
+
+ If countdownToSend = "true" Then
+ Var timerCoundown = timerCoundown - 1
+ If timerCoundown = 0 Then
+ Var stateprocessButton = "Invisible"
+ Var statesendsuccessButton = "Enable"
+ Var countdownToSend = "false"
+ Var countdownToHome = "true"
+ Var timerCoundown = 3
+ EndIf
+ EndIf
+
+ If countdownToHome = "true" Then
+ Var timerCoundown = timerCoundown - 1
+ If timerCoundown = 0 Then
+ Var statesendsuccessButton = "Invisible"
+ Var countdownToHome = "false"
+ Var statesendHomeButton = "false"
+ Var timerCoundown = 3
+ Open "ROOT/taobin_project/xml/vending_tasks_pre_main.xml"
+ EndIf
+ EndIf
+
+
+ Var TimerbacktoHome = TimerbacktoHome - 1
+
+ If TimerbacktoHome = 0 Then
+ SAVELOG "timeout"
+ SAVELOG "back_to_page_board"
+ Open "ROOT/taobin_project/xml/page_board.xml"
+ EndIf
+
+
+ Refresh
+ TimerReset
+
+
+
+; header
+
+ 0
+ 0
+ 80
+ 1080
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/nav-bar-mid.png"
+
+
+;back
+
+
+
+
+ 800
+ 20
+ 19
+ fontType1
+ 0xe2e2e2
+ Text1_9
+
+
+
+;task
+
+
+ 250
+ 150
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/checkinheader.png"
+
+
+
+
+
+ KornCameraXX
+ KornCameraXY
+ 800
+ 800
+ "Enable"
+ filesavepath
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xml/page_test_money_bank.xml b/xml/page_test_money_bank.xml
new file mode 100644
index 00000000..160cd0e3
--- /dev/null
+++ b/xml/page_test_money_bank.xml
@@ -0,0 +1,147 @@
+
+ 1080
+ 1312
+ SoundVolume
+ "0x2c2928"
+
+
+
+ Coin ON
+; Var TestCoinLine1 = "กรุณาใส่เงิน . . ."
+ Var TestCoinLine1 = "insert money . . ."
+; Var TestCoinLine2 = "จำนวนเงินทั้งหมด 0 บาท"
+
+ Var RemainAmountStr !assigned StringFmt( CoinAmount, DisplayFormat, PreScaleConvertShow )
+ Var TestCoinLine2 = "total amount "
+ Var TestCoinLine2 = TestCoinLine2 + RemainAmountStr
+
+ Var RemainAmountStr1 = 0
+ Var LastCoin = 0
+ Var openTextTest20bath = "Enable"
+ Var currentStage = "test20bath"
+
+ DEBUGVAR currentStage
+ DEBUGVAR LastCoin
+
+
+
+
+
+ Var LastCoin = CoinAmount - LastCoin
+ Var RemainAmountStr1 !assigned StringFmt( LastCoin, DisplayFormat, PreScaleConvertShow )
+
+ Var RemainAmountStr !assigned StringFmt( CoinAmount, DisplayFormat, PreScaleConvertShow )
+
+ DEBUGVAR currentStage
+ DEBUGVAR LastCoin
+
+ If currentStage = "test20bath" Then
+ If LastCoin = 20 Then
+ Open "ROOT/taobin_project/xml/page_test_money_change.xml"
+ EndIf
+ EndIf
+
+
+
+
+; Var TestCoinLine1 = "ท่านได้ใส่เงินจำนวน "
+ Var TestCoinLine1 = "insert money "
+ Var TestCoinLine1 = TestCoinLine1 + RemainAmountStr1
+; Var TestCoinLine1 = TestCoinLine1 + " บาท"
+
+; Var TestCoinLine2 = "จำนวนเงินทั้งหมด "
+ Var TestCoinLine2 = "total amount "
+ Var TestCoinLine2 = TestCoinLine2 + RemainAmountStr
+; Var TestCoinLine2 = TestCoinLine2 + " บาท"
+
+ Var LastCoin = CoinAmount
+
+; Var RemainAmountStr = RemainAmountStr + "###size=90"
+
+
+ Refresh
+
+
+ 1000
+
+
+ Refresh
+ TimerReset
+
+
+
+
+; header
+
+ 0
+ 0
+ 80
+ 1080
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/nav-bar-mid.png"
+
+
+;back
+
+
+
+
+ 800
+ 20
+ 19
+ fontType1
+ 0xe2e2e2
+ Text1_9
+
+
+
+;task
+
+
+ 280
+ 150
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/test_bank_header_page.png"
+
+
+
+
+ 280
+ 220
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/test_bank_20.png"
+ openTextTest20bath
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xml/page_test_money_change.xml b/xml/page_test_money_change.xml
new file mode 100644
index 00000000..9d94d016
--- /dev/null
+++ b/xml/page_test_money_change.xml
@@ -0,0 +1,141 @@
+
+ 1080
+ 1312
+ SoundVolume
+ "0x2c2928"
+
+
+
+ Coin ON
+; Var TestCoinLine1 = "กรุณาใส่เงิน . . ."
+ Var TestCoinLine1 = "insert money . . ."
+; Var TestCoinLine2 = "จำนวนเงินทั้งหมด 0 บาท"
+
+ Var RemainAmountStr !assigned StringFmt( CoinAmount, DisplayFormat, PreScaleConvertShow )
+ Var TestCoinLine2 = "total amount "
+ Var TestCoinLine2 = TestCoinLine2 + RemainAmountStr
+
+ Var RemainAmountStr1 = 0
+ Var LastCoin = 0
+ Var openTextTest20bath = "Enable"
+ Var currentStage = "test20bath"
+
+
+
+
+ Var LastCoin = CoinAmount - LastCoin
+ Var RemainAmountStr1 !assigned StringFmt( LastCoin, DisplayFormat, PreScaleConvertShow )
+
+ Var RemainAmountStr !assigned StringFmt( CoinAmount, DisplayFormat, PreScaleConvertShow )
+
+
+ If currentStage = "test20bath" Then
+ If LastCoin = 20 Then
+ Open "ROOT/taobin_project/xml/page_test_money_change.xml"
+ EndIf
+ EndIf
+
+
+
+
+; Var TestCoinLine1 = "ท่านได้ใส่เงินจำนวน "
+ Var TestCoinLine1 = "insert money "
+ Var TestCoinLine1 = TestCoinLine1 + RemainAmountStr1
+; Var TestCoinLine1 = TestCoinLine1 + " บาท"
+
+; Var TestCoinLine2 = "จำนวนเงินทั้งหมด "
+ Var TestCoinLine2 = "total amount "
+ Var TestCoinLine2 = TestCoinLine2 + RemainAmountStr
+; Var TestCoinLine2 = TestCoinLine2 + " บาท"
+
+ Var LastCoin = CoinAmount
+
+; Var RemainAmountStr = RemainAmountStr + "###size=90"
+
+
+ Refresh
+
+
+ 1000
+
+
+ Refresh
+ TimerReset
+
+
+
+
+; header
+
+ 0
+ 0
+ 80
+ 1080
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/nav-bar-mid.png"
+
+
+;back
+
+
+
+
+ 800
+ 20
+ 19
+ fontType1
+ 0xe2e2e2
+ Text1_9
+
+
+
+;task
+
+
+ 280
+ 150
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/test_change_header_page.png"
+
+
+
+
+ 280
+ 220
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/test_change_10.png"
+ openTextTest20bath
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xml/page_test_money_coin.xml b/xml/page_test_money_coin.xml
new file mode 100644
index 00000000..be410585
--- /dev/null
+++ b/xml/page_test_money_coin.xml
@@ -0,0 +1,1041 @@
+
+ 1080
+ 1312
+ SoundVolume
+ "0x2c2928"
+
+
+ Coin STANDBY
+ CoinClear
+; Var TestCoinLine1 = "กรุณาใส่เงิน . . ."
+ Var TestCoinLine1 = "insert money . . ."
+; Var TestCoinLine2 = "จำนวนเงินทั้งหมด 0 บาท"
+
+ Var TimerCountDown = 3
+ Var TimerChangeSuccess = 0
+ Var startTimerChangeSuccess = "false"
+ Var restartTimerChange = 3
+ Var startrestartTimerChange = "false"
+ Var TimerbacktoHome = 60
+
+ Var RemainAmountStr !assigned StringFmt( CoinAmount, DisplayFormat, PreScaleConvertShow )
+ Var TestCoinLine2 = "total amount "
+ Var TestCoinLine2 = TestCoinLine2 + RemainAmountStr
+
+ Var RemainAmountStr1 = 0
+ Var LastCoin = 0
+ Var openTextPlaseWait = "Enable"
+ Var currentStage = "init"
+ Var coinChange = 10
+ Var intosw = 0
+
+ Var showTextCoin5Foc = "Invisible"
+ Var showTextCoin5Succ = "Invisible"
+ Var showTextCoin5Fail = "Invisible"
+
+ Var showTextCoin10Nor = "Invisible"
+ Var showTextCoin10Foc = "Invisible"
+ Var showTextCoin10Succ = "Invisible"
+ Var showTextCoin10Fail = "Invisible"
+
+ Var showTextBank20Nor = "Invisible"
+ Var showTextBank20Foc = "Invisible"
+ Var showTextBank20Succ = "Invisible"
+ Var showTextBank20Fail = "Invisible"
+
+ Var showTextChange10Nor = "Invisible"
+ Var showTextChange10Foc = "Invisible"
+ Var showTextChange10Succ = "Invisible"
+ Var showTextChange10Fail = "Invisible"
+
+ Var showTextmessagebankfail = "Invisible"
+ Var showTextmessagecoinfail = "Invisible"
+ Var showTextmessagetestallsuccess = "Invisible"
+ Var showTextmesssagechangefail = "Invisible"
+
+ Var showTextundotest_testcoin = "Invisible"
+ Var showTextbacktohome_testcoin = "Invisible"
+ Var showTextretryprocess_testcoin = "Invisible"
+
+ Var showButtonChange10 = "Invisible"
+ Var showExitbutton = "Enable"
+
+ Var ChangeOK = 0
+
+ SAVELOG "state_init"
+
+ DEBUGVAR RemainAmountStr
+ DEBUGVAR RemainAmountStr1
+ DEBUGVAR currentStage
+ DEBUGVAR LastCoin
+ DEBUGVAR CoinAmount
+
+
+
+
+ Var TimerbacktoHome = 60
+
+ Var LastCoin = CoinAmount - LastCoin
+ Var RemainAmountStr1 !assigned StringFmt( LastCoin, DisplayFormat, PreScaleConvertShow )
+
+ Var RemainAmountStr !assigned StringFmt( CoinAmount, DisplayFormat, PreScaleConvertShow )
+
+ DEBUGVAR RemainAmountStr
+ DEBUGVAR RemainAmountStr1
+ DEBUGVAR currentStage
+ DEBUGVAR LastCoin
+ DEBUGVAR CoinAmount
+
+ If currentStage = "test5bath" Then
+ If intosw = 0 Then
+ Var intosw = 1
+ If LastCoin = 5 Then
+ SAVELOG "test5bath_pass"
+ StatusLog "test5bath_pass"
+ Var currentStage = "test10bath"
+ SAVELOG "state_test10bath"
+ Else
+ SAVELOG "test5bath_fail"
+ StatusLog "test5bath_fail"
+ Var currentStage = "test5fail"
+ SAVELOG "state_test5bath_fail"
+ EndIf
+ EndIf
+ EndIf
+
+
+ If currentStage = "test10bath" Then
+ If intosw = 0 Then
+ Var intosw = 1
+ If LastCoin = 10 Then
+ SAVELOG "test10bath_pass"
+ StatusLog "test10bath_pass"
+ Var currentStage = "test20bath"
+ SAVELOG "state_test20bath"
+ Else
+ SAVELOG "test10bath_fail"
+ StatusLog "test10bath_fail"
+ Var currentStage = "test10fail"
+ SAVELOG "state_test10fail"
+ EndIf
+ EndIf
+ EndIf
+
+ If currentStage = "test20bath" Then
+ If intosw = 0 Then
+ Var intosw = 1
+ If LastCoin = 20 Then
+ SAVELOG "test20bath_pass"
+ StatusLog "test20bath_pass"
+ Var currentStage = "testchange10"
+ SAVELOG "state_testchange10"
+ Else
+ SAVELOG "test20bath_fail"
+ StatusLog "test20bath_fail"
+ Var currentStage = "test20fail"
+ SAVELOG "state_test20fail"
+ EndIf
+ EndIf
+ EndIf
+
+
+ If currentStage = "test5fail" Then
+ If LastCoin = 5 Then
+ SAVELOG "test5bath_pass"
+ StatusLog "test5bath_pass"
+ Var currentStage = "test10bath"
+ SAVELOG "state_test10bath"
+ EndIf
+ EndIf
+
+
+ If currentStage = "test10fail" Then
+ If LastCoin = 10 Then
+ SAVELOG "test10bath_pass"
+ StatusLog "test10bath_pass"
+ Var currentStage = "test20bath"
+ SAVELOG "state_test20bath"
+ EndIf
+ EndIf
+
+
+ If currentStage = "test20fail" Then
+ If LastCoin = 20 Then
+ SAVELOG "test20bath_pass"
+ StatusLog "test20bath_pass"
+ Var currentStage = "testchange10"
+ SAVELOG "state_testchange10"
+ EndIf
+ EndIf
+
+
+
+
+; Var TestCoinLine1 = "ท่านได้ใส่เงินจำนวน "
+ Var TestCoinLine1 = "insert money "
+ Var TestCoinLine1 = TestCoinLine1 + RemainAmountStr1
+; Var TestCoinLine1 = TestCoinLine1 + " บาท"
+
+; Var TestCoinLine2 = "จำนวนเงินทั้งหมด "
+ Var TestCoinLine2 = "total amount "
+ Var TestCoinLine2 = TestCoinLine2 + RemainAmountStr
+; Var TestCoinLine2 = TestCoinLine2 + " บาท"
+
+ Var LastCoin = CoinAmount
+
+; Var RemainAmountStr = RemainAmountStr + "###size=90"
+ Var intosw = 0
+
+ Refresh
+
+
+
+ Var TimerbacktoHome = 60
+ DEBUGVAR ChangeStatus
+ If ChangeStatus = "payout-end" Then
+ Var ChangeOK = 1
+ EndIf
+
+ If currentStage = "testchange10" Then
+ If ChangeOK = 1 Then
+ SAVELOG "testchange10_pass"
+ StatusLog "testchange10_pass"
+ Var currentStage = "finish"
+ Var TimerChangeSuccess = 0
+ Var startTimerChangeSuccess = "false"
+ SAVELOG "state_finish"
+ EndIf
+ EndIf
+
+
+ If currentStage = "testchange10fail" Then
+ If ChangeOK = 1 Then
+ SAVELOG "testchange10_pass"
+ StatusLog "testchange10_pass"
+ Var currentStage = "finish"
+ Var TimerChangeSuccess = 0
+ Var startTimerChangeSuccess = "false"
+ SAVELOG "state_finish"
+ EndIf
+ EndIf
+
+
+
+ 1000
+
+
+ DEBUGVAR currentStage
+ Var TimerCountDown = TimerCountDown - 1
+
+ If currentStage = "init" Then
+ If TimerCountDown = 0 Then
+ Coin ON
+ Var currentStage = "test5bath"
+ Var openTextPlaseWait = "Invisible"
+ SAVELOG "state_test5bath"
+ EndIf
+ EndIf
+
+ If currentStage = "test5bath" Then
+
+ Var showTextCoin5Foc = "Enable"
+ Var showTextCoin5Succ = "Invisible"
+ Var showTextCoin5Fail = "Invisible"
+
+ Var showTextCoin10Nor = "Enable"
+ Var showTextCoin10Foc = "Invisible"
+ Var showTextCoin10Succ = "Invisible"
+ Var showTextCoin10Fail = "Invisible"
+
+ Var showTextBank20Nor = "Enable"
+ Var showTextBank20Foc = "Invisible"
+ Var showTextBank20Succ = "Invisible"
+ Var showTextBank20Fail = "Invisible"
+
+ Var showTextChange10Nor = "Enable"
+ Var showTextChange10Foc = "Invisible"
+ Var showTextChange10Succ = "Invisible"
+ Var showTextChange10Fail = "Invisible"
+
+ Var showButtonChange10 = "Invisible"
+
+ Var showTextmessagebankfail = "Invisible"
+ Var showTextmessagecoinfail = "Invisible"
+ Var showTextmessagetestallsuccess = "Invisible"
+ Var showTextmesssagechangefail = "Invisible"
+
+ Var showTextundotest_testcoin = "Invisible"
+ Var showTextbacktohome_testcoin = "Invisible"
+ Var showTextretryprocess_testcoin = "Invisible"
+ Var showExitbutton = "Enable"
+
+ EndIf
+
+ If currentStage = "test5fail" Then
+
+ Var showTextCoin5Foc = "Invisible"
+ Var showTextCoin5Succ = "Invisible"
+ Var showTextCoin5Fail = "Enable"
+
+ Var showTextCoin10Nor = "Enable"
+ Var showTextCoin10Foc = "Invisible"
+ Var showTextCoin10Succ = "Invisible"
+ Var showTextCoin10Fail = "Invisible"
+
+ Var showTextBank20Nor = "Enable"
+ Var showTextBank20Foc = "Invisible"
+ Var showTextBank20Succ = "Invisible"
+ Var showTextBank20Fail = "Invisible"
+
+ Var showTextChange10Nor = "Enable"
+ Var showTextChange10Foc = "Invisible"
+ Var showTextChange10Succ = "Invisible"
+ Var showTextChange10Fail = "Invisible"
+
+ Var showButtonChange10 = "Invisible"
+
+
+ Var showTextmessagebankfail = "Invisible"
+ Var showTextmessagecoinfail = "Enable"
+ Var showTextmessagetestallsuccess = "Invisible"
+ Var showTextmesssagechangefail = "Invisible"
+
+ Var showTextundotest_testcoin = "Invisible"
+ Var showTextbacktohome_testcoin = "Invisible"
+ Var showTextretryprocess_testcoin = "Invisible"
+ Var showExitbutton = "Enable"
+
+ EndIf
+
+
+ If currentStage = "test10bath" Then
+
+ Var showTextCoin5Foc = "Invisible"
+ Var showTextCoin5Succ = "Enable"
+ Var showTextCoin5Fail = "Invisible"
+
+ Var showTextCoin10Nor = "Invisible"
+ Var showTextCoin10Foc = "Enable"
+ Var showTextCoin10Succ = "Invisible"
+ Var showTextCoin10Fail = "Invisible"
+
+ Var showTextBank20Nor = "Enable"
+ Var showTextBank20Foc = "Invisible"
+ Var showTextBank20Succ = "Invisible"
+ Var showTextBank20Fail = "Invisible"
+
+ Var showTextChange10Nor = "Enable"
+ Var showTextChange10Foc = "Invisible"
+ Var showTextChange10Succ = "Invisible"
+ Var showTextChange10Fail = "Invisible"
+
+ Var showButtonChange10 = "Invisible"
+
+ Var showTextmessagebankfail = "Invisible"
+ Var showTextmessagecoinfail = "Invisible"
+ Var showTextmessagetestallsuccess = "Invisible"
+ Var showTextmesssagechangefail = "Invisible"
+
+ Var showTextundotest_testcoin = "Enable"
+ Var showTextbacktohome_testcoin = "Invisible"
+ Var showTextretryprocess_testcoin = "Invisible"
+ Var showExitbutton = "Enable"
+
+ EndIf
+
+
+ If currentStage = "test10fail" Then
+
+ Var showTextCoin5Foc = "Invisible"
+ Var showTextCoin5Succ = "Enable"
+ Var showTextCoin5Fail = "Invisible"
+
+ Var showTextCoin10Nor = "Invisible"
+ Var showTextCoin10Foc = "Invisible"
+ Var showTextCoin10Succ = "Invisible"
+ Var showTextCoin10Fail = "Enable"
+
+ Var showTextBank20Nor = "Enable"
+ Var showTextBank20Foc = "Invisible"
+ Var showTextBank20Succ = "Invisible"
+ Var showTextBank20Fail = "Invisible"
+
+ Var showTextChange10Nor = "Enable"
+ Var showTextChange10Foc = "Invisible"
+ Var showTextChange10Succ = "Invisible"
+ Var showTextChange10Fail = "Invisible"
+
+ Var showButtonChange10 = "Invisible"
+
+ Var showTextmessagebankfail = "Invisible"
+ Var showTextmessagecoinfail = "Enable"
+ Var showTextmessagetestallsuccess = "Invisible"
+ Var showTextmesssagechangefail = "Invisible"
+
+ Var showTextundotest_testcoin = "Invisible"
+ Var showTextbacktohome_testcoin = "Invisible"
+ Var showTextretryprocess_testcoin = "Invisible"
+ Var showExitbutton = "Enable"
+
+ EndIf
+
+
+ If currentStage = "test20bath" Then
+
+ Var showTextCoin5Foc = "Invisible"
+ Var showTextCoin5Succ = "Enable"
+ Var showTextCoin5Fail = "Invisible"
+
+ Var showTextCoin10Nor = "Invisible"
+ Var showTextCoin10Foc = "Invisible"
+ Var showTextCoin10Succ = "Enable"
+ Var showTextCoin10Fail = "Invisible"
+
+ Var showTextBank20Nor = "Invisible"
+ Var showTextBank20Foc = "Enable"
+ Var showTextBank20Succ = "Invisible"
+ Var showTextBank20Fail = "Invisible"
+
+ Var showTextChange10Nor = "Enable"
+ Var showTextChange10Foc = "Invisible"
+ Var showTextChange10Succ = "Invisible"
+ Var showTextChange10Fail = "Invisible"
+
+ Var showButtonChange10 = "Invisible"
+
+ Var showTextmessagebankfail = "Invisible"
+ Var showTextmessagecoinfail = "Invisible"
+ Var showTextmessagetestallsuccess = "Invisible"
+ Var showTextmesssagechangefail = "Invisible"
+
+ Var showTextundotest_testcoin = "Enable"
+ Var showTextbacktohome_testcoin = "Invisible"
+ Var showTextretryprocess_testcoin = "Invisible"
+ Var showExitbutton = "Enable"
+
+ EndIf
+
+ If currentStage = "test20fail" Then
+
+ Var showTextCoin5Foc = "Invisible"
+ Var showTextCoin5Succ = "Enable"
+ Var showTextCoin5Fail = "Invisible"
+
+ Var showTextCoin10Nor = "Invisible"
+ Var showTextCoin10Foc = "Invisible"
+ Var showTextCoin10Succ = "Enable"
+ Var showTextCoin10Fail = "Invisible"
+
+ Var showTextBank20Nor = "Invisible"
+ Var showTextBank20Foc = "Invisible"
+ Var showTextBank20Succ = "Invisible"
+ Var showTextBank20Fail = "Enable"
+
+ Var showTextChange10Nor = "Enable"
+ Var showTextChange10Foc = "Invisible"
+ Var showTextChange10Succ = "Invisible"
+ Var showTextChange10Fail = "Invisible"
+
+ Var showButtonChange10 = "Invisible"
+
+ Var showTextmessagebankfail = "Enable"
+ Var showTextmessagecoinfail = "Invisible"
+ Var showTextmessagetestallsuccess = "Invisible"
+ Var showTextmesssagechangefail = "Invisible"
+
+ Var showTextundotest_testcoin = "Invisible"
+ Var showTextbacktohome_testcoin = "Invisible"
+ Var showTextretryprocess_testcoin = "Invisible"
+ Var showExitbutton = "Enable"
+
+ EndIf
+
+
+ If currentStage = "testchange10" Then
+
+ Var showTextCoin5Foc = "Invisible"
+ Var showTextCoin5Succ = "Enable"
+ Var showTextCoin5Fail = "Invisible"
+
+ Var showTextCoin10Nor = "Invisible"
+ Var showTextCoin10Foc = "Invisible"
+ Var showTextCoin10Succ = "Enable"
+ Var showTextCoin10Fail = "Invisible"
+
+ Var showTextBank20Nor = "Invisible"
+ Var showTextBank20Foc = "Invisible"
+ Var showTextBank20Succ = "Enable"
+ Var showTextBank20Fail = "Invisible"
+
+ Var showTextChange10Nor = "Invisible"
+ Var showTextChange10Foc = "Enable"
+ Var showTextChange10Succ = "Invisible"
+ Var showTextChange10Fail = "Invisible"
+
+ Var showButtonChange10 = "Enable"
+
+ Var showTextmessagebankfail = "Invisible"
+ Var showTextmessagecoinfail = "Invisible"
+ Var showTextmessagetestallsuccess = "Invisible"
+ Var showTextmesssagechangefail = "Invisible"
+
+ Var showTextundotest_testcoin = "Enable"
+ Var showTextbacktohome_testcoin = "Invisible"
+ Var showTextretryprocess_testcoin = "Invisible"
+ Var showExitbutton = "Enable"
+
+ EndIf
+
+
+ If currentStage = "finish" Then
+
+ Var showTextCoin5Foc = "Invisible"
+ Var showTextCoin5Succ = "Enable"
+ Var showTextCoin5Fail = "Invisible"
+
+ Var showTextCoin10Nor = "Invisible"
+ Var showTextCoin10Foc = "Invisible"
+ Var showTextCoin10Succ = "Enable"
+ Var showTextCoin10Fail = "Invisible"
+
+ Var showTextBank20Nor = "Invisible"
+ Var showTextBank20Foc = "Invisible"
+ Var showTextBank20Succ = "Enable"
+ Var showTextBank20Fail = "Invisible"
+
+ Var showTextChange10Nor = "Invisible"
+ Var showTextChange10Foc = "Invisible"
+ Var showTextChange10Succ = "Enable"
+ Var showTextChange10Fail = "Invisible"
+
+ Var showButtonChange10 = "Invisible"
+
+ Var showTextmessagebankfail = "Invisible"
+ Var showTextmessagecoinfail = "Invisible"
+ Var showTextmessagetestallsuccess = "Enable"
+ Var showTextmesssagechangefail = "Invisible"
+
+ Var showTextundotest_testcoin = "Invisible"
+ Var showTextbacktohome_testcoin = "Enable"
+ Var showTextretryprocess_testcoin = "Enable"
+ Var showExitbutton = "Invisible"
+
+ EndIf
+
+
+
+ If currentStage = "testchange10fail" Then
+
+ Var showTextCoin5Foc = "Invisible"
+ Var showTextCoin5Succ = "Enable"
+ Var showTextCoin5Fail = "Invisible"
+
+ Var showTextCoin10Nor = "Invisible"
+ Var showTextCoin10Foc = "Invisible"
+ Var showTextCoin10Succ = "Enable"
+ Var showTextCoin10Fail = "Invisible"
+
+ Var showTextBank20Nor = "Invisible"
+ Var showTextBank20Foc = "Invisible"
+ Var showTextBank20Succ = "Enable"
+ Var showTextBank20Fail = "Invisible"
+
+ Var showTextChange10Nor = "Invisible"
+ Var showTextChange10Foc = "Invisible"
+ Var showTextChange10Succ = "Invisible"
+ Var showTextChange10Fail = "Enable"
+
+ Var showButtonChange10 = "Enable"
+
+ Var showTextmessagebankfail = "Invisible"
+ Var showTextmessagecoinfail = "Invisible"
+ Var showTextmessagetestallsuccess = "Invisible"
+ Var showTextmesssagechangefail = "Enable"
+
+ Var showTextundotest_testcoin = "Invisible"
+ Var showTextbacktohome_testcoin = "Invisible"
+ Var showTextretryprocess_testcoin = "Invisible"
+ Var showExitbutton = "Enable"
+
+ EndIf
+
+
+ If startTimerChangeSuccess = "true" Then
+ Var TimerChangeSuccess = TimerChangeSuccess + 1
+ Var showButtonChange10 = "Invisible"
+ If TimerChangeSuccess > 5 Then
+ Var TimerChangeSuccess = 0
+ Var startTimerChangeSuccess = "false"
+ Var currentStage = "testchange10fail"
+
+ Coin STANDBY
+ CoinClear
+
+ SAVELOG "testchange10_fail"
+ SAVELOG "state_testchange10fail"
+ StatusLog "testchange10_fail"
+
+ Var startrestartTimerChange = "true"
+
+ EndIf
+ EndIf
+
+ If startrestartTimerChange = "true" Then
+ Var restartTimerChange = restartTimerChange - 1
+ If restartTimerChange = 0 Then
+ Var startrestartTimerChange = "false"
+ Var restartTimerChange = 3
+ Var showButtonChange10 = "Enable"
+ Var showTextundotest_testcoin = "Enable"
+ Coin ON
+
+ EndIf
+ EndIf
+
+
+ Var TimerbacktoHome = TimerbacktoHome - 1
+
+ If TimerbacktoHome = 0 Then
+ SAVELOG "timeout"
+ Coin STANDBY
+ CoinClear
+ SAVELOG "back_to_page_board"
+ Open "ROOT/taobin_project/xml/page_board.xml"
+ EndIf
+
+
+ Refresh
+ TimerReset
+
+
+
+
+; header
+
+ 0
+ 0
+ 80
+ 1080
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/nav-bar-mid.png"
+
+
+;back
+
+
+
+
+ 800
+ 20
+ 19
+ fontType1
+ 0xe2e2e2
+ Text1_9
+
+
+
+;task
+
+
+ 270
+ 140
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoinbank_header.png"
+ "Enable"
+
+
+
+
+
+;group 5 bath start
+
+
+ 190
+ 235
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_5_foc.png"
+ showTextCoin5Foc
+
+
+
+ 200
+ 235
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_5_succ.png"
+ showTextCoin5Succ
+
+
+
+ 200
+ 235
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_5_fail.png"
+ showTextCoin5Fail
+
+
+
+;group 5 bath end
+
+;group 10 bath start
+
+
+ 200
+ 320
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_10_nor.png"
+ showTextCoin10Nor
+
+
+
+ 205
+ 320
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_10_foc.png"
+ showTextCoin10Foc
+
+
+
+ 210
+ 320
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_10_succ.png"
+ showTextCoin10Succ
+
+
+
+ 210
+ 320
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_10_fail.png"
+ showTextCoin10Fail
+
+
+;group 10 bath end
+
+
+;group 20 bath start
+
+
+ 180
+ 410
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_20_nor.png"
+ showTextBank20Nor
+
+
+
+ 180
+ 410
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_20_foc.png"
+ showTextBank20Foc
+
+
+
+ 175
+ 410
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_20_succ.png"
+ showTextBank20Succ
+
+
+
+
+ 175
+ 410
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_20_fail.png"
+ showTextBank20Fail
+
+
+;group 20 bath end
+
+
+;group change 10 bath start
+
+
+
+ 245
+ 500
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_change_nor.png"
+ showTextChange10Nor
+
+
+
+
+ 230
+ 500
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_change_foc.png"
+ showTextChange10Foc
+
+
+
+ 255
+ 500
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_change_succ.png"
+ showTextChange10Succ
+
+
+
+ 255
+ 500
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoin_change_fail.png"
+ showTextChange10Fail
+
+
+
+
+
+
+;group change 10 bath end
+
+
+
+ 280
+ 220
+ 40
+ 560
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/testcoinbankwait.png"
+ openTextPlaseWait
+
+
+
+;group message start
+
+
+ 240
+ 700
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/messagecoinfail.png"
+ showTextmessagecoinfail
+
+
+
+ 240
+ 700
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/messagebankfail.png"
+ showTextmessagebankfail
+
+
+
+
+ 240
+ 800
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/messsagechangefail.png"
+ showTextmesssagechangefail
+
+
+
+ 240
+ 700
+ 60
+ 590
+ SoundVolume
+ "ROOT/taobin_project/image/new_vending_info/messagetestallsuccess.png"
+ showTextmessagetestallsuccess
+
+
+
+
+
+
+
+
+
+
+
+
+;group message end
+
+
+
+
+
+
\ No newline at end of file
diff --git a/xml/vending_info2.xml b/xml/vending_info2.xml
index 18c79769..88ee5ba1 100644
--- a/xml/vending_info2.xml
+++ b/xml/vending_info2.xml
@@ -166,6 +166,7 @@
Var ClickOn = ""
Var PermissionLevel = ""
+ Var tmpPassPhrase = ""
@@ -871,6 +872,8 @@
; CallCMDFromXML
__CMD "check-password" PassPhrase "-" "-"
+ Var tmpPassPhrase = PassPhrase
+
Var PassPhrase = ""
diff --git a/xml/vending_tasks_pre_main.xml b/xml/vending_tasks_pre_main.xml
index 98d23303..16b92418 100644
--- a/xml/vending_tasks_pre_main.xml
+++ b/xml/vending_tasks_pre_main.xml
@@ -97,7 +97,7 @@
- 4
+ 6
280
200
600
@@ -165,8 +165,36 @@
+
+ 0
+ 22
+ 560
+ 80
+ EnableTestSystem
+
+
+
+ 0
+ 22
+ 560
+ 80
+ EnableTestSystem
+
+
+