添加窗口
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user