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

📄 temperaturesensorlistener.java

📁 这是一个以JAVA编写的程序,本人还没有试过,是一个简单的温度控制系统
💻 JAVA
字号:
package net.sf.dz.event;import net.sf.dz.device.sensor.TemperatureSensor;/** * Temperature sensor status change listener. * * @author Copyright &copy; <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&deg;.      * 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 + -