THAI-POS: Added page network down when machine not online
This commit is contained in:
parent
120f0e882d
commit
f992354dd9
3 changed files with 130 additions and 8 deletions
|
|
@ -516,6 +516,15 @@
|
|||
DEBUGVAR LangProcess
|
||||
|
||||
|
||||
; Check POS machine flag
|
||||
Var ConnectWithPOSMachine = 0
|
||||
If CountryName = "Thailand" Then
|
||||
READ_FILE "/mnt/sdcard/coffeevending/app_manager/app_list/king_power_service/enable" POSMachineFlag
|
||||
DEBUGVAR POSMachineFlag
|
||||
If POSMachineFlag = 1 Then
|
||||
Var ConnectWithPOSMachine = 1
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
If SELLONLINE = 1 Then
|
||||
|
|
@ -531,6 +540,10 @@
|
|||
If NetworkStatus = "DOWN" Then
|
||||
Machine NetworkDown
|
||||
EndIf
|
||||
|
||||
If ConnectWithPOSMachine = 1 Then
|
||||
Open "ROOT/taobin_project/xml/page_network_down_pos_machine.xml"
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
DEBUGVAR ButtontoTopupMenu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue