Esempio n. 1
0
 // Build cameras tree
 public void BuildCamerasTree(GroupCollection groups, CameraCollection cameras)
 {
     page2.BuildCamerasTree(groups, cameras);
 }
Esempio n. 2
0
 // Build cameras tree
 public void BuildCamerasTree(GroupCollection groups, CameraCollection cameras)
 {
     this.groups = groups;
     this.cameras = cameras;
     this.camerasTree.BuildCamerasTree(groups, cameras);
     UpdateGridLabels();
 }
Esempio n. 3
0
 // Build cameras tree
 public void BuildCamerasTree(GroupCollection groups, CameraCollection cameras)
 {
     page2.BuildCamerasTree(groups, cameras);
 }
Esempio n. 4
0
 // Build views of specified parent
 private void BuildViewsTree(GroupCollection groups, ViewCollection views, Group parent, TreeNode parentNode)
 {
     // build all groups
     foreach (Group group in groups)
     {
         if (group.Parent == parent)
         {
             BuildViewsTree(groups, views, group, AddViewsGroup(group, parentNode));
         }
     }
     // build all views
     foreach (View view in views)
     {
         if (view.Parent == parent)
         {
             AddView(view, parentNode);
         }
     }
 }
Esempio n. 5
0
 // Build cameras of specified parent
 private void BuildCamerasTree(GroupCollection groups, CameraCollection cameras, Group parent, TreeNode parentNode)
 {
     // build all groups
     foreach (Group group in groups)
     {
         if (group.Parent == parent)
         {
             BuildCamerasTree(groups, cameras, group, AddCamerasGroup(group, parentNode));
         }
     }
     // build all cameras
     foreach (Camera camera in cameras)
     {
         if (camera.Parent == parent)
         {
             AddCamera(camera, parentNode);
         }
     }
 }
Esempio n. 6
0
 // Build views subtree
 public void BuildViewsTree(GroupCollection groups, ViewCollection views)
 {
     if (!camerasOnly)
     {
         BuildViewsTree(groups, views, null, viewsRootNode);
         camerasRootNode.Expand();
     }
 }
Esempio n. 7
0
 // Build cameras subtree
 public void BuildCamerasTree(GroupCollection groups, CameraCollection cameras)
 {
     BuildCamerasTree(groups, cameras, null, (camerasOnly) ? null : camerasRootNode);
     if (!camerasOnly)
         camerasRootNode.Expand();
 }