#pragma once #include #include "CHReviewSetting/GantryInfo.h" typedef std::vector VectorGantryInfo; typedef std::vector::iterator VectorGantryInfoIt; enum SystemLineType { SystemLine_CPJT, SystemLine_Count }; enum SystemMachineCPJTType { SystemMachine_CPJT_QD, SystemMachine_CPJT_RGB, SystemMachine_CPJT_BANK, SystemMachine_CPJT_OC, SystemMachine_CPJT_BDI, SystemMachine_CPJT_CS, SystemMachine_CPJT_Count }; //enum SystemMachineCSOTType {SystemMachine_CSOT_CRACK, SystemMachine_CSOT_IJP, SystemMachine_CSOT_TFE, SystemMachine_CSOT_LAMI, SystemMachine_CSOT_H_CUT, SystemMachine_CSOT_TFE_OFF, SystemMachine_CSOT_Count}; enum SystemMonitorPosition { SystemMonitor_CENTER, SystemMonitor_TOP, SystemMonitor_BOTTOM, SystemMonitor_LEFT, SystemMonitor_RIGHT, SystemMonitor_Count }; enum CameraLibrary_Type { CameraLibrary_Simulation=0, CameraLibrary_Sapera, CameraLibrary_FlyCapture, CameraLibrary_JAI, CameraLibrary_Baumer, CAMERA_LIBRARY_PYLON,CameraLibrary_Count }; enum LightController_Type { LightController_Simulation=0, LightController_ShinHan, LightController_KSVision, LightController_PlusTek, LightController_Byon_ERI2, LightController_ALT_2RSD, LightController_ALT_8RSDF,LightControl_LFusion_PDSeries,LightController_ShinHan_TCP,LightController_Count }; enum LensChangeController_Type { LensChangeController_Simulation=0, LensChangeController_Linear, LensChangeController_Nikon, LensChangeController_DualTube, LensChangeController_Count }; enum AfmController_Type { AfmController_Simulation=0, AfmController_Wegu, AfmController_Dit,AfmController_MsgLaf, AfmController_Count }; enum WsiController_Type { WsiController_Simulation=0, WsiController_Dit, WsiController_Count }; enum MotorController_Type { MotorController_Simulation=0, MotorController_eXcom, MotorController_PowerPmac, MotorController_PowerPmacCmd, MotorController_ACS, MotorController_Count }; enum SignalController_Type { SignalController_Simulation=0, SignalController_PlcMxComponent, SignalController_Count }; enum MotorOriginDirection { MotorOriginDir_LeftTop=0, MotorOriginDir_RightTop, MotorOriginDir_LeftBottom, MotorOriginDir_RightBottom, MotorOriginDir_Count }; enum GlassOriginDirection { GlassOriginDir_LeftTop=0, GlassOriginDir_RightTop, GlassOriginDir_LeftBottom, GlassOriginDir_RightBottom, GlassOriginDir_Count }; enum AxisDirection { Forward_Direction=0, Reverse_Direction, AxisDirection_Count}; enum ReviewModuleType { ModuleType_Review=1, ModuleType_Measure=2, ModuleType_Wsi=4 }; enum LensType { LensType_SingleTube=0, LensType_DualTube, LensType_Count }; enum VcrController_Type { VcrType_Simulation=0, VcrType_V5111N, VcrType_Count }; class AFX_EXT_CLASS CSystemInfo { public: CSystemInfo(void); virtual ~CSystemInfo(void); public: void Reset(); // getter void GetInfo(CSystemInfo& rhs); int GetStandardGantryIndex() const; int GetGantryInfoCount() const { return (int) m_vecGantryInfo.size(); } CGantryInfo* GetGantryInfo(int nIndex); const CGantryInfo* GetGantryInfo(int nIndex) const; // setter void SetInfo(const CSystemInfo& rhs); void SetGantryInfoCount(int nCount) { m_vecGantryInfo.resize(nCount); } public: BOOL m_bLongRun; int m_nLongRunCount; int m_nLineType; int m_nMachineType; CString m_strEqpID; // [2017:5:21]-[WEZASW] : B7 ¼³ºñ ID Ãß°¡(»ç¿ëÀÚ ¼³Á¤) -> Machine ID·Î »ç¿ë [2017.6.24 bhs] int m_nMonitorPosition; BOOL m_bUseVisionAlign; double m_dCollisionDistance; int m_nAfmAliveCount; protected: VectorGantryInfo m_vecGantryInfo; };