⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.h

📁 机械手IPC控制器伺服运动程序
💻 H
字号:
#if !defined(AFX_MAIN_H__D309A7EE_1B95_4B5D_A8D7_8CDF3F07C8BB__INCLUDED_)
#define AFX_MAIN_H__D309A7EE_1B95_4B5D_A8D7_8CDF3F07C8BB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Main.h : header file
//
#include "Auto.h"
#include "AutoFull.h"
#include "Timer.h"
#include "Spray.h"
#include "Count.h"
#include "Manul.h"
#include "ModeSelect.h"
#include "FixedMode.h"
#include "Mode.h"
#include "ModeTimer.h"
#include "ModeCount.h"
#include "ModeSpay.h"
#include "System.h"
#include "SystemPara.h"
#include "SystemParam.h"
#include "Fault.h"
#include "ExitSystem.h"
#include "Adv.h"
#include "Advs.h"
#include "Back.h"
#include "Backs.h"
#include "Down.h"
#include "Ups.h"
#include "AdvAss.h"
#include "AdvsAss.h"
#include "BackAss.h"
#include "BacksAss.h"
#include "DownAss.h"
#include "UpsAss.h"
#include "TeachMode.h"
#include "ModeTeachSet.h"
#include "AutoTeach.h"
#include "MainFrm.h"
#include "ManuIO.h"
#include "FMStackUp.h"
#include "FMStackDown.h"
#include "ModeSpeed.h"
#include "HomeSet.h"
#include "Home.h"
#include "ModeTeachSel.h"
#include "ModeTeachSave.h"
#include "SysParamSel.h"
#include "MotionParam.h"
#include "cardConfig.h"
#include "HomeConfig.h"
#include "MacParam.h"
#include "EncoderConfig.h"
#include "AutoFixPos.h"
#include "AutoFixSpeed.h"
#include "manualioo.h"
#include "estop.h"
#include "SysParPos.h"
typedef CTypedPtrMap<CMapWordToOb,int,Cchannel*>ChannelCollection;
/////////////////////////////////////////////////////////////////////////////
// CMain dialog
//	int OUTPUT0,OUTPUT1,OUTPUT2,OUTPUT3;
class CMain : public CDialog
{
// Construction
public:
	void LoadRecords();
	BOOL CanSerialize();
//	void LoadRecordsSys();
//	BOOL CanSerializeSys();
	CMain(CWnd* pParent = NULL);   // standard constructor
	int TimeNum;
    CString m_num;
	CMapStringToString m_mode;
//	int OUTPUT0,OUTPUT1,OUTPUT2,OUTPUT3;
// Dialog Data
	//{{AFX_DATA(CMain)
	enum { IDD = IDD_DIALOGMAIN };
	//}}AFX_DATA
    ChannelCollection m_channels;
    CSystemInfo siSys;
    CDataGlobal glb;

	CDialog * dlgcur;//
	CDialog * dlghomeret;//
	CMainFrm * dlgmainfrm;
    CAuto * dlgauto;
    CAutoFull * dlgautofull;
	CTimer * dlgautotimer;
	CSpray * dlgautospay;
	CCount * dlgautocount;
	CAutoFixPos * dlgautofixpos;
	CAutoFixSpeed * dlgautofixspeed;
	CManul * dlgmanul;
	CManuIO * dlgmanuio;
	CModeSelect * dlgmodeselect;
	CModeTeachSel * dlgmodeteachsel;
	CFixedMode * dlgfixedmode;
	CFMStackUp * dlgfmstackup;
	CFMStackDown * dlgfmstackdown;
	CMode * dlgmode;
	CModeSpeed * dlgmodespeed;
	CModeTimer * dlgmodetimer;
	CModeCount * dlgmodecount;
	CModeSpay * dlgmodespay;
	CSystem * dlgsystem;
	CSystemPara * dlgsystempwd;
	CSystemParam * dlgsystemparam;
	CSysParPos * dlgsysparpos;
	CFault * dlgfault;
	CExitSystem * dlgexitsystem;
	CAdv * dlgadv;
	CAdvs * dlgadvs;
	CBack * dlgback;
	CBacks * dlgbacks;
	CDown * dlgdown;
	CUps * dlgups;
	CAdvAss * dlgadvass;
	CAdvsAss * dlgadvsass;
	CBackAss * dlgbackass;
	CBacksAss * dlgbacksass;
	CDownAss * dlgdownass;
	CUpsAss * dlgupsass;
	CTeachMode * dlgmodeteach;
	CModeTeachSet *dlgmodeteachset;
	CModeTeachSave * dlgmodeteachsave;
	CAutoTeach * dlgautoteach;
	CHomeSet * dlghomeset;
	CHome  * dlghome;
	CSysParamSel * dlgsysparamsel;
	CMotionParam * dlgmotion;
	CcardConfig * dlgcard;
	CHomeConfig * dlghomeconfig;
    CMacParam * dlgmac;
	CEncoderConfig * dlgencoder;
	Cmanualioo * dlgmanualioo;
	Cestop * dlgestop;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMain)
	public:
	virtual void Serialize(CArchive& ar);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CMain)
	virtual BOOL OnInitDialog();
	afx_msg void OnButton5();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnButton4();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDestroy();
//	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAIN_H__D309A7EE_1B95_4B5D_A8D7_8CDF3F07C8BB__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -