修改错误

master
赵宝玉 3 weeks ago
parent e8f2ac182b
commit 941a288d95

@ -385,9 +385,9 @@ public class StationReadyState : IState
} }
Thread.Sleep(1000); Thread.Sleep(1000);
Task<bool> beginRead = RfidApi.BeginRead(); Task<bool> beginReads = RfidApi.BeginRead();
beginRead.Wait(); beginRead.Wait();
if (!beginRead.Result) if (!beginReads.Result)
{ {
_log.Info("begin read rfid error"); _log.Info("begin read rfid error");
} }

Loading…
Cancel
Save