using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Txgy.EWS.Client.Models; using Txgy.Microseismic.BaseLib.Common; using Txgy.Microseismic.BaseLib.Entitys; namespace Txgy.EWS.Client.IBLL { public interface ISearchMsEventBLL { int PreSelectCount { get; set; } List GetEvents(DateTime startTime,DateTime endTime,int pageIndex, int perPageCount, float minML, float maxML); MmEventEntity GetEvent(string eventTime); MmEventEntity GetEvent(int eventID); MmEventEntity GetLastEvent(); MmEventEntity GetLastEvent(DateTime deadline); List GetTopEvents(int MaxCnt, int PreCnt); List GetLastNewEvents(int resultCount); List GetEvents(DateTime startTime, DateTime endTime); List GetEvents(DateTime startTime, DateTime endTime, double minML, double maxML); List GetEvents(string QueryStr, SortTarget ssm, int sm, Models.FilterCondition energyFC); bool DownLoadWavedata(string eventTime, string savePath, string saveName, string tableName); void SaveBinaryFile(string fn, byte[] datas); Task QueryAndDownloadDataAsync(int eventID, string savePath, Action callback); Task QueryAndDownloadDataAsync(int eventID, DateTime endTime, string savePath, Action callback); Task StatEventCountAsync(DateTime startTime, DateTime endTime); Task QueryEventByIDAsync(int eventID, string savePath, Action callback); List GetLastEvents(int lastEventID); List GetLastTopEvents(int QueryCount); ValueTask DownloadWaveDataAsync(GridItemEventResult gier, string savePath, Action callback); ValueTask DownloadJsonDataAsync(GridItemEventResult gier, string savePath, Action callback); List GetGridEvents(DateTime startTime, DateTime endTime, double minML, double maxML); } }