public override void OnRspQryProduct(CThostFtdcProductField pProduct, CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast)
 {
     _callbackApi.OnRspQryProduct(pProduct, pRspInfo, nRequestID, bIsLast);
 }
 ///请求查询产品响应
 public void OnRspQryProduct(CThostFtdcProductField pProduct, CThostFtdcRspInfoField pRspInfo, int nRequestID,
                             bool bIsLast)
 {
     Console.WriteLine("OnRspQryProduct");
 }
示例#3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CThostFtdcProductField obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
示例#4
0
 /// <summary>
 /// 触发查询产品的回调
 /// </summary>
 /// <param name="pProduct"></param>
 /// <param name="pRspInfo"></param>
 /// <param name="nRequestId"></param>
 /// <param name="bIsLast"></param>
 private void CTPOnRspQryProduct(ref CThostFtdcProductField pProduct, ref CThostFtdcRspInfoField pRspInfo,
                                 int nRequestId, bool bIsLast)
 {
     OnQueryProduct?.Invoke(pProduct, pRspInfo);
 }