fix some modbus values that were unsigned but should be signed

This commit is contained in:
ig 2023-06-22 10:14:31 +02:00
parent 0582b26ec7
commit 12731a90e9
1 changed files with 2 additions and 2 deletions

View File

@ -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<Int16>(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<Int16>(5110)] internal Double BatteryCurrent ;
[InputRegister(5123)] internal BatteryPowerLimit BatteryPowerLimit ;