private void convertLocationMap(Receptions source, String newLocationNo) {
   String sourceLocationNo = source.getLocationNo();
   Tenanter tenant = tenanterMap.get(newLocationNo);
   locationConvertMap.put(sourceLocationNo, newLocationNo);
   List<String> locationNoList = new ArrayList<String>(source.getLocationNoSet());
   for (String locationNo : locationNoList) {
     if (!locationConvertMap.containsKey(locationNo)) {
       locationConvertMap.put(locationNo, tenant.getLocationNo2());
     }
   }
 }
 private void arrangeSecall(List<Secalls> secallList) {
   Map<String, Secalls> secallMap = new HashMap<String, Secalls>(secallList.size());
   for (Secalls secall : secallList) {
     String newLocationNo = meterIdMap.get(secall.getMeterId());
     Cisuser newCisuser = cisuserMap.get(newLocationNo);
     String newMeterId = getSyaban(newCisuser.getGasmtr().getSyabanNo());
     Tenanter tenanter = tenanterMap.get(newLocationNo);
     String newDialNo = tenanter.getDialNo();
     String newNcuManagementId = tenanter.getNcuManagementNo();
     secall.arrange(newDialNo, newNcuManagementId, newMeterId);
     String key = secall.getCommunicationEndTime();
     if (!secallMap.containsKey(key)) secallMap.put(key, secall);
   }
   secallList.clear();
   secallList.addAll(secallMap.values());
 }
 private void arrangeEquipment(List<Equipments> equipmentList, String newLocationNo) {
   Tenanter tenanter = tenanterMap.get(newLocationNo);
   for (Equipments equipment : equipmentList) {
     Long newEquipmentNo = newEquipmentNo(equipment);
     String locationNo = newlocationNo(equipment);
     equipment.arrange(newEquipmentNo, locationNo);
     List<CommunicationLines> lineList = equipment.getCommunicationLineList();
     if (lineList == null) continue;
     for (CommunicationLines line : lineList) {
       line.arrange(newEquipmentNo, tenanter.getDialNo());
     }
   }
   // NCU
   for (Equipments equipment : equipmentList) {
     if ("10".equals(equipment.getEquipmentDiv())) {
       equipment.arrangeForNcu(tenanter.getNcuProductNo(), tenanter.getNcuManagementNo());
     }
   }
   // GasMter
   for (Equipments equipment : equipmentList) {
     if ("50".equals(equipment.getEquipmentDiv())) {
       equipment.arrangeForNormal(equipmentNoCovertMap.get(equipment.getNcuEquipmentNo()));
     }
   }
   // Wire
   for (Equipments equipment : equipmentList) {
     String locationNo = newlocationNo(equipment);
     if ("40".equals(equipment.getEquipmentDiv())) {
       equipment.arrangeForNormal(equipmentNoCovertMap.get(equipment.getNcuEquipmentNo()));
       if (newLocationNo.equals(locationNo)) {
         equipment.arrangeForNcu(tenanter.getWireProductNo1(), tenanter.getWireManagementNo1());
       } else {
         equipment.arrangeForNcu(tenanter.getWireProductNo2(), tenanter.getWireManagementNo2());
       }
     }
   }
 }