Numerical Modeling of Galactic Cosmic-Ray Proton and Helium Observed by AMS-02 during the Solar Maximum of Solar Cycle 24