Package de.mnl.srcpd4cu.util

Examples of de.mnl.srcpd4cu.util.DefaultBus


    public Bus[] getBuses(int firstBusNumber) {
        if (buses != null) {
            return buses;
        }
        buses = new Bus[1];
        buses[0] = new DefaultBus(firstBusNumber);
        DefaultDeviceGroup dg = DefaultDeviceGroup
            .newDescriptionDeviceGroup(buses[0]);
        new DescriptionDevice(dg);
        dg = DefaultDeviceGroup.newPowerGroup(buses[0]);
        new PowerDevice(dg);
View Full Code Here


     *
     * @param configFileUrl the URL of the configuration file
     */
    public ServerDevice(URL configFileUrl) {
        // create device group SERVER and bus 0 on construction
        super(DefaultDeviceGroup.newServerGroup(new DefaultBus(0)));
        buses.add(getDeviceGroup().getBus());
        addStateChangeListener(this);
        // device group DESCRIPTION
        DeviceGroup dg = DefaultDeviceGroup
            .newDescriptionDeviceGroup(buses.get(0));
View Full Code Here

TOP

Related Classes of de.mnl.srcpd4cu.util.DefaultBus

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.