| | |
| | | #include "DialogStatusShow.h"
|
| | | #include "DialogSysRegSet.h"
|
| | | #include "DialogFactCfg.h"
|
| | |
|
| | | #include "DialogDateTime.h"
|
| | | #include "DialogEventLog.h"
|
| | | #include "HvSerialPort.h"
|
| | | #include <functional>
|
| | |
|
| | |
| | | ON_UPDATE_COMMAND_UI(ID_SIMULATE, &CMTerm2Doc::OnUpdateSimulate)
|
| | | ON_COMMAND(ID_MENU_STATUS_SHOW, &CMTerm2Doc::OnMenuStatusShow)
|
| | | ON_COMMAND(ID_MENU_FACT_CFG, &CMTerm2Doc::OnMenuFactCfg)
|
| | | ON_COMMAND(ID_MENU_DATETIME_SET, &CMTerm2Doc::OnMenuDatetimeSet)
|
| | | ON_COMMAND(ID_MENU_EVENT_LOG, &CMTerm2Doc::OnMenuEventLog)
|
| | | END_MESSAGE_MAP()
|
| | |
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | void CMTerm2Doc::OnMenuDatetimeSet()
|
| | | {
|
| | | // TODO: 在此添加命令处理程序代码
|
| | | CDialogDateTime dialog1;
|
| | | INT_PTR r = dialog1.DoModal();
|
| | | if (r == IDOK)
|
| | | {
|
| | |
|
| | | }
|
| | | }
|
| | |
|
| | | void CMTerm2Doc::OnMenuEventLog()
|
| | | {
|
| | | // TODO: 在此添加命令处理程序代码
|
| | | CDialogEventLog dialog1;
|
| | | INT_PTR r = dialog1.DoModal();
|
| | | if (r == IDOK)
|
| | | {
|
| | |
|
| | | }
|
| | | }
|