public OpenZWaveNetwork(HomeAutomationNetworkContext context, string serialPortName) : base(context) { _serialPortName = serialPortName; _devices = new List <OpenZWaveDevice>(); Devices = _devices; _notificationProcessor = new OpenZWaveNotificationProcessor(this); ConfigureOptions(); Manager = new ZWManager(); Manager.Create(); Manager.OnNotification += OnNotification; Connect(); }
public OpenZWaveNetwork(HomeAutomationNetworkContext context, string serialPortName) : base(context) { _serialPortName = serialPortName; _devices = new List<OpenZWaveDevice>(); Devices = _devices; _notificationProcessor = new OpenZWaveNotificationProcessor(this); ConfigureOptions(); Manager = new ZWManager(); Manager.Create(); Manager.OnNotification += OnNotification; Connect(); }