一些优化:CAN和PLC地址的优化
This commit is contained in:
@@ -35,14 +35,28 @@ namespace CapMachine.Wpf.Dtos
|
||||
set { _Name = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Content;
|
||||
private string? _MsgFrameName;
|
||||
/// <summary>
|
||||
/// 配置-
|
||||
/// DBC里面的 消息名称 MsgId对应 帧名称
|
||||
/// SDF里面的 Frame名称 帧名称
|
||||
/// </summary>
|
||||
public string? MsgFrameName
|
||||
{
|
||||
get { return _MsgFrameName; }
|
||||
set { _MsgFrameName = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
private string? _SignalName;
|
||||
/// <summary>
|
||||
/// 配置项值
|
||||
/// 信号名称
|
||||
/// </summary>
|
||||
public string? Content
|
||||
public string? SignalName
|
||||
{
|
||||
get { return _Content; }
|
||||
set { _Content = value; RaisePropertyChanged(); }
|
||||
get { return _SignalName; }
|
||||
set { _SignalName = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
42
CapMachine.Wpf/Dtos/HandSwitchData.cs
Normal file
42
CapMachine.Wpf/Dtos/HandSwitchData.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
/// <summary>
|
||||
/// 手自动切换模型数据
|
||||
/// </summary>
|
||||
public class HandSwitchData : BindableBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 动作地址
|
||||
/// </summary>
|
||||
public string? ActionAddress { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态地址
|
||||
/// </summary>
|
||||
public string? StateAddress { get; set; }
|
||||
|
||||
|
||||
private bool _State;
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
public bool State
|
||||
{
|
||||
get { return _State; }
|
||||
set { _State = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user