/**
 * 数据资源 mock 存储（文件与云路径）
 */
export const MOCK_DATA_FILES = {
  1: [
    {
      id: 101,
      file_name: 'multibeam_raw_001.all',
      file_size: 2936012800,
      source_type: 'upload',
      file_path: '/local/upload/multibeam_raw_001.all',
      create_time: '2024-03-15 11:00:00'
    }
  ],
  6: [
    {
      id: 601,
      file_name: 'seismic_3d_volume.sgy',
      file_size: 45097156608,
      source_type: 'cloud',
      file_path: 's3://geodata-bucket/seismic/qiongdongnan/seismic_3d_volume.sgy',
      create_time: '2024-01-21 09:10:00'
    }
  ]
}

let fileIdSeed = 1000

/**
 * 生成新文件记录 ID
 * @returns {number}
 */
export function nextFileId() {
  fileIdSeed += 1
  return fileIdSeed
}
