55 lines
1.1 KiB
C#
55 lines
1.1 KiB
C#
using Arction.Wpf.Charting.Axes;
|
|
using Arction.Wpf.Charting.SeriesXY;
|
|
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 ChartRtValue:BindableBase
|
|
{
|
|
public ChartRtValue()
|
|
{
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 名称
|
|
/// </summary>
|
|
public string? Name { get; set; }
|
|
|
|
private double _Value;
|
|
/// <summary>
|
|
/// 值
|
|
/// </summary>
|
|
public double Value
|
|
{
|
|
get { return _Value; }
|
|
set { _Value = value; RaisePropertyChanged(); }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Max
|
|
/// </summary>
|
|
public double Max { get; set; }
|
|
|
|
/// <summary>
|
|
/// Min
|
|
/// </summary>
|
|
public double Min { get; set; }
|
|
|
|
/// <summary>
|
|
/// 单位
|
|
/// </summary>
|
|
public string? Unit { get; set; }
|
|
|
|
|
|
}
|
|
}
|