Posts Tagged ‘codice sorgente’

Domotica KNX/EIB Programmazione Client in Java – Parte 2 Il Codice

dicembre 22, 2008  |   Domotica   |     |   0 Comment

Domotica KNX/EIB Programmazione Client in Java – Parte 2 Il Codice

Il Codice del Progetto EIB, un semplice client per la gestione di quattro componenti, configurati su EIB. La parte del codice in cui si lavora con Calimero, le librerie per la gestione KNX/EIB. tunnel = new CEMI_Connection( new InetSocketAddress(InetAddress.getByName("IP_EIB"), EIBNETIP_Constants.EIBNETIP_PORT_NUMBER), // standard new TunnellingConnectionType()); [ad#468x60] import java.awt.Container; import java.awt.GridLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.Color; import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JFrame; import javax.swing.JPanel; import java.net.*; import java.util.EventObject; import tuwien.auto.*; import tuwien.auto.eibxlator.*; import tuwien.auto.eicl.*; import tuwien.auto.eicl.util.*; import tuwien.auto.eicl.struct.cemi.*; import tuwien.auto.eicl.struct.eibnetip.util.*; /* * A Universal Web-Based Visualization Tool for EIB Applications * * Prozessrechentechnik Labor * Giovanni Coppa * Prof. Dr.-Ing. Ulrich Klages * University Wolfenbüttel * *This program is free software; you can redistribute it and/or *modify it under the terms of the GNU General Public License *as published by the Free Software Foundation; either version 2 *of the License, or (at your option) any later version. *This program is distributed in the hope that it will be useful, *but WITHOUT ANY WARRANTY; without even the implied ...