public void WTP_RegMD() { MdApi.WTP_RegOnFrontConnected(OnConnect_2); MdApi.WTP_RegOnFrontDisconnected(OnDisconnect_2); MdApi.WTP_RegOnRspUserLogin(OnRspUserLogin_2); MdApi.WTP_RegOnRspUserLogout(OnRspUserLogout_2); MdApi.WTP_RegOnRspError(OnRspError_2); MdApi.WTP_RegOnRspQrySymbol(OnRspQrySymbol_2); MdApi.WTP_RegOnRspQryQuotation(OnRspQryQuotation_2); MdApi.WTP_RegOnRtnQuotation(OnRtnQuotation_2); }