Esempio n. 1
0
 private void FillOverClock(OverClockDataViewModel data) {
     if (IsOverClockGpuAll) {
         GpuAllProfileVm.Update(data);
         VirtualRoot.Execute(new AddOrUpdateGpuProfileCommand(GpuAllProfileVm));
     }
     else {
         foreach (var item in GpuProfileVms) {
             if (item.Index == NTMinerContext.GpuAllId) {
                 continue;
             }
             item.Update(data);
             VirtualRoot.Execute(new AddOrUpdateGpuProfileCommand(item));
         }
     }
 }
Esempio n. 2
0
 private void FillOverClock(OverClockDataViewModel data)
 {
     if (IsOverClockGpuAll)
     {
         GpuAllProfileVm.Update(data);
     }
     else
     {
         foreach (var item in GpuProfileVms)
         {
             if (item.Index == NTMinerRoot.GpuAllId)
             {
                 continue;
             }
             item.Update(data);
         }
     }
 }