Example #1
0
        // Add new camera group
        public void AddCamerasGroup(Group group)
        {
            group.ID = nextCamerasGroupID++;
            camerasGroups.Add(group);

            // save
            SaveCameras();
        }
Example #2
0
        // Add new views group
        public void AddViewsGroup(Group group)
        {
            group.ID = nextViewsGroupID++;
            viewsGroups.Add(group);

            // save
            SaveViews();
        }