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

📄 switchcontainer.java

📁 这是一个以JAVA编写的程序,本人还没有试过,是一个简单的温度控制系统
💻 JAVA
字号:
package net.sf.dz.daemon.onewire;import java.io.IOException;public interface SwitchContainer {    /**     * Get the number of channels this switch provides.     *     * @return number of channels.     */    int getChannelCount();        /**     * Write value.     *     * @param channel Channel to write to.     *     * @param value Value to write.     *     * @exception IOException if there was a problem talking to the device.     */    void write(int channel, boolean value) throws IOException;    /**     * Read channel value.     *     * @param channel Channel to read.     *     * @return Value for the given channel.     *     * @exception IOException if there was a problem talking to the device.     */    boolean read(int channel) throws IOException;        /**     * Reset the switch to default state (all zeros).     *     * @exception IOException if there was a problem talking to the device.     */    void reset() throws IOException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -