コード例 #1
0
 public static void StartConnection(string address)
 {
     timerOldSMA         = new System.Threading.Timer(OldSMA, null, 20 * 1000, 90 * 1000);
     timerLostConnection = new System.Threading.Timer(ConnectionLost, null, 120 * 1000, -1);
     NiceHashConnection.StartConnection(address);
     deviceUpdateTimer = new System.Threading.Timer(DeviceStatus_Tick, null, deviceUpdateInterval, deviceUpdateInterval);
 }
コード例 #2
0
 public static void StartConnection(string address)
 {
     NiceHashConnection.StartConnection(address);
     _deviceUpdateTimer = new System.Threading.Timer(DeviceStatus_Tick, null, DeviceUpdateInterval, DeviceUpdateInterval);
 }
コード例 #3
0
 public static void StartConnection(string address)
 {
     NiceHashConnection.StartConnection(address);
 }