DESKTOP-Kang 5 anni fa
parent
commit
a25cce141e
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Dev/OHV/VehicleControlSystem/ControlLayer/DB/Redis.cs

+ 1 - 0
Dev/OHV/VehicleControlSystem/ControlLayer/DB/Redis.cs

@@ -35,6 +35,7 @@ namespace VehicleControlSystem.ControlLayer.DB
 
         public bool SetValue(string key, string val) => database.StringSet( key, val );
         public string GetValue( string key ) => database.StringGet( key );
+        public int GetIntValue( string key ) => cacheClient.Get<int>( key );
 
     }
 }