|
@@ -46,26 +46,24 @@ Widget::Widget(QWidget *parent) :
|
|
// initData.serverID = "2e36b53ccd2a433b9a803b98d683ed91";
|
|
// initData.serverID = "2e36b53ccd2a433b9a803b98d683ed91";
|
|
initData.serverKey = "TMS";
|
|
initData.serverKey = "TMS";
|
|
|
|
|
|
- // m_tSwitch->DoInit(&initData);
|
|
|
|
- // m_tSwitch->DoCreateWindow(1, container);
|
|
|
|
- // m_tSwitch->DoGetExecPlanFromEQM();
|
|
|
|
- // m_tSwitch->DoSetCallBack(trackCallBack);
|
|
|
|
|
|
+ m_tSwitch->DoInit(&initData);
|
|
|
|
+ m_tSwitch->DoCreateWindow(1, container);
|
|
|
|
+ m_tSwitch->DoGetExecPlanFromEQM();
|
|
|
|
+ m_tSwitch->DoSetCallBack(trackCallBack);
|
|
|
|
|
|
- m_tSwitch->DoInitLibrary();
|
|
|
|
- m_tSwitch->DoCreateOneWindow(0, container);
|
|
|
|
- m_tSwitch->DoSetOnePageCardNum(4, 2);
|
|
|
|
|
|
+ // m_tSwitch->DoInitLibrary();
|
|
|
|
+ // m_tSwitch->DoCreateOneWindow(0, container);
|
|
|
|
+ // m_tSwitch->DoSetOnePageCardNum(4, 2);
|
|
|
|
|
|
- m_tSwitch->DoSetWebAPIInfo(&initData);
|
|
|
|
|
|
+ // m_tSwitch->DoSetWebAPIInfo(&initData);
|
|
|
|
|
|
ExecPlanInfo info;
|
|
ExecPlanInfo info;
|
|
info.ChannelID = -1;
|
|
info.ChannelID = -1;
|
|
info.ChannelName = "";
|
|
info.ChannelName = "";
|
|
info.DatabasePath = QApplication::applicationDirPath() + "/db/";
|
|
info.DatabasePath = QApplication::applicationDirPath() + "/db/";
|
|
- m_tSwitch->DoSetChannelInfo(&info, true);
|
|
|
|
-
|
|
|
|
- m_tSwitch->DoSetCallBack(trackCallBack);
|
|
|
|
-
|
|
|
|
- m_tSwitch->DoGetExecPlanFromEQM();
|
|
|
|
|
|
+ // m_tSwitch->DoSetChannelInfo(&info, true);
|
|
|
|
+ // m_tSwitch->DoSetCallBack(trackCallBack);
|
|
|
|
+ // m_tSwitch->DoGetExecPlanFromEQM();
|
|
|
|
|
|
m_style = 1;
|
|
m_style = 1;
|
|
|
|
|