Design and Implementation of Real-Time Monitoring Systems for Industrial Control and Automation Using Cyber-Physical Systems