等待料盘到位超时时间由5秒改为30秒

develop
lhiven 6 months ago
parent 316b933a7d
commit 4a3e287dc1

@ -532,7 +532,7 @@ namespace Rs.AutoDischarge.V3.Flow
Stopwatch tm = new Stopwatch(); Stopwatch tm = new Stopwatch();
tm.Start(); tm.Start();
while( true ) { while( true ) {
if(tm.ElapsedMilliseconds<5000) if(tm.ElapsedMilliseconds<30000)
{ {
if (Ops.IsOn($"{(int)m_stockType}号料仓料盘到位光电检测") || GlobalVar.VirtualAxis) if (Ops.IsOn($"{(int)m_stockType}号料仓料盘到位光电检测") || GlobalVar.VirtualAxis)
{ {

Loading…
Cancel
Save