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

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

public class HeatingVentClosedFloorTooCold
extends java.lang.Object

 

Constructor Summary
HeatingVentClosedFloorTooCold()
           
 
Method Summary
 void consequence(Vent vent)
           
 boolean isNotWarmEnough(Thermometer thermometer, TempuratureControl control)
           
 boolean isPumpHeating(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

HeatingVentClosedFloorTooCold

public HeatingVentClosedFloorTooCold()
Method Detail

isPumpHeating

public boolean isPumpHeating(HeatPump pump)

isVentClosed

public boolean isVentClosed(Vent vent)

isSameFloor

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

isNotWarmEnough

public boolean isNotWarmEnough(Thermometer thermometer,
                               TempuratureControl control)

consequence

public void consequence(Vent vent)