📄 thermostatcontroller.java
字号:
package net.sf.dz.device.model;/** * The virtual thermostat controller. * * <p> * * It is an interface to allow the adapters to be implemented - in * particular, for remote access. * * @author Copyright © <a href="mailto:vt@freehold.crocodile.org">Vadim Tkachenko</a> 2001-2002 * @version $Id: ThermostatController.java,v 1.4 2003/12/28 05:37:19 vtt Exp $ */public interface ThermostatController { /** * Enable or disable this thermostat. * * If the thermostat is disabled, the zone it controls is considered * shut off - it will always issue a "happy" signal. However, it will * participate in excessive pressure relief, but this has nothing to do * with the thermostat per se - it is controlled by the damper * controller. * * @param enabled Enabled state. <code>false</code> means the zone * controlled by this thermostat is shut off. */ public void setOn(boolean enabled); /** * Put this thermostat on hold. * * If the thermostat is on hold, the scheduler will not change the * setpoint for it when the new period starts. Actually, this is rather * an informative - the scheduler will make the decision, however, * logically, it belongs to the thermostat controller, so it was placed * here. * * @param hold Hold state. <code>true</code> means the thermostat is on * hold. */ public void setHold(boolean hold); /** * Make this thermostat voting or non-voting. * * If the thermostat is not voting, it will not cause the HVAC unit to * be switched on. However, the HVAC unit will not be shut off until * this zone is satisfied. */ public void setVoting(boolean voting);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -