添加项目文件。
This commit is contained in:
33
UIShare/UIViewModel/AutoDBCLoadItemVM.cs
Normal file
33
UIShare/UIViewModel/AutoDBCLoadItemVM.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
namespace UIShare.UIViewModel
|
||||
{
|
||||
/// <summary>
|
||||
/// CAN 通道枚举(对应 ZLGCANFD 通道选择)
|
||||
/// </summary>
|
||||
public enum APP_CHANNEL
|
||||
{
|
||||
CH0 = 0,
|
||||
CH1 = 1,
|
||||
CH2 = 2,
|
||||
CH3 = 3
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// DBC 自动加载配置项
|
||||
/// </summary>
|
||||
public class AutoDBCLoadItem : BindableBase
|
||||
{
|
||||
private int _dbcChannel;
|
||||
public int DBCChannel
|
||||
{
|
||||
get => _dbcChannel;
|
||||
set => SetProperty(ref _dbcChannel, value);
|
||||
}
|
||||
|
||||
private string _dbcFilePath;
|
||||
public string DBCFilePath
|
||||
{
|
||||
get => _dbcFilePath;
|
||||
set => SetProperty(ref _dbcFilePath, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user