feat(mqtt): 添加设备数据上传功能及相关服务
实现设备数据通过MQTT上传功能,包括: 1. 新增DeviceUploadData实体及DTO 2. 添加MQTT服务处理设备消息 3. 实现设备数据存储逻辑 4. 创建相关控制器和服务接口
This commit is contained in:
21
ZR.Service/mes/dc/IService/IDeviceUploadDataService.cs
Normal file
21
ZR.Service/mes/dc/IService/IDeviceUploadDataService.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using ZR.Model;
|
||||
using ZR.Model.dc;
|
||||
using ZR.Model.Dto;
|
||||
|
||||
namespace ZR.Service.MES.dc.IService
|
||||
{
|
||||
/// <summary>
|
||||
/// service接口
|
||||
/// </summary>
|
||||
public interface IDeviceUploadDataService : IBaseService<DeviceUploadData>
|
||||
{
|
||||
PagedInfo<DeviceUploadDataDto> GetList(DeviceUploadDataQueryDto parm);
|
||||
|
||||
DeviceUploadData GetInfo(long Id);
|
||||
|
||||
DeviceUploadData AddDeviceUploadData(DeviceUploadData parm);
|
||||
|
||||
int UpdateDeviceUploadData(DeviceUploadData parm);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user