19 lines
430 B
C#
19 lines
430 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
|
||
|
|
public interface IDataExportService : IService
|
||
|
|
{
|
||
|
|
// 原有方法
|
||
|
|
// bool ExportToUsb(string suggestedFilename);
|
||
|
|
|
||
|
|
// 新增BFI数据导出方法
|
||
|
|
bool ExportHistoryRecords(List<BFITestRecord> records, ExportFormat format = ExportFormat.TXT);
|
||
|
|
|
||
|
|
// 导出状态和权限检查
|
||
|
|
bool CanExport();
|
||
|
|
string GetExportDirectory();
|
||
|
|
bool CheckExportPermissions();
|
||
|
|
string GetLastErrorMessage();
|
||
|
|
}
|
||
|
|
|
||
|
|
|