| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 | #include "stdafx.h"#include "SEMCommonConst.h"namespace OTSController {	CSEMCommonConst::CSEMCommonConst()	{	}	CSEMCommonConst::~CSEMCommonConst()	{	}	BOOL COTSPreferenceData::m_bIsEMAutoAxisDirection = TRUE;	int COTSPreferenceData::m_nSampleChamberWidth(SAMPLECHAMBER_WIDTH_DEFAULT);	BOOL COTSPreferenceData::m_bIsEMAxisXRightDirection = TRUE;	int COTSPreferenceData::m_nSampleChamberHeight(SAMPLECHAMBER_HEIGHT_DEFAULT);	BOOL COTSPreferenceData::m_bIsEMAxisYUpDirection = TRUE;	/*CString OTSSEMController::GetName(const int a_nId)	{		if (a_nId < (int)SEM_ID::MIN || a_nId >(int)SEM_ID::MAX)		{			return _T("Invalid EM");		}		return SEM_CONTROLLER_NAMES[a_nId - (int)SEM_ID::MIN];	}*/	// convert SEM position	void ConvertEMPosition(const BOOL a_bIsAutoAxis,		const double a_dStageWidth, const BOOL a_bIsXRightDirection,		const double a_dStageHeight, const BOOL a_bIsYUpDirection,		double& a_dPositionX, double& a_dPositionY)	{		if (a_bIsAutoAxis)		{			return;		}		if (!a_bIsXRightDirection)		{			a_dPositionX = a_dStageWidth - a_dPositionX;		}		if (!a_bIsYUpDirection)		{			a_dPositionY = a_dStageHeight - a_dPositionY;		}	}	int COTSPreferenceData::m_nEMScreenRatioIndex(0);	/*CString EDSController::GetName(const int a_nId)	{		if (a_nId < (int)EDS_ID::MIN || a_nId >(int)EDS_ID::MAX)		{			return _T("Invalid EDS");		}		return EDS_CONTROLLER_NAMES[a_nId - (int)EDS_ID::MIN];	}*/	//CString ScanController::GetName(const int a_nId)	//{	//	if (a_nId < (int)SCANNER_ID::MIN || a_nId >(int)SCANNER_ID::MAX)	//	{	//		return _T("Invalid Scan");	//	}	//	return "";// SCANER_CONTROLLER_NAMES[a_nId - (int)SCANNER_ID::MIN];	//}}
 |