From fff2fdec2a86976edd81230116a385bdf6e0cca8 Mon Sep 17 00:00:00 2001 From: Simon G Date: Thu, 22 Apr 2021 15:26:12 +0200 Subject: [PATCH] - remove unused code --- Mystify/MainModel.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Mystify/MainModel.cs b/Mystify/MainModel.cs index a6c9008..ec2a9ab 100644 --- a/Mystify/MainModel.cs +++ b/Mystify/MainModel.cs @@ -30,8 +30,6 @@ namespace Mystify public string? DeviceName => _device?.Name; public List? Channels => _device?.Channels; public List? Controllables => _controllableCollector?.Controllables; - public IChannel? SelectedChannel { get; set; } - public IControllable? SelectedControllable { get; set; } public bool UseMidiView { get; set; } @@ -47,11 +45,5 @@ namespace Mystify _device.StartCommunication(UseMidiView); } - - public void MapControllable() - { - if (SelectedControllable != null) - SelectedChannel?.MapControllable(SelectedControllable); - } } } \ No newline at end of file