Digital Simulation of Sampling Control System