Design And Simulation Of A Supervisory Control System For Hybrid Manufacturing