THAI: change interval to every 20 minute
This commit is contained in:
parent
9ed5012bf6
commit
58ac4f806b
1 changed files with 33 additions and 25 deletions
|
|
@ -13,8 +13,8 @@
|
|||
Var dummyPhone = "0899999999"
|
||||
Var GettingData = "false"
|
||||
|
||||
If LastCaptureHour = "" Then
|
||||
Var LastCaptureHour = 0
|
||||
If LastCaptureTime = "" Then
|
||||
Var LastCaptureTime = 0
|
||||
EndIf
|
||||
Var AboutTimeToCapture = "false"
|
||||
|
||||
|
|
@ -206,17 +206,25 @@
|
|||
<Timeout> 1000 </Timeout>
|
||||
<EventTimeout>
|
||||
|
||||
DEBUGVAR SystemTimeHourInt
|
||||
DEBUGVAR LastCaptureHour
|
||||
|
||||
If LastCaptureHour = SystemTimeHourInt Then
|
||||
DEBUGVAR SystemTimeMinuteInt
|
||||
DEBUGVAR LastCaptureTime
|
||||
|
||||
Else
|
||||
Var TimeDiff = SystemTimeMinuteInt - LastCaptureTime
|
||||
|
||||
If TimeDiff >= 20 Then
|
||||
DEBUGVAR "capture top spender time!!!"
|
||||
If GettingData = "false" Then
|
||||
GETACCEXT dummyPhone 34
|
||||
Var GettingData = "true"
|
||||
EndIf
|
||||
Else
|
||||
If TimeDiff <= -20 Then
|
||||
VAR "capture top spender time!!!"
|
||||
If GettingData = "false" Then
|
||||
GETACCEXT dummyPhone 34
|
||||
Var GettingData = "true"
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
If AboutTimeToCapture = "true" Then
|
||||
|
|
@ -239,7 +247,7 @@
|
|||
SAVELOG "capture top spender EN"
|
||||
CAPTURE "ROOT/taobin_project/video/capture-topspender_en.png"
|
||||
|
||||
Var LastCaptureHour = SystemTimeHourInt
|
||||
Var LastCaptureTime = SystemTimeMinuteInt
|
||||
EndIf
|
||||
|
||||
If CaptureTimeout = 5 Then
|
||||
|
|
@ -402,7 +410,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 506 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -444,7 +452,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 532 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -486,7 +494,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 559 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -528,7 +536,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 585 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -570,7 +578,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 613 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -612,7 +620,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 638 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -654,7 +662,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 666 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -696,7 +704,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 692 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -738,7 +746,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 718 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -780,7 +788,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 745 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -822,7 +830,7 @@
|
|||
<X> 176 </X>
|
||||
<Y> 771 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -864,7 +872,7 @@
|
|||
<X> 593 </X>
|
||||
<Y> 506 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -906,7 +914,7 @@
|
|||
<X> 593 </X>
|
||||
<Y> 532 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -948,7 +956,7 @@
|
|||
<X> 593 </X>
|
||||
<Y> 559 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -990,7 +998,7 @@
|
|||
<X> 593 </X>
|
||||
<Y> 585 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -1032,7 +1040,7 @@
|
|||
<X> 593 </X>
|
||||
<Y> 613 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
@ -1074,7 +1082,7 @@
|
|||
<X> 593 </X>
|
||||
<Y> 638 </Y>
|
||||
<Size> 15 </Size>
|
||||
<Width> 134 </Width>
|
||||
<Width> 150 </Width>
|
||||
<Height> 22 </Height>
|
||||
<Font> KanitMediumTTF </Font>
|
||||
<Color> 0x523D30 </Color>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue