From c6fbb1d931597d1f91e4532000a276fae412664a Mon Sep 17 00:00:00 2001 From: ig Date: Tue, 4 Jul 2023 09:59:26 +0200 Subject: [PATCH] fix defaults for Salimax Release --- csharp/App/SaliMax/src/SystemConfig/Config.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/csharp/App/SaliMax/src/SystemConfig/Config.cs b/csharp/App/SaliMax/src/SystemConfig/Config.cs index 878b9ddc0..c75a188d9 100644 --- a/csharp/App/SaliMax/src/SystemConfig/Config.cs +++ b/csharp/App/SaliMax/src/SystemConfig/Config.cs @@ -78,14 +78,14 @@ public class Config //TODO: let IE choose from config files (Json) and connect t S3 = null, // TODO Devices = new () { - RelaysIp = new() { Address = "10.0.1.1", Port = 502}, - TruConvertAcIp = new() { Address = "10.0.2.1", Port = 502}, - TruConvertDcIp = new() { Address = "10.0.3.1", Port = 502}, - GridMeterIp = new() { Address = "10.0.4.1", Port = 502}, - InternalMeterIp = new() { Address = "10.0.4.2", Port = 502}, - AmptIp = new() { Address = "10.0.5.1", Port = 502}, - BatteryIp = new() { Address = "localhost", Port = 6855}, - BatteryNodes = new Byte[]{2}, + RelaysIp = new() { Host = "10.0.1.1", Port = 502}, + TruConvertAcIp = new() { Host = "10.0.2.1", Port = 502}, + TruConvertDcIp = new() { Host = "10.0.3.1", Port = 502}, + GridMeterIp = new() { Host = "10.0.4.1", Port = 502}, + IslandBusLoadMeterIp = new() { Host = "10.0.4.2", Port = 502}, + AmptIp = new() { Host = "10.0.5.1", Port = 502}, + BatteryIp = new() { Host = "localhost", Port = 6855}, + BatteryNodes = new []{ 2, 3, 4, 5, 6 }, }, }; #endif