using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseServices; using WIDESEAWCS_Model.Models; namespace WIDESEAWCS_ISystemServices { public interface ISys_LogService : IService { void ScheduleDatabaseMaintenance(); void DeleteOldLogs(); void CheckAndManageFileSize(); WebResponseContent GetLogList(); WebResponseContent GetLogData(GetLogParm parm); } #region 实体类 public class DirInfo { /// /// 当前路径 /// public string dirPath { get; set; } /// /// 当前名称 /// public string dirName { get; set; } /// /// 子文件 /// public List files { get; set; } /// /// 子文件夹 /// public List dirs { get; set; } } public class FileDataInfo { public string filePath { get; set; } public string fileName { get; set; } public long fileSize { get; set; } } public class GetLogParm { /// /// 文件地址 /// public string path; /// /// 读取进度 /// public float percent; /// /// 最大读取大小 /// public double maxsize_KB = 20; /// /// 当前起始位置 /// public long topStartPos = 0; } #endregion }