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