Files
CapMachine/CapMachine.Wpf/Dtos/LINConfigExdDto.cs

59 lines
1.3 KiB
C#

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 LINConfigExdDto : BindableBase
{
/// <summary>
/// 主键
/// </summary>
public long Id { get; set; }
private int _BaudRate;
/// <summary>
/// 波特率
/// </summary>
public int BaudRate
{
get { return _BaudRate; }
set { _BaudRate = value; RaisePropertyChanged(); }
}
private int _Cycle;
/// <summary>
/// 周期
/// </summary>
public int Cycle
{
get { return _Cycle; }
set { _Cycle = value; RaisePropertyChanged(); }
}
private string? _LdfPath;
/// <summary>
/// Ldf文件路径
/// </summary>
public string? LdfPath
{
get { return _LdfPath; }
set { _LdfPath = value; RaisePropertyChanged(); }
}
private bool _SchEnable;
/// <summary>
/// 调度表是否启用
/// </summary>
public bool SchEnable
{
get { return _SchEnable; }
set { _SchEnable = value; RaisePropertyChanged(); }
}
}
}