A Unified Fitting of H I and He II Lyα Transmitted Flux of QSO HE 2347–4342 with ΛCDM Hydrodynamic Simulations