| | |
| | | #include "CPageCassetteCtrlCmd.h" |
| | | #include "CJobDataB.h" |
| | | #include "CRobotCmdContainerDlg.h" |
| | | #include "CRobotCmdTestDlg.h" |
| | | |
| | | |
| | | // CPageGraph2 对话框 |
| | |
| | | //cmds[1].subCmd = 10; |
| | | //pEFEM->robotCmds(cmds, 2); |
| | | |
| | | CRobotCmdContainerDlg dlg; |
| | | if (dlg.DoModal() == IDOK) { |
| | | std::vector<SERVO::ROBOT_CMD_PARAM>& cmds = dlg.GetResultCmds(); |
| | | if (!cmds.empty()) { |
| | | pEFEM->robotCmds(cmds.data(), (int)cmds.size()); |
| | | } |
| | | } |
| | | //CRobotCmdContainerDlg dlg; |
| | | //if (dlg.DoModal() == IDOK) { |
| | | // std::vector<SERVO::ROBOT_CMD_PARAM>& cmds = dlg.GetResultCmds(); |
| | | // if (!cmds.empty()) { |
| | | // pEFEM->robotCmds(cmds.data(), (int)cmds.size()); |
| | | // } |
| | | //} |
| | | |
| | | CRobotCmdTestDlg dlg; |
| | | dlg.SetEFEM(pEFEM); |
| | | dlg.DoModal(); |
| | | } |
| | | |
| | | |