예제 #1
0
 public LinearExtraction(XmlNode nodItem)
     : base(nodItem)
 {
     ProfileRoute   = ProjectManager.Project.ProfileRoutes.First(x => string.Compare(x.Name, nodItem.SelectSingleNode("ProfileRoute").InnerText, true) == 0);
     Database       = ProjectManager.Project.GetAbsolutePath(nodItem.SelectSingleNode("Database").InnerText);
     SampleDistance = decimal.Parse(nodItem.SelectSingleNode("SampleDistance").InnerText, CultureInfo.InvariantCulture);
 }
예제 #2
0
 public LinearExtraction(string name, ProfileRoute route, FileInfo db, decimal sampleDistance)
     : base(name)
 {
     ProfileRoute   = route;
     Database       = db;
     SampleDistance = sampleDistance;
 }
예제 #3
0
        private void cboRoute_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (!(cboRoute.SelectedItem is ProfileRoute))
            {
                return;
            }

            ProfileRoute route = cboRoute.SelectedItem as ProfileRoute;

            txtName.Text = string.Format("{0} - {1} Linear Extraction", ElevationSurface.Name, route.ProfileRouteType.ToString());
        }
 public LinearExtractionFromSurface(string name, ProfileRoute route, FileInfo db, decimal sampleDistance, Surface surf, ErrorSurface err)
     : base(name, route, db, sampleDistance)
 {
     Surface      = surf;
     ErrorSurface = err;
 }
예제 #5
0
 public LinearExtractionFromDoD(string name, ProfileRoute route, FileInfo db, decimal sampleDistance, DoDBase dod)
     : base(name, route, db, sampleDistance)
 {
     DoD = dod;
 }