SGP: fix bug drink success but miss timing, change contact QR & tel num

This commit is contained in:
Pakin 2025-01-17 15:12:18 +07:00
parent c1c8c69b62
commit 96d2143ca2
5 changed files with 31 additions and 0 deletions

View file

@ -614,6 +614,8 @@
DEBUGVAR MachineState_Result
DEBUGVAR BREW_COUNT_DOWN_FROM_APP
DEBUGVAR MOVE_CUP_TO_DOOR
DEBUGVAR SetPercent100
If MOVE_CUP_TO_DOOR = "true" Then
Var MOVE_CUP_TO_DOOR = "false"
@ -683,6 +685,9 @@
EndIf
DEBUGVAR CountUpWhenBREW_CNT
If BREW_CNT = 0 Then
If CountUpWhenBREW_CNT > 56 Then
Var CountUpWhenBREW_CNT = 0
@ -699,6 +704,32 @@
EndIf
If BREW_CNT > 0 Then
If XPercent = 100 Then
SAVELOG "Sussy 100 percent success?"
If MachineState_Result = 0 Then
SAVELOG "Recheck drink-success from touch file"
Var CountUpWhenBREW_CNT = 0
Var drink_success_set = "-"
READ_FILE "/mnt/sdcard/coffeevending/log/drink-success" drink_success_set
DEBUGVAR drink_success_set
If drink_success_set = "1" Then
Var MachineState_Result = 1
EndIf
EndIf
EndIf
EndIf
If Timeout > 480 Then
SAVELOG " Timeout > 480"
Var MachineState_Result = 2

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 142 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 63 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before After
Before After