1234567891011121314151617181920212223242526 |
- #pragma once
- #include "ResultHandler.h"
- //////////////////////////////////////////////////////////////////////////
- // author liulang
- // date 2020-04-24
- //////////////////////////////////////////////////////////////////////////
- namespace OnLineCard{
- class COnlineResultHandler : public CResultHandler
- {
- public:
- COnlineResultHandler();
- ~COnlineResultHandler();
- protected:
- virtual ServiceState OnStarting(void) override;
- virtual ServiceState OnRunning(void) override;
- int OnLineCardSavePage(OMR_RESULT * omr_result);
- CString MarkHttpHeaderData();
- int GetStudentInfo(CString paperIdStr, CString studentCard, int cardStatus, UnhandledPage& unhandled_page);
- void cutImage(IplImage* img, string strQuestionNo);
- virtual void SaveImages(vector<CUT_AREA_RESULT*> &area_results, CMemZipFile &zip, int subjectID, BOOL bOnlineCard = false,
- char *strPaperCode = NULL, const std::vector<std::string> &postMarkTypeIDVec = std::vector<std::string>(),
- std::map<std::string, int> &vecTwoPic = std::map<std::string, int>());
- BOOL m_stop;
- };
- }
|