Examples of IActuator


Examples of fr.soleil.salsa.entity.IActuator

     * Set the actuator.
     *
     * @param actuator
     */
    public void setActuator(IActuator actuator) {
        IActuator oldValue = baseBean.getActuator();
        baseBean.setActuator(actuator);
        this.firePropertyChange("actuator", oldValue, actuator);
    }
View Full Code Here

Examples of srsim.domain.IActuator

    Simulation simulation = new Simulation(new SystemTimeTimeSource());
    simulation.setResolution(0);
    Room room = new Room();
    HeatingController controller = new HeatingController();
    ISensor sensor = new TemperatureSensor();
    IActuator actuator = new HeatingActuator();
    simulation.addRoom(room);
    room.getLocalContext().setTemperature(20.0D);
    room.getLocalContext().setPreference("targetTemperature", "21.5D");
    controller.attachSensor(sensor);
    controller.attachActuator(actuator);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.