| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- //----------------------------------------------------------------
- //Module Name: $safeprojectname$
- //Purpose:
- //CopyRight: Muchinfo
- //History:
- //----------------------------------------------------------------
- //DateTime 2016/1/27 20:20:00
- //Author
- //Description Create
- //----------------------------------------------------------------
- using Muchinfo.MTPClient.Data;
- using Muchinfo.MTPClient.Data.Model;
- using Muchinfo.MTPClient.Data.Model.Account;
- using Muchinfo.MTPClient.Data.Model.Listing;
- using Muchinfo.MTPClient.Data.Model.Message;
- using Muchinfo.MTPClient.Data.Quote;
- using tas;
- using Muchinfo.MTPClient.Data.Model.Delivery;
- namespace Muchinfo.MTPClient.Adapter.Abstract
- {
- public abstract class MessageAdapter
- {
- /// <summary>
- /// 登出转换
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract ErrorEntity LogoutRspConvert(object data);
-
- /// <summary>
- /// 成交通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract OrderCompleteArg ComplateNotice(object data);
- /// <summary>
- /// 头寸变化通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract PosChangedNtfModel PosChangedReturnMessage(object data);
- /// <summary>
- /// 市场状态变更通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract MarketStatusChangeNtfModel MarketStatusChangeNtf(object data);
- /// <summary>
- /// 资金变化
- /// </summary>
- /// <param name="data">数据内容</param>
- /// <returns></returns>
- public abstract string ConvertAmountNotice(object data);
- /// <summary>
- /// 投资者公告
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract RiskControl RiskCtrlBltNotice(object data);
- public abstract NoticeMsg NotifyBulletin(object data);
- /// <summary>
- /// 会员风控信息
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract RiskControl RiskCtrlMemberNotice(object data);
- /// <summary>
- /// 会员斩仓
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract RiskControl RiskCtrlMemberBreak(object data);
- /// <summary>
- /// 预埋单转委托
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract PrepostTransferOrder PrepostTransferOrderNtf(object data);
- /// <summary>
- /// 操作变更通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- // public abstract string OperateChangeNotifyAd(object data);
- /// <summary>
- /// 账号变更
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract string AccountChangeNotifyRspNotifyAd(object data);
-
- /// <summary>
- /// 开休市计划通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract List<MarketTypeStatus> MarketStatusChangeNotifyAd(object data);
- /// <summary>
- /// 交收审核通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract DeliveryAuditNtfModel DeliveryReturnMessage(object data);
- /// <summary>
- /// 提货审核通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract OutStoreAuditNtfModel OutStoreAuditReturnMessage(object data);
- /// <summary>
- /// 交割商品到期提货通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract GoodsCloseDateNtfModel GoodsCloseDateReturnMessage(object data);
- /// <summary>
- /// 通用通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract CommonNotifyModel CommonNotifyReturnMessage(object data);
- /// <summary>
- /// 会员风控通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract RiskControlMemberModel RiskControlMemberReturnMessage(object data);
- /// <summary>
- /// 投资者风控通知
- /// </summary>
- /// <param name="data"></param>
- /// <returns></returns>
- public abstract RiskControlInvestorModel RiskControlInvestorReturnMessage(object data);
- /// <summary>
- /// 转换挂牌通知
- /// </summary>
- /// <param name="responeData">响应数据</param>
- /// <returns></returns>
- public abstract ResponeEntity<ListingNoticeModel> ToListingNoticeModel(object responeData);
- /// <summary>
- /// 解释消息头
- /// </summary>
- /// <param name="responeData"></param>
- /// <returns></returns>
- public abstract uint ToMessageHeadFunCode(object responeData);
- /// <summary>
- /// 转换市场结算完成通知
- /// </summary>
- /// <param name="responeData"></param>
- /// <returns></returns>
- public abstract MarketStatusComplete ToMarketStatusRsp(object responeData);
- }
- }
|