Add the Adamline in the config file.

This commit is contained in:
atef 2024-12-31 16:14:42 +01:00
parent 3218bcabb9
commit 6da651f2e4
1 changed files with 4 additions and 2 deletions

View File

@ -105,7 +105,8 @@ public class Config //TODO: let IE choose from config files (Json) and connect t
Devices = new () Devices = new ()
{ {
RelaysIp = new() { Host = "localhost", Port = 5006, DeviceState = DeviceState.Measured}, RelaysIp = new() { Host = "localhost", Port = 5006, DeviceState = DeviceState.Measured},
TsRelaysIp = new() { Host = "localhost", Port = 5006, DeviceState = DeviceState.Measured},
GridMeterIp = new() { Host = "localhost", Port = 5003, DeviceState = DeviceState.Measured}, GridMeterIp = new() { Host = "localhost", Port = 5003, DeviceState = DeviceState.Measured},
PvOnAcGrid = new() { Host = "false" , Port = 0 , DeviceState = DeviceState.Measured}, PvOnAcGrid = new() { Host = "false" , Port = 0 , DeviceState = DeviceState.Measured},
LoadOnAcGrid = new() { Host = "false" , Port = 0 , DeviceState = DeviceState.Measured}, LoadOnAcGrid = new() { Host = "false" , Port = 0 , DeviceState = DeviceState.Measured},
@ -204,7 +205,8 @@ public class Config //TODO: let IE choose from config files (Json) and connect t
Devices = new () Devices = new ()
{ {
RelaysIp = new() { Host = "10.0.1.1", Port = 502, DeviceState = DeviceState.Measured}, RelaysIp = new() { Host = "10.0.1.1", Port = 502, DeviceState = DeviceState.Measured},
TsRelaysIp = new() { Host = "10.0.1.2", Port = 502, DeviceState = DeviceState.Measured},
GridMeterIp = new() { Host = "10.0.4.1", Port = 502, DeviceState = DeviceState.Measured}, GridMeterIp = new() { Host = "10.0.4.1", Port = 502, DeviceState = DeviceState.Measured},
PvOnAcGrid = new() { Host = "false" , Port = 0 , DeviceState = DeviceState.Measured}, PvOnAcGrid = new() { Host = "false" , Port = 0 , DeviceState = DeviceState.Measured},
LoadOnAcGrid = new() { Host = "true" , Port = 0 , DeviceState = DeviceState.Measured}, LoadOnAcGrid = new() { Host = "true" , Port = 0 , DeviceState = DeviceState.Measured},