| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- import type { ResPage } from '../interface'
- export interface BatchDownloadFilter {
- sn?: string
- type?: string
- }
- export interface BatchDownloadItemPage extends ResPage<BatchDownloadItem[]> {}
- export type BatchDownloadItem = BatchDownloadRealtimeData | BatchDownloadHistoryData
- export interface BatchDownloadData {
- id: string
- snList: string[]
- result: string // 任务处理结果
- }
- export interface BatchDownloadRealtimeData extends BatchDownloadData {
- type: 'realtime'
- options: BatchDownloadRealtimeOptions
- }
- export interface BatchDownloadRealtimeOptions {
- statusInfo: boolean // 站点当前状态
- powerFlow: boolean // 当前状态功率流截图
- eventAlarm: boolean // 当前状态事件和告警
- configInfo: {
- // 站点设置数据
- gridProfile: boolean // 并网合规配置
- accessories: boolean // 附件配置
- systemParam: boolean // 系统参数
- devPara: {
- // 设备参数VID/PID/CID
- emsVid: number[]
- emsPid: number[]
- peCid: number[]
- bmsVid: number[]
- bmsPid: number[]
- }
- }
- }
- export interface BatchDownloadHistoryData extends BatchDownloadData {
- type: 'history'
- options: BatchDownloadHistoryOptions
- }
- export interface BatchDownloadHistoryOptions {
- powerFlow: boolean // 功率流截图
- energyStatistics: boolean // 能量数据统计
- mpttLog: string[] // 运行通讯日志
- eventAlarm: boolean // 事件和告警数据
- emsLog: string[] // EMS日志
- emsModuleLog: string[] // EMS模块日志
- faultRecord: boolean // 故障录波
- updateRecord: boolean // 升级记录
- }
|