V1版本
This commit is contained in:
62
CapMachine.Wpf/Dtos/CanLinRWConfigDto.cs
Normal file
62
CapMachine.Wpf/Dtos/CanLinRWConfigDto.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
using CapMachine.Model.CANLIN;
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
public class CanLinRWConfigDto : BindableBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
|
||||
private RW _RWInfo;
|
||||
/// <summary>
|
||||
/// 输入输出信息 读取/写入/系统
|
||||
/// </summary>
|
||||
public RW RWInfo
|
||||
{
|
||||
get { return _RWInfo; }
|
||||
set { _RWInfo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Name;
|
||||
/// <summary>
|
||||
/// 配置项名称-比如转速、功率限制等
|
||||
/// </summary>
|
||||
public string? Name
|
||||
{
|
||||
get { return _Name; }
|
||||
set { _Name = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Content;
|
||||
/// <summary>
|
||||
/// 配置项值
|
||||
/// </summary>
|
||||
public string? Content
|
||||
{
|
||||
get { return _Content; }
|
||||
set { _Content = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
private string? _DefautValue;
|
||||
/// <summary>
|
||||
/// 配置项默认值和数据
|
||||
/// </summary>
|
||||
public string? DefautValue
|
||||
{
|
||||
get { return _DefautValue; }
|
||||
set { _DefautValue = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user