export interface WcsReportQuery {
  beginTime?: string;
  endTime?: string;
  taskTypeKey?: string;
  warehouseId?: number;
}

export interface WcsTaskTrendVO {
  statDate: string;
  totalCount: number;
  successCount: number;
  failedCount: number;
}

export interface WcsTaskTypeStatVO {
  taskTypeKey: string;
  taskTypeName: string;
  totalCount: number;
}

export interface WcsErrorTaskVO {
  taskCode: string;
  taskName?: string;
  taskTypeName?: string;
  status: string;
  resultCode?: number;
  errorMessage?: string;
  createtime?: string;
}

export interface WcsTaskStatVO {
  totalCount: number;
  successCount: number;
  failedCount: number;
  runningCount: number;
  pendingCount: number;
  avgDurationSeconds: number;
  trendList: WcsTaskTrendVO[];
  typeList: WcsTaskTypeStatVO[];
  errorTaskList: WcsErrorTaskVO[];
}

export interface WcsLocationUtilizationVO {
  warehouseId: number;
  warehouseCode?: string;
  warehouseName?: string;
  totalCount: number;
  occupiedCount: number;
  emptyCount: number;
  lockedCount: number;
  occupancyRate: number;
}
