let mapList = [
  //1-3区mapComponent-map-1-3
  //1区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_1,
    floorName:'1区',
    list:[
      {
        roomNumName:'A01',
      },
      {
        roomNumName:'A02',
      },
      {
        roomNumName:'A03',
      },
      {
        roomNumName:'A04',
      },
      {
        roomNumName:'A05',
      },
      {
        roomNumName:'A06',
      },
      {
        roomNumName:'A07',
      },
      {
        roomNumName:'A08',
      },
      {
        roomNumName:'A09',
      },
      {
        roomNumName:'A10',
      },
      {
        roomNumName:'A11',
      },
      {
        roomNumName:'B01',
      },
      {
        roomNumName:'B02',
      },
      {
        roomNumName:'B03',
      },
      {
        roomNumName:'B04',
      },
      {
        roomNumName:'B05',
      },
      {
        roomNumName:'B06',
      },
      {
        roomNumName:'B07',
      },
      {
        roomNumName:'B08',
      },
    ],
  },
  //2区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_2,
    floorName:'2区',
    list:[
      {
        roomNumName:'C01',
      },
      {
        roomNumName:'C02',
      },
      {
        roomNumName:'C03',
      },
      {
        roomNumName:'C04',
      },
      {
        roomNumName:'C05',
      },
      {
        roomNumName:'C06',
      },
      {
        roomNumName:'C07',
      },
      {
        roomNumName:'C08',
      },
      {
        roomNumName:'C09',
      },
      {
        roomNumName:'C10',
      },
      {
        roomNumName:'C11',
      },
      {
        roomNumName:'D01',
      },
      {
        roomNumName:'D02',
      },
      {
        roomNumName:'D03',
      },
      {
        roomNumName:'D04',
      },
      {
        roomNumName:'D05',
      },
      {
        roomNumName:'D06',
      },
      {
        roomNumName:'D07',
      },
      {
        roomNumName:'D08',
      },
    ],
  },
  //3区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_3,
    floorName:'3区',
    list:[
      {
        roomNumName:'E01',
      },
      {
        roomNumName:'E02',
      },
      {
        roomNumName:'E03',
      },
      {
        roomNumName:'E04',
      },
      {
        roomNumName:'E05',
      },
      {
        roomNumName:'E06',
      },
      {
        roomNumName:'E07',
      },
      {
        roomNumName:'E08',
      },
      {
        roomNumName:'E09',
      },
      {
        roomNumName:'E10',
      },
      {
        roomNumName:'E11',
      },
      {
        roomNumName:'F01',
      },
      {
        roomNumName:'F02',
      },
      {
        roomNumName:'F03',
      },
      {
        roomNumName:'F04',
      },
      {
        roomNumName:'F05',
      },
      {
        roomNumName:'F06',
      },
      {
        roomNumName:'F07',
      },
      {
        roomNumName:'F08',
      },
    ],
  },
  //4-5区mapComponent-map-4-5
  //4区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_4,
    floorName:'4区',
    list:[
      {
        roomNumName:'G01',
      },
      {
        roomNumName:'G02',
      },
      {
        roomNumName:'G03',
      },
      {
        roomNumName:'G04',
      },
      {
        roomNumName:'G05',
      },
      {
        roomNumName:'G06',
      },
      {
        roomNumName:'G07',
      },
      {
        roomNumName:'G08',
      },
      {
        roomNumName:'G09',
      },
      {
        roomNumName:'H01',
      },
      {
        roomNumName:'H02',
      },
      {
        roomNumName:'H03',
      },
      {
        roomNumName:'H04',
      },
      {
        roomNumName:'H05',
      },
      {
        roomNumName:'H06',
      },
      {
        roomNumName:'H07',
      },
      {
        roomNumName:'H08',
      },
      {
        roomNumName:'H09',
      },
    ],
  },
  //5区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_5,
    floorName:'5区',
    list:[
      {
        roomNumName:'I01',
      },
      {
        roomNumName:'I02',
      },
      {
        roomNumName:'I03',
      },
      {
        roomNumName:'I04',
      },
      {
        roomNumName:'I05',
      },
      {
        roomNumName:'I06',
      },
      {
        roomNumName:'I07',
      },
      {
        roomNumName:'I08',
      },
      {
        roomNumName:'I09',
      },
      {
        roomNumName:'J01',
      },
      {
        roomNumName:'J02',
      },
      {
        roomNumName:'J03',
      },
      {
        roomNumName:'J04',
      },
      {
        roomNumName:'J05',
      },
      {
        roomNumName:'J06',
      },
      {
        roomNumName:'J07',
      },
      {
        roomNumName:'J08',
      },
      {
        roomNumName:'J09',
      },
    ],
  },
  //6-7区mapComponent-map-6-7
  //6区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_6,
    floorName:'6区',
    list:[
      {
        roomNumName:'K01',
      },
      {
        roomNumName:'K02',
      },
      {
        roomNumName:'K03',
      },
      {
        roomNumName:'K04',
      },
      {
        roomNumName:'K05',
      },
      {
        roomNumName:'K06',
      },
      {
        roomNumName:'K07',
      },
      {
        roomNumName:'K08',
      },
      {
        roomNumName:'K09',
      },
      {
        roomNumName:'L01',
      },
      {
        roomNumName:'L02',
      },
      {
        roomNumName:'L03',
      },
      {
        roomNumName:'L04',
      },
      {
        roomNumName:'L05',
      },
      {
        roomNumName:'L06',
      },
      {
        roomNumName:'L07',
      },
    ],
  },
  //7区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_7,
    floorName:'7区',
    list:[
      {
        roomNumName:'M01',
      },
      {
        roomNumName:'M02',
      },
      {
        roomNumName:'M03',
      },
      {
        roomNumName:'M04',
      },
      {
        roomNumName:'M05',
      },
      {
        roomNumName:'M06',
      },
      {
        roomNumName:'M07',
      },
      {
        roomNumName:'M08',
      },
      {
        roomNumName:'M09',
      },
      {
        roomNumName:'N01',
      },
      {
        roomNumName:'N02',
      },
      {
        roomNumName:'N03',
      },
      {
        roomNumName:'N04',
      },
      {
        roomNumName:'N05',
      },
      {
        roomNumName:'N06',
      },
      {
        roomNumName:'N07',
      },
    ],
  },
  //8-10区mapComponent-map-8-10
  //8区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_8,
    floorName:'8区',
    list:[
      {
        roomNumName:'O01',
      },
      {
        roomNumName:'O02',
      },
      {
        roomNumName:'O03',
      },
      {
        roomNumName:'O04',
      },
      {
        roomNumName:'O05',
      },
      {
        roomNumName:'O06',
      },
      {
        roomNumName:'O07',
      },
      {
        roomNumName:'O08',
      },
      {
        roomNumName:'O09',
      },
      {
        roomNumName:'O10',
      },
      {
        roomNumName:'P01',
      },
      {
        roomNumName:'P02',
      },
      {
        roomNumName:'P03',
      },
      {
        roomNumName:'P04',
      },
      {
        roomNumName:'P05',
      },
      {
        roomNumName:'P06',
      },
      {
        roomNumName:'P07',
      },
      {
        roomNumName:'P08',
      },
    ],
  },
  //9区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_9,
    floorName:'9区',
    list:[
      {
        roomNumName:'Q01',
      },
      {
        roomNumName:'Q02',
      },
      {
        roomNumName:'Q03',
      },
      {
        roomNumName:'Q04',
      },
      {
        roomNumName:'Q05',
      },
      {
        roomNumName:'Q06',
      },
      {
        roomNumName:'Q07',
      },
      {
        roomNumName:'Q08',
      },
      {
        roomNumName:'Q09',
      },
      {
        roomNumName:'Q10',
      },
      {
        roomNumName:'R01',
      },
      {
        roomNumName:'R02',
      },
      {
        roomNumName:'R03',
      },
      {
        roomNumName:'R04',
      },
      {
        roomNumName:'R05',
      },
      {
        roomNumName:'R06',
      },
      {
        roomNumName:'R07',
      },
      {
        roomNumName:'R08',
      },
    ],
  },
  //10区
  {
    floorId:process.env.VUE_APP_FLOOR_ID_10,
    floorName:'10区',
    list:[
      {
        roomNumName:'S01',
      },
      {
        roomNumName:'S02',
      },
      {
        roomNumName:'S03',
      },
      {
        roomNumName:'S04',
      },
      {
        roomNumName:'S05',
      },
      {
        roomNumName:'S06',
      },
      {
        roomNumName:'S07',
      },
      {
        roomNumName:'S08',
      },
      {
        roomNumName:'S09',
      },
      {
        roomNumName:'S10',
      },
      {
        roomNumName:'T01',
      },
      {
        roomNumName:'T02',
      },
      {
        roomNumName:'T03',
      },
      {
        roomNumName:'T04',
      },
      {
        roomNumName:'T05',
      },
      {
        roomNumName:'T06',
      },
      {
        roomNumName:'T07',
      },
      {
        roomNumName:'T08',
      },
    ],
  },
]

export function getFloorMap(floorId) {
  let mapData = {};
  mapList.forEach((item)=>{
    if(item.floorId == floorId){
      mapData = JSON.parse(JSON.stringify(item))
    }
  })
  return mapData
}
