⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit.java

📁 这是一个以JAVA编写的程序,本人还没有试过,是一个简单的温度控制系统
💻 JAVA
字号:
package net.sf.dz.device.model;import java.util.Iterator;import org.freehold.jukebox.conf.Configurable;import net.sf.dz.device.actuator.AC;import net.sf.dz.event.ThermostatListener;import net.sf.dz.scheduler.Schedule;/** * Zoning unit. * * Consists of the HVAC unit, zones, zone controller, damper controller and * a scheduler. * * <p> * * It is an interface to allow the adapters to be implemented - in * particular, for remote access. Also, it provides an entry point for * introspection. * * @author Copyright &copy; <a href="mailto:vt@freehold.crocodile.org">Vadim Tkachenko</a> 2001-2002 * @version $Id: Unit.java,v 1.7 2004/01/20 02:40:34 vtt Exp $ */public interface Unit extends Configurable, ThermostatListener {    public AC getAC();        /**     * Get the name of the unit.     */    public String getName();        public DamperController getDamperController();        /**     * Get the iterator on the zones that belong to this unit.     *     * Each element of the iterator is a zone, represented by the {@link     * net.sf.dz.device.model.Thermostat thermostat}. The other part of the     * zone, the {@link net.sf.dz.device.actuator.Damper damper}, can be     * resolved through the {@link net.sf.dz.device.model.DamperController     * damper controller} introspection.     *     * @return Iterator on the zones that belong to this unit.     */    public Iterator iterator();        /**     * Get the total number of zones for this unit.     */    public int getZoneCount();        /**     * Get the schedule for the zone.     *     * @param ts Thermostat for the zone to get the schedule for.     *     * @return The schedule.     */    public Schedule getSchedule(Thermostat ts);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -