fix calcolo getBrowserData in HwSwInfo
This commit is contained in:
@@ -267,18 +267,18 @@ namespace SteamWare
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private static string getBrowserData(string redHash)
|
||||
private static string getBrowserData(string redPattern)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
int numRec = memLayer.ML.redCountKey(redHash);
|
||||
var redKeys = memLayer.ML.redGetKeys(redHash);
|
||||
int numRec = memLayer.ML.redCountKey(redPattern);
|
||||
var redKeys = memLayer.ML.redGetKeys(redPattern);
|
||||
// riordino elenco
|
||||
sb.AppendLine(string.Format("Trovate {0} combinazioni", numRec));
|
||||
string currKey = "";
|
||||
string currVal = "";
|
||||
foreach (var item in redKeys)
|
||||
{
|
||||
currKey = item.ToString().Replace(memLayer.ML.redHash("COUNT:wh:"), "");
|
||||
currKey = item.ToString().Replace(memLayer.ML.redHash(redPattern.Replace(":*", ":")), "");
|
||||
currVal = memLayer.ML.getRSV(item);
|
||||
sb.AppendLine($"{currKey}: {currVal}");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user