FloatCollector.java 774 B

1234567891011121314151617181920212223242526272829303132333435
  1. package de.tu_darmstadt.tk.SmartHomeNetworkSim.core.devices;
  2. /**
  3. * Interface for collection of floats, for example for actuators
  4. *
  5. * @author Andreas T. Meyer-Berg
  6. */
  7. public interface FloatCollector {
  8. // Information Name
  9. /**
  10. * Name of the information that should be collected
  11. * @param name name of the collected information
  12. */
  13. public void setFCinfoName(String name);
  14. /**
  15. * Return the name of the collected information
  16. * @return name of the collected information
  17. */
  18. public String getFCinfoName();
  19. /**
  20. * Return the current value of the collector
  21. * @return value
  22. */
  23. public float getFCval();
  24. /**
  25. * Set the current value of the collector
  26. * @param val new value
  27. */
  28. public void setFCval(float val);
  29. }