take off the space between the Serial Number

This commit is contained in:
atef 2023-10-05 12:53:38 +02:00
parent 358b1f0ec1
commit d56abb4950
1 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@ public partial class Battery48TlRecord
public Boolean Eoc => Leds is { Green: On, Amber: Off, Blue : Off }; public Boolean Eoc => Leds is { Green: On, Amber: Off, Blue : Off };
public String SerialNumber => $"{_SerialNum1:X4} {_SerialNum2:X4} {_SerialNum3:X4} {_SerialNum4:X4}".TrimStart('0'); public String SerialNumber => $"{_SerialNum1:X4}{_SerialNum2:X4}{_SerialNum3:X4}{_SerialNum4:X4}".TrimEnd('0');
public String FwVersion => _FwVersion.ToString("X4"); public String FwVersion => _FwVersion.ToString("X4");
public Strings Warnings => ParseWarnings().OrderBy(w => w).ToList(); public Strings Warnings => ParseWarnings().OrderBy(w => w).ToList();
@ -219,5 +219,4 @@ public partial class Battery48TlRecord
return Math.Min(pLimit, 0); return Math.Min(pLimit, 0);
} }
} }
} }