From 14db1514fec89db599766d4996b4bb1fead0eff0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 25 八月 2022 17:49:54 +0800 Subject: [PATCH] '完善' --- ConsoleApplication/THSActionUtil.h | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/ConsoleApplication/THSActionUtil.h b/ConsoleApplication/THSActionUtil.h index 1a42d08..be2ae93 100644 --- a/ConsoleApplication/THSActionUtil.h +++ b/ConsoleApplication/THSActionUtil.h @@ -35,7 +35,14 @@ { private: static void addGP(string code); + //批量添加股票 + static void betchAddGP(HWND addDialog,list<string> codeList); static std::list<GPCodeArea> getListenL2GPAreaAndCode(RecognitionManager* recognitionManager); + //删除板块内的所有代码 + static void clearPlateCodes(HWND hwnd); + + //获取板块中代码添加按钮的位置 + static RECT getPlateAddCodeBtnPostion(HWND win); public: static HWND getMainWin(); @@ -66,8 +73,10 @@ static std::list<int*> splitPlateRowArea(cv::Mat img, int start_row, int start_col, int end_row, int end_col); //打开同花顺的副屏幕 + static void openL2Screen(); static void openSecondScreen(); static void openThirdScreen(); + static void openTradeSuccessScreen(); //设置股票 static bool setGP(std::string quickCode, list<std::string> codeList,RecognitionManager* recognitionManager); @@ -91,7 +100,8 @@ static GPCodeArea recognitionPlateContentArea(cv::Mat grayImg); - + //添加目标标的(目标标的的数量必须大于9个才行) + static void addTargetCodes(list<std::string> codeList, RecognitionManager* recognitionManager); -- Gitblit v1.8.0