public RoomieThread(RoomieEngine engine, string name, HierarchicalVariableScope parentScope) { Engine = engine; Id = Guid.NewGuid().ToString(); Name = name; _interpreter = new RoomieCommandInterpreter(this, parentScope ?? Engine.GlobalScope); _workQueue = new ParallelWorkQueue(); }
public ZWaveNetwork(HomeAutomationNetworkContext context) : base(context) { ZWaveController = new global::ControlThink.ZWave.ZWaveController(); this.Devices = new ZWaveDeviceCollection(this); base.Devices = this.Devices; WorkQueue = new ParallelWorkQueue(); Connect(); }