34 lines
862 B
C#
34 lines
862 B
C#
|
|
using JiShe.IoT.CommonServices.Dto;
|
|||
|
|
using JiShe.ServicePro.Commons;
|
|||
|
|
using JiShe.ServicePro.Core;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace JiShe.IoT.CommonServices
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 通用服务
|
|||
|
|
/// </summary>
|
|||
|
|
public interface ICommonService
|
|||
|
|
{
|
|||
|
|
#region 公共依赖接口
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 初始化所有固定的枚举下拉框字典
|
|||
|
|
/// </summary>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
Task InitSelectTypetList();
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 根据type名称获取下拉框数据,主要是枚举等
|
|||
|
|
/// </summary>
|
|||
|
|
/// <param name="input"></param>
|
|||
|
|
/// <returns></returns>
|
|||
|
|
Task<List<SelectResult>> GetSelectResultList(SelectResultListInput input);
|
|||
|
|
#endregion
|
|||
|
|
}
|
|||
|
|
}
|