public CameraData this[string cameraPath]
 {
     get
     {
         if (string.IsNullOrEmpty(cameraPath))
         {
             return(null);
         }
         else
         {
             if (CameraDictionary.TryGetValue(cameraPath.ToLower(), out CameraData cam))
             {
                 return(cam);
             }
             else
             {
                 return(null);
             }
         }
     }
 }
 public void DeleteCamera(CameraData camData)
 {
     CameraDictionary.Remove(CameraData.PathAndPrefix(camData));
 }
 public void AddCamera(CameraData camData)
 {
     CameraDictionary.Add(CameraData.PathAndPrefix(camData), camData);
 }