📄 aclistener.java
字号:
package net.sf.dz.event;import net.sf.dz.device.actuator.AC;/** * The A/C unit listener. * * @author Copyright © <a href="mailto:vt@freehold.crocodile.org">Vadim Tkachenko</a> 2002 * @version $Id: ACListener.java,v 1.1 2002/05/06 06:19:22 vtt Exp $ */public interface ACListener { /** * Receive a notification about the change in the mode of operation. * * @param source The A/C unit that produced the notification. * * @param mode Currently selected mode. -1 is cooling, 0 is off, 1 is heating. */ public void modeChanged(AC source, int mode); /** * Receive a notification about the change in the running stage of the * A/C. * * Do not mix this with the A/C mode - the stage will change only in the * direction allowed by the current mode, however, stage 0 means "not * running now", while mode 0 means "OFF and not responding to * commands". * * @param source The A/C unit that produced the notification. * * @param stage The current running stage. 0 means stopped, positive * values mean heating, negative values mean cooling. */ public void stageChanged(AC source, int stage); /** * Receive a notification about the change in the A/C demand. * * @param source The A/C unit that produced the notification. * * @param demand Current A/C demand. */ public void demandChanged(AC source, double demand); /** * Receive a notification about the change in the A/C fan speed. * * @param source The A/C unit that produced the notification. * * @param speed Current A/C fan speed. */ public void fanSpeedChanged(AC source, double speed);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -