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