Fix: Syntax
This commit is contained in:
parent
79994ffe2f
commit
8ff320a5f3
|
@ -55,10 +55,10 @@ public partial class Battery250UpRecord
|
|||
|
||||
|
||||
[InputRegister(1063)] private UInt16 _TotalBatteryCycle;
|
||||
[InputRegister(1064, Scale = 1, Offset = -1000)] private UInt16 _DC_Discharge_Current_Limit;
|
||||
[InputRegister(1065, Scale = 1, Offset = -1000)] private UInt16 _DC_Charge_Current_Limit;
|
||||
[InputRegister(1066, Scale = 0.1)] private UInt16 _Voltage_Charge_Setpoint;
|
||||
[InputRegister(1067, Scale = 0.1)] private UInt16 _DC_Min_Voltage_Limit;
|
||||
[InputRegister(1064, Scale = 1, Offset = -1000)] private UInt16 _DC_Discharge_Current_Limit;
|
||||
[InputRegister(1065, Scale = 1, Offset = -1000)] private UInt16 _DC_Charge_Current_Limit;
|
||||
[InputRegister(1066, Scale = 0.1)] private UInt16 _Voltage_Charge_Setpoint;
|
||||
[InputRegister(1067, Scale = 0.1)] private UInt16 _DC_Min_Voltage_Limit;
|
||||
[InputRegister(1068)] private UInt16 _AuxBitInformation;
|
||||
|
||||
private LedState ParseLed(LedColor led) => (LedState)((_LedStates >> (Int32)led) & 3);
|
||||
|
|
Loading…
Reference in New Issue