update the config file sinexcel
This commit is contained in:
parent
6c0271e70c
commit
3b32b8a6dc
|
|
@ -9,5 +9,12 @@ public class Configuration
|
|||
public Double MaximumChargingCurrent { get; set; }
|
||||
public WorkingMode OperatingPriority { get; set; }
|
||||
public Int16 BatteriesCount { get; set; }
|
||||
public Int16 ClusterNumber { get; set; }
|
||||
public Int16 PvNumber { get; set; }
|
||||
public DateTime StartTimeChargeandDischargeDayandTime { get; set; }
|
||||
public DateTime StopTimeChargeandDischargeDayandTime { get; set; }
|
||||
public Single TimeChargeandDischargePower { get; set; }
|
||||
public Boolean ControlPermission { get; set; }
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,11 @@ public abstract class ConnectionChannel<T> : Channel, IDisposable
|
|||
_CloseAfterSuccessfulWrite = closeAfterSuccessfulWrite;
|
||||
_CloseAfterException = closeAfterException ?? (_ => true);
|
||||
}
|
||||
|
||||
// 👇 NEW: optional per-connection buffer clear
|
||||
protected virtual void ClearBuffers(T connection)
|
||||
{
|
||||
// default: do nothing
|
||||
}
|
||||
public override IReadOnlyList<Byte> Read(Int32 nBytes)
|
||||
{
|
||||
try
|
||||
|
|
|
|||
Loading…
Reference in New Issue