ArcGIS_Routing_CSharp\App_Code\NetworkAnalystRouteResult.cs
// Copyright 2011 ESRI // // All rights reserved under the copyright laws of the United States // and applicable international laws, treaties, and conventions. // // You may freely redistribute and use this sample code, with or // without modification, provided you include the original copyright // notice and use restrictions. // // See the use restrictions. // using System; using System.Data; using System.Collections.Specialized; using ESRI.ArcGIS.ADF.Web.Geometry; namespace ESRI.ArcGIS.Server.Web.NetworkAnalyst { /// <summary> /// Result from a Network Analyst Solve operation on Route layers. /// </summary> public class NetworkAnalystRouteResult { /// <summary> /// Constructor. /// </summary> public NetworkAnalystRouteResult() { } #region Member Vars StringDictionary m_summary; Envelope m_extent; DataTable m_directions; Envelope[] m_directionsExtents; int m_routeID; #endregion #region Properties /// <summary> /// Summary information on this route. /// </summary> public StringDictionary Summary { get { return m_summary; } set { m_summary = value; } } /// <summary> /// The extent of this route. /// </summary> public Envelope RouteExtent { get { return m_extent; } set { m_extent = value; } } /// <summary> /// The object id of the route feature /// </summary> public int RouteID { get { return m_routeID; } set { m_routeID = value; } } /// <summary> /// The step-by-step directions for this route. /// </summary> public DataTable Directions { get { return m_directions; } set { m_directions = value; } } /// <summary> /// Envelope for each step in the directions. Reference by row index. /// </summary> public Envelope[] StepExtents { get { return m_directionsExtents; } set { m_directionsExtents = value; } } #endregion } }