添加窗口

This commit is contained in:
2026-06-09 16:59:53 +08:00 Unverified
parent 518254d5ae
commit 1313ddafb0
15 changed files with 1232 additions and 77 deletions
+20
View File
@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace kcsj.Models
{
public class KnownPoint
{
public string Name { get; set; }
public double Elevation { get; set; }
public KnownPoint(string name, double elevation)
{
Name = name;
Elevation = elevation;
}
}
}
+24
View File
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace kcsj.Models
{
public class Observation
{
public string FromPoint { get; set; }
public string ToPoint { get; set; }
public double HeightDiff { get; set; }
public double Distance { get; set; }
public Observation(string fromPoint, string toPoint, double heightDiff, double distance)
{
FromPoint = fromPoint;
ToPoint = toPoint;
HeightDiff = heightDiff;
Distance = distance;
}
}
}