using FreeSql.DataAnnotations;
namespace CapMachine.Model.CANLIN
{
///
/// CAN和LIN的配置信息数据
///
[Table(Name = "CANFdConfigExd")]
public class CANFdConfigExd
{
///
/// 主键
///
[Column(IsPrimary = true, IsIdentity = true)]
public long Id { get; set; }
///
/// 数据波特率
///
[Column(Name = "DataBaudRate")]
public int DataBaudRate { get; set; }
///
/// 仲裁波特率
///
[Column(Name = "ArbBaudRate")]
public int ArbBaudRate { get; set; }
///
/// CAN FD标准 ISO是否启用
///
[Column(Name = "ISOEnable")]
public bool ISOEnable { get; set; }
///
/// 终端电阻 是否启用
///
[Column(Name = "ResEnable")]
public bool ResEnable { get; set; }
///
/// 周期
///
[Column(Name = "Cycle")]
public int Cycle { get; set; }
///
/// Dbc文件路径
///
[Column(Name = "DbcPath", IsNullable = false, StringLength = 500)]
public string? DbcPath { get; set; }
}
}