{
    "SeizeEntrustTaskErrorTaskStop": {
        "recognition": {
            "type": "OCR",
            "param": {
                "roi": [
                    149,
                    154,
                    87,
                    34
                ],
                "expected": [
                    "委托人信息",
                    "委託人資訊",
                    "(?i)Client\\s*Info",
                    "依頼主詳細"
                ]
            }
        },
        "inverse": true,
        "action": {
            "type": "StopTask",
            "param": {}
        },
        "focus": {
            "Node.Action.Starting": "用户退出委托列表"
        }
    },
    "SeizeEntrustTaskPostEntrust3": {
        "recognition": {
            "type": "OCR",
            "param": {
                "roi": "SeizeEntrustTaskFound7.31wMoney",
                "roi_offset": [
                    169,
                    17,
                    188,
                    -3
                ],
                "expected": [
                    "接取运送委托",
                    "接取運送委託",
                    "(?i)Accept\\s*Delivery\\s*Job",
                    "配達依頼を受ける"
                ]
            }
        },
        "action": {
            "type": "Click",
            "param": {}
        },
        "next": [
            "SeizeEntrustTaskStopTask"
        ]
    },
    "SeizeEntrustTaskFound7.31wMoney": {
        "recognition": {
            "type": "TemplateMatch",
            "param": {
                "template": [
                    "SeizeEntrustTask/7.31wMoney.png"
                ],
                "threshold": [
                    0.9
                ]
            }
        },
        "next": [
            "SeizeEntrustTaskPostEntrust3"
        ]
    },
    "SeizeEntrustTaskFound7.31wMoneyF1": {
        "recognition": {
            "type": "And",
            "param": {
                "all_of": [
                    {
                        "sub_name": "MoneyTag",
                        "recognition": {
                            "type": "TemplateMatch",
                            "param": {
                                "template": [
                                    "SeizeEntrustTask/7.31wMoney.png"
                                ],
                                "threshold": [
                                    0.9
                                ]
                            }
                        }
                    },
                    {
                        "recognition": {
                            "type": "OCR",
                            "param": {
                                "roi": "MoneyTag",
                                "roi_offset": [
                                    0,
                                    0,
                                    60,
                                    60
                                ],
                                "expected": [
                                    "7.31万",
                                    "31万",
                                    "7",
                                    "31"
                                ]
                            }
                        }
                    }
                ]
            }
        },
        "next": [
            "SeizeEntrustTaskFound7.31wMoney"
        ]
    },
    "SeizeEntrustTaskInDownSwipeUp": {
        "desc": "没找到武陵城就往下翻一页",
        "enabled": false,
        "recognition": {
            "type": "TemplateMatch",
            "param": {
                "roi": [
                    1246,
                    612,
                    16,
                    23
                ],
                "template": [
                    "SeizeEntrustTask/InDown.png"
                ]
            }
        },
        "inverse": true,
        "action": {
            "type": "Swipe",
            "param": {
                "begin": [
                    776,
                    448
                ],
                "end": [
                    776,
                    208
                ]
            }
        }
    },
    "SeizeEntrustTaskInUpSwipeDown": {
        "desc": "没找到武陵城就往上翻一页",
        "enabled": false,
        "recognition": {
            "type": "TemplateMatch",
            "param": {
                "roi": [
                    1246,
                    388,
                    23,
                    60
                ],
                "template": [
                    "SeizeEntrustTask/InMiddle.png"
                ]
            }
        },
        "inverse": true,
        "action": {
            "type": "Swipe",
            "param": {
                "begin": [
                    776,
                    208
                ],
                "end": [
                    776,
                    348
                ]
            }
        }
    },
    "SeizeEntrustTaskMain": {
        "recognition": {
            "type": "OCR",
            "param": {
                "roi": [
                    149,
                    154,
                    87,
                    34
                ],
                "expected": [
                    "委托人信息",
                    "委託人資訊",
                    "(?i)Client\\s*Info",
                    "依頼主詳細"
                ]
            }
        },
        "timeout": 2000,
        "next": [
            "isSeizeEntrustTaskDestinationWulingCity"
        ],
        "on_error": [
            "SeizeEntrustTaskStopTask2"
        ],
        "focus": {
            "Node.Recognition.Succeeded": "现在开始抢武陵城委托"
        }
    },
    "SeizeEntrustTaskNews": {
        "desc": "刷新动作",
        "recognition": {
            "type": "OCR",
            "param": {
                "roi": [
                    1035,
                    650,
                    98,
                    34
                ],
                "expected": [
                    "刷新",
                    "更新",
                    "(?i)Refresh"
                ]
            }
        },
        "action": {
            "type": "Click",
            "param": {}
        },
        "rate_limit": 1000,
        "next": [
            "SeizeEntrustTaskNewsStatus1"
        ]
    },
    "SeizeEntrustTaskNews2": {
        "desc": "依旧刷新动作",
        "recognition": {
            "type": "OCR",
            "param": {
                "roi": [
                    1035,
                    650,
                    98,
                    34
                ],
                "expected": [
                    "刷新",
                    "更新",
                    "(?i)Refresh"
                ]
            }
        },
        "action": {
            "type": "Click",
            "param": {}
        },
        "rate_limit": 100,
        "next": [
            "SeizeEntrustTaskNewsStatus2"
        ]
    },
    "SeizeEntrustTaskNewsStatus1": {
        "recognition": {
            "type": "OCR",
            "param": {
                "roi": [
                    1019,
                    529,
                    244,
                    121
                ],
                "expected": [
                    "接取运送委托",
                    "接取運送委託",
                    "(?i)Accept\\s*Delivery\\s*Job",
                    "配達依頼を受ける"
                ]
            }
        },
        "next": [
            "[JumpBack]SeizeEntrustTaskFound7.31wMoneyF1",
            "[JumpBack]SeizeEntrustTaskErrorTaskStop",
            "[JumpBack]SeizeEntrustTaskInUpSwipeDown",
            "[JumpBack]SeizeEntrustTaskNews2"
        ]
    },
    "SeizeEntrustTaskNewsStatus2": {
        "recognition": {
            "type": "OCR",
            "param": {
                "roi": [
                    1019,
                    549,
                    244,
                    121
                ],
                "expected": [
                    "接取运送委托",
                    "接取運送委託",
                    "(?i)Accept\\s*Delivery\\s*Job",
                    "配達依頼を受ける"
                ]
            }
        },
        "next": [
            "isSeizeEntrustTaskDestinationWulingCity"
        ]
    },
    "isSeizeEntrustTaskDestinationWulingCity": {
        "next": [
            "[JumpBack]SeizeEntrustTaskFound7.31wMoneyF1",
            "[JumpBack]SeizeEntrustTaskErrorTaskStop",
            "[JumpBack]SeizeEntrustTaskInDownSwipeUp",
            "[JumpBack]SeizeEntrustTaskNews"
        ]
    }
}
