namespace MES.Interface { public class PlacePoint { public double x { get; set; } //X轴 public double y { get; set; } //Y轴 public double len { get; set; } // public PlacePoint(double x, double y) { this.x = x; this.y = y; } //public PlacePoint(double x, double y, double len) //{ // this.x = x; // this.y = y; // this.len = len; //} //public int compareTo(PlacePoint o) //{ // // 优先往下排 然后优先往左排 // int compare_y = o.y.CompareTo(y); // if (compare_y != 0) // { // return compare_y; // } // else // { // return o.x.CompareTo(x); // } //} } }