ReviewSystem/ReviewSystem/DitGlassRawClient.cpp | ●●●●● 패치 | 보기 | raw | blame | 히스토리 | |
ReviewSystem/ReviewSystem/DitGlassRawClient.h | ●●●●● 패치 | 보기 | raw | blame | 히스토리 |
ReviewSystem/ReviewSystem/DitGlassRawClient.cpp
@@ -6,11 +6,16 @@ { m_hMapBasicInfo = NULL; m_hMapGlassData = NULL; m_pDitGlassClient =NULL; m_pGlassRawInfo = NULL; m_pGlassRawData = NULL; m_nLastCommandIdx = -1; m_pGlassData = NULL; m_pBlockData = NULL; m_pCellData = NULL; m_pDefectData = NULL; } CDitGlassRawClient::~CDitGlassRawClient(void) @@ -227,6 +232,16 @@ return SetCommand(grcSequenceCustomReviewDataRead); } CDitGlassRawClient* CDitGlassRawClient::GetInstance() { if(m_pDitGlassClient == NULL) { m_pDitGlassClient = new CDitGlassRawClient; } return m_pDitGlassClient; } void CDitGlassRawClient::RemoveReviewDefects() { int nDefectNum = m_pGlassData->m_nDefectNum; @@ -251,3 +266,5 @@ m_pGlassData->m_nDefectNum = nDefectNum-nDefectDeleteNum; } CDitGlassRawClient* CDitGlassRawClient::m_pDitGlassClient; ReviewSystem/ReviewSystem/DitGlassRawClient.h
@@ -1,6 +1,7 @@ #pragma once #include "DitGlassRawStruct.h" #include <afxmt.h> class CDitGlassRawClient { @@ -9,6 +10,8 @@ ~CDitGlassRawClient(void); public: static CDitGlassRawClient* GetInstance(); //cmark BOOL ConnectServer(); BOOL isConnect(){return m_hMapBasicInfo == NULL || m_hMapGlassData == NULL ? FALSE : TRUE;}; @@ -51,7 +54,7 @@ BOOL ConnectGlassRawInfo(); BOOL ConnectGlassRawData(); BOOL SetCommand(emGlassRawCommand nCmd); static CDitGlassRawClient* m_pDitGlassClient; //cmark protected: _grmGlassData* m_pGlassData; _grmBlockData* m_pBlockData;