1 package org.wcb.autohome.interfaces; 2 3 import java.util.Calendar; 4 import java.io.Serializable; 5 6 /*** 7 * Copyright (C) 1999 Walter Bogaardt 8 * 9 * This library is free software; you can redistribute it and/or 10 * modify it under the terms of the GNU Lesser General Public 11 * License as published by the Free Software Foundation; either 12 * version 2 of the License, or (at your option) any later version. 13 * 14 * This library is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * Lesser General Public License for more details. 18 * 19 * You should have received a copy of the GNU Lesser General Public 20 * License along with this library; if not, write to the Free Software 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 22 * 23 * Project: Alice X10 Home Automation 24 * Filename: $Id: IX10MonitorEvent.java,v 1.6 2004/02/28 06:06:40 wbogaardt Exp $<BR> 25 * Abstract: Used to display monitoring information on the monitor panel and run the 26 * displays the events table. 27 * 28 * $Log: IX10MonitorEvent.java,v $ 29 * Revision 1.6 2004/02/28 06:06:40 wbogaardt 30 * *** empty log message *** 31 * 32 * Revision 1.5 2004/01/19 22:35:38 wbogaardt 33 * added fixes to runing events and emails so they work and added a testing of a monitored event through the table popup on a right mouse click. 34 * 35 * Revision 1.4 2004/01/17 07:21:17 wbogaardt 36 * added serialization to run events and allow monitoring of these events to the file system to reload later 37 * 38 * Revision 1.3 2004/01/17 06:21:58 wbogaardt 39 * added new Run event interfaces 40 * 41 * Revision 1.2 2004/01/16 22:57:41 wbogaardt 42 * Improved display layout of module panel and added basic monitoring panel 43 * CV: ---------------------------------------------------------------------- 44 * 45 */ 46 public interface IX10MonitorEvent extends Serializable { 47 48 public void setMonitoringModule(IX10Module iModule); 49 50 public void setDescription(String sDesc); 51 52 public void setLocation(String sLoc); 53 54 public void setTimeDetected(Calendar cal); 55 56 public void setStatus(String sStat); 57 58 public void setRunEvent(IRunEvent[] iEvent); 59 60 public IX10Module getMonitoringModule(); 61 62 public String getDescription(); 63 64 public String getLocation(); 65 66 public Calendar getTimeDetected(); 67 68 public String getStatus(); 69 70 public IRunEvent[] getRunEvent(); 71 72 }