充电机鉴权同时发尖峰平谷-电价配置

master
CZ 4 months ago
parent 9b1c1161f8
commit 966b4a3acf

@ -274,7 +274,7 @@ public class ChargerClient : TcpClient<IBaseHandler, Decoder, Encoder>
/// <summary> /// <summary>
/// 发送鉴权 /// 发送鉴权----并且发送电价配置
/// </summary> /// </summary>
public Result<bool> SendAuth() public Result<bool> SendAuth()
{ {
@ -290,6 +290,10 @@ public class ChargerClient : TcpClient<IBaseHandler, Decoder, Encoder>
BitUtls.BytesToHexStr(auth.ToBytes()); BitUtls.BytesToHexStr(auth.ToBytes());
this.Channel.WriteAndFlushAsync(auth); this.Channel.WriteAndFlushAsync(auth);
return Result<bool>.Success(); return Result<bool>.Success();
SetPeakValleyTime SetPeakValleyTime = new SetPeakValleyTime();
SendSetPeakValleyTime(SetPeakValleyTime);
} }
/// <summary> /// <summary>

Loading…
Cancel
Save