123456789101112131415161718192021222324252627 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using GDNXFD.Data;
- using GDNXFD.Data.Model;
- namespace GDNXFD.WcfService
- {
- public class FaultInfoService : IFaultInfoService
- {
- /// <summary>
- /// 获取故障列表
- /// </summary>
- /// <returns></returns>
- public IList<DeviceFault> GetDeviceFault()
- {
- return DeviceFaultRepository.GetDeviceFault();
- }
- public IList<Warning> GetWarningInfo()
- {
- return WarningRepository.GetWarningInfoHaveFaultCode();
- }
- }
- }
|