C# Класс NiceHashMiner.Miners.MiningSession

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CalcGroupedDevicesKey string
CheckIfProfitable bool
CheckIfShouldMine bool
GetMinerPairAlgorithmType AlgorithmType
InternetCheckTimer_Tick void
PreventSleepTimer_Tick void

Открытые методы

Метод Описание
GetActiveMinersGroup ( ) : string
GetTotalRate ( ) : double
MinerStatsCheck ( NiceHashSMA>.Dictionary NiceHashData ) : void
MiningSession ( List devices, IMainFormRatesComunication mainFormRatesComunication, string miningLocation, string worker, string btcAdress ) : System
StopAllMiners ( ) : void
StopAllMinersNonProfitable ( ) : void
SwichMostProfitableGroupUpMethod ( NiceHashSMA>.Dictionary NiceHashData, bool log = true ) : void

Приватные методы

Метод Описание
CalcGroupedDevicesKey ( SortedSet group ) : string
CheckIfProfitable ( double CurrentProfit, bool log = true ) : bool
CheckIfShouldMine ( double CurrentProfit, bool log = true ) : bool
GetMinerPairAlgorithmType ( List miningPairs ) : AlgorithmType
InternetCheckTimer_Tick ( object sender, EventArgs e ) : void
PreventSleepTimer_Tick ( object sender, System.Timers.ElapsedEventArgs e ) : void

Описание методов

GetActiveMinersGroup() публичный Метод

public GetActiveMinersGroup ( ) : string
Результат string

GetTotalRate() публичный Метод

public GetTotalRate ( ) : double
Результат double

MinerStatsCheck() публичный Метод

public MinerStatsCheck ( NiceHashSMA>.Dictionary NiceHashData ) : void
NiceHashData NiceHashSMA>.Dictionary
Результат void

MiningSession() публичный Метод

public MiningSession ( List devices, IMainFormRatesComunication mainFormRatesComunication, string miningLocation, string worker, string btcAdress ) : System
devices List
mainFormRatesComunication IMainFormRatesComunication
miningLocation string
worker string
btcAdress string
Результат System

StopAllMiners() публичный Метод

public StopAllMiners ( ) : void
Результат void

StopAllMinersNonProfitable() публичный Метод

public StopAllMinersNonProfitable ( ) : void
Результат void

SwichMostProfitableGroupUpMethod() публичный Метод

public SwichMostProfitableGroupUpMethod ( NiceHashSMA>.Dictionary NiceHashData, bool log = true ) : void
NiceHashData NiceHashSMA>.Dictionary
log bool
Результат void