export default {


  // 黑臭水体
  toBlackSmellyWaterObjData(excelData,monitorTime){
    return excelData.map(item=>{
      const row = {
        monitorTime,
        name: item[1],
        evaluationResults: item[2],
        transparency: item[3],
        dissolvedOxygen: item[4],
        oxidationReductionPotential: item[5],
        ammonia: item[6],
        remark: item[7],
      };
      return row;
    })
  },
  // 城市内河
  toCityInnerRiverObjData(excelData,monitorTime){
    return excelData.map(item=>{
      const row = {
        monitorTime,
        pointName: item[0],
        waterDepth: item[1],
        grooveWidth: item[2],
        flowRate: item[3],
        flow: item[4],
        waterTemperature: item[5],
        ph: item[6],
        dissolvedOxygen: item[7],
        transparency: item[8],
        oxidationReductionPotential: item[9],
        suspendedMatter: item[10],
        totalHardnessCaco3: item[11],
        permanganateIndex: item[12],
        fiveDayBod: item[13],
        cod: item[14],
        ammonia: item[15],

        totalNitrogen: item[16],
        nitrateNitrogen: item[17],
        volatilePhenol: item[18],
        cyanide: item[19],
        as: item[20],
        hg: item[21],
        cr6: item[22],
        pb: item[23],
        cd: item[24],
        petro: item[25],
        conductivity: item[26],
        cu: item[27],
        zn: item[28],
        fluoride: item[29],
        s: item[30],
        totalPhosphorus: item[31],
        anSaa: item[32],
        se: item[33],
        fecalColiforms: item[34],
        chloride: item[35],
        totalCr: item[36],
        longitude: item[37],
        latitude: item[38],
        phosphate: item[39],
        remark: item[40],
      };
      return row;
    })
  },


}
