SourceCode/Bond/Servo/Servo.cpp
@@ -11,6 +11,7 @@
#include "TransferManager.h"
#include "SystemLogManager.h"
#include "UserManager.h"
#include "RecipeManager.h"
#include "VerticalLine.h"
#include "HorizontalLine.h"
#include "EqsGraphWnd.h"
@@ -134,7 +135,6 @@
      AfxMessageBox(errorMsg, MB_ICONERROR);
      return FALSE;
   }
   AlarmManager::getInstance().insertMockData();
   // 初始化SECS运行设置管理库
   try {
@@ -194,6 +194,19 @@
      return FALSE;
   }
   // 初始化配方管理库
   try {
      if (!RecipeManager::getInstance().initRecipeTable()) {
         AfxMessageBox("初始化配方管理库失败!");
         return FALSE;
      }
   }
   catch (const std::exception& ex) {
      CString errorMsg;
      errorMsg.Format(_T("初始化配方管理库失败:%s"), CString(ex.what()));
      AfxMessageBox(errorMsg, MB_ICONERROR);
      return FALSE;
   }
   CServoDlg dlg;