34 lines
722 B
C#
34 lines
722 B
C#
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);
|
|
}
|
|
}
|
|
}
|