| | |
| | | int endx; |
| | | int endy; |
| | | std::string code; |
| | | |
| | | //L2数据有效 |
| | | int cateIndex; |
| | | }; |
| | | //同花顺事件 |
| | | class THSActionUtil |
| | | { |
| | | private: |
| | | static RecognitionManager *recognitionManager; |
| | | static void addGP(string code); |
| | | static std::list<GPCodeArea> getListenL2GP(); |
| | | |
| | | public: |
| | | |
| | | static HWND getL2Win(); |
| | | |
| | | //检测环境 |
| | | static bool checkEnv(); |
| | | |
| | | //打开同花顺的副屏幕 |
| | | static void openSecondScreen(); |
| | | //设置股票 |
| | | static void setGP(std::string quickCode, list<std::string> codeList); |
| | | static bool setGP(std::string quickCode, list<std::string> codeList); |
| | | //识别股票代码 |
| | | static std::list<GPCodeArea> recognitionGPArea(cv::Mat img); |
| | | |
| | |
| | | static std::list<GPCodeArea> recognitionNum(cv::Mat img,std::list<GPCodeArea> areaList); |
| | | |
| | | |
| | | //设置获取level2的股票数据 |
| | | static bool setListenL2GP(int p,string code); |
| | | |
| | | //设置获取level2的股票代码 |
| | | static std::map<int, string> getListenL2GPCodes(); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |