The K-shell radiation of a double gas puff z-pinch with an axial magnetic field