| | |
| | | _mapper = mapper; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 根据设备类型获取协议明细信息 |
| | | /// </summary> |
| | | /// <param name="deviceType">设备类型</param> |
| | | /// <returns>返回设备协议明细DTO集合</returns> |
| | | public List<DeviceProtocolDetailDTO> GetDeviceProtocolDetailsByDeviceType(string deviceType) |
| | | { |
| | | return BaseDal.QueryData(x => x.DeviceType == deviceType).Select(x => new DeviceProtocolDetailDTO { DeviceType = x.DeviceType, DeviceProParamName = x.DeviceProParamName, ProtocalDetailValue = x.ProtocalDetailValue, ProtocolDetailDes = x.ProtocolDetailDes, ProtocolDetailType = x.ProtocolDetailType }).ToList(); |