<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="QFDT_Components.PowerSupply_V2" 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:winformchart="clr-namespace:System.Windows.Forms.DataVisualization.Charting;assembly=System.Windows.Forms.DataVisualization" xmlns:qfdt_components="clr-namespace:QFDT_Components;assembly=QFDT_Components" Unloaded="On_Unloaded">
  <Grid Height="278" Width="608">
    <TextBox Name="txtCurrent" Height="23" HorizontalAlignment="Left" Margin="112,63,0,0" VerticalAlignment="Top" Width="75" />
    <Button Name="On" Content="On" Height="23" HorizontalAlignment="Left" Margin="12,34,0,0" VerticalAlignment="Top" Width="75" Click="On_Click" />
    <Button Name="Off" Content="Off" Height="23" HorizontalAlignment="Left" Margin="112,34,0,0" VerticalAlignment="Top" Width="75" Click="OffV2_Click" />
    <Button Name="Measure" Content="Current" Height="23" HorizontalAlignment="Left" Margin="12,63,0,0" VerticalAlignment="Top" Width="75" Click="Measure_Click" />
    <TextBox Name="txtVolt" Height="23" HorizontalAlignment="Left" Margin="50,6,0,0" VerticalAlignment="Top" Width="45" Text="3.7" />
    <Button Name="Voltage" Content="V" Height="23" HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top" Width="34" Click="Voltage_Click" />
    <TextBox Name="txtAmp" Height="23" HorizontalAlignment="Left" Margin="150,6,0,0" VerticalAlignment="Top" Width="45" Text="4.5" />
    <Button Name="Amp" Content="A" Height="23" HorizontalAlignment="Left" Margin="100,5,0,0" VerticalAlignment="Top" Width="34" Click="Amp_Click" />
    <WindowsFormsHost Name="host" Margin="10,92,12,22">
      <winformchart:Chart x:Name="CurrentChart" xmlns:forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms" Dock="Fill">
        <winformchart:Chart.Series>
          <winformchart:Series Name="Series" ChartType="FastLine" ToolTip="true" />
        </winformchart:Chart.Series>
      </winformchart:Chart>
    </WindowsFormsHost>
  </Grid>
</UserControl>