From a10193592f306a6442c9feb8f07d70fa25eef23c Mon Sep 17 00:00:00 2001 From: atef Date: Wed, 2 Aug 2023 11:01:05 +0200 Subject: [PATCH] clean code --- csharp/App/SaliMax/src/SystemConfig/Config.cs | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/csharp/App/SaliMax/src/SystemConfig/Config.cs b/csharp/App/SaliMax/src/SystemConfig/Config.cs index 426bcf294..a0562ad16 100644 --- a/csharp/App/SaliMax/src/SystemConfig/Config.cs +++ b/csharp/App/SaliMax/src/SystemConfig/Config.cs @@ -14,29 +14,29 @@ public class Config //TODO: let IE choose from config files (Json) and connect t private static readonly JsonSerializerOptions JsonOptions = new() { WriteIndented = true }; - public required Double MinSoc { get; set; } - public required UnixTime LastEoc { get; set; } - public required Double PConstant { get; set; } - public required Double GridSetPoint { get; set; } - public required Double BatterySelfDischargePower { get; set; } - public required Double HoldSocZone { get; set; } + public required Double MinSoc { get; set; } + public required UnixTime LastEoc { get; set; } + public required Double PConstant { get; set; } + public required Double GridSetPoint { get; set; } + public required Double BatterySelfDischargePower { get; set; } + public required Double HoldSocZone { get; set; } - public required Double MaxDcLinkVoltageFromAcDc { get; set; } - public required Double MinDcLinkVoltageFromAcDc { get; set; } - public required Double ReferenceDcLinkVoltageFromAcDc { get; set; } + public required Double MaxDcLinkVoltageFromAcDc { get; set; } + public required Double MinDcLinkVoltageFromAcDc { get; set; } + public required Double ReferenceDcLinkVoltageFromAcDc { get; set; } - public required Double LowerDcLinkVoltageFromDc { get; set; } - public required Double ReferenceDcLinkVoltageFromDc { get; set; } - public required Double UpperDcLinkVoltageFromDc { get; set; } + public required Double LowerDcLinkVoltageFromDc { get; set; } + public required Double ReferenceDcLinkVoltageFromDc { get; set; } + public required Double UpperDcLinkVoltageFromDc { get; set; } - public required Double MaxBatteryChargingCurrent { get; set; } - public required Double MaxBatteryDischargingCurrent { get; set; } + public required Double MaxBatteryChargingCurrent { get; set; } + public required Double MaxBatteryDischargingCurrent { get; set; } - public required Double MaxChargeBatteryVoltage { get; set; } - public required Double MinDischargeBatteryVoltage { get; set; } + public required Double MaxChargeBatteryVoltage { get; set; } + public required Double MinDischargeBatteryVoltage { get; set; } - public required DeviceConfig Devices { get; set; } - public required S3Config? S3 { get; set; } + public required DeviceConfig Devices { get; set; } + public required S3Config? S3 { get; set; }