/* Copyright 2000 Charles G. Wright * This software may be distributed under the terms of the * GNU General Public License. * * $Id: CWmonitorable.java,v 1.1 2000-06-15 10:15:07-05 chuckles Exp chuckles $ */ /** This interface allows us to access the getData() method of * classes that can provide data for display. */ public interface CWmonitorable { /** This object has a name. */ String getName(); /** This object has a list of names of fields that can be retrieved. */ String[] getFields(); /** This is the method that retrieves a value. */ double getValue(int month, int day, int hour, int fieldnum); /** This method gets a list of field types (for unit conversion).*/ int[] getFieldTypes(); }