📄 agvmonitordlg.h
字号:
// AGVMonitorDlg.h : header file
//
#if !defined(AFX_AGVMONITORDLG_H__31579BA3_F2BC_4BB9_8280_0F9583C448EE__INCLUDED_)
#define AFX_AGVMONITORDLG_H__31579BA3_F2BC_4BB9_8280_0F9583C448EE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CAGVMonitorDlg dialog
#include "LEDCtrl.h"
#include "ColorListCtrl.h"
#include "DataDefine.h"
class CAGVMonitorDlg : public CDialog
{
// Construction
public:
void SendPack(_TCPIPPackType_ &SendData);
CAGVMonitorDlg(CWnd* pParent = NULL); // standard constructor
CLEDCtrl m_Station_LED[MaxAGVStation];
CLEDCtrl m_AGVOnline_LED;
CLEDCtrl m_AGVWorking_LED;
// Dialog Data
//{{AFX_DATA(CAGVMonitorDlg)
enum { IDD = IDD_AGVMonitor };
CColorListCtrl m_AGVPathList;
CAnimateCtrl m_animate_googol;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAGVMonitorDlg)
public:
virtual BOOL PreTranslateMessage(MSG* pMsg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CAGVMonitorDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnModifyAGVIP();
afx_msg void OnSaveAGVIP();
afx_msg void OnSettingAGVNowStation();
afx_msg void OnSelchangeAGVStopMode();
afx_msg void OnSelchangeDestinationStation();
afx_msg void OnEmptyAGVPathList();
afx_msg void OnAddDestinationStation();
afx_msg void OnAGVGoCarbarn();
afx_msg void OnAGVInGoodsTransport();
afx_msg void OnAGVOutGoodsTransport();
afx_msg void OnAGVSupplyTransport();
afx_msg void OnAGVConnect();
afx_msg void OnAGVDisconnect();
afx_msg void OnClose();
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnExecutePathList();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
LRESULT OnReadData(WPARAM wParam, LPARAM lParam);
LRESULT OnConnected(WPARAM wParam, LPARAM lParam);
void ProcessMessage();
void ChangeStationLED(byte TurnOnStaition);
void LoadAGVIPSetting();
void SaveAGVIPSetting();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AGVMONITORDLG_H__31579BA3_F2BC_4BB9_8280_0F9583C448EE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -