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

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


   
    public void run() {
        for (int i = 0; i < floors.length; i++) {
            SimThermometer thermometer = floors[i].getThermometer();
            Vent vent = floors[i].getVent();
            HeatPump pump = floors[i].getHeatPump();
           
            double temperature = thermometer.getReading();
            temperature += leakage( temperature );           
           
            switch (pump.getState()) {
            case HEATING:
                temperature += heatingTempuratureDelta( vent, temperature );
                break;
            case COOLING:
                temperature += coolingTempuratureDelta( vent, temperature );
View Full Code Here

TOP

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

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.