org.drools.examples.jiahvac.control.rules
Class CoolingVentClosedFloorTooHot

java.lang.Object
  extended by org.drools.examples.jiahvac.control.rules.CoolingVentClosedFloorTooHot

public class CoolingVentClosedFloorTooHot
extends java.lang.Object

 

Constructor Summary
CoolingVentClosedFloorTooHot()
           
 
Method Summary
 void consequence(Vent vent)
           
 boolean isNotCoolEnough(Thermometer thermometer, TempuratureControl control)
           
 boolean isPumpCooling(HeatPump pump)
           
 boolean isSameFloor(Vent vent, Thermometer thermometer, HeatPump pump)
           
 boolean isVentClosed(Vent vent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoolingVentClosedFloorTooHot

public CoolingVentClosedFloorTooHot()
Method Detail

isPumpCooling

public boolean isPumpCooling(HeatPump pump)

isVentClosed

public boolean isVentClosed(Vent vent)

isSameFloor

public boolean isSameFloor(Vent vent,
                           Thermometer thermometer,
                           HeatPump pump)

isNotCoolEnough

public boolean isNotCoolEnough(Thermometer thermometer,
                               TempuratureControl control)

consequence

public void consequence(Vent vent)