PLC日志修改

master
zby 4 months ago
parent 3e8ceb690a
commit 5dbff26247

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

@ -29,7 +29,7 @@ public class BatteryShelfNumberReqHandler : SimpleChannelInboundHandler<BatteryS
/// </summary> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, BatteryShelfNumberReq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, ContinueCommandResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, ElectricalConnectorsReq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, FaultResetResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, InboundCommandsResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, InitializeCommandResq msg) 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) 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()); ctx.Channel.WriteAndFlushAsync(message: new Msg.Host.Resp.MigrationCompleteResq());

@ -29,7 +29,7 @@ public class MoveCommandResqHandler : SimpleChannelInboundHandler<MoveCommandRes
/// </summary> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, MoveCommandResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, OutboundCommandResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, OutboundCompleteReq msg) 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()); ctx.Channel.WriteAndFlushAsync(message: new Msg.Host.Resp.OutboundCompleteResq());

@ -29,7 +29,7 @@ public class ParameterSettingsResqHandler : SimpleChannelInboundHandler<Paramete
/// </summary> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, ParameterSettingsResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, PauseCommandResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, PowerTransferCompletedReq msg) 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()); 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) 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()); ctx.Channel.WriteAndFlushAsync(message: new Msg.Host.Resp.PrepareBatteryCompleteResq());

@ -29,7 +29,7 @@ public class PrepareBatteryOnResqHandler : SimpleChannelInboundHandler<PrepareBa
/// </summary> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, PrepareBatteryOnResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, RemoteSignalReq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, StartMovElectricityResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, SummaryFailuresReq msg) protected override void ChannelRead0(IChannelHandlerContext ctx, SummaryFailuresReq msg)
{ {
Log.Info("swap finish"); Log.Info("Summary of failures");
/*if (msg.Message.Length < 300) /*if (msg.Message.Length < 300)
{ {

@ -29,7 +29,7 @@ public class TerminationOrderResqHandler : SimpleChannelInboundHandler<Terminati
/// </summary> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, TerminationOrderResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, VehicleModelResq msg) 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> /// </summary>
protected override void ChannelRead0(IChannelHandlerContext ctx, WarehousCompleteReq msg) 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()); ctx.Channel.WriteAndFlushAsync(message: new Msg.Host.Resp.WarehousCompleteResq());

Loading…
Cancel
Save