From 2aef482fa7431fb47eef94081ff23ec220f89820 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期五, 24 一月 2025 09:10:31 +0800
Subject: [PATCH] 1

---
 WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs
index 08cdfce..05a1289 100644
--- a/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs
+++ b/WIDESEAWCS_Server/WIDESEAWCS_QuartzJob/Service/DeviceProtocolDetailService.cs
@@ -31,16 +31,28 @@
 
 namespace WIDESEAWCS_QuartzJob.Service
 {
+    /// <summary>
+    /// 璁惧鍗忚鏄庣粏涓氬姟灞�
+    /// </summary>
     public class DeviceProtocolDetailService : ServiceBase<Dt_DeviceProtocolDetail, IDeviceProtocolDetailRepository>, IDeviceProtocolDetailService
     {
         private readonly IUnitOfWorkManage _unitOfWorkManage;
         private readonly IMapper _mapper;
+
+        /// <summary>
+        /// 璁惧鍗忚鏄庣粏涓氬姟灞�
+        /// </summary>
         public DeviceProtocolDetailService(IDeviceProtocolDetailRepository BaseDal, IUnitOfWorkManage unitOfWorkManage, IMapper mapper) : base(BaseDal)
         {
             _unitOfWorkManage = unitOfWorkManage;
             _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