C2 is a architectural style based on component and message, which supports large-grained software reuse and flexible system assembly, and has good application prospects. On the basis of In-depth study of C2-style, this paper combines the C2 style and widely used three-tier B/S architecture and provides complete analysis and design resolution of Power Quality Alarm System. This system supports voltage sag alarm, comprehensive assessment alarm, monitoring equipment alarm and so on. Alarm forms such as web page tips, email and short message service can be chose. Alarm contents and forms can be flexibly customized. With the C2-style, Power Quality Alarm System has good scalability and flexibility in the distributed deployment. |