public void Connect(string szPath, string szAddresses, string szBrokerId, string szInvestorId, string szPassword, ZQTHOST_TE_RESUME_TYPE nResumeType, string szUserProductInfo, string szAuthCode) { this.szPath = szPath; this.szAddresses = szAddresses; this.szBrokerId = szBrokerId; this.szInvestorId = szInvestorId; this.szPassword = szPassword; this.nResumeType = nResumeType; this.szUserProductInfo = szUserProductInfo; this.szAuthCode = szAuthCode; Disconnect_TD(); Connect_MsgQueue(); Connect_TD(); }
public static extern void TD_Connect(IntPtr pTraderApi, string szPath, string szAddresses, string szBrokerId, string szInvestorId, string szPassword, ZQTHOST_TE_RESUME_TYPE nResumeType, string szUserProductInfo, string szAuthCode);
public void Connect(string szPath, string szAddresses, string szBrokerId, string szInvestorId, string szPassword, ZQTHOST_TE_RESUME_TYPE nResumeType, string szUserProductInfo, string szAuthCode) { this.szPath = szPath; this.szAddresses = szAddresses; this.szBrokerId = szBrokerId; this.szInvestorId = szInvestorId; this.szPassword = szPassword; this.nResumeType = nResumeType; this.szUserProductInfo = szUserProductInfo; this.szAuthCode = szAuthCode; Disconnect_TD(); Connect_MsgQueue(); Connect_TD(); }
public static extern void TD_Connect(IntPtr pTraderApi, string szPath, string szAddresses, string szBrokerId, string szInvestorId, string szPassword, ZQTHOST_TE_RESUME_TYPE nResumeType, string szUserProductInfo, string szAuthCode);