private void OnStorage(object sender, Configuration.ConfigurableList <Configuration.Storage.Container> .UpdateEvent e) { if (e.AddedUpdated) { AddStorage(e.ChangedItem); } else { RemoveStorage(e.ChangedItem.Identifier); } }
private void OnCamera(object sender, Configuration.ConfigurableList <Configuration.Cameras.Camera> .UpdateEvent e) { if (e.AddedUpdated) { AddCamera(e.ChangedItem); } else { RemoveCamera(e.ChangedItem); } }