Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
liusuan233 authored Jul 18, 2024
1 parent 319d5cf commit 82ff907
Show file tree
Hide file tree
Showing 2 changed files with 854 additions and 792 deletions.
231 changes: 130 additions & 101 deletions assets/resource/base/pipeline/1_startup.json
Original file line number Diff line number Diff line change
@@ -1,102 +1,131 @@
{
"StartUp": {
"next": [
"Sub_StartWuhua",
"Sub_CloseAnnouncement",
"Sub_StartGame",
"Sub_AccumulatedSignIn",
"Sub_AccumulatedSignInExit",
"Sub_StartUp"
]
},
"Sub_StartUp": {
"next": [
"StartUp"
]
},
"Sub_StartWuhua": {
"is_sub": true,
"action": "StartApp",
"package": "com.cipaishe.wuhua.bilibili/com.cipaishe.wuhua.bilibili.activity.ONESDKSplashActivity",
"post_wait_freezes": 10000,
"next": [
"update",
"Sub_CloseAnnouncement"
]
},
"update": {
"recognition": "OCR",
"expected": "终端数据更新",
"roi": [
403,
249,
474,
111
],
"action": "Click",
"post_wait_freezes": 7000,
"target": [
765,
430,
0,
0
],
"next": []
},
"Sub_CloseAnnouncement": {
"recognition": "TemplateMatch",
"template": "Startup/announcement_outer.png",
"action": "Click",
"next": [
"Sub_StartGame"
]
},
"Sub_StartGame": {
"recognition": "OCR",
"expected": "抵制不良游戏",
"action": "Click",
"next": [
"Sub_AccumulatedSignIn"
]
},
"Sub_AccumulatedSignIn": {
"action": "Click",
"post_delay": 10000,
"next": [
"Sub_GetResource",
"Sub_AccumulatedSignInExit",
"convened"
]
},
"convened": {
"recognition": "TemplateMatch",
"template": "Startup/11.png",
"roi": [
906,
340,
170,
205
],
"post_delay": 3000,
"next": [
"stop"
]
},
"Sub_AccumulatedSignInExit": {
"recognition": "TemplateMatch",
"template": "Startup/AccumulatedSignInExit.png",
"action": "Click",
"post_delay": 3000,
"next": [
"stop"
]
},
"Sub_GetResource": {
"recognition": "OCR",
"expected": "获得物资",
"action": "Click",
"next": [
"Sub_AccumulatedSignInExit"
]
}
{
"StartUp": {
"next": [
"Sub_StartWuhua",
"Sub_CloseAnnouncement",
"Sub_StartGame",
"Sub_AccumulatedSignIn",
"Sub_AccumulatedSignInExit",
"convened",
"Sub_StartUp"
]
},
"Sub_StartUp": {
"next": [
"StartUp"
]
},
"Sub_StartWuhua": {
"is_sub": true,
"action": "StartApp",
"package": "com.cipaishe.wuhua.bilibili/com.cipaishe.wuhua.bilibili.activity.ONESDKSplashActivity",
"post_wait_freezes": 10000,
"timeout": 20000,
"timeout_next": [
"update",
"Sub_CloseAnnouncement",
"convened"
],
"next": [
"update",
"Sub_CloseAnnouncement",
"convened"
]
},
"update": {
"recognition": "OCR",
"expected": "终端数据更新",
"roi": [
403,
249,
474,
111
],
"action": "Click",
"post_wait_freezes": 7000,
"timeout": 20000,
"timeout_next": [
"update",
"Sub_CloseAnnouncement"
],
"target": [
765,
430,
0,
0
],
"next": [
"Sub_CloseAnnouncement"
]
},
"Sub_CloseAnnouncement": {
"recognition": "TemplateMatch",
"template": "Startup/announcement_outer.png",
"action": "Click",
"timeout": 20000,
"timeout_next": [
"Sub_CloseAnnouncement",
"Sub_StartGame"
],
"next": [
"Sub_StartGame"
]
},
"Sub_StartGame": {
"recognition": "OCR",
"expected": "抵制不良游戏",
"action": "Click",
"next": [
"Sub_AccumulatedSignIn"
]
},
"Sub_AccumulatedSignIn": {
"action": "Click",
"post_delay": 10000,
"timeout": 20000,
"timeout_next": [
"Sub_AccumulatedSignIn",
"Sub_GetResource",
"Sub_AccumulatedSignInExit",
"convened"
],
"next": [
"Sub_GetResource",
"Sub_AccumulatedSignInExit",
"convened"
]
},
"convened": {
"recognition": "TemplateMatch",
"template": "Startup/11.png",
"roi": [
906,
340,
170,
205
],
"post_delay": 3000,
"next": [
"stop"
]
},
"Sub_AccumulatedSignInExit": {
"recognition": "TemplateMatch",
"template": "Startup/AccumulatedSignInExit.png",
"action": "Click",
"post_delay": 3000,
"next": [
"Sub_GetResource",
"Sub_AccumulatedSignInExit",
"stop"
]
},
"Sub_GetResource": {
"recognition": "OCR",
"expected": "获得物资",
"action": "Click",
"next": [
"Sub_AccumulatedSignInExit"
]
}
}
Loading

0 comments on commit 82ff907

Please sign in to comment.