LIN Schedule
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
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
|
||||
{
|
||||
@@ -15,6 +10,16 @@ namespace CapMachine.Wpf.Dtos
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
|
||||
private bool _IsActive;
|
||||
/// <summary>
|
||||
/// 是否激活
|
||||
/// </summary>
|
||||
public bool IsActive
|
||||
{
|
||||
get { return _IsActive; }
|
||||
set { _IsActive = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _MsgName;
|
||||
/// <summary>
|
||||
/// 消息名称/帧名称
|
||||
@@ -25,6 +30,16 @@ namespace CapMachine.Wpf.Dtos
|
||||
set { _MsgName = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private int _MsgNameIndex;
|
||||
/// <summary>
|
||||
/// 消息名称/帧名称的Index
|
||||
/// </summary>
|
||||
public int MsgNameIndex
|
||||
{
|
||||
get { return _MsgNameIndex; }
|
||||
set { _MsgNameIndex = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private int _Cycle;
|
||||
/// <summary>
|
||||
/// 周期
|
||||
@@ -35,7 +50,6 @@ namespace CapMachine.Wpf.Dtos
|
||||
set { _Cycle = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
private int _SchTabIndex;
|
||||
/// <summary>
|
||||
/// 调度表的Index序列
|
||||
@@ -56,12 +70,11 @@ namespace CapMachine.Wpf.Dtos
|
||||
set { _SchTabName = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 在更新调度表数据时,我们有一个整体的帧数据指令集合,但是这些帧数据集合,分属于不同的调度表,
|
||||
/// 这个在开始时生成整体的帧数据指令集合才会把这个MsgIndex分配上,这个不需要保存到数据库中,对接使用
|
||||
/// </summary>
|
||||
public int MsgIndex { get; set; }
|
||||
///// <summary>
|
||||
///// 在更新调度表数据时,我们有一个整体的帧数据指令集合,但是这些帧数据集合,分属于不同的调度表,
|
||||
///// 这个在开始时生成整体的帧数据指令集合才会把这个MsgIndex分配上,这个不需要保存到数据库中,对接使用
|
||||
///// </summary>
|
||||
//public int MsgIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序的ID
|
||||
|
||||
Reference in New Issue
Block a user