摘要
在DCS中,报警分为两种,数据报謦和设备报警。其中设备报警是级别较高的一种报警情况。本文主要是针对DCS系统的设备报警设计了一个服务器,随时接受来自DCS底层硬件设备的报警信息的传送。本文采用动态链接库和消息响应机制来实现了服务器消息的接收,分析以及报警窗口的显示和报警音乐的播放。事实证明它能及时的提醒报警人员对发生的设备报警进行处理,避免了重大损失。
In the DCS system, the alarm messages are divided into two types. One of them is data alarm messages, and another is the Equipment alarm messages. Equipment alarm has the priority level. The passage mainly tells the design of the Equipment Server. It is waiting for the alarm messages those are send by the equipment, it mainly uses the Dynamic Link Library and message response mechanism to receive messages, to analyze messages, to show the window of the alarm messages and to play the alarm music. The fact proved that the method can avoid the Monitoring staff, then they will solve the problem in time. It can reduce the loss.