This commit is contained in:
2024-12-18 15:50:21 +08:00
parent 684973e6b7
commit b2c54119ea
214 changed files with 65908 additions and 8461 deletions

View File

@@ -1,15 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prism.Mvvm;
namespace CapMachine.Wpf.Models
{
/// <summary>
/// Y轴标尺
/// </summary>
public class ChartYAxisDto
public class ChartYAxisDto:BindableBase
{
/// <summary>
/// Id
@@ -21,24 +17,45 @@ namespace CapMachine.Wpf.Models
/// </summary>
public int Index { get; set; }
private string _Name;
/// <summary>
/// 标尺名称
/// </summary>
public string? Name { get; set; }
public string Name
{
get { return _Name; }
set { _Name = value; RaisePropertyChanged(); }
}
private double _Max;
/// <summary>
/// Max
/// </summary>
public double Max { get; set; }
public double Max
{
get { return _Max; }
set { _Max = value; RaisePropertyChanged(); }
}
private double _Min;
/// <summary>
/// Min
/// </summary>
public double Min { get; set; }
public double Min
{
get { return _Min; }
set { _Min = value; RaisePropertyChanged(); }
}
private string _Unit;
/// <summary>
/// 单位
/// </summary>
public string? Unit { get; set; }
public string Unit
{
get { return _Unit; }
set { _Unit = value; RaisePropertyChanged(); }
}
}
}