fix some modbus values that were unsigned but should be signed
This commit is contained in:
parent
0582b26ec7
commit
12731a90e9
|
@ -29,7 +29,7 @@ public partial class DcDcRecord
|
||||||
[HoldingRegister(4124, Scale = .1)] internal Double MaxVoltageAlarm ;
|
[HoldingRegister(4124, Scale = .1)] internal Double MaxVoltageAlarm ;
|
||||||
[HoldingRegister(4127, Scale = .1)] internal Double MinVoltageAlarm ;
|
[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(4501, Scale = .01)] internal Double MaxCurrentChangePerMs ;
|
||||||
|
|
||||||
[HoldingRegister(4504)] internal DcControlMode DcControlMode ;
|
[HoldingRegister(4504)] internal DcControlMode DcControlMode ;
|
||||||
|
@ -40,7 +40,7 @@ public partial class DcDcRecord
|
||||||
[HoldingRegister(4508, Scale = .1)] internal Double DroopControlVoltageDeadband ;
|
[HoldingRegister(4508, Scale = .1)] internal Double DroopControlVoltageDeadband ;
|
||||||
|
|
||||||
[InputRegister(5100, Scale = .1)] internal Double BatteryVoltage ;
|
[InputRegister(5100, Scale = .1)] internal Double BatteryVoltage ;
|
||||||
[InputRegister(5110)] internal Double BatteryCurrent ;
|
[InputRegister<Int16>(5110)] internal Double BatteryCurrent ;
|
||||||
|
|
||||||
[InputRegister(5123)] internal BatteryPowerLimit BatteryPowerLimit ;
|
[InputRegister(5123)] internal BatteryPowerLimit BatteryPowerLimit ;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue