Package alarmserver
[hide private]
[frames] | no frames]

Source Code for Package alarmserver

 1  """ 
 2  This package provides an AlarmServer class which is able to handle 
 3  alarms. It is intended for HMI software where alarm handling is often 
 4  necessary. 
 5   
 6  The following features are provided: 
 7      - defining alarms with numbers and alarm texts 
 8      - alarms are handled and identified by their alarm number 
 9      - alarms can come and leave 
10      - alarms can be acknowledged and cleared by the user 
11   
12  In addition to the basic AlarmServer class there is an AlarmServerModel 
13  class which implements the model/view pattern used by the Qt framework. 
14  So this class can be used as a model for QTableView or QListView. 
15  """ 
16   
17  from alarmserver import AlarmServer, Alarm, AlarmWord 
18