Package org.drools.spring.examples.jiahvac.model

Examples of org.drools.spring.examples.jiahvac.model.Floor


    }

    private void renderFloors() {
        Floor[] floors = simulator.getFloors();
        for (int i = 0; i < floors.length; i++) {
            Floor floor = floors[i];
            JLabel label = labels[i];
            label.setText(String.format(
                    "%2d) %3.2f - pump-%1d %-8s, vent %-8s",
                    floor.getNumber()+1,
                    floor.getThermometer().getReading(),
                    floor.getHeatPump().getId(),
                    floor.getHeatPump().getState(),
                    floor.getVent().getState()));
        }
    }
View Full Code Here

TOP

Related Classes of org.drools.spring.examples.jiahvac.model.Floor

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.