public static GetSettings ( IProject project ) : |
||
project | IProject | |
리턴 |
public JLinkSettingsFormViewModel(IProject model) : base(model) { settings = JLinkDebugAdaptor.GetSettings(model); //InterfaceOptions = new List<string>(Enum.GetNames(typeof(JlinkInterfaceType))); interfaceSelectedIndex = (int)settings.Interface; interfaceType = settings.Interface; string devPath = Path.Combine(JLinkDebugAdaptor.BaseDirectory, "devices.csv"); deviceList = new ObservableCollection <JLinkTargetDeviceViewModel>(); if (System.IO.File.Exists(devPath)) { LoadDeviceList(devPath); } }
public JLinkSettingsFormViewModel(IProject model) : base(model) { settings = JLinkDebugAdaptor.GetSettings(model); interfaceSelectedIndex = (int)settings.Interface; interfaceType = settings.Interface; speedSelectedIndex = SpeedOptions.IndexOf(settings.SpeedkHz.ToString()); speed = settings.SpeedkHz.ToString(); string devPath = Path.Combine(JLinkDebugAdaptor.BaseDirectory, "devices.csv"); deviceList = new ObservableCollection <JLinkTargetDeviceViewModel>(); if (System.IO.File.Exists(devPath)) { LoadDeviceList(devPath); } }