You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.7 KiB
C++

#pragma once
#include "TransferArmMgr.h"
#include "RecipeMgr.h"
#include "MyBttom.h"
class CDlgAddControlJob : public CDialogEx
{
DECLARE_DYNAMIC(CDlgAddControlJob)
public:
CDlgAddControlJob(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgAddControlJob();
void SetLoadPortType(eWaferLoadPortType t){m_LoadPortType = t;};
// 对话框数据
enum { IDD = IDD_ADD_CONTOR_JOB_DLG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedOk();
void OnDrawWaferList( NMHDR* pNMHDR, LRESULT* pResult );
DECLARE_MESSAGE_MAP()
private:
CListCtrl m_SleSlotList;//选择加工wafer 的list
CEdit m_WaferIdEdit;//用于编辑waferID的编辑框
int m_row;//选中行
int m_col;//选中列
eWaferLoadPortType m_LoadPortType;//port 的类型
CComboBox m_SelRecipeGroupComb;
CComboBox m_SelRecipeComb;
vector<CString> m_SelGroupRecipeNameVec;
CString m_CurSelRecipeName;
CString m_LotID;
CString m_FoupID;
CMyBottom m_AddJobBtn;
set<int> m_WaferSlotSet;//ò??-±?ìí?óμ?job μ?slot
public:
afx_msg void OnBnClickedSelAllBtn();
afx_msg void OnBnClickedNotSelAllBtn();
afx_msg void OnCbnSelchangeSelRecipeCombo();
afx_msg void OnCbnSelchangeSelGroupCombo();
afx_msg void OnNMClickSelWaferList(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnEnKillfocusWaferIdEdit();
};