----------------------------------------------- -- Author: Sune Wolff - 20022462 -- Created: 20/4 - 2008 -- Updated: -- Description: World class in the HomeAutomation project -----------------------------------------------
-- -- class definition -- class World
-- -- instance variables -- instancevariables
publicstatic env : [Environment] := nil;
-- -- Operations definition section -- operations
public World: () ==> World
World() ==
(env := new Environment("scenario.txt");
HA`Host.AddNode(HA`TempNode.GetID(),HA`TempNode.GetType());
HA`Host.AddNode(HA`HumidNode.GetID(),HA`HumidNode.GetType());
HA`Host.AddNode(HA`ThermNode.GetID(),HA`ThermNode.GetType());
HA`Host.AddNode(HA`WinNode.GetID(),HA`WinNode.GetType());
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.