SourceCode/Bond/Servo/PortConfigurationDlg.h
@@ -13,6 +13,9 @@ CPortConfigurationDlg(CWnd* pParent = nullptr); // 标准构造函数 virtual ~CPortConfigurationDlg(); public: void setCurSelPort(int sel); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = IDD_DIALOG_PORT_CONFIGURATION }; @@ -29,9 +32,10 @@ int GetLoadPortEqID(const std::string& strPortName); void LoadPortConfigToUI(SERVO::CLoadPort* pPort); void InitGrid(); void FillGrid(); private: SERVO::CLoadPort* m_pPort[4]; int m_nCurSelPort; CGridCtrl m_wndGrid; CComboBox m_comboPort;