| java.lang.Object org.drools.Sensor
Sensor | public class Sensor (Code) | | |
Constructor Summary | |
public | Sensor() | public | Sensor(int temp, int press) |
Sensor | public Sensor(int temp, int press)(Code) | | |
getPressure | public int getPressure()(Code) | | the pressure |
getTemperature | public int getTemperature()(Code) | | the temperature |
setPressure | public void setPressure(int pressure)(Code) | | Parameters: pressure - the pressure to set |
setTemperature | public void setTemperature(int temperature)(Code) | | Parameters: temperature - the temperature to set |
|
|