hwh
2024-09-05 d3e1346d52806f00d21eba23cabf9cfa4f61d7d4
Admin.NET/WCS.Application/Hub/PlcHub.cs
@@ -55,7 +55,7 @@
        //自刷新
        if (context.BoRefresh.HasValue)
            PLCTaskAction.boRefresh = context.BoRefresh.Value;
        await _plcHubContext.Clients.All.UpdateService(context);
        await _plcHubContext.Clients.All.UpdateService(new PLCServiceModel() { BoRunningState = PLCTaskAction.boRunningState, BoRefresh = PLCTaskAction.boRefresh, BoOffline = PLCTaskAction.boOffline });
    }
}
public class PLCServiceModel