using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Security.Cryptography.X509Certificates; using Muchinfo.MTPClient.Data; using Muchinfo.MTPClient.Data.Model; using Muchinfo.MTPClient.Data.Model.Account; using Muchinfo.MTPClient.Data.Model.Sale; namespace Muchinfo.MTPClient.IService { public interface ISaleService { /// /// 查询发行商品(状态为待申购和申购中) /// /// 账户 /// 商品代码 /// 市场ID /// ObservableCollection QueryAccountSaleGoodsRpt(TradeAccount tradeAccount, string goodCode, int MarketId); /// /// 查询申购单 /// /// 账户 /// 商品代码 /// List QuerySaleApplyRpt(TradeAccount tradeAccount, string goodsCode); /// /// 查询发售商品交易参数增量 /// /// 内容权限组 /// 商品ID /// 登录账号 /// List QueryParameterRule(int ContRightCode, uint goodsID, string loginCode); /// /// 查询战略投资者 /// /// 账户 /// List QueryStrategicInvestor(TradeAccount tradeAccount); /// /// 发售下单 /// /// /// /// void SaleEntrurstOrder(NewEntrustOrder saleOrder, Action successAction, Action errorAction); /// /// 查询发行商品(状态为待申购和申购中) /// /// 账户 /// 商品代码 /// 市场ID /// void QueryAccountSaleGoodsRpt(string statement, List queryCommonParams, Action> successAction, Action errorAction); /// /// 查询发售配号中签 /// /// 账户 /// 商品代码 /// 市场ID /// void QueryAccountDistributeBallot(List queryCommonParams, Action> successAction, Action errorAction); } }