43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
using InSituLaboratory.Entities;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace InSituLaboratory.IService
|
|
{
|
|
public interface IDeviceSvice : IBaseService
|
|
{
|
|
/// <summary>
|
|
/// 获取设备清单
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
IEnumerable<SysDevice> GetDevices();
|
|
|
|
/// <summary>
|
|
/// 根据设备名称获取设备预设工作时长
|
|
/// </summary>
|
|
/// <param name="DeviceName"></param>
|
|
/// <returns></returns>
|
|
string GetDeviceByDeviceName(string DeviceName);
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 根据设备名称获取设备预设工作时长
|
|
/// </summary>
|
|
/// <param name="DeviceName"></param>
|
|
/// <returns></returns>
|
|
string GetDeviceByDeviceNameMinTime(string DeviceName);
|
|
|
|
|
|
/// <summary>
|
|
/// 获取子时序号
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
IEnumerable<SysEmu> GetNum();
|
|
|
|
}
|
|
}
|