Ejemplo n.º 1
0
        private Int32 getFeatureOrder(navigationfeaturetype ftype)
        {
            switch (ftype)
            {
            case navigationfeaturetype.e_point: return(1);

            case navigationfeaturetype.e_fdrroute: return(2);

            case navigationfeaturetype.e_traceroute: return(3);

            case navigationfeaturetype.e_connection: return(4);

            default: return(9);
            }
        }
Ejemplo n.º 2
0
        private string getFeatureName(routeoptiontype roType, navigationfeaturetype ftype)
        {
            string name = "";

            switch (ftype)
            {
            case navigationfeaturetype.e_catchment:
                name = "catchment";
                break;

            case navigationfeaturetype.e_point:
                name = "point";
                break;

            case navigationfeaturetype.e_fdrroute:
                name = "flow_direction_route";
                break;

            case navigationfeaturetype.e_traceroute:
                name = "trace_route";
                break;

            case navigationfeaturetype.e_connection:
                name = "connection";
                break;

            case navigationfeaturetype.e_query:
                name = "query";
                break;

            default:
                name = "notspecified";
                break;
            }//end switch
            return(getFeatureOrder(ftype) + getRouteOptionName(roType) + "_" + name);
        }