修改发送错误

master
zby 1 month ago
parent d4f7d6a06b
commit fca63f2853

@ -18,6 +18,10 @@ namespace Service.Charger.Handler;
public class BatteryStatusReportedReqHandler : SimpleChannelInboundHandler<BatteryStatusReportedReq>, IBaseHandler
{
private readonly BinInfoRepository _binInfoRepository;
public BatteryStatusReportedReqHandler(BinInfoRepository binInfoRepository)
{
_binInfoRepository = binInfoRepository;
}
private static readonly ILog Log =LogManager.GetLogger(typeof(BatteryStatusReportedReqHandler));
public BinInfoRepository BinInfoRepository { get; set; }

@ -53,11 +53,11 @@ public class PlcController : ControllerBase
}
return Result<bool>.Fail("充电机未连接");
}
///// <summary>
///// 发送电池充电状态
///// </summary>
///// <param name="sn">充电机编号</param>
///// <param name="msg">消息</param>
/// <summary>
/// 发送电池充电状态
/// </summary>
/// <param name="sn">充电机编号</param>
/// <param name="msg">消息</param>
//[HttpGet]
//[Route("SendWhetherChargedReq")]
//public Result<bool> SendWhetherChargedResq()

Loading…
Cancel
Save