You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using CommonModel;
|
|
|
|
|
using LanShengModel;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace LanShengInterface
|
|
|
|
|
{
|
|
|
|
|
public interface IDeviceService
|
|
|
|
|
{
|
|
|
|
|
Task InsertData(DeviceData deviceData);
|
|
|
|
|
|
|
|
|
|
Task InsertDataDo();
|
|
|
|
|
|
|
|
|
|
Task TimerInsertDataDo();
|
|
|
|
|
|
|
|
|
|
Task InsertDataLog(TcpDataLog<DeviceData> dataLog);
|
|
|
|
|
|
|
|
|
|
Task InsertDataLogDo();
|
|
|
|
|
|
|
|
|
|
Task TimerInsertDataLogDo();
|
|
|
|
|
|
|
|
|
|
Task Offline(string id = "");
|
|
|
|
|
|
|
|
|
|
Task<DeviceData> GetDeviceData(string id);
|
|
|
|
|
|
|
|
|
|
Task<List<DeviceData>> GetDeviceData(string[] ids);
|
|
|
|
|
|
|
|
|
|
Task ResetRunCount(string id = "");
|
|
|
|
|
|
|
|
|
|
Task<PageData<DeviceError>> GetDeviceErrorPage(PageYearSearch<DeviceError> search);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取设备故障报表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="report">报表筛选</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<DeviceErrorReport> GetDeviceErrorReport(DeviceErrorReport report);
|
|
|
|
|
}
|
|
|
|
|
}
|