THAI: AOT update flag

This commit is contained in:
Kenta420 2025-05-15 11:47:58 +07:00
parent 9c264a6213
commit 51168cf8a5
3 changed files with 14 additions and 5 deletions

View file

@ -290,7 +290,7 @@
If ConnectWithPOSMachine = 1 Then
If POS_SELL_STATUS = "NORMAL" Then
If POS_SELL_MODE = "NORMAL" Then
Else
Var SelectMenuBetweenBrewEnable1 = "Invisible"
@ -1422,7 +1422,7 @@
If SelectMenuBetweenBrewEnable1 = "Enable" Then
If ConnectWithPOSMachine = 1 Then
If POS_SELL_STATUS = "NORMAL" Then
If POS_SELL_MODE = "NORMAL" Then
Else
Var SelectMenuBetweenBrewEnable1 = "Invisible"
EndIf

View file

@ -56,7 +56,7 @@
EndIf
If ConnectWithPOSMachine = 1 Then
If POS_SELL_STATUS = "NORMAL" Then
If POS_SELL_MODE = "NORMAL" Then
Else
Var EnableSelectMenuBetweenBrew = "Invisible"
@ -594,7 +594,7 @@
If EnableSelectMenuBetweenBrew = "Enable" Then
If ConnectWithPOSMachine = 1 Then
If POS_SELL_STATUS = "NORMAL" Then
If POS_SELL_MODE = "NORMAL" Then
Else
Var EnableSelectMenuBetweenBrew = "Invisible"

View file

@ -247,8 +247,14 @@
Var ReadyForBrew = "false"
EndIf
READ_FILE "/mnt/sdcard/coffeevending/app_manager/app_list/king_power_service/enable" POSMachineFlag
DEBUGVAR POSMachineFlag
If POSMachineFlag = 1 Then
Var ConnectWithPOSMachine = 1
EndIf
If ConnectWithPOSMachine = 1 Then
If POS_SELL_STATUS = "NORMAL" Then
If POS_SELL_MODE = "NORMAL" Then
Else
If Seeker = "next" Then
@ -409,6 +415,7 @@
Var param2 = PureName
EndIf
DEBUGVAR ConnectWithPOSMachine
If ConnectWithPOSMachine = 1 Then
Var WaitPOSStatus = 1
Var TimeWaitPOSStatus = 0
@ -514,6 +521,8 @@
If WaitPOSStatus = 1 Then
DEBUGVAR TimeWaitPOSStatus
DEBUGVAR POS_SELL_STATUS
If TimeWaitPOSStatus < 10 Then
Var TimeWaitPOSStatus = TimeWaitPOSStatus + 1