import React from 'react'; import RealDrpPop from './RealDrpPop'; import RealSkPop from './RealSkPop'; import RealHDPop from './RealHDPop'; import BridgePop from './DcpjPop/BridgePop'; import CulvertPop from './DcpjPop/CulvertPop'; import PlacementPop from './DcpjPop/PlacementPop'; import FlrvvlgPop from './DcpjPop/FlrvvlgPop'; import BsnssinfoPop from './DcpjPop/BsnssinfoPop'; import DanadPop from './DcpjPop/DanadPop'; import WbrinfoPop from './DcpjPop/WbrinfoPop'; import SwstinfoPop from './DcpjPop/SwstinfoPop'; import SrstinfoPop from './DcpjPop/SrstinfoPop'; import StinfoPop from './DcpjPop/StinfoPop'; import DaminfoPop from './DcpjPop/DaminfoPop'; import SluicePop from './DcpjPop/SluicePop'; import DikePop from './DcpjPop/DikePop'; import WataPop from './DcpjPop/WataPop'; import WataUPop from './DcpjPop/WataUPop'; import AdcdPop from './AdcdPop'; import PicStPop from './PicStPop'; import TransferPop from './DcpjPop/TransferPop'; import GqZzPop from './GqZzPop'; import GqBzPop from './GqBzPop'; import SzPop from './SzPop' import SqPop from './SqPop'; import LlqdPop from './LlqdPop'; import LlsbPop from './LlsbPop'; import ScjcPop from './ScJcPop'; export const InfoPopNames = { RealSkPop: 'RealSkPop', RealHDPop: 'RealHDPop', RealDrpPop: 'RealDrpPop', PicStPop: 'PicStPop', }; export const InfoPops = ({ type, properties, dispatch }) => { console.log(type, properties); if (type === InfoPopNames.RealDrpPop) { return } else if (type === InfoPopNames.RealHDPop) { return } else if (type === InfoPopNames.RealSkPop) { return } else if (type === InfoPopNames.PicStPop) { return } else if (type === 'bridge') { return } else if (type === 'culvert') { return } else if (type === 'sluice') { return } else if (type === 'daminfo') { return } else if (type === 'stinfo') { return } else if (type === 'srstinfo') { return } else if (type === 'swstinfo') { return } else if (type === 'wbrinfo') { return } else if (type === 'placement') { return } else if (type === 'transfer') { return } else if (type === 'flrvvlg') { return } else if (type === 'bsnssinfo') { return } else if (type === 'danad') { return } else if (type === 'dike') { return } else if (type === 'wata') { return } else if (type === 'watau') { return } else if (type === 'adcd') { return }else if (type === 'sz') { return }else if (type === 'bz') { return }else if (type === '水质站') { return }else if (type === '墒情站') { return }else if (type === '渠道流量站') { return }else if (type === '流量水表站') { return }else if (type === '监测站') { return } return null; }