Commit 5f5daffe 张东亮

料架转移与放料机器人一起运动问题

1 个父辈 f1ba9b96
...@@ -705,7 +705,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -705,7 +705,7 @@ namespace OnlineStore.DeviceLibrary
} }
private string needNewShelf = ""; private string needNewShelf = "";
private object ReadyLock = new object(); private string ReadyLock = "";
private void S1_24_Ready() private void S1_24_Ready()
{ {
if (Monitor.TryEnter(ReadyLock, 1)) if (Monitor.TryEnter(ReadyLock, 1))
......
...@@ -102,7 +102,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -102,7 +102,7 @@ namespace OnlineStore.DeviceLibrary
} }
// private Stopwatch DiStop = new Stopwatch(); // private Stopwatch DiStop = new Stopwatch();
private Stopwatch abbWatch = new Stopwatch(); private Stopwatch abbWatch = new Stopwatch();
private object lockTimer = new object(); private string lockTimer = "";
internal void TimerProcess() internal void TimerProcess()
{ {
if (Monitor.TryEnter(lockTimer, 1)) if (Monitor.TryEnter(lockTimer, 1))
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!