From f2333318a31e92f6cbc3a572d8eb9fae9da0f892 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期六, 12 十月 2024 13:59:15 +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/01-PumpMainManage/08-PumpType/Cache/PumpTypeCacheHelper.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/Service/HStation.Service.Assets.Core/05-service/01-PumpMainManage/08-PumpType/Cache/PumpTypeCacheHelper.cs b/Service/HStation.Service.Assets.Core/05-service/01-PumpMainManage/08-PumpType/Cache/PumpTypeCacheHelper.cs
index 17aa2c9..9711e74 100644
--- a/Service/HStation.Service.Assets.Core/05-service/01-PumpMainManage/08-PumpType/Cache/PumpTypeCacheHelper.cs
+++ b/Service/HStation.Service.Assets.Core/05-service/01-PumpMainManage/08-PumpType/Cache/PumpTypeCacheHelper.cs
@@ -1,12 +1,12 @@
 锘縩amespace HStation.Service
 {
     /// <summary>
-    /// PumpType
+    /// AssetsPumpType
     /// 缂撳瓨杈呭姪绫�
     /// </summary>
-    internal class PumpTypeCacheHelper
+    internal class AssetsPumpTypeCacheHelper
     {
-        private const string _contentKey = "PumpType";
+        private const string _contentKey = "AssetsPumpType";
 
         internal static string GetCacheKey()
         {
@@ -16,7 +16,7 @@
         /// <summary>
         /// 璁剧疆缂撳瓨
         /// </summary>
-        public static void Set(List<Model.PumpType> list, int Minites = 30, int RandomSeconds = 0)
+        public static void Set(List<Model.AssetsPumpType> 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.PumpType> Get()
+        public static List<Model.AssetsPumpType> Get()
         {
             var cacheKey = GetCacheKey();
-            return MemoryCacheHelper.Get<List<Model.PumpType>>(cacheKey);
+            return MemoryCacheHelper.Get<List<Model.AssetsPumpType>>(cacheKey);
         }
 
         /// <summary>
         /// 鑾峰彇璁剧疆缂撳瓨
         /// </summary>
-        public static List<Model.PumpType> GetSet(Func<List<Model.PumpType>> func, int Minites = 30, int RandomSeconds = 0)
+        public static List<Model.AssetsPumpType> GetSet(Func<List<Model.AssetsPumpType>> func, int Minites = 30, int RandomSeconds = 0)
         {
             var cacheKey = GetCacheKey();
             return MemoryCacheHelper.GetSet(cacheKey, func, Minites * 60 + RandomSeconds);

--
Gitblit v1.9.3