zhuangpei-mesbackend/DOAN.Service/MES/dev/IService/IDeviceDowntimeRecordService.cs
2025-06-16 10:38:57 +08:00

31 lines
845 B
C#

using System;
using DOAN.Model.MES.dev;
using DOAN.Model.MES.dev.Dto;
using System.Collections.Generic;
using DOAN.Model;
using DOAN.Model.mes.echarts;
namespace DOAN.Service.MES.dev.IService
{
/// <summary>
/// 设备停机时间service接口
/// </summary>
public interface IDeviceDowntimeRecordService : IBaseService<DeviceDowntimeRecord>
{
List<DeviceAccount> GetDevices(string query);
PagedInfo<DeviceDowntimeRecordDto> GetList(DeviceDowntimeRecordQueryDto parm);
DeviceDowntimeRecord GetInfo(int Id);
DeviceDowntimeRecord AddDeviceDowntimeRecord(DeviceDowntimeRecord parm);
int UpdateDeviceDowntimeRecord(DeviceDowntimeRecord parm);
EchartsOptions GetDeviceDowntimeRecordMonthBarChart();
EchartsOptions GetDeviceDowntimeRecordReasonTop3(int top);
}
}