public MainWindowViewModel()
 {
     DemoMode = new DemoCommand()
     {
         Executer = () => SetDevice(new DemoSensiEdge())
     };
     FindMode = new DemoCommand()
     {
         Executer = () => SetDevice(null)
     };
     SetDevice(null);
 }
Example #2
0
 public MainWindowViewModel()
 {
     DemoMode = new DemoCommand()
     {
         Executer = () => SetDevice(new DemoSensiEdge())
     };
     FindMode = new DemoCommand()
     {
         Executer = () => { SetDevice(null); SelectedDevice.SetBluetoothAddress(ulong.MaxValue); }
     };
     SetDevice(null);
 }