//===========================================================================
// Summary  : 
// Filename : WaterAlarmIF.idl
// Author   : 
// Project  : 
// Version  : 
// Created  : 06/28/00
// Modified : 
// Archived : 
//===========================================================================
// Modification History: 
//===========================================================================


#include "DeviceIF.idl"

interface WaterAlarmIF : DeviceIF {

     enum Events {
	  Alarm1On,
	  Alarm1Off,
	  Alarm2On,
	  Alarm2Off,
	  Alarm3On,
	  Alarm3Off,
	  Alarm4On,
	  Alarm4Off
     };

     struct AlarmState {
	  boolean alarm1;
	  boolean alarm2;
	  boolean alarm3;
	  boolean alarm4;
     };

     ////////////////////////////////////////////////////////////
     // Gets the status of all 4 water alarms
     DeviceIF::Status getStatus( out AlarmState state );

     ////////////////////////////////////////////////////////////
     // Gets the status of one of the alarms
     DeviceIF::Status getStatus( in long whichAlarm, out boolean state );

};

