80 lines
2.4 KiB
C#
80 lines
2.4 KiB
C#
|
|
using InSituLaboratory.Entities.ExperimentalStationEntities;
|
|||
|
|
using InSituLaboratory.Entities.Sensor;
|
|||
|
|
using InSituLaboratory.Entities.SysData;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace InSituLaboratory.IService.Sensor
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 传感器通信接口
|
|||
|
|
/// </summary>
|
|||
|
|
public interface ISensorService : IBaseService
|
|||
|
|
{
|
|||
|
|
#region MEMS色谱仪
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取MEMS色谱仪数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
IEnumerable<MEMSSpModel> GetMEMSSP();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取MEMS色谱仪数据--图表
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="key"></param>
|
|||
|
|
/// <param name="pageSize"></param>
|
|||
|
|
/// <param name="pageIndex"></param>
|
|||
|
|
/// <param name="totalCount"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
IEnumerable<MEMSSpModel> GetMemsSPData();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取MEMS色谱仪数据--分页 按时间倒序排序
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="key"></param>
|
|||
|
|
/// <param name="pageSize"></param>
|
|||
|
|
/// <param name="pageIndex"></param>
|
|||
|
|
/// <param name="totalCount"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
IEnumerable<MEMSSpModel> GetMemsSPData(string key, int pageSize, int pageIndex, out int totalCount);
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
#region MEMS质谱仪
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取MEMS质谱仪数据
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
IEnumerable<MEMSZpModel> GetMEMSZP();
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取MEMS质谱仪数据--图表
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="key"></param>
|
|||
|
|
/// <param name="pageSize"></param>
|
|||
|
|
/// <param name="pageIndex"></param>
|
|||
|
|
/// <param name="totalCount"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
IEnumerable<MEMSZpModel> GetMemsZPData();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获取MEMS质谱仪数据--分页 按时间倒序排序
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="key"></param>
|
|||
|
|
/// <param name="pageSize"></param>
|
|||
|
|
/// <param name="pageIndex"></param>
|
|||
|
|
/// <param name="totalCount"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
IEnumerable<MEMSZpModel> GetMemsZPData(string key, int pageSize, int pageIndex, out int totalCount);
|
|||
|
|
#endregion
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|