添加项目文件。
This commit is contained in:
57
CapMachine.Wpf/Models/ChartSelectDto.cs
Normal file
57
CapMachine.Wpf/Models/ChartSelectDto.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 曲线选择数据
|
||||
/// </summary>
|
||||
public class ChartSelectDto : BindableBase
|
||||
{
|
||||
/// <summary>
|
||||
/// Id
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public int Index { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 分类
|
||||
/// </summary>
|
||||
public string? Category { get; set; }
|
||||
|
||||
|
||||
///// <summary>
|
||||
///// Y轴
|
||||
///// </summary>
|
||||
//public string? YAxis { get; set; }
|
||||
|
||||
private ChartYAxisDto _YAxis=new ChartYAxisDto();
|
||||
/// <summary>
|
||||
/// Y轴
|
||||
/// </summary>
|
||||
public ChartYAxisDto YAxis
|
||||
{
|
||||
get { return _YAxis; }
|
||||
set { _YAxis = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
///// <summary>
|
||||
///// Y轴
|
||||
///// </summary>
|
||||
//public ChartYAxisData? YAxis { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user