wxw
2024-09-05 64274de013b172d31d6cda1349786e5c165cf79f
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