With the development of automation management, many projects, especially those for large hydropower generation and long distance water diversion and supply, require more advanced automatic safety monitoring systems. Based on the management mechanism ofμC/OS-Ⅱ, a method is described for designing different functions of the monitoring device into different independent while cooperative application tasks. The framework of products based onμC/OS-Ⅱ is compact and different tasks can run in parallel. It is characterized by convenient application program updating, high operation efficiency and high reliability. The monitoring unit based onμC/OS-Ⅱ can satisfy the automation application requirements of large-scale and complicated engineering projects.