새 파일 |
| | |
| | | #pragma once |
| | | |
| | | #include "DitGlassRawStruct.h" |
| | | |
| | | |
| | | |
| | | class CDitGlassRawServer |
| | | { |
| | | public: |
| | | CDitGlassRawServer(void); |
| | | ~CDitGlassRawServer(void); |
| | | |
| | | public: |
| | | BOOL CreateServer(int nCellNum = 200, int nDefectNum = 12000); |
| | | |
| | | _grmGlassData* GetGlassData(){return m_pGlassData;}; |
| | | _grmBlockData* GetBlockData(){return m_pBlockData;}; |
| | | _grmCellData* GetCellData(int nIndex){return &m_pCellData[nIndex];}; |
| | | _grmDefectData* GetDefectData(int nIndex){return &m_pDefectData[nIndex];}; |
| | | _grmDefectData* GetStackData(int nIndex) { return &m_pStackData[nIndex]; }; |
| | | _grmDefectData* GetRawMergeData(int nIndex) { return &m_pRawMergeData[nIndex]; }; |
| | | |
| | | _grmDitGlassRawInfo* GetGlassRawInfo(){return m_pGlassRawInfo;}; |
| | | |
| | | protected: |
| | | BOOL CreateGlassRawInfo(); |
| | | BOOL CreateGlassRawData(); |
| | | |
| | | protected: |
| | | _grmGlassData* m_pGlassData; |
| | | _grmBlockData* m_pBlockData; |
| | | _grmCellData* m_pCellData; |
| | | _grmDefectData* m_pDefectData; |
| | | _grmDefectData* m_pStackData; |
| | | _grmDefectData* m_pRawMergeData; |
| | | |
| | | protected: |
| | | HANDLE m_hMapBasicInfo; |
| | | HANDLE m_hMapGlassData; |
| | | _grmDitGlassRawInfo* m_pGlassRawInfo; |
| | | char* m_pGlassRawData; |
| | | |
| | | CMutex m_mxCommandProcess; |
| | | int m_nLastCommandIdx; |
| | | |
| | | }; |