From 12731a90e94670480be40ae6a6ff72845e68fd34 Mon Sep 17 00:00:00 2001 From: ig Date: Thu, 22 Jun 2023 10:14:31 +0200 Subject: [PATCH] fix some modbus values that were unsigned but should be signed --- csharp/Lib/Devices/Trumpf/TruConvertDc/DcDcRecord.Modbus.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csharp/Lib/Devices/Trumpf/TruConvertDc/DcDcRecord.Modbus.cs b/csharp/Lib/Devices/Trumpf/TruConvertDc/DcDcRecord.Modbus.cs index 92a27a346..62a8396e2 100644 --- a/csharp/Lib/Devices/Trumpf/TruConvertDc/DcDcRecord.Modbus.cs +++ b/csharp/Lib/Devices/Trumpf/TruConvertDc/DcDcRecord.Modbus.cs @@ -29,7 +29,7 @@ public partial class DcDcRecord [HoldingRegister(4124, Scale = .1)] internal Double MaxVoltageAlarm ; [HoldingRegister(4127, Scale = .1)] internal Double MinVoltageAlarm ; - [HoldingRegister(4500)] internal Double DcDcCurrentSetpoint ; + [HoldingRegister(4500)] internal Double DcDcCurrentSetpoint ; [HoldingRegister(4501, Scale = .01)] internal Double MaxCurrentChangePerMs ; [HoldingRegister(4504)] internal DcControlMode DcControlMode ; @@ -40,7 +40,7 @@ public partial class DcDcRecord [HoldingRegister(4508, Scale = .1)] internal Double DroopControlVoltageDeadband ; [InputRegister(5100, Scale = .1)] internal Double BatteryVoltage ; - [InputRegister(5110)] internal Double BatteryCurrent ; + [InputRegister(5110)] internal Double BatteryCurrent ; [InputRegister(5123)] internal BatteryPowerLimit BatteryPowerLimit ;