Equivalence and entropy principle with the equilibrium condition for scattering of simple gases on solid and liquid substrates