public MinerProfileData(IMinerProfile data) { this.Id = data.CoinId; this.MinerName = data.MinerName; this.CoinId = data.CoinId; this.IsAutoRestartKernel = data.IsAutoRestartKernel; this.AutoRestartKernelTimes = data.AutoRestartKernelTimes; this.IsNoShareRestartKernel = data.IsNoShareRestartKernel; this.NoShareRestartKernelMinutes = data.NoShareRestartKernelMinutes; this.IsNoShareRestartComputer = data.IsNoShareRestartComputer; this.NoShareRestartComputerMinutes = data.NoShareRestartComputerMinutes; this.IsPeriodicRestartKernel = data.IsPeriodicRestartKernel; this.PeriodicRestartKernelHours = data.PeriodicRestartKernelHours; this.PeriodicRestartKernelHours = data.PeriodicRestartKernelHours; this.IsPeriodicRestartComputer = data.IsPeriodicRestartComputer; this.PeriodicRestartComputerHours = data.PeriodicRestartComputerHours; this.PeriodicRestartComputerMinutes = data.PeriodicRestartComputerMinutes; this.IsSpeedDownRestartComputer = data.IsSpeedDownRestartComputer; this.RestartComputerSpeedDownPercent = data.RestartComputerSpeedDownPercent; this.IsEChargeEnabled = data.IsEChargeEnabled; this.EPrice = data.EPrice; this.IsPowerAppend = data.IsPowerAppend; this.PowerAppend = data.PowerAppend; this.MaxTemp = data.MaxTemp; this.AutoStartDelaySeconds = data.AutoStartDelaySeconds; }
public MinerProfileData(IMinerProfile data) { this.Id = data.CoinId; this.MinerName = data.MinerName; this.CoinId = data.CoinId; this.IsAutoRestartKernel = data.IsAutoRestartKernel; this.IsNoShareRestartKernel = data.IsNoShareRestartKernel; this.NoShareRestartKernelMinutes = data.NoShareRestartKernelMinutes; this.IsPeriodicRestartKernel = data.IsPeriodicRestartKernel; this.PeriodicRestartKernelHours = data.PeriodicRestartKernelHours; this.IsPeriodicRestartComputer = data.IsPeriodicRestartComputer; this.PeriodicRestartComputerHours = data.PeriodicRestartComputerHours; }
public static MinerProfileData Create(IMinerProfile data) { return(new MinerProfileData { Id = data.CoinId, MinerName = data.MinerName, CoinId = data.CoinId, IsAutoRestartKernel = data.IsAutoRestartKernel, AutoRestartKernelTimes = data.AutoRestartKernelTimes, IsNoShareRestartKernel = data.IsNoShareRestartKernel, NoShareRestartKernelMinutes = data.NoShareRestartKernelMinutes, IsNoShareRestartComputer = data.IsNoShareRestartComputer, NoShareRestartComputerMinutes = data.NoShareRestartComputerMinutes, IsPeriodicRestartKernel = data.IsPeriodicRestartKernel, PeriodicRestartKernelHours = data.PeriodicRestartKernelHours, PeriodicRestartKernelMinutes = data.PeriodicRestartKernelMinutes, IsPeriodicRestartComputer = data.IsPeriodicRestartComputer, PeriodicRestartComputerHours = data.PeriodicRestartComputerHours, PeriodicRestartComputerMinutes = data.PeriodicRestartComputerMinutes, IsSpeedDownRestartComputer = data.IsSpeedDownRestartComputer, RestartComputerSpeedDownPercent = data.RestartComputerSpeedDownPercent, IsEChargeEnabled = data.IsEChargeEnabled, EPrice = data.EPrice, IsPowerAppend = data.IsPowerAppend, PowerAppend = data.PowerAppend, MaxTemp = data.MaxTemp, AutoStartDelaySeconds = data.AutoStartDelaySeconds, IsAutoDisableWindowsFirewall = data.IsAutoDisableWindowsFirewall, IsShowInTaskbar = data.IsShowInTaskbar, IsNoUi = data.IsNoUi, IsAutoNoUi = data.IsAutoNoUi, AutoNoUiMinutes = data.AutoNoUiMinutes, IsShowNotifyIcon = data.IsShowNotifyIcon, IsCloseMeanExit = data.IsCloseMeanExit, IsShowCommandLine = data.IsShowCommandLine, IsAutoBoot = data.IsAutoBoot, IsAutoStart = data.IsAutoStart, IsCreateShortcut = data.IsCreateShortcut, IsAutoStopByCpu = data.IsAutoStopByCpu, IsAutoStartByCpu = data.IsAutoStartByCpu, CpuGETemperatureSeconds = data.CpuGETemperatureSeconds, CpuLETemperatureSeconds = data.CpuLETemperatureSeconds, CpuStartTemperature = data.CpuStartTemperature, CpuStopTemperature = data.CpuStopTemperature, IsRaiseHighCpuEvent = data.IsRaiseHighCpuEvent, HighCpuBaseline = data.HighCpuBaseline, HighCpuSeconds = data.HighCpuSeconds }); }
public MinerProfileData(IMinerProfile data) { this.Id = data.CoinId; this.MinerName = data.MinerName; this.CoinId = data.CoinId; this.IsAutoRestartKernel = data.IsAutoRestartKernel; this.AutoRestartKernelTimes = data.AutoRestartKernelTimes; this.IsNoShareRestartKernel = data.IsNoShareRestartKernel; this.NoShareRestartKernelMinutes = data.NoShareRestartKernelMinutes; this.IsNoShareRestartComputer = data.IsNoShareRestartComputer; this.NoShareRestartComputerMinutes = data.NoShareRestartComputerMinutes; this.IsPeriodicRestartKernel = data.IsPeriodicRestartKernel; this.PeriodicRestartKernelHours = data.PeriodicRestartKernelHours; this.PeriodicRestartKernelHours = data.PeriodicRestartKernelHours; this.IsPeriodicRestartComputer = data.IsPeriodicRestartComputer; this.PeriodicRestartComputerHours = data.PeriodicRestartComputerHours; this.PeriodicRestartComputerMinutes = data.PeriodicRestartComputerMinutes; this.IsSpeedDownRestartComputer = data.IsSpeedDownRestartComputer; this.RestartComputerSpeedDownPercent = data.RestartComputerSpeedDownPercent; this.IsEChargeEnabled = data.IsEChargeEnabled; this.EPrice = data.EPrice; this.IsPowerAppend = data.IsPowerAppend; this.PowerAppend = data.PowerAppend; this.MaxTemp = data.MaxTemp; this.AutoStartDelaySeconds = data.AutoStartDelaySeconds; this.IsAutoDisableWindowsFirewall = data.IsAutoDisableWindowsFirewall; this.IsShowInTaskbar = data.IsShowInTaskbar; this.IsNoUi = data.IsNoUi; this.IsAutoNoUi = data.IsAutoNoUi; this.AutoNoUiMinutes = data.AutoNoUiMinutes; this.IsShowNotifyIcon = data.IsShowNotifyIcon; this.IsCloseMeanExit = data.IsCloseMeanExit; this.IsShowCommandLine = data.IsShowCommandLine; this.IsAutoBoot = data.IsAutoBoot; this.IsAutoStart = data.IsAutoStart; this.IsCreateShortcut = data.IsCreateShortcut; this.IsAutoStopByCpu = data.IsAutoStopByCpu; this.IsAutoStartByCpu = data.IsAutoStartByCpu; this.CpuGETemperatureSeconds = data.CpuGETemperatureSeconds; this.CpuLETemperatureSeconds = data.CpuLETemperatureSeconds; this.CpuStartTemperature = data.CpuStartTemperature; this.CpuStopTemperature = data.CpuStopTemperature; }
public MinerProfileData(IMinerProfile data) { this.Id = data.CoinId; this.MinerName = data.MinerName; this.CoinId = data.CoinId; this.IsAutoRestartKernel = data.IsAutoRestartKernel; this.AutoRestartKernelTimes = data.AutoRestartKernelTimes; this.IsNoShareRestartKernel = data.IsNoShareRestartKernel; this.NoShareRestartKernelMinutes = data.NoShareRestartKernelMinutes; this.IsPeriodicRestartKernel = data.IsPeriodicRestartKernel; this.PeriodicRestartKernelHours = data.PeriodicRestartKernelHours; this.IsPeriodicRestartComputer = data.IsPeriodicRestartComputer; this.PeriodicRestartComputerHours = data.PeriodicRestartComputerHours; this.IsSpeedDownRestartComputer = data.IsSpeedDownRestartComputer; this.IsTempHighStopMine = data.IsTempHighStopMine; this.RestartComputerSpeedDownPercent = data.RestartComputerSpeedDownPercent; this.StartMineTempLow = data.StartMineTempLow; this.StopMineTempHigh = data.StopMineTempHigh; this.IsEChargeEnabled = data.IsEChargeEnabled; this.EPrice = data.EPrice; }
public CpuPackage(IMinerProfile minerProfile) { _minerProfile = minerProfile; Reset(); }