38 lines
808 B
C#
38 lines
808 B
C#
using Prism.Mvvm;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CapMachine.Wpf.CanDrive
|
|
{
|
|
/// <summary>
|
|
/// CAN 实时数据
|
|
/// </summary>
|
|
public class CanRtData : BindableBase
|
|
{
|
|
/// <summary>
|
|
/// 消息名称
|
|
/// </summary>
|
|
public string? MsgName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 信号名称
|
|
/// </summary>
|
|
public string? SignalName { get; set; }
|
|
|
|
|
|
private double _SignalRtValue;
|
|
/// <summary>
|
|
/// 信号实时值
|
|
/// </summary>
|
|
public double SignalRtValue
|
|
{
|
|
get { return _SignalRtValue; }
|
|
set { _SignalRtValue = value; RaisePropertyChanged(); }
|
|
}
|
|
|
|
}
|
|
}
|