chengsc
2024-11-04 50f6cb0f96f04f505b9493f7621d8e49ad5add9d
Admin.NET/WCS.Application/PLC/PLCTaskAction.cs
@@ -141,7 +141,7 @@
                        }
                        if (!modPlcUtil.Connected)
                        {
                            Thread.Sleep(10000);
                            Thread.Sleep(1000);
                            modPlcUtil.Open();
                            continue;
                        }
@@ -182,7 +182,7 @@
                            }
                        }
                        Thread.Sleep(50000);
                        Thread.Sleep(1000);
                    }
                    catch (OperationCanceledException)
                    {
@@ -245,7 +245,7 @@
                            HubUtil.PublicPlcConn(modPlc);
                        }
                    }
                    Thread.Sleep(1000);
                    Thread.Sleep(10000);
                }
            }
            catch (OperationCanceledException)