keep trans, status sell, error code 1303
This commit is contained in:
parent
928e1c98ce
commit
af4b96322d
29 changed files with 436 additions and 71 deletions
|
|
@ -182,11 +182,18 @@
|
|||
EndIf
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
DEBUGVAR SELLSTATUS
|
||||
DEBUGVAR NetworkStatus
|
||||
If NetworkStatus = "ACTIVATE" Then
|
||||
|
||||
Var SELLONLINE = 0
|
||||
If SELLSTATUS = "SELLONLINE" Then
|
||||
Var SELLONLINE = 1
|
||||
EndIf
|
||||
If SELLSTATUS = "SELLNOCASH" Then
|
||||
Var SELLONLINE = 1
|
||||
EndIf
|
||||
|
||||
If SELLONLINE = 1 Then
|
||||
Var ShowNetworkProblem = "Invisible"
|
||||
Var ShowNetworkProblemText = ""
|
||||
Machine NetworkUp
|
||||
|
|
@ -204,6 +211,9 @@
|
|||
WEB "ENABLE"
|
||||
|
||||
Else
|
||||
|
||||
|
||||
|
||||
Var ShowNetworkProblem = "Enable"
|
||||
Var ShowButtonClick2 = "Invisible"
|
||||
Var ShowNetworkProblemText = "การสื่อสารขัดข้อง ชำระเงินได้เฉพาะเงินสด"
|
||||
|
|
@ -212,6 +222,7 @@
|
|||
|
||||
Var QRCODE99 = ""
|
||||
WEB "DISABLE"
|
||||
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
@ -237,7 +248,14 @@
|
|||
Else
|
||||
Machine Initial
|
||||
Var StartUpExt = "false"
|
||||
;DEBUGVAR "FlushTxRef1"
|
||||
;FlushTxRef1
|
||||
EndIf
|
||||
|
||||
;DEBUGVAR "FlushTxRef1"
|
||||
;FlushTxRef1
|
||||
|
||||
|
||||
|
||||
StopLongPlay
|
||||
|
||||
|
|
@ -447,7 +465,7 @@
|
|||
|
||||
Topping "ClearNextOrder" "-"
|
||||
|
||||
If NetworkStatus = "DEACTIVE" Then
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/ROOT/xml/offline.xml"
|
||||
EndIf
|
||||
|
||||
|
|
@ -502,6 +520,11 @@
|
|||
Var NETCORE_EVENT_CNT_TMP = NCIC07_EVENT_CNT
|
||||
|
||||
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/ROOT/xml/offline.xml"
|
||||
EndIf
|
||||
|
||||
|
||||
</EventOpen>
|
||||
|
||||
<Timeout> 1000 </Timeout>
|
||||
|
|
@ -513,7 +536,7 @@
|
|||
;Open "/ROOT/xml/outservice.xml"
|
||||
Var WebAppShow = "Invisible"
|
||||
EndIf
|
||||
If NetworkStatus = "DEACTIVE" Then
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/ROOT/xml/offline.xml"
|
||||
EndIf
|
||||
|
||||
|
|
@ -730,7 +753,9 @@
|
|||
|
||||
<EventNetDeactive>
|
||||
SAVELOG NetworkStatus
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
If SELLSTATUS = "DEACTIVE" Then
|
||||
Open "/mnt/sdcard/coffeevending/xml/main.xml"
|
||||
EndIf
|
||||
</EventNetDeactive>
|
||||
|
||||
<EventWebApp>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue