From 12b0c94d78a9b2ffbb1e4bae00121c8e0d7c5f63 Mon Sep 17 00:00:00 2001 From: atef Date: Thu, 13 Jul 2023 09:53:44 +0200 Subject: [PATCH] Update Config file and Inverter state --- csharp/App/SaliMax/src/SystemConfig/Config.cs | 12 ++---------- .../Trumpf/TruConvertAc/DataTypes/InverterState.cs | 1 + 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/csharp/App/SaliMax/src/SystemConfig/Config.cs b/csharp/App/SaliMax/src/SystemConfig/Config.cs index 294cf1f5d..36ef337d5 100644 --- a/csharp/App/SaliMax/src/SystemConfig/Config.cs +++ b/csharp/App/SaliMax/src/SystemConfig/Config.cs @@ -51,17 +51,9 @@ public class Config //TODO: let IE choose from config files (Json) and connect t AmptIp = new() { Host = "localhost", Port = 5005}, RelaysIp = new() { Host = "localhost", Port = 5006}, BatteryIp = new() { Host = "localhost", Port = 5007}, - BatteryNodes = new []{ 2, 3, 4, 5, 6 }, + BatteryNodes = new []{ 2, 3, 4, 5, 6 } }, - S3 = new() - { - Bucket = "saliomameiringen", - Region = "sos-ch-dk-2", - Provider = "exo.io", - ContentType = "text/plain; charset=utf-8", - Key = "EXO2bf0cbd97fbfa75aa36ed46f", - Secret = "Bn1CDPqOG-XpDSbYjfIJxojcHTm391vZTc8z8l_fEPs" - } + S3 = null }; #else public static Config Default => new() diff --git a/csharp/Lib/Devices/Trumpf/TruConvertAc/DataTypes/InverterState.cs b/csharp/Lib/Devices/Trumpf/TruConvertAc/DataTypes/InverterState.cs index f1adab68b..3ded5d654 100644 --- a/csharp/Lib/Devices/Trumpf/TruConvertAc/DataTypes/InverterState.cs +++ b/csharp/Lib/Devices/Trumpf/TruConvertAc/DataTypes/InverterState.cs @@ -9,5 +9,6 @@ public enum InverterState : UInt16 AcSyncToGrid = 4, AcCloseContactor = 5, AcConnected = 6, + AcOpenContactor = 7, Alarm = 99 } \ No newline at end of file