using System; using System.Collections.Generic; using System.Linq; using System.Text; //---------------------------------------------------------------- //Module Name: $safeprojectname$ //Purpose: //CopyRight: Muchinfo //History: //---------------------------------------------------------------- //DateTime 2016/9/14 16:32:27 //Author //Description Create //---------------------------------------------------------------- using Muchinfo.MTPClient.Data; using Muchinfo.MTPClient.Data.Enums; using Muchinfo.MTPClient.Data.Model.Listing; namespace Muchinfo.MTPClient.IService { public interface IListingService { /// /// 查询挂牌申报单(分页) /// /// 查询关键字 /// 成功回调 /// 失败回应 //void QueryListingEntrust(string key, Action> successAction, // Action errorAction,PageInfo pageInfo); /// /// 查询挂牌申报单 /// /// 商品Id /// 方向 /// 成功回调 /// 失败回应 void QueryListingEntrust(uint goodsid,Direction direction, Action> successAction, Action errorAction); /// /// 查询挂牌申报单 /// /// 查询关键字 /// 成功回调 /// 失败回应 void QueryListingEntrust(string key, long goodsGroupid, Action> successAction, Action errorAction); /// /// 查询挂牌申报单大厅 /// /// /// /// void QueryListingEntrust(long goodsid, Action> successAction, Action errorAction); /// /// 查询摘牌委托查询 /// /// 账号 /// 成功回调 /// 失败回应 void QueryDelistingOrders(ulong accountid,Direction direction,int orderStatus, Action> successAction, Action errorAction); /// /// 摘牌委托下单 /// /// 委托内容 /// 成功回应 /// void DeListingEntrustOrder(Data.Model.NewEntrustOrder entrustOrder, Action successAction, Action errorAction); /// /// 查询指定挂牌的摘牌记录 /// /// 账号 /// 成功回调 /// 失败回应 void QueryDelistingRecord(long orderId, Action> successAction, Action errorAction); /// /// 查询成交数量 /// /// 挂牌单号 /// 账号 /// /// void QueryCustomerDelistingCount(long orderId, ulong accountId, Action> successAction, Action errorAction); /// /// 查询交割商品 /// /// 交易所ID /// 交割方式 /// /// void QueryDeliveryGoods(long exchId, eSponsorType sponsor, Action> successAction, Action errorAction); /// /// 查询我的订单 /// /// 名称Or代码Or单号 /// /// void QueryMyOrders(string NameCodeOrder,ulong accountId, Action> successAction, Action errorAction); /// /// 查询我的挂牌 /// /// ID /// /// void QueryMyListingOrders(ulong accountId, int direction, int status, Action> successAction, Action errorAction); /// /// 挂牌申请 /// /// /// /// void ListingEntrustOrders(ListingEntrustOrder order,ActionsuccessAction,Action errorAction); } }