PLC日志修改

master
zby 4 months ago
parent 3e8ceb690a
commit 5dbff26247

@ -32,7 +32,7 @@ public class BatteryPackDisassembledReqHandler : SimpleChannelInboundHandler<Bat
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, BatteryPackDisassembledReq msg)
{
Log.Info("swap finish");
Log.Info("Battery pack disassembly finish");
ctx.Channel.WriteAndFlushAsync(message: new BatteryPackDisassembledResq());
ClientMgr.PlcClient.DisassembleDone = true;

@ -29,7 +29,7 @@ public class BatteryShelfNumberReqHandler : SimpleChannelInboundHandler<BatteryS
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, BatteryShelfNumberReq msg)
{
Log.Info("swap finish");
Log.Info("Battery shelf number");
}
}

@ -29,7 +29,7 @@ public class ContinueCommandResqHandler : SimpleChannelInboundHandler<ContinueCo
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, ContinueCommandResq msg)
{
Log.Info("swap finish");
Log.Info("Continue command Reply");
}

@ -29,7 +29,7 @@ public class ElectricalConnectorsReqHandler : SimpleChannelInboundHandler<Electr
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, ElectricalConnectorsReq msg)
{
Log.Info("swap finish");
Log.Info("Electrical connectors");
}
}

@ -29,7 +29,7 @@ public class FaultResetResqHandler : SimpleChannelInboundHandler<FaultResetResq>
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, FaultResetResq msg)
{
Log.Info("swap finish");
Log.Info("Fault reset Reply");
}
}

@ -29,7 +29,7 @@ public class InboundCommandsResqHandler : SimpleChannelInboundHandler<InboundCom
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, InboundCommandsResq msg)
{
Log.Info("swap finish");
Log.Info("Inbound commands Reply");
}
}

@ -29,7 +29,7 @@ public class InitializeCommandResqHandler : SimpleChannelInboundHandler<Initiali
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, InitializeCommandResq msg)
{
Log.Info("swap finish");
Log.Info("Initialize command Reply");
}
}

@ -30,7 +30,7 @@ public class MigrationCompleteReqHandler : SimpleChannelInboundHandler<Migration
protected override void ChannelRead0(IChannelHandlerContext ctx, MigrationCompleteReq msg)
{
Log.Info("swap finish");
Log.Info("Move library finish");
ctx.Channel.WriteAndFlushAsync(message: new Msg.Host.Resp.MigrationCompleteResq());

@ -29,7 +29,7 @@ public class MoveCommandResqHandler : SimpleChannelInboundHandler<MoveCommandRes
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, MoveCommandResq msg)
{
Log.Info("swap finish");
Log.Info("Move command Reply");
}
}

@ -29,7 +29,7 @@ public class OutboundCommandResqHandler : SimpleChannelInboundHandler<OutboundCo
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, OutboundCommandResq msg)
{
Log.Info("swap finish");
Log.Info("Outbound command Reply");
}
}

@ -29,7 +29,7 @@ public class OutboundCompleteReqHandler : SimpleChannelInboundHandler<OutboundCo
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, OutboundCompleteReq msg)
{
Log.Info("swap finish");
Log.Info("Outbound shipments finish");
ctx.Channel.WriteAndFlushAsync(message: new Msg.Host.Resp.OutboundCompleteResq());

@ -29,7 +29,7 @@ public class ParameterSettingsResqHandler : SimpleChannelInboundHandler<Paramete
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, ParameterSettingsResq msg)
{
Log.Info("swap finish");
Log.Info("Parameter settings Reply");
}
}

@ -29,7 +29,7 @@ public class PauseCommandResqHandler : SimpleChannelInboundHandler<PauseCommandR
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, PauseCommandResq msg)
{
Log.Info("swap finish");
Log.Info("Pause command Reply");
}
}

@ -29,7 +29,7 @@ public class PowerTransferCompletedReqHandler : SimpleChannelInboundHandler<Powe
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, PowerTransferCompletedReq msg)
{
Log.Info("swap finish");
Log.Info("Move electricity finish");
ctx.Channel.WriteAndFlushAsync(message: new Msg.Host.Resp.PowerTransferCompletedResq());

@ -30,7 +30,7 @@ public class PrepareBatteryCompleteReqHandler : SimpleChannelInboundHandler<Prep
protected override void ChannelRead0(IChannelHandlerContext ctx, PrepareBatteryCompleteReq msg)
{
Log.Info("swap finish");
Log.Info("Prepare battery finish");
ctx.Channel.WriteAndFlushAsync(message: new Msg.Host.Resp.PrepareBatteryCompleteResq());

@ -29,7 +29,7 @@ public class PrepareBatteryOnResqHandler : SimpleChannelInboundHandler<PrepareBa
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, PrepareBatteryOnResq msg)
{
Log.Info("swap finish");
Log.Info("Prepare battery Reply");
}
}

@ -29,7 +29,7 @@ public class RemoteSignalReqHandler : SimpleChannelInboundHandler<RemoteSignalRe
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, RemoteSignalReq msg)
{
Log.Info("swap finish");
Log.Info("Remote Signal");
}
}

@ -29,7 +29,7 @@ public class StartMovElectricityResqHandler : SimpleChannelInboundHandler<StartM
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, StartMovElectricityResq msg)
{
Log.Info("swap finish");
Log.Info("Start power command Reply");
}
}

@ -28,7 +28,7 @@ public class SummaryFailuresReqHandler : SimpleChannelInboundHandler<SummaryFail
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, SummaryFailuresReq msg)
{
Log.Info("swap finish");
Log.Info("Summary of failures");
/*if (msg.Message.Length < 300)
{

@ -29,7 +29,7 @@ public class TerminationOrderResqHandler : SimpleChannelInboundHandler<Terminati
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, TerminationOrderResq msg)
{
Log.Info("swap finish");
Log.Info("Termination Order Reply");
}
}

@ -29,7 +29,7 @@ public class VehicleModelResqHandler : SimpleChannelInboundHandler<VehicleModelR
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, VehicleModelResq msg)
{
Log.Info("swap finish");
Log.Info("Vehicle model Reply");
}
}

@ -29,7 +29,7 @@ public class WarehousCompleteReqHandler : SimpleChannelInboundHandler<WarehousCo
/// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, WarehousCompleteReq msg)
{
Log.Info("swap finish");
Log.Info("Warehousing finish");
ctx.Channel.WriteAndFlushAsync(message: new Msg.Host.Resp.WarehousCompleteResq());

Loading…
Cancel
Save