added working tab system
This commit is contained in:
parent
d7121a5d51
commit
ec12e34823
Binary file not shown.
|
@ -1,16 +0,0 @@
|
||||||
<Page x:Class="RGBController2.LightingModes.Animation"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:local="clr-namespace:RGBController2"
|
|
||||||
mc:Ignorable="d"
|
|
||||||
d:DesignHeight="240" d:DesignWidth="700"
|
|
||||||
Title="Animation">
|
|
||||||
|
|
||||||
<Grid Background="White">
|
|
||||||
<Label Content="Animation"/>
|
|
||||||
<TextBox Text="TextBox" TextWrapping="Wrap" Width="120"/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</Page>
|
|
|
@ -1,26 +0,0 @@
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Text;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Controls;
|
|
||||||
using System.Windows.Data;
|
|
||||||
using System.Windows.Documents;
|
|
||||||
using System.Windows.Input;
|
|
||||||
using System.Windows.Media;
|
|
||||||
using System.Windows.Media.Imaging;
|
|
||||||
using System.Windows.Navigation;
|
|
||||||
using System.Windows.Shapes;
|
|
||||||
|
|
||||||
namespace RGBController2
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Interaction logic for Animation.xaml
|
|
||||||
/// </summary>
|
|
||||||
public partial class Animation : Page
|
|
||||||
{
|
|
||||||
public Animation()
|
|
||||||
{
|
|
||||||
//InitializeComponent();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -2,7 +2,7 @@
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:local="clr-namespace:RGBController2"
|
xmlns:local="clr-namespace:RGBController2"
|
||||||
StartupUri="MainWindow.xaml">
|
StartupUri="Views/MainWindow.xaml">
|
||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
|
|
||||||
</Application.Resources>
|
</Application.Resources>
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO.Ports;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace RGBController2.Boards
|
||||||
|
{
|
||||||
|
public class ArduinoBoard : IBoard
|
||||||
|
{
|
||||||
|
private SerialPort _serialPort;
|
||||||
|
public bool Conected { get; }
|
||||||
|
|
||||||
|
public ArduinoBoard(string portName, int baudRate = 9600)
|
||||||
|
{
|
||||||
|
Conected = false;
|
||||||
|
_serialPort = new SerialPort();
|
||||||
|
_serialPort.PortName = portName;
|
||||||
|
_serialPort.BaudRate = baudRate;
|
||||||
|
_serialPort.Open();
|
||||||
|
if (_serialPort.IsOpen)
|
||||||
|
Conected = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetAllLeds(byte red, byte green, byte blue)
|
||||||
|
{
|
||||||
|
string command = "a";
|
||||||
|
command += ByteToHexString(red);
|
||||||
|
command += ByteToHexString(green);
|
||||||
|
command += ByteToHexString(blue);
|
||||||
|
command += ';';
|
||||||
|
_serialPort.WriteLine(command);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void TurnOffAllLeds()
|
||||||
|
{
|
||||||
|
string command = "a000000;";
|
||||||
|
_serialPort.WriteLine(command);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static string ByteToHexString(byte b)
|
||||||
|
{
|
||||||
|
StringBuilder hex = new StringBuilder(2);
|
||||||
|
hex.AppendFormat("{0:x2}", b);
|
||||||
|
return hex.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,28 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace RGBController2.Boards
|
||||||
|
{
|
||||||
|
public interface IBoard
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Sets all of the LEDs to the chosen RGB colour.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="red">The red value</param>
|
||||||
|
/// <param name="green">The green value</param>
|
||||||
|
/// <param name="blue">The blue value</param>
|
||||||
|
public void SetAllLeds(byte red, byte green, byte blue)
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Turns off all of the LEDs connected to the board.
|
||||||
|
/// </summary>
|
||||||
|
public void TurnOffAllLeds()
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,85 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Input;
|
||||||
|
|
||||||
|
namespace RGBController2.Commands
|
||||||
|
{
|
||||||
|
public class ActionCommand : ICommand
|
||||||
|
{
|
||||||
|
private readonly Action<object> action;
|
||||||
|
private readonly Predicate<Object> predicate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="ActionCommand"/> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="action">The action to invoke on command.</param>
|
||||||
|
public ActionCommand(Action<Object> action) : this(action, null)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Initializes a new instance of the <see cref="ActionCommand"/> class.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="action">The action to invoke on command.</param>
|
||||||
|
/// <param name="predicate">The predicate that determines if the action can be invoked.</param>
|
||||||
|
public ActionCommand(Action<Object> action, Predicate<Object> predicate)
|
||||||
|
{
|
||||||
|
if (action == null)
|
||||||
|
{
|
||||||
|
throw new ArgumentNullException(nameof(action), @"You must specify an Action<T>.");
|
||||||
|
}
|
||||||
|
|
||||||
|
this.action = action;
|
||||||
|
this.predicate = predicate;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Occurs when the <see cref="System.Windows.Input.CommandManager"/> detects conditions that might change the ability of a command to execute.
|
||||||
|
/// </summary>
|
||||||
|
public event EventHandler CanExecuteChanged
|
||||||
|
{
|
||||||
|
add
|
||||||
|
{
|
||||||
|
CommandManager.RequerySuggested += value;
|
||||||
|
}
|
||||||
|
remove
|
||||||
|
{
|
||||||
|
CommandManager.RequerySuggested -= value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Determines whether the command can execute.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parameter">A custom parameter object.</param>
|
||||||
|
/// <returns>
|
||||||
|
/// Returns true if the command can execute, otherwise returns false.
|
||||||
|
/// </returns>
|
||||||
|
public bool CanExecute(object parameter)
|
||||||
|
{
|
||||||
|
if (this.predicate == null)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return this.predicate(parameter);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Executes the command.
|
||||||
|
/// </summary>
|
||||||
|
public void Execute()
|
||||||
|
{
|
||||||
|
Execute(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Executes the command.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parameter">A custom parameter object.</param>
|
||||||
|
public void Execute(object parameter)
|
||||||
|
{
|
||||||
|
this.action(parameter);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,43 +0,0 @@
|
||||||
<Window x:Class="RGBController2.MainWindow"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
xmlns:local="clr-namespace:RGBController2"
|
|
||||||
mc:Ignorable="d"
|
|
||||||
Title="MainWindow" Height="335" Width="700">
|
|
||||||
|
|
||||||
<Grid>
|
|
||||||
<DockPanel>
|
|
||||||
<Menu DockPanel.Dock="Top">
|
|
||||||
<MenuItem Header="_Options">
|
|
||||||
<MenuItem Header="_Flux" IsCheckable="True" IsChecked="True" />
|
|
||||||
<Separator />
|
|
||||||
<MenuItem Header="_Exit" />
|
|
||||||
</MenuItem>
|
|
||||||
<MenuItem Header="_Tabs">
|
|
||||||
<MenuItem Header="_New Tab" />
|
|
||||||
<MenuItem Header="_Delete Current Tab" />
|
|
||||||
</MenuItem>
|
|
||||||
</Menu>
|
|
||||||
</DockPanel>
|
|
||||||
|
|
||||||
<TabControl VerticalAlignment="top" HorizontalAlignment="left" Margin="0,20,0,0" Width="700" Height="300">
|
|
||||||
<TabItem Header="RGB 1">
|
|
||||||
<Grid>
|
|
||||||
<Label Content="Lighting Mode" Margin="0,5,0,0"/>
|
|
||||||
<ComboBox VerticalAlignment="top" HorizontalAlignment="left" Margin="100,5,0,0" Width="150" SelectionChanged="LightingModeSelection_SelectionChanged" x:Name="lightingModeSelectionComboBox" >
|
|
||||||
<ComboBoxItem Content="Static Colour"></ComboBoxItem>
|
|
||||||
<ComboBoxItem Content="Animations"></ComboBoxItem>
|
|
||||||
<ComboBoxItem Content="Quake Live"></ComboBoxItem>
|
|
||||||
</ComboBox>
|
|
||||||
<Label Content="Com" VerticalAlignment="top" HorizontalAlignment="left" Margin="280,5,0,0"/>
|
|
||||||
<ComboBox VerticalAlignment="top" HorizontalAlignment="left" Margin="320,5,0,0" Width="70">
|
|
||||||
</ComboBox>
|
|
||||||
<Label Content="Device Disconnected" VerticalAlignment="top" HorizontalAlignment="left" Margin="400,5,0,0"/>
|
|
||||||
<Frame Name="LightingModeFrame" VerticalAlignment="top" HorizontalAlignment="left" Margin="0,30,0,0" Width="700" Height="240" NavigationUIVisibility="Hidden"/>
|
|
||||||
</Grid>
|
|
||||||
</TabItem>
|
|
||||||
</TabControl>
|
|
||||||
</Grid>
|
|
||||||
</Window>
|
|
|
@ -1,43 +0,0 @@
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using System.Windows;
|
|
||||||
using System.Windows.Controls;
|
|
||||||
using System.Windows.Data;
|
|
||||||
using System.Windows.Documents;
|
|
||||||
using System.Windows.Input;
|
|
||||||
using System.Windows.Media;
|
|
||||||
using System.Windows.Media.Imaging;
|
|
||||||
using System.Windows.Navigation;
|
|
||||||
using System.Windows.Shapes;
|
|
||||||
|
|
||||||
namespace RGBController2
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Interaction logic for MainWindow.xaml
|
|
||||||
/// </summary>
|
|
||||||
public partial class MainWindow : Window
|
|
||||||
{
|
|
||||||
|
|
||||||
public MainWindow()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
private void LightingModeSelection_SelectionChanged(object sender, SelectionChangedEventArgs e)
|
|
||||||
{
|
|
||||||
int selectedLightingMode = lightingModeSelectionComboBox.SelectedIndex;
|
|
||||||
switch (selectedLightingMode)
|
|
||||||
{
|
|
||||||
case 0: // Static
|
|
||||||
LightingModeFrame.Source = new Uri("Static.xaml", UriKind.Relative);
|
|
||||||
break;
|
|
||||||
case 1: // Animation
|
|
||||||
LightingModeFrame.Source = new Uri("Animation.xaml", UriKind.Relative);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -7,7 +7,14 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="LightingModes\" />
|
<Compile Remove="LightingModes\**" />
|
||||||
|
<EmbeddedResource Remove="LightingModes\**" />
|
||||||
|
<None Remove="LightingModes\**" />
|
||||||
|
<Page Remove="LightingModes\**" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="System.IO.Ports" Version="4.7.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
|
@ -7,21 +7,15 @@
|
||||||
</ApplicationDefinition>
|
</ApplicationDefinition>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Update="Animation.xaml.cs">
|
<Compile Update="Views\Tabs\ArduinoTabView.xaml.cs">
|
||||||
<SubType>Code</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Update="Static.xaml.cs">
|
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Page Update="Animation.xaml">
|
<Page Update="Views\Tabs\ArduinoTabView.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Update="MainWindow.xaml">
|
<Page Update="Views\MainWindow.xaml">
|
||||||
<SubType>Designer</SubType>
|
|
||||||
</Page>
|
|
||||||
<Page Update="Static.xaml">
|
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
<Page x:Class="RGBController2.LightingModes.Static"
|
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
||||||
xmlns:local="clr-namespace:RGBController2"
|
|
||||||
mc:Ignorable="d"
|
|
||||||
d:DesignHeight="240" d:DesignWidth="700"
|
|
||||||
Title="Static">
|
|
||||||
|
|
||||||
<Grid Background="White">
|
|
||||||
<Label Content="Static Colour"/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
</Page>
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace RGBController2.ViewModels
|
||||||
|
{
|
||||||
|
class BaseViewModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,56 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Collections.Specialized;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using RGBController2.Commands;
|
||||||
|
using RGBController2.ViewModels.Tabs;
|
||||||
|
|
||||||
|
namespace RGBController2.ViewModels
|
||||||
|
{
|
||||||
|
class MainViewModel
|
||||||
|
{
|
||||||
|
private readonly ObservableCollection<ITab> _tabs;
|
||||||
|
public ICommand NewTabCommand { get; }
|
||||||
|
public ICollection<ITab> Tabs { get; }
|
||||||
|
|
||||||
|
public MainViewModel()
|
||||||
|
{
|
||||||
|
NewTabCommand = new ActionCommand(p => NewTab());
|
||||||
|
|
||||||
|
_tabs = new ObservableCollection<ITab>();
|
||||||
|
_tabs.CollectionChanged += Tabs_CollectionChanged;
|
||||||
|
|
||||||
|
Tabs = _tabs;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Tabs_CollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
|
||||||
|
{
|
||||||
|
ITab tab;
|
||||||
|
|
||||||
|
switch (e.Action)
|
||||||
|
{
|
||||||
|
case NotifyCollectionChangedAction.Add:
|
||||||
|
tab = (ITab) e.NewItems[0];
|
||||||
|
tab.CloseRequested += OnTabCloseRequested;
|
||||||
|
break;
|
||||||
|
case NotifyCollectionChangedAction.Remove:
|
||||||
|
tab = (ITab) e.OldItems[0];
|
||||||
|
tab.CloseRequested -= OnTabCloseRequested;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void OnTabCloseRequested(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Tabs.Remove((ITab) sender);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void NewTab()
|
||||||
|
{
|
||||||
|
Tabs.Add(new ArduinoTab(DateTime.UtcNow.ToString()));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,82 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
using System.IO.Ports;
|
||||||
|
using RGBController2.Boards;
|
||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
|
namespace RGBController2.ViewModels.Tabs
|
||||||
|
{
|
||||||
|
public class ArduinoTab : Tab, INotifyPropertyChanged
|
||||||
|
{
|
||||||
|
public event PropertyChangedEventHandler PropertyChanged;
|
||||||
|
private enum LightingModes
|
||||||
|
{
|
||||||
|
StaticMode = 0,
|
||||||
|
AnimationMode,
|
||||||
|
QuakeMode
|
||||||
|
}
|
||||||
|
|
||||||
|
private ArduinoBoard _arduinoBoard;
|
||||||
|
|
||||||
|
private string[] _availablePorts;
|
||||||
|
public string[] AvailablePorts
|
||||||
|
{
|
||||||
|
get { return _availablePorts; }
|
||||||
|
set { _availablePorts = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private string _conntectionStatus;
|
||||||
|
public string ConnectionStatus
|
||||||
|
{
|
||||||
|
get { return _conntectionStatus; }
|
||||||
|
set { _conntectionStatus = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private string _selectedPort;
|
||||||
|
public string SelectedPort
|
||||||
|
{
|
||||||
|
get { return _selectedPort; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (value != _selectedPort)
|
||||||
|
{
|
||||||
|
_selectedPort = value;
|
||||||
|
// Connect to the port here
|
||||||
|
_arduinoBoard = new ArduinoBoard(_selectedPort);
|
||||||
|
if (_arduinoBoard.Conected)
|
||||||
|
ConnectionStatus = "Device Connected";
|
||||||
|
else
|
||||||
|
ConnectionStatus = "Device Disconnected";
|
||||||
|
OnPropertyChanged(nameof(ConnectionStatus));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private LightingModes _lightingMode;
|
||||||
|
public int LightingMode
|
||||||
|
{
|
||||||
|
get { return (int)_lightingMode; }
|
||||||
|
set { _lightingMode = (LightingModes) value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public ArduinoTab(string name)
|
||||||
|
{
|
||||||
|
Name = name;
|
||||||
|
ConnectionStatus = "Device Disconnected";
|
||||||
|
_selectedPort = "";
|
||||||
|
|
||||||
|
// Get a list of the available com ports
|
||||||
|
string[] ports = SerialPort.GetPortNames();
|
||||||
|
_availablePorts = ports;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void OnPropertyChanged(string propertyName)
|
||||||
|
{
|
||||||
|
if (PropertyChanged != null)
|
||||||
|
{
|
||||||
|
PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,12 @@
|
||||||
|
using System;
|
||||||
|
using System.Windows.Input;
|
||||||
|
|
||||||
|
namespace RGBController2
|
||||||
|
{
|
||||||
|
public interface ITab
|
||||||
|
{
|
||||||
|
string Name { get; set;}
|
||||||
|
ICommand CloseCommand { get; }
|
||||||
|
event EventHandler CloseRequested;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
using System;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using RGBController2.Commands;
|
||||||
|
|
||||||
|
namespace RGBController2.ViewModels.Tabs
|
||||||
|
{
|
||||||
|
public abstract class Tab : ITab
|
||||||
|
{
|
||||||
|
public Tab()
|
||||||
|
{
|
||||||
|
CloseCommand = new ActionCommand(p => CloseRequested?.Invoke(this, EventArgs.Empty));
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Name { get; set; }
|
||||||
|
public ICommand CloseCommand { get; }
|
||||||
|
public event EventHandler CloseRequested;
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,10 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace RGBController2.ViewModels.Tabs
|
||||||
|
{
|
||||||
|
class TabViewModel : BaseViewModel
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,48 @@
|
||||||
|
<Window x:Class="RGBController2.Views.MainWindow"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:local="clr-namespace:RGBController2"
|
||||||
|
xmlns:tabsviewmodels="clr-namespace:RGBController2.ViewModels.Tabs"
|
||||||
|
xmlns:tabsviews="clr-namespace:RGBController2.Views.Tabs"
|
||||||
|
xmlns:viewmodels="clr-namespace:RGBController2.ViewModels"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
Title="MainWindow"
|
||||||
|
Height="360"
|
||||||
|
Width="715"
|
||||||
|
d:DataContext="{d:DesignInstance viewmodels:MainViewModel}">
|
||||||
|
|
||||||
|
<Grid>
|
||||||
|
<DockPanel>
|
||||||
|
<Menu DockPanel.Dock="Top">
|
||||||
|
<MenuItem Header="_Options">
|
||||||
|
<MenuItem Header="_Flux" IsCheckable="True" IsChecked="True" />
|
||||||
|
<Separator />
|
||||||
|
<MenuItem Header="_Exit" />
|
||||||
|
</MenuItem>
|
||||||
|
<MenuItem Header="_Tabs">
|
||||||
|
<MenuItem Header="_New Tab" Command="{Binding NewTabCommand}"/>
|
||||||
|
<MenuItem Header="_Delete Current Tab"/>
|
||||||
|
</MenuItem>
|
||||||
|
</Menu>
|
||||||
|
</DockPanel>
|
||||||
|
|
||||||
|
<TabControl Name="tabcontrol" VerticalAlignment="Top" HorizontalAlignment="Center" Margin="0,20,0,0" Width="715" Height="324" ItemsSource="{Binding Tabs}">
|
||||||
|
<TabControl.Resources>
|
||||||
|
<DataTemplate DataType="{x:Type tabsviewmodels:ArduinoTab}">
|
||||||
|
<tabsviews:ArduinoTabView/>
|
||||||
|
</DataTemplate>
|
||||||
|
</TabControl.Resources>
|
||||||
|
|
||||||
|
<TabControl.ItemTemplate>
|
||||||
|
<DataTemplate DataType="{x:Type local:ITab}">
|
||||||
|
<TextBlock>
|
||||||
|
<Run Text="{Binding Name}"/>
|
||||||
|
<Hyperlink Command="{Binding CloseCommand}">X</Hyperlink>
|
||||||
|
</TextBlock>
|
||||||
|
</DataTemplate>
|
||||||
|
</TabControl.ItemTemplate>
|
||||||
|
</TabControl>
|
||||||
|
</Grid>
|
||||||
|
</Window>
|
|
@ -0,0 +1,20 @@
|
||||||
|
using RGBController2.ViewModels;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Windows;
|
||||||
|
|
||||||
|
namespace RGBController2.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for MainWindow.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class MainWindow : Window
|
||||||
|
{
|
||||||
|
public MainWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
// This allows the biniding to be done to the MainViewModel.cs class rather than this one.
|
||||||
|
// Why? Something to do with MVVM & good practice?
|
||||||
|
DataContext = new MainViewModel();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,23 @@
|
||||||
|
<UserControl x:Class="RGBController2.Views.Tabs.ArduinoTabView"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:RGBController2"
|
||||||
|
mc:Ignorable="d"
|
||||||
|
d:DesignHeight="280" d:DesignWidth="700"
|
||||||
|
Background="White">
|
||||||
|
<Grid>
|
||||||
|
<Label Content="Lighting Mode" Margin="0,5,0,0"/>
|
||||||
|
<ComboBox VerticalAlignment="top" HorizontalAlignment="left" Margin="100,5,0,0" Width="150" x:Name="lightingModeSelectionComboBox" SelectedIndex="{Binding LightingMode}">
|
||||||
|
<ComboBoxItem Content="Static Colour"></ComboBoxItem>
|
||||||
|
<ComboBoxItem Content="Animations"></ComboBoxItem>
|
||||||
|
<ComboBoxItem Content="Quake Live"></ComboBoxItem>
|
||||||
|
</ComboBox>
|
||||||
|
<Label Content="Com" VerticalAlignment="top" HorizontalAlignment="left" Margin="280,5,0,0"/>
|
||||||
|
<ComboBox VerticalAlignment="top" HorizontalAlignment="left" Margin="320,5,0,0" Width="70" ItemsSource="{Binding AvailablePorts}" SelectedItem="{Binding SelectedPort}">
|
||||||
|
</ComboBox>
|
||||||
|
<Label Content="{Binding ConnectionStatus}" VerticalAlignment="top" HorizontalAlignment="left" Margin="400,5,0,0"/>
|
||||||
|
<!--<Frame Name="LightingModeFrame" VerticalAlignment="top" HorizontalAlignment="left" Margin="0,30,0,0" Width="700" Height="240" NavigationUIVisibility="Hidden"/>-->
|
||||||
|
</Grid>
|
||||||
|
</UserControl>
|
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
using RGBController2.ViewModels.Tabs;
|
||||||
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
@ -11,16 +12,18 @@ using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace RGBController2
|
namespace RGBController2.Views.Tabs
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaction logic for Static.xaml
|
/// Interaction logic for ArduinoTabView.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class Static : Page
|
public partial class ArduinoTabView : UserControl
|
||||||
{
|
{
|
||||||
public Static()
|
public ArduinoTabView()
|
||||||
{
|
{
|
||||||
//InitializeComponent();
|
InitializeComponent();
|
||||||
|
|
||||||
|
//DataContext = new ArduinoTab();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -53,7 +53,7 @@ namespace RGBController2.LightingModes {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/RGBController2;V1.0.0.0;component/animation.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/RGBController2;component/animation.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\..\Animation.xaml"
|
#line 1 "..\..\..\Animation.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "4306F17E8B0931D193E40C26765AEFFAC55CAA9D"
|
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "3EE2700C6B6204B7E9DA83258C64087CDEFFF848"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
|
@ -49,7 +49,7 @@ namespace RGBController2 {
|
||||||
public void InitializeComponent() {
|
public void InitializeComponent() {
|
||||||
|
|
||||||
#line 5 "..\..\..\App.xaml"
|
#line 5 "..\..\..\App.xaml"
|
||||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
this.StartupUri = new System.Uri("Views/MainWindow.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C8A797FD0FC9A2445483480306853F65E8FCAC1C"
|
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "96DAE66E5A8430D5F07CBFB48E6D558881C308C8"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
|
@ -10,6 +10,9 @@
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
using RGBController2;
|
using RGBController2;
|
||||||
|
using RGBController2.ViewModels;
|
||||||
|
using RGBController2.ViewModels.Tabs;
|
||||||
|
using RGBController2.Views.Tabs;
|
||||||
using System;
|
using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
@ -42,17 +45,9 @@ namespace RGBController2 {
|
||||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||||
|
|
||||||
|
|
||||||
#line 29 "..\..\..\MainWindow.xaml"
|
#line 31 "..\..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.ComboBox lightingModeSelectionComboBox;
|
internal System.Windows.Controls.TabControl tabcontrol;
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
|
|
||||||
|
|
||||||
#line 38 "..\..\..\MainWindow.xaml"
|
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
|
||||||
internal System.Windows.Controls.Frame LightingModeFrame;
|
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
@ -69,7 +64,7 @@ namespace RGBController2 {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
_contentLoaded = true;
|
_contentLoaded = true;
|
||||||
System.Uri resourceLocater = new System.Uri("/RGBController2;V1.0.0.0;component/mainwindow.xaml", System.UriKind.Relative);
|
System.Uri resourceLocater = new System.Uri("/RGBController2;component/mainwindow.xaml", System.UriKind.Relative);
|
||||||
|
|
||||||
#line 1 "..\..\..\MainWindow.xaml"
|
#line 1 "..\..\..\MainWindow.xaml"
|
||||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||||
|
@ -88,16 +83,7 @@ namespace RGBController2 {
|
||||||
switch (connectionId)
|
switch (connectionId)
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
this.lightingModeSelectionComboBox = ((System.Windows.Controls.ComboBox)(target));
|
this.tabcontrol = ((System.Windows.Controls.TabControl)(target));
|
||||||
|
|
||||||
#line 29 "..\..\..\MainWindow.xaml"
|
|
||||||
this.lightingModeSelectionComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LightingModeSelection_SelectionChanged);
|
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
return;
|
|
||||||
case 2:
|
|
||||||
this.LightingModeFrame = ((System.Windows.Controls.Frame)(target));
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
|
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\RGBController2.exe
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\RGBController2.deps.json
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\RGBController2.runtimeconfig.json
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\RGBController2.runtimeconfig.dev.json
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\RGBController2.dll
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\RGBController2.pdb
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2.csprojAssemblyReference.cache
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\App.g.cs
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2_MarkupCompile.cache
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2_MarkupCompile.lref
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2.g.resources
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2.AssemblyInfoInputs.cache
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2.AssemblyInfo.cs
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2.dll
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2.pdb
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2.genruntimeconfig.cache
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\GeneratedInternalTypeHelper.g.cs
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\Views\Tabs\ArduinoTabView.g.cs
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\Views\Tabs\ArduinoTabView.baml
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\System.IO.Ports.dll
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\runtimes\linux-arm\native\System.IO.Ports.Native.so
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\runtimes\linux-arm64\native\System.IO.Ports.Native.so
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\runtimes\linux-x64\native\System.IO.Ports.Native.so
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\runtimes\osx-x64\native\System.IO.Ports.Native.dylib
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\runtimes\linux\lib\netstandard2.0\System.IO.Ports.dll
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\runtimes\osx\lib\netstandard2.0\System.IO.Ports.dll
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\bin\Debug\netcoreapp3.1\runtimes\win\lib\netstandard2.0\System.IO.Ports.dll
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2.csproj.CoreCompileInputs.cache
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\RGBController2.csproj.CopyComplete
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\Views\MainWindow.g.cs
|
||||||
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\Views\MainWindow.baml
|
Binary file not shown.
|
@ -5,7 +5,224 @@
|
||||||
},
|
},
|
||||||
"compilationOptions": {},
|
"compilationOptions": {},
|
||||||
"targets": {
|
"targets": {
|
||||||
".NETCoreApp,Version=v3.1": {}
|
".NETCoreApp,Version=v3.1": {
|
||||||
|
"Microsoft.NETCore.Platforms/3.1.0": {},
|
||||||
|
"Microsoft.Win32.Registry/4.7.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Security.AccessControl": "4.7.0",
|
||||||
|
"System.Security.Principal.Windows": "4.7.0"
|
||||||
},
|
},
|
||||||
"libraries": {}
|
"runtime": {
|
||||||
|
"lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
|
||||||
|
"assemblyVersion": "4.1.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
|
||||||
|
"rid": "unix",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "4.1.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
},
|
||||||
|
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "4.1.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.linux-arm.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/linux-arm/native/System.IO.Ports.Native.so": {
|
||||||
|
"rid": "linux-arm",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.linux-arm64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/linux-arm64/native/System.IO.Ports.Native.so": {
|
||||||
|
"rid": "linux-arm64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.linux-x64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/linux-x64/native/System.IO.Ports.Native.so": {
|
||||||
|
"rid": "linux-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"runtime.linux-arm.runtime.native.System.IO.Ports": "4.7.0",
|
||||||
|
"runtime.linux-arm64.runtime.native.System.IO.Ports": "4.7.0",
|
||||||
|
"runtime.linux-x64.runtime.native.System.IO.Ports": "4.7.0",
|
||||||
|
"runtime.osx-x64.runtime.native.System.IO.Ports": "4.7.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.osx-x64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/osx-x64/native/System.IO.Ports.Native.dylib": {
|
||||||
|
"rid": "osx-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.IO.Ports/4.7.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.Win32.Registry": "4.7.0",
|
||||||
|
"runtime.native.System.IO.Ports": "4.7.0"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.0/System.IO.Ports.dll": {
|
||||||
|
"assemblyVersion": "4.0.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/linux/lib/netstandard2.0/System.IO.Ports.dll": {
|
||||||
|
"rid": "linux",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "4.0.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
},
|
||||||
|
"runtimes/osx/lib/netstandard2.0/System.IO.Ports.dll": {
|
||||||
|
"rid": "osx",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "4.0.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
},
|
||||||
|
"runtimes/win/lib/netstandard2.0/System.IO.Ports.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "4.0.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Security.AccessControl/4.7.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||||
|
"System.Security.Principal.Windows": "4.7.0"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.0/System.Security.AccessControl.dll": {
|
||||||
|
"assemblyVersion": "4.1.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "4.1.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Security.Principal.Windows/4.7.0": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.0/System.Security.Principal.Windows.dll": {
|
||||||
|
"assemblyVersion": "4.1.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
|
||||||
|
"rid": "unix",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "4.1.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
},
|
||||||
|
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "4.1.3.0",
|
||||||
|
"fileVersion": "4.700.19.56404"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"Microsoft.NETCore.Platforms/3.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
|
||||||
|
"path": "microsoft.netcore.platforms/3.1.0",
|
||||||
|
"hashPath": "microsoft.netcore.platforms.3.1.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.Win32.Registry/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==",
|
||||||
|
"path": "microsoft.win32.registry/4.7.0",
|
||||||
|
"hashPath": "microsoft.win32.registry.4.7.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"runtime.linux-arm.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-pCaX07mRrO11GfUb+whjn2AJgCofx26slw0sI3XC9v0pEZO8101iK6q4ymZOiI2M4a9sQxLr2LawAEDvF4RNXg==",
|
||||||
|
"path": "runtime.linux-arm.runtime.native.system.io.ports/4.7.0",
|
||||||
|
"hashPath": "runtime.linux-arm.runtime.native.system.io.ports.4.7.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"runtime.linux-arm64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-/J6A4bexUUJciGUwrhtzrFW4tIHqoJYlCsz5RudRmqUaqvuG2tjrbn6bEopOFs7CU4gZqAKWcU9pkp180c3DkQ==",
|
||||||
|
"path": "runtime.linux-arm64.runtime.native.system.io.ports/4.7.0",
|
||||||
|
"hashPath": "runtime.linux-arm64.runtime.native.system.io.ports.4.7.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"runtime.linux-x64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-aaaiH4ttfkLizo0OKf++5kPN0yxKbgzcyAD3w52Y3YP96aB/M79fm0r06SedXJGv86Iou6ipj3wUQBMFaL8LnQ==",
|
||||||
|
"path": "runtime.linux-x64.runtime.native.system.io.ports/4.7.0",
|
||||||
|
"hashPath": "runtime.linux-x64.runtime.native.system.io.ports.4.7.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-yidiZEGEIOyGnRkZvoV6XbeqzEBg9L47PyZNBymLIsu9HHseF98wiOxR6RnHmMqQMTBlc/EONfw4NT3pw0S6YQ==",
|
||||||
|
"path": "runtime.native.system.io.ports/4.7.0",
|
||||||
|
"hashPath": "runtime.native.system.io.ports.4.7.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"runtime.osx-x64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-c1h87v6gopjfeAu3WhVGguUhzCdpZFqX8oXrevO1ciuH4g/mFrxnzlo5POlp+TtZdQ1i8yu0ZzBMKbmX2bJJ0g==",
|
||||||
|
"path": "runtime.osx-x64.runtime.native.system.io.ports/4.7.0",
|
||||||
|
"hashPath": "runtime.osx-x64.runtime.native.system.io.ports.4.7.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-tNHiZcdskfRpxU7LBBlA69YYgBqWMBE/JDdmrEIDa4iw944VK1u4+B0FeSls1FUm+Pm4X/Fl0fSGqi8MDhb8/Q==",
|
||||||
|
"path": "system.io.ports/4.7.0",
|
||||||
|
"hashPath": "system.io.ports.4.7.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Security.AccessControl/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==",
|
||||||
|
"path": "system.security.accesscontrol/4.7.0",
|
||||||
|
"hashPath": "system.security.accesscontrol.4.7.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Security.Principal.Windows/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==",
|
||||||
|
"path": "system.security.principal.windows/4.7.0",
|
||||||
|
"hashPath": "system.security.principal.windows.4.7.0.nupkg.sha512"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -4,17 +4,17 @@
|
||||||
winexe
|
winexe
|
||||||
C#
|
C#
|
||||||
.cs
|
.cs
|
||||||
C:\Users\Conor\source\repos\RGBController2\RGBController2\obj\Debug\netcoreapp3.1\
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\obj\Debug\netcoreapp3.1\
|
||||||
RGBController2
|
RGBController2
|
||||||
none
|
none
|
||||||
false
|
false
|
||||||
TRACE;DEBUG;NETCOREAPP;NETCOREAPP3_1
|
TRACE;DEBUG;NETCOREAPP;NETCOREAPP3_1
|
||||||
C:\Users\Conor\source\repos\RGBController2\RGBController2\App.xaml
|
C:\Users\Conor\Desktop\RGB Contorller Tabs Test\RGBController\RGBController2\App.xaml
|
||||||
3669816501
|
2-624371512
|
||||||
|
|
||||||
7345742073
|
15-1701520287
|
||||||
1921654412462
|
1931775029747
|
||||||
Animation.xaml;MainWindow.xaml;Static.xaml;
|
Views\MainWindow.xaml;Views\Tabs\ArduinoTabView.xaml;
|
||||||
|
|
||||||
True
|
False
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
|
|
||||||
|
|
||||||
FC:\Users\Conor\source\repos\RGBController2\RGBController2\Animation.xaml;;
|
|
||||||
FC:\Users\Conor\source\repos\RGBController2\RGBController2\MainWindow.xaml;;
|
|
||||||
|
|
|
@ -1,17 +1,17 @@
|
||||||
{
|
{
|
||||||
"format": 1,
|
"format": 1,
|
||||||
"restore": {
|
"restore": {
|
||||||
"C:\\Users\\Conor\\source\\repos\\RGBController2\\RGBController2\\RGBController2.csproj": {}
|
"C:\\Users\\Conor\\Desktop\\RGB Contorller Tabs Test\\RGBController\\RGBController2\\RGBController2.csproj": {}
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"C:\\Users\\Conor\\source\\repos\\RGBController2\\RGBController2\\RGBController2.csproj": {
|
"C:\\Users\\Conor\\Desktop\\RGB Contorller Tabs Test\\RGBController\\RGBController2\\RGBController2.csproj": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Conor\\source\\repos\\RGBController2\\RGBController2\\RGBController2.csproj",
|
"projectUniqueName": "C:\\Users\\Conor\\Desktop\\RGB Contorller Tabs Test\\RGBController\\RGBController2\\RGBController2.csproj",
|
||||||
"projectName": "RGBController2",
|
"projectName": "RGBController2",
|
||||||
"projectPath": "C:\\Users\\Conor\\source\\repos\\RGBController2\\RGBController2\\RGBController2.csproj",
|
"projectPath": "C:\\Users\\Conor\\Desktop\\RGB Contorller Tabs Test\\RGBController\\RGBController2\\RGBController2.csproj",
|
||||||
"packagesPath": "C:\\Users\\Conor\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Conor\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Conor\\source\\repos\\RGBController2\\RGBController2\\obj\\",
|
"outputPath": "C:\\Users\\Conor\\Desktop\\RGB Contorller Tabs Test\\RGBController\\RGBController2\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Conor\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Conor\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
@ -37,6 +37,12 @@
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"netcoreapp3.1": {
|
"netcoreapp3.1": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.IO.Ports": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[4.7.0, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
"imports": [
|
"imports": [
|
||||||
"net461",
|
"net461",
|
||||||
"net462",
|
"net462",
|
||||||
|
|
|
@ -1,11 +1,434 @@
|
||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"targets": {
|
"targets": {
|
||||||
".NETCoreApp,Version=v3.1": {}
|
".NETCoreApp,Version=v3.1": {
|
||||||
|
"Microsoft.NETCore.Platforms/3.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"compile": {
|
||||||
|
"lib/netstandard1.0/_._": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard1.0/_._": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.Win32.Registry/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"dependencies": {
|
||||||
|
"System.Security.AccessControl": "4.7.0",
|
||||||
|
"System.Security.Principal.Windows": "4.7.0"
|
||||||
|
},
|
||||||
|
"compile": {
|
||||||
|
"ref/netstandard2.0/_._": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.0/Microsoft.Win32.Registry.dll": {}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
|
||||||
|
"assetType": "runtime",
|
||||||
|
"rid": "unix"
|
||||||
|
},
|
||||||
|
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
|
||||||
|
"assetType": "runtime",
|
||||||
|
"rid": "win"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.linux-arm.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/linux-arm/native/System.IO.Ports.Native.so": {
|
||||||
|
"assetType": "native",
|
||||||
|
"rid": "linux-arm"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.linux-arm64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/linux-arm64/native/System.IO.Ports.Native.so": {
|
||||||
|
"assetType": "native",
|
||||||
|
"rid": "linux-arm64"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.linux-x64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/linux-x64/native/System.IO.Ports.Native.so": {
|
||||||
|
"assetType": "native",
|
||||||
|
"rid": "linux-x64"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"dependencies": {
|
||||||
|
"runtime.linux-arm.runtime.native.System.IO.Ports": "4.7.0",
|
||||||
|
"runtime.linux-arm64.runtime.native.System.IO.Ports": "4.7.0",
|
||||||
|
"runtime.linux-x64.runtime.native.System.IO.Ports": "4.7.0",
|
||||||
|
"runtime.osx-x64.runtime.native.System.IO.Ports": "4.7.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtime.osx-x64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/osx-x64/native/System.IO.Ports.Native.dylib": {
|
||||||
|
"assetType": "native",
|
||||||
|
"rid": "osx-x64"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.IO.Ports/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.Win32.Registry": "4.7.0",
|
||||||
|
"runtime.native.System.IO.Ports": "4.7.0"
|
||||||
|
},
|
||||||
|
"compile": {
|
||||||
|
"ref/netstandard2.0/System.IO.Ports.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.0/System.IO.Ports.dll": {}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/linux/lib/netstandard2.0/System.IO.Ports.dll": {
|
||||||
|
"assetType": "runtime",
|
||||||
|
"rid": "linux"
|
||||||
|
},
|
||||||
|
"runtimes/osx/lib/netstandard2.0/System.IO.Ports.dll": {
|
||||||
|
"assetType": "runtime",
|
||||||
|
"rid": "osx"
|
||||||
|
},
|
||||||
|
"runtimes/win/lib/netstandard2.0/System.IO.Ports.dll": {
|
||||||
|
"assetType": "runtime",
|
||||||
|
"rid": "win"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Security.AccessControl/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "3.1.0",
|
||||||
|
"System.Security.Principal.Windows": "4.7.0"
|
||||||
|
},
|
||||||
|
"compile": {
|
||||||
|
"ref/netstandard2.0/_._": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.0/System.Security.AccessControl.dll": {}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": {
|
||||||
|
"assetType": "runtime",
|
||||||
|
"rid": "win"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Security.Principal.Windows/4.7.0": {
|
||||||
|
"type": "package",
|
||||||
|
"compile": {
|
||||||
|
"ref/netcoreapp3.0/_._": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.0/System.Security.Principal.Windows.dll": {}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
|
||||||
|
"assetType": "runtime",
|
||||||
|
"rid": "unix"
|
||||||
|
},
|
||||||
|
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
|
||||||
|
"assetType": "runtime",
|
||||||
|
"rid": "win"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"Microsoft.NETCore.Platforms/3.1.0": {
|
||||||
|
"sha512": "z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "microsoft.netcore.platforms/3.1.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"lib/netstandard1.0/_._",
|
||||||
|
"microsoft.netcore.platforms.3.1.0.nupkg.sha512",
|
||||||
|
"microsoft.netcore.platforms.nuspec",
|
||||||
|
"runtime.json",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"Microsoft.Win32.Registry/4.7.0": {
|
||||||
|
"sha512": "KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "microsoft.win32.registry/4.7.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"lib/net46/Microsoft.Win32.Registry.dll",
|
||||||
|
"lib/net461/Microsoft.Win32.Registry.dll",
|
||||||
|
"lib/net461/Microsoft.Win32.Registry.xml",
|
||||||
|
"lib/netstandard1.3/Microsoft.Win32.Registry.dll",
|
||||||
|
"lib/netstandard2.0/Microsoft.Win32.Registry.dll",
|
||||||
|
"lib/netstandard2.0/Microsoft.Win32.Registry.xml",
|
||||||
|
"microsoft.win32.registry.4.7.0.nupkg.sha512",
|
||||||
|
"microsoft.win32.registry.nuspec",
|
||||||
|
"ref/net46/Microsoft.Win32.Registry.dll",
|
||||||
|
"ref/net461/Microsoft.Win32.Registry.dll",
|
||||||
|
"ref/net461/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/net472/Microsoft.Win32.Registry.dll",
|
||||||
|
"ref/net472/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/Microsoft.Win32.Registry.dll",
|
||||||
|
"ref/netstandard1.3/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/de/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/es/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/fr/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/it/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/ja/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/ko/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/ru/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/zh-hans/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard1.3/zh-hant/Microsoft.Win32.Registry.xml",
|
||||||
|
"ref/netstandard2.0/Microsoft.Win32.Registry.dll",
|
||||||
|
"ref/netstandard2.0/Microsoft.Win32.Registry.xml",
|
||||||
|
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll",
|
||||||
|
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.xml",
|
||||||
|
"runtimes/win/lib/net46/Microsoft.Win32.Registry.dll",
|
||||||
|
"runtimes/win/lib/net461/Microsoft.Win32.Registry.dll",
|
||||||
|
"runtimes/win/lib/net461/Microsoft.Win32.Registry.xml",
|
||||||
|
"runtimes/win/lib/netstandard1.3/Microsoft.Win32.Registry.dll",
|
||||||
|
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll",
|
||||||
|
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.xml",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"runtime.linux-arm.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"sha512": "pCaX07mRrO11GfUb+whjn2AJgCofx26slw0sI3XC9v0pEZO8101iK6q4ymZOiI2M4a9sQxLr2LawAEDvF4RNXg==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "runtime.linux-arm.runtime.native.system.io.ports/4.7.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"runtime.linux-arm.runtime.native.system.io.ports.4.7.0.nupkg.sha512",
|
||||||
|
"runtime.linux-arm.runtime.native.system.io.ports.nuspec",
|
||||||
|
"runtimes/linux-arm/native/System.IO.Ports.Native.so",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"runtime.linux-arm64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"sha512": "/J6A4bexUUJciGUwrhtzrFW4tIHqoJYlCsz5RudRmqUaqvuG2tjrbn6bEopOFs7CU4gZqAKWcU9pkp180c3DkQ==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "runtime.linux-arm64.runtime.native.system.io.ports/4.7.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"runtime.linux-arm64.runtime.native.system.io.ports.4.7.0.nupkg.sha512",
|
||||||
|
"runtime.linux-arm64.runtime.native.system.io.ports.nuspec",
|
||||||
|
"runtimes/linux-arm64/native/System.IO.Ports.Native.so",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"runtime.linux-x64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"sha512": "aaaiH4ttfkLizo0OKf++5kPN0yxKbgzcyAD3w52Y3YP96aB/M79fm0r06SedXJGv86Iou6ipj3wUQBMFaL8LnQ==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "runtime.linux-x64.runtime.native.system.io.ports/4.7.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"runtime.linux-x64.runtime.native.system.io.ports.4.7.0.nupkg.sha512",
|
||||||
|
"runtime.linux-x64.runtime.native.system.io.ports.nuspec",
|
||||||
|
"runtimes/linux-x64/native/System.IO.Ports.Native.so",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"sha512": "yidiZEGEIOyGnRkZvoV6XbeqzEBg9L47PyZNBymLIsu9HHseF98wiOxR6RnHmMqQMTBlc/EONfw4NT3pw0S6YQ==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "runtime.native.system.io.ports/4.7.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"runtime.native.system.io.ports.4.7.0.nupkg.sha512",
|
||||||
|
"runtime.native.system.io.ports.nuspec",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"runtime.osx-x64.runtime.native.System.IO.Ports/4.7.0": {
|
||||||
|
"sha512": "c1h87v6gopjfeAu3WhVGguUhzCdpZFqX8oXrevO1ciuH4g/mFrxnzlo5POlp+TtZdQ1i8yu0ZzBMKbmX2bJJ0g==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "runtime.osx-x64.runtime.native.system.io.ports/4.7.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"runtime.osx-x64.runtime.native.system.io.ports.4.7.0.nupkg.sha512",
|
||||||
|
"runtime.osx-x64.runtime.native.system.io.ports.nuspec",
|
||||||
|
"runtimes/osx-x64/native/System.IO.Ports.Native.dylib",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"System.IO.Ports/4.7.0": {
|
||||||
|
"sha512": "tNHiZcdskfRpxU7LBBlA69YYgBqWMBE/JDdmrEIDa4iw944VK1u4+B0FeSls1FUm+Pm4X/Fl0fSGqi8MDhb8/Q==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "system.io.ports/4.7.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"lib/net461/System.IO.Ports.dll",
|
||||||
|
"lib/net461/System.IO.Ports.xml",
|
||||||
|
"lib/netstandard2.0/System.IO.Ports.dll",
|
||||||
|
"lib/netstandard2.0/System.IO.Ports.xml",
|
||||||
|
"lib/uap10.0.16299/_._",
|
||||||
|
"ref/net461/System.IO.Ports.dll",
|
||||||
|
"ref/net461/System.IO.Ports.xml",
|
||||||
|
"ref/netstandard2.0/System.IO.Ports.dll",
|
||||||
|
"ref/netstandard2.0/System.IO.Ports.xml",
|
||||||
|
"ref/uap10.0.16299/_._",
|
||||||
|
"runtimes/linux/lib/netstandard2.0/System.IO.Ports.dll",
|
||||||
|
"runtimes/linux/lib/netstandard2.0/System.IO.Ports.xml",
|
||||||
|
"runtimes/osx/lib/netstandard2.0/System.IO.Ports.dll",
|
||||||
|
"runtimes/osx/lib/netstandard2.0/System.IO.Ports.xml",
|
||||||
|
"runtimes/win/lib/net461/System.IO.Ports.dll",
|
||||||
|
"runtimes/win/lib/net461/System.IO.Ports.xml",
|
||||||
|
"runtimes/win/lib/netstandard2.0/System.IO.Ports.dll",
|
||||||
|
"runtimes/win/lib/netstandard2.0/System.IO.Ports.xml",
|
||||||
|
"runtimes/win/lib/uap10.0.16299/_._",
|
||||||
|
"system.io.ports.4.7.0.nupkg.sha512",
|
||||||
|
"system.io.ports.nuspec",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"System.Security.AccessControl/4.7.0": {
|
||||||
|
"sha512": "JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "system.security.accesscontrol/4.7.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"lib/net46/System.Security.AccessControl.dll",
|
||||||
|
"lib/net461/System.Security.AccessControl.dll",
|
||||||
|
"lib/net461/System.Security.AccessControl.xml",
|
||||||
|
"lib/netstandard1.3/System.Security.AccessControl.dll",
|
||||||
|
"lib/netstandard2.0/System.Security.AccessControl.dll",
|
||||||
|
"lib/netstandard2.0/System.Security.AccessControl.xml",
|
||||||
|
"lib/uap10.0.16299/_._",
|
||||||
|
"ref/net46/System.Security.AccessControl.dll",
|
||||||
|
"ref/net461/System.Security.AccessControl.dll",
|
||||||
|
"ref/net461/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/System.Security.AccessControl.dll",
|
||||||
|
"ref/netstandard1.3/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/de/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/es/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/fr/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/it/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/ja/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/ko/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/ru/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/zh-hans/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard1.3/zh-hant/System.Security.AccessControl.xml",
|
||||||
|
"ref/netstandard2.0/System.Security.AccessControl.dll",
|
||||||
|
"ref/netstandard2.0/System.Security.AccessControl.xml",
|
||||||
|
"ref/uap10.0.16299/_._",
|
||||||
|
"runtimes/win/lib/net46/System.Security.AccessControl.dll",
|
||||||
|
"runtimes/win/lib/net461/System.Security.AccessControl.dll",
|
||||||
|
"runtimes/win/lib/net461/System.Security.AccessControl.xml",
|
||||||
|
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll",
|
||||||
|
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.xml",
|
||||||
|
"runtimes/win/lib/netstandard1.3/System.Security.AccessControl.dll",
|
||||||
|
"runtimes/win/lib/uap10.0.16299/_._",
|
||||||
|
"system.security.accesscontrol.4.7.0.nupkg.sha512",
|
||||||
|
"system.security.accesscontrol.nuspec",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"System.Security.Principal.Windows/4.7.0": {
|
||||||
|
"sha512": "ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "system.security.principal.windows/4.7.0",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"lib/net46/System.Security.Principal.Windows.dll",
|
||||||
|
"lib/net461/System.Security.Principal.Windows.dll",
|
||||||
|
"lib/net461/System.Security.Principal.Windows.xml",
|
||||||
|
"lib/netstandard1.3/System.Security.Principal.Windows.dll",
|
||||||
|
"lib/netstandard2.0/System.Security.Principal.Windows.dll",
|
||||||
|
"lib/netstandard2.0/System.Security.Principal.Windows.xml",
|
||||||
|
"lib/uap10.0.16299/_._",
|
||||||
|
"ref/net46/System.Security.Principal.Windows.dll",
|
||||||
|
"ref/net461/System.Security.Principal.Windows.dll",
|
||||||
|
"ref/net461/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netcoreapp3.0/System.Security.Principal.Windows.dll",
|
||||||
|
"ref/netcoreapp3.0/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/System.Security.Principal.Windows.dll",
|
||||||
|
"ref/netstandard1.3/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/de/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/es/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/fr/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/it/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/ja/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/ko/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/ru/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/zh-hans/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard1.3/zh-hant/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/netstandard2.0/System.Security.Principal.Windows.dll",
|
||||||
|
"ref/netstandard2.0/System.Security.Principal.Windows.xml",
|
||||||
|
"ref/uap10.0.16299/_._",
|
||||||
|
"runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll",
|
||||||
|
"runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.xml",
|
||||||
|
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll",
|
||||||
|
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.xml",
|
||||||
|
"runtimes/win/lib/net46/System.Security.Principal.Windows.dll",
|
||||||
|
"runtimes/win/lib/net461/System.Security.Principal.Windows.dll",
|
||||||
|
"runtimes/win/lib/net461/System.Security.Principal.Windows.xml",
|
||||||
|
"runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll",
|
||||||
|
"runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.xml",
|
||||||
|
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll",
|
||||||
|
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.xml",
|
||||||
|
"runtimes/win/lib/netstandard1.3/System.Security.Principal.Windows.dll",
|
||||||
|
"runtimes/win/lib/uap10.0.16299/_._",
|
||||||
|
"system.security.principal.windows.4.7.0.nupkg.sha512",
|
||||||
|
"system.security.principal.windows.nuspec",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"libraries": {},
|
|
||||||
"projectFileDependencyGroups": {
|
"projectFileDependencyGroups": {
|
||||||
".NETCoreApp,Version=v3.1": []
|
".NETCoreApp,Version=v3.1": [
|
||||||
|
"System.IO.Ports >= 4.7.0"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"packageFolders": {
|
"packageFolders": {
|
||||||
"C:\\Users\\Conor\\.nuget\\packages\\": {}
|
"C:\\Users\\Conor\\.nuget\\packages\\": {}
|
||||||
|
@ -13,11 +436,11 @@
|
||||||
"project": {
|
"project": {
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"restore": {
|
"restore": {
|
||||||
"projectUniqueName": "C:\\Users\\Conor\\source\\repos\\RGBController2\\RGBController2\\RGBController2.csproj",
|
"projectUniqueName": "C:\\Users\\Conor\\Desktop\\RGB Contorller Tabs Test\\RGBController\\RGBController2\\RGBController2.csproj",
|
||||||
"projectName": "RGBController2",
|
"projectName": "RGBController2",
|
||||||
"projectPath": "C:\\Users\\Conor\\source\\repos\\RGBController2\\RGBController2\\RGBController2.csproj",
|
"projectPath": "C:\\Users\\Conor\\Desktop\\RGB Contorller Tabs Test\\RGBController\\RGBController2\\RGBController2.csproj",
|
||||||
"packagesPath": "C:\\Users\\Conor\\.nuget\\packages\\",
|
"packagesPath": "C:\\Users\\Conor\\.nuget\\packages\\",
|
||||||
"outputPath": "C:\\Users\\Conor\\source\\repos\\RGBController2\\RGBController2\\obj\\",
|
"outputPath": "C:\\Users\\Conor\\Desktop\\RGB Contorller Tabs Test\\RGBController\\RGBController2\\obj\\",
|
||||||
"projectStyle": "PackageReference",
|
"projectStyle": "PackageReference",
|
||||||
"configFilePaths": [
|
"configFilePaths": [
|
||||||
"C:\\Users\\Conor\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
"C:\\Users\\Conor\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
@ -43,6 +466,12 @@
|
||||||
},
|
},
|
||||||
"frameworks": {
|
"frameworks": {
|
||||||
"netcoreapp3.1": {
|
"netcoreapp3.1": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.IO.Ports": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[4.7.0, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
"imports": [
|
"imports": [
|
||||||
"net461",
|
"net461",
|
||||||
"net462",
|
"net462",
|
||||||
|
|
Loading…
Reference in New Issue