将S7后台服务移植到DMS.Infrastructure项目中

This commit is contained in:
2025-07-24 22:03:26 +08:00
parent 35e5033094
commit 58cb05645e
9 changed files with 597 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
using DMS.Core.Models;
using System.Threading.Tasks;
namespace DMS.Application.Interfaces;
public interface IDataProcessingService
{
Task EnqueueAsync(Variable variable);
}

View File

@@ -0,0 +1,13 @@
using DMS.Core.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace DMS.Application.Interfaces;
public interface IDeviceDataService
{
List<Device> Devices { get; }
event Action<List<Device>> OnDeviceListChanged;
event Action<Device, bool> OnDeviceIsActiveChanged;
Task InitializeAsync();
}