Update Config file and Inverter state

This commit is contained in:
atef 2023-07-13 09:53:44 +02:00
parent 486abbdf56
commit 12b0c94d78
2 changed files with 3 additions and 10 deletions

View File

@ -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()

View File

@ -9,5 +9,6 @@ public enum InverterState : UInt16
AcSyncToGrid = 4,
AcCloseContactor = 5,
AcConnected = 6,
AcOpenContactor = 7,
Alarm = 99
}