edu.berkeley.io.context.home
Class TemperatureEnactor
java.lang.Object
context.arch.enactor.Enactor
edu.berkeley.io.context.home.TemperatureEnactor
- public class TemperatureEnactor
- extends Enactor
This is a temperature rule object that monitors all temperature available
temperature widgets and services, and controls the heating and cooling of
a temperature service until is within some distance from a target.
- Author:
- alann
Methods inherited from class context.arch.enactor.Enactor |
addEnactorParameter, addEnactorReference, addListener, fireComponentAdded, fireComponentEvaluated, fireComponentEvaluated, fireComponentRemoved, fireComponentRemoved, fireParameterValueChanged, getAtt, getEnactorParameter, getEnactorParameters, getEnactorReferences, getSubscriptionManager, removeEnactorParameter, removeEnactorReference, removeListener, setSubscriptionManager |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemperatureEnactor
public TemperatureEnactor()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
fireParameterValueChanged
protected void fireParameterValueChanged(EnactorListener listener,
EnactorParameter parameter,
Attributes paramAtts,
java.lang.Object value)
- Override to be notified when parameters change, particularly
temperatureTarget.
- Overrides:
fireParameterValueChanged
in class Enactor
- See Also:
context.arch.situation.Enactor#fireParameterValueChanged(RuleParameter, Attributes, Object)
fireComponentAdded
protected void fireComponentAdded(EnactorListener listener,
EnactorReference rwr,
java.lang.String widgetSubId,
ComponentDescription cd,
Attributes paramAtts)
- Overrides:
fireComponentAdded
in class Enactor
setDefaultTarget
public void setDefaultTarget(float f)
getDefaultTarget
public float getDefaultTarget()