export interface DeviceList { gboxDevices: Device[]; ysyDevices: Device[]; } export interface Device { id: string; name: string; } export interface DataColectionPlanListReq { tenantId?: string; projectId?: string; sourceType?: string; deviceId?: string; } export interface DataColectionPlanList { id: string; taskName: string; createdAt: number; tenantId: string; tenantName: string; projectId: string; projectName: string; deviceIds: string[]; deviceNames: string[]; timeRanges: { fromTime: string; toTime: string; }[]; sourceType: string; startTime: number; endTime: number; on: boolean; isDeleted: boolean; } export interface DataColectionPlanReq { id?: string; taskName: string; tenantId: string; projectId: string; deviceIds: string[]; timeRanges: { fromTime: string; toTime: string; }[]; sourceType: string; startTime: string; endTime: string; on?: boolean; }