fix bug topview2 and page_collect_point_3_28.xml

This commit is contained in:
wanlop run 2025-02-07 11:21:40 +07:00
parent 46cd6603d0
commit 0793aaeeb6
91 changed files with 10797 additions and 1764 deletions

96
xml/test_all_syntax.xml Normal file
View file

@ -0,0 +1,96 @@
<Page>
<Width> 1080 </Width>
<Height> 1312 </Height>
<Volume> SoundVolume </Volume>
<Background> BackgroundColor </Background>
<EventOpen>
; On open
Machine AndroidTemperatureUpdateNow
Var Timeout = 0
Var Index = 1
DEBUGVAR TestArrary[0]
DEBUGVAR TestArrary[Index]
DEBUGVAR TestArrary[2]
DEBUGVAR TestArrary[3]
; xml-open-0 /mnt/sdcard/coffeevending/taobin_project/xml/test_all_syntax.xml
SAVELOG "TEST IF"
Var idx = 0
If idx = 0 Then
SAVELOG "================ True OK"
Else
SAVELOG "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
EndIf
Var idx = 1
If idx = 0 Then
SAVELOG "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
Else
SAVELOG "================ True OK"
EndIf
SAVELOG "TEST ELSE IF"
Var idx = 0
Var idx2 = 0
If idx = 0 Then
SAVELOG "###### ====== ######"
ElIf idx = 1 Then
SAVELOG "++++++ ====== ++++++"
EndIf
SAVELOG "TEST LOOP"
For idx < 10 Loop
Var idx = idx + 1
DEBUGVAR idx
If idx = 5 Then
SAVELOG "===========================================================================================###########################################################"
Else
SAVELOG "Hurr Hurr Hurr Hurr"
EndIf
Var TestLoopArray[idx] = idx + 10
Var idx2 = 0
For idx2 < 30 Loop
Var idx2 = idx2 + 1
DEBUGVAR idx2
If idx2 < 15 Then
SAVELOG "###### TTTTTT ######"
Else
SAVELOG "++++++ TTTTTT ++++++"
EndIf
EndFor
EndFor
Var idx = 0
For idx < 10 Loop
Var idx = idx + 1
DEBUGVAR TestLoopArray[idx]
EndFor
</EventOpen>
<Timeout> 1000 </Timeout>
<EventTimeout>
Var Timeout = Timeout + 1
If Timeout > 15 Then
Open "ROOT/taobin_project/xml/page_board.xml"
EndIf
Refresh
TimerReset
</EventTimeout>
</Page>