AlermTypeBLL.cs 601 B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using LeaRun.Application.Entity.DataAlarm;
  7. using LeaRun.Application.Service.DataAlarm;
  8. namespace LeaRun.Application.Busines.DataAlarm
  9. {
  10. public class AlermTypeBLL
  11. {
  12. AlermTypeService service = new AlermTypeService();
  13. /// <summary>
  14. /// 获取所有的报警类型
  15. /// </summary>
  16. /// <returns></returns>
  17. public IEnumerable<AlermType> GetAllAlermTypes()
  18. {
  19. return service.GetAllAlermTypes();
  20. }
  21. }
  22. }