Files
Shi.Ji e31d3560bb 添加 MX-PD-盘古 项目文件
将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
2026-05-18 11:43:09 +08:00

42 lines
725 B
C#

using Stylet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MainShell.Models
{
public class MPoint : PropertyChangedBase
{
private double _x;
public double X
{
get { return _x; }
set { SetAndNotify(ref _x, value); }
}
private double _y;
public double Y
{
get { return _y; }
set { SetAndNotify(ref _y, value); }
}
public MPoint() { }
public MPoint(double x, double y)
{
_x = x;
_y = y;
}
public override string ToString() => $"({X}, {Y})";
public MPoint Clone()
{
return new MPoint(X, Y);
}
}
}