|
|
|
@ -315,9 +315,12 @@ public class ChargerClient : TcpClient<IBaseHandler, Decoder, Encoder>
|
|
|
|
|
|
|
|
|
|
if (ChargerMode != mode)
|
|
|
|
|
{
|
|
|
|
|
SendChangeChargeMode(mode);
|
|
|
|
|
ChargerMode = mode;
|
|
|
|
|
Thread.Sleep(3000);
|
|
|
|
|
Result<bool> sendChangeChargeMode = SendChangeChargeMode(mode);
|
|
|
|
|
if (sendChangeChargeMode.IsSuccess)
|
|
|
|
|
{
|
|
|
|
|
ChargerMode = mode;
|
|
|
|
|
Thread.Sleep(3000);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (string.IsNullOrWhiteSpace(chargeOrderNo))
|
|
|
|
|