public TapAPIOrderInfoNotice(TapAPIOrderInfoNotice other) : this(TapTradePINVOKE.new_TapAPIOrderInfoNotice__SWIG_1(TapAPIOrderInfoNotice.getCPtr(other)), true) { if (TapTradePINVOKE.SWIGPendingException.Pending) { throw TapTradePINVOKE.SWIGPendingException.Retrieve(); } }
public override void OnRspQryOrder(uint sessionID, int errorCode, char isLast, TapAPIOrderInfo info) { if (null != info) { TapTradeAPI.TapAPIOrderInfoNotice notice = new TapTradeAPI.TapAPIOrderInfoNotice(); notice.SessionID = sessionID; notice.ErrorCode = (uint)errorCode; notice.OrderInfo = info; DataManager.Trade.OrderInfoMgr.UpdateOrAdd(notice); } if (TapTrade.APIYNFLAG_YES == isLast && null != OnQryFinishEvent) { OnQryFinishEvent(TradeQryType.Order); } }
public virtual void OnRtnOrder(TapAPIOrderInfoNotice info) { TapTradePINVOKE.ITapTradeAPINotify_OnRtnOrder(swigCPtr, TapAPIOrderInfoNotice.getCPtr(info)); }
internal static HandleRef getCPtr(TapAPIOrderInfoNotice obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }