Add the Adamline in the config file.
This commit is contained in:
parent
3218bcabb9
commit
6da651f2e4
|
@ -106,6 +106,7 @@ 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},
|
||||||
|
@ -205,6 +206,7 @@ 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},
|
||||||
|
|
Loading…
Reference in New Issue