Exemple #1
0
 public ApiData(AlgorithmType algorithmID, AlgorithmType secondaryAlgorithmID = AlgorithmType.NONE)
 {
     AlgorithmID          = algorithmID;
     SecondaryAlgorithmID = secondaryAlgorithmID;
     AlgorithmName        = AlgorithmNiceHashNames.GetName(Helpers.DualAlgoFromAlgos(algorithmID, secondaryAlgorithmID));
     Speed          = 0.0;
     SecondarySpeed = 0.0;
     PowerUsage     = 0.0;
 }