添加项目文件。
This commit is contained in:
36
CapMachine.Wpf/Models/ChartSrcData.cs
Normal file
36
CapMachine.Wpf/Models/ChartSrcData.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using Prism.Mvvm;
|
||||
|
||||
namespace CapMachine.Wpf.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// 曲线数据源信息
|
||||
/// </summary>
|
||||
public class ChartSrcData:BindableBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public int Index { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string? Name { get; set; }
|
||||
|
||||
private bool _Selected;
|
||||
/// <summary>
|
||||
/// 选中
|
||||
/// </summary>
|
||||
public bool Selected
|
||||
{
|
||||
get { return _Selected; }
|
||||
set { _Selected = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
///// <summary>
|
||||
///// 选中
|
||||
///// </summary>
|
||||
//public bool? Selected { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user