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); }
public LinearExtraction(string name, ProfileRoute route, FileInfo db, decimal sampleDistance) : base(name) { ProfileRoute = route; Database = db; SampleDistance = sampleDistance; }
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; }
public LinearExtractionFromDoD(string name, ProfileRoute route, FileInfo db, decimal sampleDistance, DoDBase dod) : base(name, route, db, sampleDistance) { DoD = dod; }