From 94b37287ab83a79aa824a6fc9708f61759f91c51 Mon Sep 17 00:00:00 2001 From: xzb <223@qq.com> Date: Tue, 13 Jun 2023 13:32:34 +0800 Subject: [PATCH] =?UTF-8?q?ncc=E5=8D=8F=E8=AE=AEx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ats/message/convertor/DeviceStatusConvertor.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/club/joylink/xiannccda/ats/message/convertor/DeviceStatusConvertor.java b/src/main/java/club/joylink/xiannccda/ats/message/convertor/DeviceStatusConvertor.java index 7d2fc4e..7dee20e 100644 --- a/src/main/java/club/joylink/xiannccda/ats/message/convertor/DeviceStatusConvertor.java +++ b/src/main/java/club/joylink/xiannccda/ats/message/convertor/DeviceStatusConvertor.java @@ -1,6 +1,7 @@ package club.joylink.xiannccda.ats.message.convertor; -import club.joylink.xiannccda.ats.message.rep.device.DeviceStatus; + +import club.joylink.xiannccda.ats.message.line3.device.DeviceStatus; import club.joylink.xiannccda.dto.protos.DeviceStatusProto; import com.google.protobuf.GeneratedMessageV3; @@ -15,7 +16,7 @@ public class DeviceStatusConvertor { * Track状态proto */ public static void convertForTrack(final int statusBitMap,final DeviceStatusProto.Track.Builder to) throws Exception { - convert(DeviceStatus.TRACK.class,statusBitMap,to); + convert(DeviceStatus.TRACK.class, statusBitMap, to); final int SPEED_LIMIT_MASK = 0xff000000; final int SPEED_LIMIT_TYPE_MASK = 0x00f00000; final int speedLimit = (statusBitMap&SPEED_LIMIT_MASK)>>24;