📄 temperaturesensorlistener.java
字号:
package net.sf.dz.event;import net.sf.dz.device.sensor.TemperatureSensor;/** * Temperature sensor status change listener. * * @author Copyright © <a href="mailto:vt@freehold.crocodile.org"> Vadim Tkachenko 2002 * @version $Id: TemperatureSensorListener.java,v 1.2 2004/01/20 02:40:34 vtt Exp $ */public interface TemperatureSensorListener { /** * Accept the notification about the fact that the temperature has * changed. * * @param source The sensor whose temperature has changed. * * @param currentTemperature If this parameter is a * <code>java.lang.Double</code>, the current temperature value C°. * Otherwise, the object contains an error condition. Listeners who are * able to parse the error object, should do so, others must accept this * as an indication of the data source being unavailable. */ public void currentTemperatureChanged(TemperatureSensor source, Object currentTemperature);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -