コード例 #1
0
 public KernelInputViewModel(IKernelInput data) : this(data.GetId())
 {
     _name = data.Name;
     _args = data.Args;
     _isSupportDualMine = data.IsSupportDualMine;
     _dualFullArgs      = data.DualFullArgs;
     _dualCoinGroupId   = data.DualCoinGroupId;
     _dualWeightMin     = data.DualWeightMin;
     _dualWeightMax     = data.DualWeightMax;
     _isAutoDualWeight  = data.IsAutoDualWeight;
     _dualWeightArg     = data.DualWeightArg;
 }
コード例 #2
0
 public KernelInputViewModel(IKernelInput data) : this(data.GetId())
 {
     _name = data.Name;
     _args = data.Args;
     _isSupportDualMine        = data.IsSupportDualMine;
     _dualWeightMin            = data.DualWeightMin;
     _dualWeightMax            = data.DualWeightMax;
     _isAutoDualWeight         = data.IsAutoDualWeight;
     _dualWeightArg            = data.DualWeightArg;
     _deviceBaseIndex          = data.DeviceBaseIndex;
     _isDeviceAllNotEqualsNone = data.IsDeviceAllNotEqualsNone;
     _devicesArg       = data.DevicesArg;
     _devicesSeparator = data.DevicesSeparator;
     _nDevicePrefix    = data.NDevicePrefix;
     _nDevicePostfix   = data.NDevicePostfix;
     _aDevicePrefix    = data.ADevicePrefix;
     _aDevicePostfix   = data.ADevicePostfix;
 }