SGP: add not member check & drink fail

This commit is contained in:
Pakin 2024-07-26 14:37:20 +07:00
parent d6939b2c5a
commit ceae589565
9 changed files with 361 additions and 14 deletions

View file

@ -862,6 +862,14 @@
Var SettingIgnoreCollectPoint = 0
EndIf
READ_FILE "/mnt/sdcard/coffeevending/use_pt_dev" use_pt_dev
STRCONTAIN "1" use_pt_dev enable_pt_mode_by_cfg
If enable_pt_mode_by_cfg = "true" Then
DEBUGVAR enable_pt_mode_by_cfg
Var SettingIgnoreCollectPoint = 0
EndIf
Var SettingVideoBrewingUseCommon = 1
Var MinPhoneNumber = 8
@ -1280,7 +1288,7 @@
DEBUGVAR ProfileIndex[9]
DEBUGVAR ProfileIndex[10]
PRICE "Reload" ""
</EventUnitTest5>
</EventUnitTest5>
<EventUnitTest6>
@ -1325,6 +1333,28 @@
</EventUnitTest7>
<EventUnitTest8>
Var XMLProfile = "$Discount90Per"
CacheVarStr "put" XMLProfile
PRICE "Reset" "-"
PRICE "Load" "-"
PRICE "CheckAndApply" XMLProfile
DEBUGVAR ProfileIndex[0]
DEBUGVAR ProfileIndex[1]
DEBUGVAR ProfileIndex[2]
DEBUGVAR ProfileIndex[3]
DEBUGVAR ProfileIndex[4]
DEBUGVAR ProfileIndex[5]
DEBUGVAR ProfileIndex[6]
DEBUGVAR ProfileIndex[7]
DEBUGVAR ProfileIndex[8]
DEBUGVAR ProfileIndex[9]
DEBUGVAR ProfileIndex[10]
PRICE "Reload" ""
</EventUnitTest8>
<EventDrink>
SAVELOG "EventDrink EventDrink EventDrink EventDrink EventDrink "
</EventDrink>