Add ActivePower Import and Export

This commit is contained in:
atef 2024-01-25 10:17:55 +01:00
parent 3e37bcca00
commit e5c3a51d8d
1 changed files with 8 additions and 8 deletions

View File

@ -14,14 +14,14 @@ using Float32 = Single;
public class EmuMeterRegisters : IAc3Meter public class EmuMeterRegisters : IAc3Meter
{ {
[HoldingRegister<UInt64>(6004)] private UInt64 _ActivePowerImportT1; [HoldingRegister<UInt64>(7008)] private UInt64 _ActivePowerImportT1;
[HoldingRegister<UInt64>(6024)] private UInt64 _ActivePowerExportT1; [HoldingRegister<UInt64>(7028)] private UInt64 _ActivePowerExportT1;
[HoldingRegister<UInt64>(6008)] private UInt64 _ActivePowerImportT2; [HoldingRegister<UInt64>(6008)] private UInt64 _ActivePowerImportT2;
[HoldingRegister<UInt64>(6028)] private UInt64 _ActivePowerExportT2; [HoldingRegister<UInt64>(6028)] private UInt64 _ActivePowerExportT2;
[HoldingRegister<UInt64>(6012)] private UInt64 _ActivePowerImportT3; [HoldingRegister<UInt32>(8004)] private UInt32 _ActivePowerImportT3;
[HoldingRegister<UInt64>(6032)] private UInt64 _ActivePowerExportT3; [HoldingRegister<UInt32>(8014)] private UInt32 _ActivePowerExportT3;
[HoldingRegister<UInt64>(6016)] private UInt64 _ActivePowerImportT4; [HoldingRegister<UInt64>(5906)] private UInt64 _ActivePowerImportT4;
[HoldingRegister<UInt64>(6036)] private UInt64 _ActivePowerExportT4; [HoldingRegister<UInt64>(5914)] private UInt64 _ActivePowerExportT4;
[HoldingRegister<Float32>(9002)] private Float32 _ActivePowerL1; [HoldingRegister<Float32>(9002)] private Float32 _ActivePowerL1;
[HoldingRegister<Float32>(9004)] private Float32 _ActivePowerL2; [HoldingRegister<Float32>(9004)] private Float32 _ActivePowerL2;
@ -70,8 +70,8 @@ public class EmuMeterRegisters : IAc3Meter
public UInt64 ActivePowerImportT2 => _ActivePowerImportT2; public UInt64 ActivePowerImportT2 => _ActivePowerImportT2;
public UInt64 ActivePowerExportT2 => _ActivePowerExportT2; public UInt64 ActivePowerExportT2 => _ActivePowerExportT2;
public UInt64 ActivePowerImportT3 => _ActivePowerImportT3; public UInt32 ActivePowerImportT3 => _ActivePowerImportT3;
public UInt64 ActivePowerExportT3 => _ActivePowerExportT3; public UInt32 ActivePowerExportT3 => _ActivePowerExportT3;
public UInt64 ActivePowerImportT4 => _ActivePowerImportT4; public UInt64 ActivePowerImportT4 => _ActivePowerImportT4;
public UInt64 ActivePowerExportT4 => _ActivePowerExportT4; public UInt64 ActivePowerExportT4 => _ActivePowerExportT4;