From 6da651f2e449298a90b74154ba3948e10f8928b8 Mon Sep 17 00:00:00 2001 From: atef Date: Tue, 31 Dec 2024 16:14:42 +0100 Subject: [PATCH] Add the Adamline in the config file. --- csharp/App/SaliMax/src/SystemConfig/Config.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/csharp/App/SaliMax/src/SystemConfig/Config.cs b/csharp/App/SaliMax/src/SystemConfig/Config.cs index 8b67b2499..0f3a55125 100644 --- a/csharp/App/SaliMax/src/SystemConfig/Config.cs +++ b/csharp/App/SaliMax/src/SystemConfig/Config.cs @@ -105,7 +105,8 @@ public class Config //TODO: let IE choose from config files (Json) and connect t 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}, PvOnAcGrid = 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 () { - 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}, PvOnAcGrid = new() { Host = "false" , Port = 0 , DeviceState = DeviceState.Measured}, LoadOnAcGrid = new() { Host = "true" , Port = 0 , DeviceState = DeviceState.Measured},