Initial commit

This commit is contained in:
Twirpytherobot
2026-03-11 20:04:40 +00:00
commit 9383b944cc
73 changed files with 61306 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
namespace IOModuleTestBlazor.Models;
public record CanMessageDto(
uint Id,
byte[] Data,
int Dlc,
ulong TimestampUs,
bool IsExtended,
IReadOnlyDictionary<string, double>? Signals
);
public class CanFilter
{
public Guid Id { get; set; }
public uint MessageId { get; set; }
public uint Mask { get; set; } = 0x7FF;
public string? Description { get; set; }
}
public class CanBitmask
{
public Guid Id { get; set; }
public uint MessageId { get; set; }
public string SignalName { get; set; } = "";
public ulong DataMask { get; set; }
public int RightShift { get; set; }
public double Scale { get; set; } = 1.0;
public double Offset { get; set; }
public string? Unit { get; set; }
}
public class CanStatus
{
public bool IsConnected { get; set; }
public string ChannelName { get; set; } = "";
}