From 1c30ee4068eb5dba3c6b9a4987b98034f2a622d0 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 13 一月 2025 10:49:47 +0800
Subject: [PATCH] 登录界面修改

---
 Service/HStation.Service.Assets.Core/05-service/18-Hydrant/03-HydrantCoefficient/AssetsHydrantCoefficientCacheHelper.cs |  121 +++++++++++++++++++--------------------
 1 files changed, 59 insertions(+), 62 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/05-service/18-Hydrant/03-HydrantCoefficient/AssetsHydrantCoefficientCacheHelper.cs b/Service/HStation.Service.Assets.Core/05-service/18-Hydrant/03-HydrantCoefficient/AssetsHydrantCoefficientCacheHelper.cs
index 0e9e575..764eddf 100644
--- a/Service/HStation.Service.Assets.Core/05-service/18-Hydrant/03-HydrantCoefficient/AssetsHydrantCoefficientCacheHelper.cs
+++ b/Service/HStation.Service.Assets.Core/05-service/18-Hydrant/03-HydrantCoefficient/AssetsHydrantCoefficientCacheHelper.cs
@@ -1,74 +1,71 @@
 锘縩amespace HStation.Service
 {
     /// <summary>
-    /// 娑堢伀鏍撶郴鏁�
-    ///</summary>   
-    internal class AssetsHydrantCoefficientCacheHelper  
+    /// AssetsHydrantFactor
+    /// 缂撳瓨杈呭姪绫�
+    /// </summary>
+    internal class AssetsHydrantFactorCacheHelper
     {
-         
-		private const string _contentKey = "AssetsHydrantCoefficientList";
+        private const string _contentKey = "AssetsHydrantFactorList";
 
-		internal static string GetCacheKey()
-		{
-			return CacheHelper.GetCacheKey(_contentKey);
-		}
+        internal static string GetCacheKey()
+        {
+            return CacheHelper.GetCacheKey(_contentKey);
+        }
 
-		/// <summary>
-		/// 璁剧疆缂撳瓨
-		/// </summary>
-		public static void Set(List<Model.AssetsHydrantCoefficient> list, int Minites = 30, int RandomSeconds = 0)
-		{
-			var cacheKey = GetCacheKey();
-			MemoryCacheHelper.Set(cacheKey, list, Minites * 60 + RandomSeconds);
-		}
+        /// <summary>
+        /// 璁剧疆缂撳瓨
+        /// </summary>
+        public static void Set(List<Model.AssetsHydrantFactor> list, int Minites = 30, int RandomSeconds = 0)
+        {
+            var cacheKey = GetCacheKey();
+            MemoryCacheHelper.Set(cacheKey, list, Minites * 60 + RandomSeconds);
+        }
 
-		/// <summary>
-		/// 鑾峰彇缂撳瓨
-		/// </summary>
-		/// <returns></returns>
-		public static List<Model.AssetsHydrantCoefficient> Get()
-		{
-			var cacheKey = GetCacheKey();
-			return MemoryCacheHelper.Get<List<Model.AssetsHydrantCoefficient>>(cacheKey);
-		}
+        /// <summary>
+        /// 鑾峰彇缂撳瓨
+        /// </summary>
+        /// <returns></returns>
+        public static List<Model.AssetsHydrantFactor> Get()
+        {
+            var cacheKey = GetCacheKey();
+            return MemoryCacheHelper.Get<List<Model.AssetsHydrantFactor>>(cacheKey);
+        }
 
-		/// <summary>
-		/// 鑾峰彇璁剧疆缂撳瓨
-		/// </summary>
-		public static List<Model.AssetsHydrantCoefficient> GetSet(Func<List<Model.AssetsHydrantCoefficient>> func, int Minites = 30, int RandomSeconds = 0)
-		{
-			var cacheKey = GetCacheKey();
-			return MemoryCacheHelper.GetSet(cacheKey, func, Minites * 60 + RandomSeconds);
-		}
+        /// <summary>
+        /// 鑾峰彇璁剧疆缂撳瓨
+        /// </summary>
+        public static List<Model.AssetsHydrantFactor> GetSet(Func<List<Model.AssetsHydrantFactor>> func, int Minites = 30, int RandomSeconds = 0)
+        {
+            var cacheKey = GetCacheKey();
+            return MemoryCacheHelper.GetSet(cacheKey, func, Minites * 60 + RandomSeconds);
+        }
 
-		/// <summary>
-		/// 绉婚櫎缂撳瓨
-		/// </summary>
-		public static void Remove()
-		{
-			var cacheKey = GetCacheKey();
-			MemoryCacheHelper.Remove(cacheKey);
-		}
+        /// <summary>
+        /// 绉婚櫎缂撳瓨
+        /// </summary>
+        public static void Remove()
+        {
+            var cacheKey = GetCacheKey();
+            MemoryCacheHelper.Remove(cacheKey);
+        }
 
-		/// <summary>
-		/// 鍙戝竷
-		/// </summary>
-		public static void Publish(string key)
-		{
-			var cacheKey = GetCacheKey();
-			MemoryCacheWipeRelationHelper.Set(key, cacheKey);
-		}
+        /// <summary>
+        /// 鍙戝竷
+        /// </summary>
+        public static void Publish(string key)
+        {
+            var cacheKey = GetCacheKey();
+            MemoryCacheWipeRelationHelper.Set(key, cacheKey);
+        }
 
-		/// <summary>
-		/// 瑙﹀彂
-		/// </summary>
-		public static void Trigger()
-		{
-			var cacheKey = GetCacheKey();
-			MemoryCacheWipeRelationHelper.Trigger(cacheKey);
-		}
-
+        /// <summary>
+        /// 瑙﹀彂
+        /// </summary>
+        public static void Trigger()
+        {
+            var cacheKey = GetCacheKey();
+            MemoryCacheWipeRelationHelper.Trigger(cacheKey);
+        }
     }
-}
-  
- 
\ No newline at end of file
+}
\ No newline at end of file

--
Gitblit v1.9.3