From 0cd48df8ccca96a8a0117a508c342a90dc2eacb8 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期五, 08 十一月 2024 13:07:43 +0800
Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0

---
 Service/HStation.Service.Assets.Core/05-service/05-Sprinkler/03-AssetsSprinklerCoefficient/Cache/AssetsSprinklerCoefficientCacheHelper.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/05-service/09-Nozzle/02-ThreeLinkSeries/Cache/NozzleSeriesCacheHelper.cs b/Service/HStation.Service.Assets.Core/05-service/05-Sprinkler/03-AssetsSprinklerCoefficient/Cache/AssetsSprinklerCoefficientCacheHelper.cs
similarity index 74%
copy from Service/HStation.Service.Assets.Core/05-service/09-Nozzle/02-ThreeLinkSeries/Cache/NozzleSeriesCacheHelper.cs
copy to Service/HStation.Service.Assets.Core/05-service/05-Sprinkler/03-AssetsSprinklerCoefficient/Cache/AssetsSprinklerCoefficientCacheHelper.cs
index cbf4d58..889ed81 100644
--- a/Service/HStation.Service.Assets.Core/05-service/09-Nozzle/02-ThreeLinkSeries/Cache/NozzleSeriesCacheHelper.cs
+++ b/Service/HStation.Service.Assets.Core/05-service/05-Sprinkler/03-AssetsSprinklerCoefficient/Cache/AssetsSprinklerCoefficientCacheHelper.cs
@@ -1,12 +1,12 @@
 锘縩amespace HStation.Service
 {
     /// <summary>
-    /// AssetsSprinklerSeries
+    /// AssetsSprinklerCoefficient
     /// 缂撳瓨杈呭姪绫�
     /// </summary>
-    internal class AssetsNozzleSeriesCacheHelper
+    internal class AssetsSprinklerCoefficientCacheHelper
     {
-        private const string _contentKey = "AssetsNozzleSeriesList";
+        private const string _contentKey = "AssetsSprinklerCoefficientList";
 
         internal static string GetCacheKey()
         {
@@ -16,7 +16,7 @@
         /// <summary>
         /// 璁剧疆缂撳瓨
         /// </summary>
-        public static void Set(List<Model.AssetsSprinklerSeries> list, int Minites = 30, int RandomSeconds = 0)
+        public static void Set(List<Model.AssetsSprinklerCoefficient> list, int Minites = 30, int RandomSeconds = 0)
         {
             var cacheKey = GetCacheKey();
             MemoryCacheHelper.Set(cacheKey, list, Minites * 60 + RandomSeconds);
@@ -26,16 +26,16 @@
         /// 鑾峰彇缂撳瓨
         /// </summary>
         /// <returns></returns>
-        public static List<Model.AssetsSprinklerSeries> Get()
+        public static List<Model.AssetsSprinklerCoefficient> Get()
         {
             var cacheKey = GetCacheKey();
-            return MemoryCacheHelper.Get<List<Model.AssetsSprinklerSeries>>(cacheKey);
+            return MemoryCacheHelper.Get<List<Model.AssetsSprinklerCoefficient>>(cacheKey);
         }
 
         /// <summary>
         /// 鑾峰彇璁剧疆缂撳瓨
         /// </summary>
-        public static List<Model.AssetsSprinklerSeries> GetSet(Func<List<Model.AssetsSprinklerSeries>> func, int Minites = 30, int RandomSeconds = 0)
+        public static List<Model.AssetsSprinklerCoefficient> GetSet(Func<List<Model.AssetsSprinklerCoefficient>> func, int Minites = 30, int RandomSeconds = 0)
         {
             var cacheKey = GetCacheKey();
             return MemoryCacheHelper.GetSet(cacheKey, func, Minites * 60 + RandomSeconds);

--
Gitblit v1.9.3