using Muchinfo.MTPClient.Data.Enums; using Muchinfo.MTPClient.Data.Model; using Muchinfo.MTPClient.Data.Model.Account; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Muchinfo.MTPClient.Data; using Muchinfo.MTPClient.Data.Model.Message; namespace Muchinfo.MTPClient.IService { public interface IAnnouncementService { /// /// 公告 /// /// /// 公告/消息集合(已倒序排序) ObservableCollection QueryClientBM(DateTime startDate, DateTime endDate, string title, MsgTypeEnum msgTypeEnum, TradeAccount tradeAccount); /// /// 修改公告状态 /// /// /// /// bool ModifyBulletinNotifyStatus(TradeAccount tradeAccount, Announcement announcement); /// /// 交易客户端消息中心查询 /// /// /// /// void QueryClientBM(QueryClientBMParam clientBMPar, Action> successAction, Action errorAction); /// /// 查询通知信息NEW /// /// /// void QueryNoticeMsg(List queryCommonParams, Action> successAction, Action errorAction, PageInfo pageInfo); /// /// 查询公告信息NEW /// /// /// void QueryNotifyMsg(List queryCommonParams, Action> successAction, Action errorAction, PageInfo pageInfo); /// /// 更新通知信息状态NEW /// /// /// void UpdateNoticeMsgStatus(TradeAccount tradeAccount, NoticeMsg notice, Action successAction, Action errorAction); /// /// 更新公告信息状态NEW /// /// /// void UpdateNotifyMsgStatus(TradeAccount tradeAccount, NoticeMsg notice, Action successAction, Action errorAction); /// /// 查询通知信息NEW /// /// /// void QueryNoticeCount(uint accountId, Action> successAction, Action errorAction ); } }