This commit is contained in:
2026-01-23 11:20:08 +07:00
parent 314a28bf8f
commit 61b1b39b46
811 changed files with 188427 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
namespace BlazorApp.Models
{
public class CanMessage
{
public uint Id { get; set; }
public byte Length { get; set; }
public byte[] Data { get; set; } = new byte[8];
public DateTime Timestamp { get; set; }
// ===== CANopen Info =====
public string Meaning => CanopenDecoder.GetMeaning(Id);
public string ValueText => CanopenDecoder.GetValue(Id, Data, Length);
}
}