From ea0628889f64f802768c4fdf17d2223424e5e29f Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期三, 30 十月 2024 11:13:22 +0800 Subject: [PATCH] 1 --- WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs index 08cdfce..525806e 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs +++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs @@ -41,6 +41,11 @@ _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(); -- Gitblit v1.9.3