Exemplo n.º 1
0
 public KernelOutputViewModel(IKernelOutput data) : this(data.GetId())
 {
     _name = data.Name;
     _kernelRestartKeyword     = data.KernelRestartKeyword;
     _isDualInSameLine         = data.IsDualInSameLine;
     _totalSpeedPattern        = data.TotalSpeedPattern;
     _gpuSpeedPattern          = data.GpuSpeedPattern;
     _gpuGotOneIncorrectShare  = data.GpuGotOneIncorrectShare;
     _totalSharePattern        = data.TotalSharePattern;
     _acceptSharePattern       = data.AcceptSharePattern;
     _foundOneShare            = data.FoundOneShare;
     _acceptOneShare           = data.AcceptOneShare;
     _rejectSharePattern       = data.RejectSharePattern;
     _rejectOneShare           = data.RejectOneShare;
     _rejectPercentPattern     = data.RejectPercentPattern;
     _dualGpuSpeedPattern      = data.DualGpuSpeedPattern;
     _dualAcceptSharePattern   = data.DualAcceptSharePattern;
     _dualAcceptOneShare       = data.DualAcceptOneShare;
     _dualRejectSharePattern   = data.DualRejectSharePattern;
     _dualRejectOneShare       = data.DualRejectOneShare;
     _dualRejectPercentPattern = data.DualRejectPercentPattern;
     _dualTotalSharePattern    = data.DualTotalSharePattern;
     _dualTotalSpeedPattern    = data.DualTotalSpeedPattern;
     _poolDelayPattern         = data.PoolDelayPattern;
     _dualPoolDelayPattern     = data.DualPoolDelayPattern;
     _speedUnit     = data.SpeedUnit;
     _dualSpeedUnit = data.DualSpeedUnit;
     _gpuBaseIndex  = data.GpuBaseIndex;
     _isMapGpuIndex = data.IsMapGpuIndex;
 }
 public KernelOutputViewModel(IKernelOutput data) : this(data.GetId())
 {
     _name = data.Name;
     _kernelRestartKeyword     = data.KernelRestartKeyword;
     _prependDateTime          = data.PrependDateTime;
     _isDualInSameLine         = data.IsDualInSameLine;
     _totalSpeedPattern        = data.TotalSpeedPattern;
     _gpuSpeedPattern          = data.GpuSpeedPattern;
     _totalSharePattern        = data.TotalSharePattern;
     _acceptSharePattern       = data.AcceptSharePattern;
     _acceptOneShare           = data.AcceptOneShare;
     _rejectSharePattern       = data.RejectSharePattern;
     _rejectOneShare           = data.RejectOneShare;
     _rejectPercentPattern     = data.RejectPercentPattern;
     _dualGpuSpeedPattern      = data.DualGpuSpeedPattern;
     _dualAcceptSharePattern   = data.DualAcceptSharePattern;
     _dualAcceptOneShare       = data.DualAcceptOneShare;
     _dualRejectSharePattern   = data.DualRejectSharePattern;
     _dualRejectOneShare       = data.DualRejectOneShare;
     _dualRejectPercentPattern = data.DualRejectPercentPattern;
     _dualTotalSharePattern    = data.DualTotalSharePattern;
     _dualTotalSpeedPattern    = data.DualTotalSpeedPattern;
     _poolDelayPattern         = data.PoolDelayPattern;
     _dualPoolDelayPattern     = data.DualPoolDelayPattern;
 }
Exemplo n.º 3
0
 public KernelOutputViewModel(IKernelOutput data) : this(data.GetId())
 {
     _name                     = data.Name;
     _gpuSpeedPattern          = data.GpuSpeedPattern;
     _rejectSharePattern       = data.RejectSharePattern;
     _totalSharePattern        = data.TotalSharePattern;
     _acceptSharePattern       = data.AcceptSharePattern;
     _rejectPercentPattern     = data.RejectPercentPattern;
     _totalSpeedPattern        = data.TotalSpeedPattern;
     _dualGpuSpeedPattern      = data.DualGpuSpeedPattern;
     _dualRejectSharePattern   = data.DualRejectSharePattern;
     _dualAcceptSharePattern   = data.DualAcceptSharePattern;
     _dualRejectPercentPattern = data.DualRejectPercentPattern;
     _dualTotalSharePattern    = data.DualTotalSharePattern;
     _dualTotalSpeedPattern    = data.DualTotalSpeedPattern;
 }