From 550218e9e06f24b9262c7adde0e50e370c8e5b79 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Wed, 29 May 2024 12:10:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=B0=83=E6=95=B4=E5=8F=8A?= =?UTF-8?q?=E7=8E=B0=E5=9C=BA=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- third_party/electrical_machinery/electrical_machinery.go | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/electrical_machinery/electrical_machinery.go b/third_party/electrical_machinery/electrical_machinery.go index a4f6442..cb3b196 100644 --- a/third_party/electrical_machinery/electrical_machinery.go +++ b/third_party/electrical_machinery/electrical_machinery.go @@ -134,6 +134,7 @@ func initEMMsg(trainState *state_proto.TrainState) map[int]*message.ElectricMach } func (s *electricalMachineryImpl) initElectricalMachinery() { + s.electricalMachineryUdpClientMap = map[int]udp.UdpClient{} for _, c := range s.runConfig { if &c != nil && c.Ip != "" && c.Open { ep := PointA