Design of A Virtual Laboratory for Automation Control