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