namespace LY.App.Model { public struct BasePoint { public BasePoint(double x, double y, double z, string time = null) { this.X = x; this.Y = y; this.Z = z; this.Time = time; } public double X { get; set; } public double Y { get; set; } /// /// 高度 /// public double Z { get; set; } public string Time { get; set; } /// /// 两点值是否相等 /// /// /// public bool Equal(BasePoint basePoint) { return basePoint.X == this.X && basePoint.Y == this.Y; } } }