add Production day to ampt string optimizer
This commit is contained in:
parent
9ce9d76794
commit
cacf6f7bb1
|
@ -7,6 +7,7 @@ namespace InnovEnergy.Lib.Devices.AMPT;
|
|||
[SuppressMessage("ReSharper", "UnusedMember.Global")]
|
||||
[SuppressMessage("ReSharper", "UnusedAutoPropertyAccessor.Local")]
|
||||
|
||||
// the scale here can be read from CommunicationUnitRegisters, It looks like fixed value
|
||||
[OneBasedAddressing][BigEndian]
|
||||
public record StringOptimizerRegisters
|
||||
{
|
||||
|
@ -18,7 +19,7 @@ public record StringOptimizerRegisters
|
|||
[HoldingRegister<UInt32>(93, Scale = .001)] public Double String1Voltage { get; private set; }
|
||||
[HoldingRegister<UInt32>(95, Scale = .001)] public Double String2Voltage { get; private set; }
|
||||
|
||||
[HoldingRegister<UInt32>(97)] public Double ProductionToday { get; private set; }
|
||||
[HoldingRegister<UInt32>(97, Scale = .001)] public Double ProductionToday { get; private set; }
|
||||
|
||||
[HoldingRegister<Int16>(99, Scale = .001)] public Double String1Current { get; private set; }
|
||||
[HoldingRegister<Int16>(100, Scale = .001)] public Double String2Current { get; private set; }
|
||||
|
|
Loading…
Reference in New Issue