From 38f2ff1e5bc6c4434875e03b8cadc8f3f4e39bf6 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期三, 27 八月 2025 18:18:02 +0800 Subject: [PATCH] 1.修改调度逻辑,增加G0,第二类型,增加TestFlag, 用于必要时输出指定日志; --- SourceCode/Bond/Servo/ServoDlg.h | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/SourceCode/Bond/Servo/ServoDlg.h b/SourceCode/Bond/Servo/ServoDlg.h index 9ff5766..d0ce0f2 100644 --- a/SourceCode/Bond/Servo/ServoDlg.h +++ b/SourceCode/Bond/Servo/ServoDlg.h @@ -6,12 +6,17 @@ #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 对话框 @@ -29,16 +34,19 @@ 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 @@ -54,11 +62,11 @@ HICON m_hIcon; COLORREF m_crBkgnd; HBRUSH m_hbrBkgnd; - CBlButton m_btnLog; - CBlButton m_btnAlarm; + CTopToolbar* m_pTopToolbar; CPanelMaster* m_pPanelMaster; CPanelEquipment* m_pPanelEquipment; CPanelAttributes* m_pPanelAttributes; + CMyStatusbar* m_pMyStatusbar; // 生成的消息映射函数 virtual BOOL OnInitDialog(); @@ -82,6 +90,8 @@ 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(); @@ -90,4 +100,6 @@ 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