Package de.dermoba.srcp.devices

Examples of de.dermoba.srcp.devices.GA


            JButton button = new JButton("" + i);
            buttonPanel.add(button);
            button.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    int address = Integer.parseInt(e.getActionCommand());
                    GA ga = new GA(session);
                    ga.setAddress(address);
                    ga.setBus(1);
                    try {
                        ga.set(0, 1, 1000);
                    } catch (SRCPException e1) {
                        ExceptionProcessor.getInstance().processException(e1);
                    }
                }
            });
View Full Code Here

TOP

Related Classes of de.dermoba.srcp.devices.GA

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.