From bfe14e41fa5b07771d78af4511ba18d706bc23cc Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期一, 28 七月 2025 17:07:52 +0800 Subject: [PATCH] 1.Spooling Config功能EAP模拟测试; --- SourceCode/Bond/Servo/ServoDlg.h | 66 ++++++++++++++++++++++++++++++++- 1 files changed, 64 insertions(+), 2 deletions(-) diff --git a/SourceCode/Bond/Servo/ServoDlg.h b/SourceCode/Bond/Servo/ServoDlg.h index 1353deb..d0ce0f2 100644 --- a/SourceCode/Bond/Servo/ServoDlg.h +++ b/SourceCode/Bond/Servo/ServoDlg.h @@ -3,7 +3,20 @@ // #pragma once -#include "ServoGraph.h" +#include "BlButton.h" +#include "PageLog.h" +#include "PageAlarm.h" +#include "PageTransferLog.h" +#include "PageRecipe.h" +#include "TerminalDisplayDlg.h" +#include "CPanelMaster.h" +#include "CPanelEquipment.h" +#include "CPanelAttributes.h" +#include "CPageGraph1.h" +#include "CPageGraph2.h" +#include "TopToolbar.h" +#include "CMyStatusbar.h" +#include "CRobotTaskDlg.h" // CServoDlg 对话框 @@ -12,6 +25,28 @@ // 构造 public: CServoDlg(CWnd* pParent = NULL); // 标准构造函数 + + +public: + void ShowTerminalText(const char* pszText, unsigned int duration = -1); + +private: + void InitRxWindows(); + void Resize(); + void ShowChildPage(int index); + void UpdateLoginStatus(); + CString& GetRuntimeFormatText(CString& strText, const char* pszSuffix); + +private: + IObserver* m_pObserver; + CTerminalDisplayDlg* m_pTerminalDisplayDlg; + CRobotTaskDlg* m_pRobotTaskDlg; + CPageGraph1* m_pPageGraph1; + CPageGraph2* m_pPageGraph2; + CPageRecipe* m_pPageRecipe; + CPageAlarm* m_pPageAlarm; + CPageLog* m_pPageLog; + CPageTransferLog* m_pPageTransferLog; // 对话框数据 #ifdef AFX_DESIGN_TIME @@ -25,9 +60,13 @@ // 实现 protected: HICON m_hIcon; - CServoGraph* m_pGraph; COLORREF m_crBkgnd; HBRUSH m_hbrBkgnd; + CTopToolbar* m_pTopToolbar; + CPanelMaster* m_pPanelMaster; + CPanelEquipment* m_pPanelEquipment; + CPanelAttributes* m_pPanelAttributes; + CMyStatusbar* m_pMyStatusbar; // 生成的消息映射函数 virtual BOOL OnInitDialog(); @@ -40,4 +79,27 @@ afx_msg void OnBnClickedCancel(); afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); afx_msg void OnDestroy(); + afx_msg void OnSize(UINT nType, int cx, int cy); + afx_msg void OnClose(); + afx_msg void OnMoving(UINT fwSide, LPRECT pRect); + afx_msg void OnMove(int x, int y); + afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu); + afx_msg void OnMenuFileSettings(); + afx_msg void OnUpdateMenuFileSettings(CCmdUI* pCmdUI); + afx_msg void OnMenuFileSecsTest(); + afx_msg void OnUpdateMenuFileSecsTest(CCmdUI* pCmdUI); + afx_msg void OnMenuFileExit(); + afx_msg void OnUpdateMenuFileExit(CCmdUI* pCmdUI); + afx_msg void OnMenuProjectVarialbleList(); + afx_msg void OnUpdateMenuProjectVarialbleList(CCmdUI* pCmdUI); + afx_msg void OnMenuTestMessageSet(); + afx_msg void OnUpdateMenuTestMessageSet(CCmdUI* pCmdUI); + afx_msg void OnMenuTestMessageClear(); + afx_msg void OnUpdateMenuTestMessageClear(CCmdUI* pCmdUI); + afx_msg void OnMenuHelpAbout(); + afx_msg void OnTimer(UINT_PTR nIDEvent); + afx_msg LRESULT OnPanelResize(WPARAM wParam, LPARAM lParam); + afx_msg void OnTabSelChanged(NMHDR* nmhdr, LRESULT* result); + LRESULT OnToolbarBtnClicked(WPARAM wParam, LPARAM lParam); + LRESULT OnStatusbarBtnClicked(WPARAM wParam, LPARAM lParam); }; -- Gitblit v1.9.3