📄 thermostatlistener.java
字号:
package net.sf.dz.event;import net.sf.dz.device.model.Thermostat;/** * The thermostat listener. * * @author Copyright © <a href="mailto:vt@freehold.crocodile.org">Vadim Tkachenko</a> 2002 * @version $Id: ThermostatListener.java,v 1.3 2004/01/20 02:40:34 vtt Exp $ */public interface ThermostatListener { /** * Accept the notification about the change of the controller output. * * @param source The thermostat whose controller output has changed. * * @param signal Current value of the controller output, or the error * condition object. */ public void controlSignalChanged(Thermostat source, Object signal); /** * Accept the notification about change in 'enabled' state * * @param source The thermostat whose 'enabled' state has changed. * * @param enabled New value. */ public void enabledStateChanged(Thermostat source, boolean enabled); /** * Accept the notification about change in 'voting' state * * @param source The thermostat whose 'voting' state has changed. * * @param voting New value. */ public void votingStateChanged(Thermostat source, boolean voting); /** * Accept the notification about change in 'hold' state * * @param source The thermostat whose 'hold' state has changed. * * @param hold New value. */ public void holdStateChanged(Thermostat source, boolean hold);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -