C# Class NiceHashMiner.Miners.nheqBase

Inheritance: Miner
Show file Open project: nicehash/NiceHashMiner

Protected Properties

Property Type Description
AMD_OCL_PLATFORM int
AMD_Setup MiningSetup
CPU_Setup MiningSetup
Iter_PER_SEC String
NVIDIA_Setup MiningSetup
Sols_PER_SEC String
curSpeed double

Public Methods

Method Description
GetSummary ( ) : APIData
InitMiningSetup ( MiningSetup miningSetup ) : void
nheqBase ( string minerDeviceName ) : System

Protected Methods

Method Description
BenchmarkCreateCommandLine ( Algorithm algorithm, int time ) : string
BenchmarkOutputErrorDataReceivedImpl ( string outdata ) : void
GET_MAX_CooldownTimeInMilliseconds ( ) : int
UpdateBindPortCommand ( int oldPort, int newPort ) : bool
_Stop ( MinerStopType willswitch ) : void
getNumber ( string outdata, string startF, string remF ) : double

Method Details

BenchmarkCreateCommandLine() protected method

protected BenchmarkCreateCommandLine ( Algorithm algorithm, int time ) : string
algorithm Algorithm
time int
return string

BenchmarkOutputErrorDataReceivedImpl() protected method

protected BenchmarkOutputErrorDataReceivedImpl ( string outdata ) : void
outdata string
return void

GET_MAX_CooldownTimeInMilliseconds() protected method

protected GET_MAX_CooldownTimeInMilliseconds ( ) : int
return int

GetSummary() public method

public GetSummary ( ) : APIData
return APIData

InitMiningSetup() public method

public InitMiningSetup ( MiningSetup miningSetup ) : void
miningSetup MiningSetup
return void

UpdateBindPortCommand() protected method

protected UpdateBindPortCommand ( int oldPort, int newPort ) : bool
oldPort int
newPort int
return bool

_Stop() protected method

protected _Stop ( MinerStopType willswitch ) : void
willswitch MinerStopType
return void

getNumber() protected method

protected getNumber ( string outdata, string startF, string remF ) : double
outdata string
startF string
remF string
return double

nheqBase() public method

public nheqBase ( string minerDeviceName ) : System
minerDeviceName string
return System

Property Details

AMD_OCL_PLATFORM protected property

protected int AMD_OCL_PLATFORM
return int

AMD_Setup protected property

protected MiningSetup AMD_Setup
return MiningSetup

CPU_Setup protected property

protected MiningSetup CPU_Setup
return MiningSetup

Iter_PER_SEC protected static property

protected static String Iter_PER_SEC
return String

NVIDIA_Setup protected property

protected MiningSetup NVIDIA_Setup
return MiningSetup

Sols_PER_SEC protected static property

protected static String Sols_PER_SEC
return String

curSpeed protected property

protected double curSpeed
return double