From 5dbff26247a5f9e963ac59f1971fd101c320fda7 Mon Sep 17 00:00:00 2001 From: zby <24947@USER> Date: Fri, 2 Aug 2024 15:20:00 +0800 Subject: [PATCH] =?UTF-8?q?PLC=E6=97=A5=E5=BF=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Plc/Handler/BatteryPackDisassembledReqHandler.cs | 2 +- Service/Plc/Handler/BatteryShelfNumberReqHandler.cs | 2 +- Service/Plc/Handler/ContinueCommandResqHandler.cs | 2 +- Service/Plc/Handler/ElectricalConnectorsReqHandler.cs | 2 +- Service/Plc/Handler/FaultResetResqHandler.cs | 2 +- Service/Plc/Handler/InboundCommandsResqHandler.cs | 2 +- Service/Plc/Handler/InitializeCommandResqHandler.cs | 2 +- Service/Plc/Handler/MigrationCompleteReqHandler.cs | 2 +- Service/Plc/Handler/MoveCommandResqHandler.cs | 2 +- Service/Plc/Handler/OutboundCommandResqHandler.cs | 2 +- Service/Plc/Handler/OutboundCompleteReqHandler.cs | 2 +- Service/Plc/Handler/ParameterSettingsResqHandler.cs | 2 +- Service/Plc/Handler/PauseCommandResqHandler.cs | 2 +- Service/Plc/Handler/PowerTransferCompletedReqHandler.cs | 2 +- Service/Plc/Handler/PrepareBatteryCompleteReqHandler.cs | 2 +- Service/Plc/Handler/PrepareBatteryOnResqHandler.cs | 2 +- Service/Plc/Handler/RemoteSignalReqHandler.cs | 2 +- Service/Plc/Handler/StartMovElectricityResqHandler.cs | 2 +- Service/Plc/Handler/SummaryFailuresReqHandler.cs | 2 +- Service/Plc/Handler/TerminationOrderResqHandler.cs | 2 +- Service/Plc/Handler/VehicleModelResqHandler.cs | 2 +- Service/Plc/Handler/WarehousCompleteReqHandler.cs | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) diff --git a/Service/Plc/Handler/BatteryPackDisassembledReqHandler.cs b/Service/Plc/Handler/BatteryPackDisassembledReqHandler.cs index a1042de..a095060 100644 --- a/Service/Plc/Handler/BatteryPackDisassembledReqHandler.cs +++ b/Service/Plc/Handler/BatteryPackDisassembledReqHandler.cs @@ -32,7 +32,7 @@ public class BatteryPackDisassembledReqHandler : SimpleChannelInboundHandler 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; diff --git a/Service/Plc/Handler/BatteryShelfNumberReqHandler.cs b/Service/Plc/Handler/BatteryShelfNumberReqHandler.cs index 44bc06d..011cb6c 100644 --- a/Service/Plc/Handler/BatteryShelfNumberReqHandler.cs +++ b/Service/Plc/Handler/BatteryShelfNumberReqHandler.cs @@ -29,7 +29,7 @@ public class BatteryShelfNumberReqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, BatteryShelfNumberReq msg) { - Log.Info("swap finish"); + Log.Info("Battery shelf number"); } } diff --git a/Service/Plc/Handler/ContinueCommandResqHandler.cs b/Service/Plc/Handler/ContinueCommandResqHandler.cs index 4a36f54..260ad2a 100644 --- a/Service/Plc/Handler/ContinueCommandResqHandler.cs +++ b/Service/Plc/Handler/ContinueCommandResqHandler.cs @@ -29,7 +29,7 @@ public class ContinueCommandResqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, ContinueCommandResq msg) { - Log.Info("swap finish"); + Log.Info("Continue command Reply"); } diff --git a/Service/Plc/Handler/ElectricalConnectorsReqHandler.cs b/Service/Plc/Handler/ElectricalConnectorsReqHandler.cs index 29f6572..7fe4ab2 100644 --- a/Service/Plc/Handler/ElectricalConnectorsReqHandler.cs +++ b/Service/Plc/Handler/ElectricalConnectorsReqHandler.cs @@ -29,7 +29,7 @@ public class ElectricalConnectorsReqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, ElectricalConnectorsReq msg) { - Log.Info("swap finish"); + Log.Info("Electrical connectors"); } } diff --git a/Service/Plc/Handler/FaultResetResqHandler.cs b/Service/Plc/Handler/FaultResetResqHandler.cs index f4b8499..b6bf1a5 100644 --- a/Service/Plc/Handler/FaultResetResqHandler.cs +++ b/Service/Plc/Handler/FaultResetResqHandler.cs @@ -29,7 +29,7 @@ public class FaultResetResqHandler : SimpleChannelInboundHandler /// protected override void ChannelRead0(IChannelHandlerContext ctx, FaultResetResq msg) { - Log.Info("swap finish"); + Log.Info("Fault reset Reply"); } } diff --git a/Service/Plc/Handler/InboundCommandsResqHandler.cs b/Service/Plc/Handler/InboundCommandsResqHandler.cs index 3d163f2..ad608f7 100644 --- a/Service/Plc/Handler/InboundCommandsResqHandler.cs +++ b/Service/Plc/Handler/InboundCommandsResqHandler.cs @@ -29,7 +29,7 @@ public class InboundCommandsResqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, InboundCommandsResq msg) { - Log.Info("swap finish"); + Log.Info("Inbound commands Reply"); } } diff --git a/Service/Plc/Handler/InitializeCommandResqHandler.cs b/Service/Plc/Handler/InitializeCommandResqHandler.cs index 074b027..94b6461 100644 --- a/Service/Plc/Handler/InitializeCommandResqHandler.cs +++ b/Service/Plc/Handler/InitializeCommandResqHandler.cs @@ -29,7 +29,7 @@ public class InitializeCommandResqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, InitializeCommandResq msg) { - Log.Info("swap finish"); + Log.Info("Initialize command Reply"); } } diff --git a/Service/Plc/Handler/MigrationCompleteReqHandler.cs b/Service/Plc/Handler/MigrationCompleteReqHandler.cs index 57abc7e..822eff7 100644 --- a/Service/Plc/Handler/MigrationCompleteReqHandler.cs +++ b/Service/Plc/Handler/MigrationCompleteReqHandler.cs @@ -30,7 +30,7 @@ public class MigrationCompleteReqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, MoveCommandResq msg) { - Log.Info("swap finish"); + Log.Info("Move command Reply"); } } diff --git a/Service/Plc/Handler/OutboundCommandResqHandler.cs b/Service/Plc/Handler/OutboundCommandResqHandler.cs index 973a932..45d8219 100644 --- a/Service/Plc/Handler/OutboundCommandResqHandler.cs +++ b/Service/Plc/Handler/OutboundCommandResqHandler.cs @@ -29,7 +29,7 @@ public class OutboundCommandResqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, OutboundCommandResq msg) { - Log.Info("swap finish"); + Log.Info("Outbound command Reply"); } } diff --git a/Service/Plc/Handler/OutboundCompleteReqHandler.cs b/Service/Plc/Handler/OutboundCompleteReqHandler.cs index 60a73ee..4ad1f40 100644 --- a/Service/Plc/Handler/OutboundCompleteReqHandler.cs +++ b/Service/Plc/Handler/OutboundCompleteReqHandler.cs @@ -29,7 +29,7 @@ public class OutboundCompleteReqHandler : SimpleChannelInboundHandler 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()); diff --git a/Service/Plc/Handler/ParameterSettingsResqHandler.cs b/Service/Plc/Handler/ParameterSettingsResqHandler.cs index 2d14e32..f5b009a 100644 --- a/Service/Plc/Handler/ParameterSettingsResqHandler.cs +++ b/Service/Plc/Handler/ParameterSettingsResqHandler.cs @@ -29,7 +29,7 @@ public class ParameterSettingsResqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, ParameterSettingsResq msg) { - Log.Info("swap finish"); + Log.Info("Parameter settings Reply"); } } diff --git a/Service/Plc/Handler/PauseCommandResqHandler.cs b/Service/Plc/Handler/PauseCommandResqHandler.cs index 1e1488c..4f3b89a 100644 --- a/Service/Plc/Handler/PauseCommandResqHandler.cs +++ b/Service/Plc/Handler/PauseCommandResqHandler.cs @@ -29,7 +29,7 @@ public class PauseCommandResqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, PauseCommandResq msg) { - Log.Info("swap finish"); + Log.Info("Pause command Reply"); } } diff --git a/Service/Plc/Handler/PowerTransferCompletedReqHandler.cs b/Service/Plc/Handler/PowerTransferCompletedReqHandler.cs index 2a347d4..03c0981 100644 --- a/Service/Plc/Handler/PowerTransferCompletedReqHandler.cs +++ b/Service/Plc/Handler/PowerTransferCompletedReqHandler.cs @@ -29,7 +29,7 @@ public class PowerTransferCompletedReqHandler : SimpleChannelInboundHandler 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()); diff --git a/Service/Plc/Handler/PrepareBatteryCompleteReqHandler.cs b/Service/Plc/Handler/PrepareBatteryCompleteReqHandler.cs index ea67782..f53fb60 100644 --- a/Service/Plc/Handler/PrepareBatteryCompleteReqHandler.cs +++ b/Service/Plc/Handler/PrepareBatteryCompleteReqHandler.cs @@ -30,7 +30,7 @@ public class PrepareBatteryCompleteReqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, PrepareBatteryOnResq msg) { - Log.Info("swap finish"); + Log.Info("Prepare battery Reply"); } } diff --git a/Service/Plc/Handler/RemoteSignalReqHandler.cs b/Service/Plc/Handler/RemoteSignalReqHandler.cs index d13b2c1..44498fe 100644 --- a/Service/Plc/Handler/RemoteSignalReqHandler.cs +++ b/Service/Plc/Handler/RemoteSignalReqHandler.cs @@ -29,7 +29,7 @@ public class RemoteSignalReqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, RemoteSignalReq msg) { - Log.Info("swap finish"); + Log.Info("Remote Signal"); } } diff --git a/Service/Plc/Handler/StartMovElectricityResqHandler.cs b/Service/Plc/Handler/StartMovElectricityResqHandler.cs index 1ce215a..0b21250 100644 --- a/Service/Plc/Handler/StartMovElectricityResqHandler.cs +++ b/Service/Plc/Handler/StartMovElectricityResqHandler.cs @@ -29,7 +29,7 @@ public class StartMovElectricityResqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, StartMovElectricityResq msg) { - Log.Info("swap finish"); + Log.Info("Start power command Reply"); } } diff --git a/Service/Plc/Handler/SummaryFailuresReqHandler.cs b/Service/Plc/Handler/SummaryFailuresReqHandler.cs index f8af323..6f2c10d 100644 --- a/Service/Plc/Handler/SummaryFailuresReqHandler.cs +++ b/Service/Plc/Handler/SummaryFailuresReqHandler.cs @@ -28,7 +28,7 @@ public class SummaryFailuresReqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, SummaryFailuresReq msg) { - Log.Info("swap finish"); + Log.Info("Summary of failures"); /*if (msg.Message.Length < 300) { diff --git a/Service/Plc/Handler/TerminationOrderResqHandler.cs b/Service/Plc/Handler/TerminationOrderResqHandler.cs index f499d38..4e82e38 100644 --- a/Service/Plc/Handler/TerminationOrderResqHandler.cs +++ b/Service/Plc/Handler/TerminationOrderResqHandler.cs @@ -29,7 +29,7 @@ public class TerminationOrderResqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, TerminationOrderResq msg) { - Log.Info("swap finish"); + Log.Info("Termination Order Reply"); } } diff --git a/Service/Plc/Handler/VehicleModelResqHandler.cs b/Service/Plc/Handler/VehicleModelResqHandler.cs index 779f739..2951536 100644 --- a/Service/Plc/Handler/VehicleModelResqHandler.cs +++ b/Service/Plc/Handler/VehicleModelResqHandler.cs @@ -29,7 +29,7 @@ public class VehicleModelResqHandler : SimpleChannelInboundHandler protected override void ChannelRead0(IChannelHandlerContext ctx, VehicleModelResq msg) { - Log.Info("swap finish"); + Log.Info("Vehicle model Reply"); } } diff --git a/Service/Plc/Handler/WarehousCompleteReqHandler.cs b/Service/Plc/Handler/WarehousCompleteReqHandler.cs index cfa64ce..d0a3826 100644 --- a/Service/Plc/Handler/WarehousCompleteReqHandler.cs +++ b/Service/Plc/Handler/WarehousCompleteReqHandler.cs @@ -29,7 +29,7 @@ public class WarehousCompleteReqHandler : SimpleChannelInboundHandler 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());