chengsc
2025-06-11 413194b8c6a71fea8cb7a567800b11703c6c7d5a
Admin.NET/WCS.Application/Hub/PlcDeviceHub.cs
@@ -38,7 +38,7 @@
            //开启读取服务线程
            boRunningState = true;
            cts = new CancellationTokenSource();//取消线程标识
            StartRead();
            //StartRead();
        }
        await base.OnConnectedAsync();
    }
@@ -225,7 +225,7 @@
                                     modDevice.PickStorey != initialState.PickStorey)))
                            {
                                // 通知用户变更
                                HubUtil.PublicPlcDevice(modDevice);
                                //HubUtil.PublicPlcDevice(modDevice);
                            }
                        }
                        initialStates[modDevice.Id] = modDevice.Adapt<WcsDeviceOutput>();