示例#1
0
        /// <summary>
        /// Returns the panel zone assignment data for a point object.
        /// If no panel zone assignment is made to the point object, an error is returned.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <returns>PanelZone.</returns>
        /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
        public static PanelZone Factory(string name)
        {
            PanelZone panelZone = new PanelZone(name)
            {
                Results = new PanelZoneResults(name)
            };

            panelZone.FillPanelZone();
            return(panelZone);
        }
示例#2
0
        /// <summary>
        /// Returns the panel zone assignment data for a point object.
        /// If no panel zone assignment is made to the point object, an error is returned.
        /// </summary>
        /// <param name="app">The application.</param>
        /// <param name="name">The name.</param>
        /// <returns>PanelZone.</returns>
        /// <exception cref="CSiException"><see cref="CSiApiBase.API_DEFAULT_ERROR_CODE" /></exception>
        internal static PanelZone Factory(ApiCSiApplication app, string name)
        {
            PanelZone panelZone = new PanelZone(app, name);

            return(panelZone);
        }