update Battery deligreen Lib

This commit is contained in:
atef 2025-05-05 11:58:46 +02:00
parent 8db16313e9
commit bf37840d0d
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,6 @@ namespace InnovEnergy.Lib.Devices.BatteryDeligreen;
public class BatteryDeligreenRecords
{
//public required DcBus Dc { get; init; }
public required Current Current { get; init; }
public required Voltage Voltage { get; init; }
public required Percent Soc { get; init; }

View File

@ -31,7 +31,7 @@ public class TelecommandFrameParser
}
// Check starting byte
string startingByte = response.Substring(_currentIndex, 2).ToUpper();
var startingByte = response.Substring(_currentIndex, 2).ToUpper();
if (startingByte == "7E")
{
// Console.WriteLine($"Starting byte: {startingByte} (Hex)");