Exemplo n.º 1
0
        void OnChooseRm()
        {
            var directionDeviceSelectorViewModel = new DirectionDeviceSelectorViewModel(Direction, DriverType.RM_1);

            if (DialogService.ShowModalWindow(directionDeviceSelectorViewModel))
                DeviceRm = directionDeviceSelectorViewModel.SelectedDevice.Device;
        }
Exemplo n.º 2
0
        void OnChooseButton()
        {
            var directionDeviceSelectorViewModel = new DirectionDeviceSelectorViewModel(Direction, DriverType.ShuzUnblockButton);

            if (DialogService.ShowModalWindow(directionDeviceSelectorViewModel))
                DeviceButton = directionDeviceSelectorViewModel.SelectedDevice.Device;
        }