コード例 #1
0
 /// <summary>
 /// SwichMostProfitable should check the best combination for most profit.
 /// Calculate profit for each supported algorithm per device and group.
 /// </summary>
 /// <param name="CryptoMiner937Data"></param>
 public static async Task SwichMostProfitableGroupUpMethod(Dictionary <AlgorithmType, CryptoMiner937API> CryptoMiner937Data)
 {
     if (CurMiningSession != null)
     {
         await CurMiningSession.SwichMostProfitableGroupUpMethod(CryptoMiner937Data);
     }
 }
コード例 #2
0
ファイル: MinersManager.cs プロジェクト: microsek/zPoolMiner
 /// <summary>
 /// SwichMostProfitable should check the best combination for most profit.
 /// Calculate profit for each supported algorithm per device and group.
 /// </summary>
 /// <param name="NiceHashData"></param>
 public static async Task SwichMostProfitableGroupUpMethod(Dictionary <AlgorithmType, NiceHashSMA> NiceHashData)
 {
     if (CurMiningSession != null)
     {
         await CurMiningSession.SwichMostProfitableGroupUpMethod(NiceHashData);
     }
 }