Compare commits

..

No commits in common. "8c2a360ba301f5984f0d56d1ada8b8ce3f21796a" and "4d6a2fdd4dc9b4f267060a261346dc3428265735" have entirely different histories.

2 changed files with 8 additions and 71 deletions

View File

@ -16,23 +16,15 @@ public class Config
private static readonly JsonSerializerOptions JsonOptions = new() { WriteIndented = true };
public required Double MinSoc { get; set; }
public required Double GridSetPoint { get; set; }
public required Double MaximumDischargingCurrent { get; set; }
public required Double MaximumChargingCurrent { get; set; }
public required WorkingMode OperatingPriority { get; set; }
public required Int16 BatteriesCount { get; set; }
public required Int16 ClusterNumber { get; set; }
public required Int16 PvNumber { get; set; }
public required Double ModbusProtcolNumber { get; set; }
public required DateTime StartTimeChargeandDischargeDayandTime { get; set; }
public required DateTime StopTimeChargeandDischargeDayandTime { get; set; }
public required Double MinSoc { get; set; }
public required Double GridSetPoint { get; set; }
public required Double MaximumDischargingCurrent { get; set; }
public required Double MaximumChargingCurrent { get; set; }
public required WorkingMode OperatingPriority { get; set; }
public required Int16 BatteriesCount { get; set; }
public required Double ModbusProtcolNumber { get; set; }
public required Single TimeChargeandDischargePower { get; set; }
public required Boolean ControlPermission { get; set; }
public required S3Config? S3 { get; set; }
public required S3Config? S3 { get; set; }
private static String? LastSavedData { get; set; }
@ -44,14 +36,7 @@ public class Config
MaximumDischargingCurrent = 180,
OperatingPriority = WorkingMode.TimeChargeDischarge,
BatteriesCount = 0,
ClusterNumber = 0,
PvNumber = 0,
ModbusProtcolNumber = 1.2,
StartTimeChargeandDischargeDayandTime = DefaultDatetime,
StopTimeChargeandDischargeDayandTime = DefaultDatetime,
TimeChargeandDischargePower = 3,
ControlPermission = false,
S3 = new()
{
Bucket = "1-3e5b3069-214a-43ee-8d85-57d72000c19d",

View File

@ -1,48 +0,0 @@
namespace InnovEnergy.Lib.Devices.Sinexcel_12K_TL.DataType;
public enum SinexcelAbnormalFlag : ushort
{
Normal = 0,
Abnormal = 1
}
public enum SinexcelInverterOperatingState : ushort
{
Standby = 0,
Ready = 1,
OffGrid = 2,
OnGrid = 3
}
public enum SinexcelPvOperatingState : ushort
{
Standby = 0,
Run = 1
}
public enum SinexcelBatteryOperatingState : ushort
{
Standby = 0,
Charging = 1,
Discharging = 2,
FullyCharged = 3,
SelfInspection = 4
}
public enum SinexcelDcdcState : ushort
{
Shutdown = 0,
Booting = 1
}
public enum SinexcelPowerGridStatus : ushort
{
Normal = 0,
Abnormal = 1
}
public enum SinexcelOredState : ushort
{
State0 = 0, State1, State2, State3, State4,
State5, State6, State7, State8, State9
}