DO aus profile price

This commit is contained in:
wanlop run 2024-07-17 13:04:02 +07:00
parent fdc9178397
commit fa9ab973d7
5 changed files with 46 additions and 10 deletions

0
boxid/173249/upload.sh Normal file → Executable file
View file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1224,26 +1224,62 @@
</EventUnitTest2> </EventUnitTest2>
<EventUnitTest3> <EventUnitTest3>
;Var XMLProfile = "AllPriceUp10" Var XMLProfile = "General"
;Open CurrentXMLFileName0 PRICE "Reset" "-"
__CMD "SetPay" "Coffee" "123456789123456789" "3000100617001201234"
;PRICE "Reload" "-"
</EventUnitTest3>
<EventUnitTest4>
Var XMLProfile = "$School"
PRICE "Load" "-" PRICE "Load" "-"
PRICE "CheckAndApply" XMLProfile PRICE "CheckAndApply" XMLProfile
DEBUGVAR ProfileIndex[0] DEBUGVAR ProfileIndex[0]
DEBUGVAR ProfileIndex[1] DEBUGVAR ProfileIndex[1]
DEBUGVAR ProfileIndex[2] DEBUGVAR ProfileIndex[2]
DEBUGVAR ProfileIndex[3]
DEBUGVAR ProfileIndex[4]
</EventUnitTest3>
<EventUnitTest4>
Var XMLProfile = "$School-$Tier3"
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]
</EventUnitTest4> </EventUnitTest4>
<EventUnitTest5>
Var XMLProfile = "$School"
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]
</EventUnitTest5>
<EventUnitTest6> <EventUnitTest6>
PushFile "/sdcard/" "RootManPicture" "scn_240703193755.png" PRICE "Reload" ""
</EventUnitTest6> </EventUnitTest6>
<EventDrink> <EventDrink>