THAI-POS: Added page network down when machine not online
This commit is contained in:
parent
f992354dd9
commit
2bf2921a3a
2 changed files with 19 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
||||||
<Timeout> 1000 </Timeout>
|
<Timeout> 1000 </Timeout>
|
||||||
<EventTimeout>
|
<EventTimeout>
|
||||||
If Timeout > 30 Then
|
If Timeout > 30 Then
|
||||||
|
DEBUGVAR SELLSTATUS
|
||||||
If SELLSTATUS = "SELLONLINE" Then
|
If SELLSTATUS = "SELLONLINE" Then
|
||||||
Var SELLONLINE = 1
|
Var SELLONLINE = 1
|
||||||
Else
|
Else
|
||||||
|
|
@ -39,6 +39,8 @@
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
Var Timeout = Timeout + 1
|
Var Timeout = Timeout + 1
|
||||||
|
|
||||||
|
TimerReset
|
||||||
</EventTimeout>
|
</EventTimeout>
|
||||||
|
|
||||||
<Button>
|
<Button>
|
||||||
|
|
|
||||||
|
|
@ -374,6 +374,22 @@
|
||||||
;include="ROOT/taobin_project/inc/return_condition.ev"
|
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||||
EndIf
|
EndIf
|
||||||
|
|
||||||
|
If ConnectWithPOSMachine = 1 Then
|
||||||
|
Var SELLSTATUS = 0
|
||||||
|
If SELLSTATUS = "SELLONLINE" Then
|
||||||
|
Var SELLSTATUS = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SELLSTATUS = "SELLNOCASH" Then
|
||||||
|
Var SELLSTATUS = 1
|
||||||
|
EndIf
|
||||||
|
|
||||||
|
If SELLSTATUS = 0 Then
|
||||||
|
SAVELOG "POS-MACHINE: OFFLINE in page_payment.xml"
|
||||||
|
;include="ROOT/taobin_project/inc/return_condition.ev"
|
||||||
|
EndIf
|
||||||
|
EndIf
|
||||||
|
|
||||||
If Seeker = "curr" Then
|
If Seeker = "curr" Then
|
||||||
If web_ready = "false" Then
|
If web_ready = "false" Then
|
||||||
If Delay = 0 Then
|
If Delay = 0 Then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue