From b12add6688c336e3e561fb366cb3a3d932a8c309 Mon Sep 17 00:00:00 2001 From: lxw Date: Tue, 11 Jun 2024 10:38:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3rfid=E8=AF=BB=E5=8F=96?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=A0=87=E5=BF=97=E4=B8=BA=E6=88=90=E5=8A=9F?= =?UTF-8?q?=20=E4=BD=86=E6=B2=A1=E6=9C=89=E6=95=B0=E6=8D=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Execute/Step/StationReadyState.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Service/Execute/Step/StationReadyState.cs b/Service/Execute/Step/StationReadyState.cs index 3fb1d07..1166baf 100644 --- a/Service/Execute/Step/StationReadyState.cs +++ b/Service/Execute/Step/StationReadyState.cs @@ -213,7 +213,9 @@ public class StationReadyState : IState var machineRfidReadModel = rfidReadModel.Result; - if ( rfidReadModel.IsCompletedSuccessfully && machineRfidReadModel != null && machineRfidReadModel.Result==1) + if ( rfidReadModel.IsCompletedSuccessfully && machineRfidReadModel != null + && machineRfidReadModel.Result==1 + && !string.IsNullOrEmpty(machineRfidReadModel.VelVin)) { machine.RfidReadModel = machineRfidReadModel; _log.Info($"read rfid={JsonConvert.SerializeObject(machine.RfidReadModel)}");