Skip to content

Commit

Permalink
Merge pull request #56 from BBekker/dev
Browse files Browse the repository at this point in the history
Week 1 dev to master
  • Loading branch information
BBekker authored May 12, 2017
2 parents 96c89f6 + 653bc02 commit b89ca2b
Show file tree
Hide file tree
Showing 91 changed files with 5,972 additions and 4 deletions.
34 changes: 34 additions & 0 deletions CryostatControl.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CryostatControlClient", "CryostatControlClient\CryostatControlClient.csproj", "{F38C304B-B06B-46CA-A267-7C27328C9033}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CryostatControlServer", "CryostatControlServer\CryostatControlServer.csproj", "{4724405F-6333-4320-9896-8AAAC233293A}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CryostatControlServerTests", "CryostatControlServerTests\CryostatControlServerTests.csproj", "{3551FA04-53E2-49F4-9DA1-5601611DDDC0}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F38C304B-B06B-46CA-A267-7C27328C9033}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F38C304B-B06B-46CA-A267-7C27328C9033}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F38C304B-B06B-46CA-A267-7C27328C9033}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F38C304B-B06B-46CA-A267-7C27328C9033}.Release|Any CPU.Build.0 = Release|Any CPU
{4724405F-6333-4320-9896-8AAAC233293A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4724405F-6333-4320-9896-8AAAC233293A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4724405F-6333-4320-9896-8AAAC233293A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4724405F-6333-4320-9896-8AAAC233293A}.Release|Any CPU.Build.0 = Release|Any CPU
{3551FA04-53E2-49F4-9DA1-5601611DDDC0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3551FA04-53E2-49F4-9DA1-5601611DDDC0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3551FA04-53E2-49F4-9DA1-5601611DDDC0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3551FA04-53E2-49F4-9DA1-5601611DDDC0}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
6 changes: 6 additions & 0 deletions CryostatControlClient/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
</startup>
</configuration>
52 changes: 52 additions & 0 deletions CryostatControlClient/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<Application x:Class="CryostatControlClient.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:CryostatControlClient"
xmlns:dragablz="http://dragablz.net/winfx/xaml/dragablz"
StartupUri="Views/MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Defaults.xaml" />


<!-- primary color -->
<ResourceDictionary>
<!-- include your primary palette -->
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.LightBlue.Named.xaml" />
</ResourceDictionary.MergedDictionaries>
<!--
include three hues from the primary palette (and the associated forecolours).
Do not rename, keep in sequence; light to dark.
-->
<SolidColorBrush x:Key="PrimaryHueLightBrush" Color="{StaticResource 'Light BluePrimary100'}"/>
<SolidColorBrush x:Key="PrimaryHueLightForegroundBrush" Color="{StaticResource 'Light BluePrimary100Foreground'}"/>
<SolidColorBrush x:Key="PrimaryHueMidBrush" Color="{StaticResource 'Light BluePrimary400'}"/>
<SolidColorBrush x:Key="PrimaryHueMidForegroundBrush" Color="{StaticResource 'Light BluePrimary400Foreground'}"/>
<SolidColorBrush x:Key="PrimaryHueDarkBrush" Color="{StaticResource 'Light BluePrimary100'}"/>
<SolidColorBrush x:Key="PrimaryHueDarkForegroundBrush" Color="{StaticResource 'Light BluePrimary100Foreground'}"/>
</ResourceDictionary>

<!-- secondary colour -->
<ResourceDictionary>
<!-- include your secondary pallette -->
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/MaterialDesignColor.LightBlue.xaml" />
</ResourceDictionary.MergedDictionaries>

<!-- include a single secondary accent color (and the associated forecolour) -->
<SolidColorBrush x:Key="SecondaryAccentBrush" Color="{StaticResource Accent200}"/>
<SolidColorBrush x:Key="SecondaryAccentForegroundBrush" Color="{StaticResource Accent200Foreground}"/>
</ResourceDictionary>

<!-- Include the Dragablz Material Design style -->
<ResourceDictionary Source="pack://application:,,,/Dragablz;component/Themes/materialdesign.xaml"/>
</ResourceDictionary.MergedDictionaries>

<!-- tell Dragablz tab control to use the Material Design theme -->
<Style TargetType="{x:Type dragablz:TabablzControl}" BasedOn="{StaticResource MaterialDesignTabablzControlStyle}" />
</ResourceDictionary>
</Application.Resources>
</Application>
20 changes: 20 additions & 0 deletions CryostatControlClient/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="App.xaml.cs" company="SRON">
// k
// </copyright>
// <summary>
// Interaction logic for App.xaml
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace CryostatControlClient
{
using System.Windows;

/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App
{
}
}
260 changes: 260 additions & 0 deletions CryostatControlClient/CryostatControlClient.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,260 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{F38C304B-B06B-46CA-A267-7C27328C9033}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>CryostatControlClient</RootNamespace>
<AssemblyName>CryostatControlClient</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="CircularGauge, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\CircularGauge.1.0.0\lib\Net40-Client\CircularGauge.dll</HintPath>
</Reference>
<Reference Include="Dragablz, Version=0.0.3.186, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Dragablz.0.0.3.186\lib\net45\Dragablz.dll</HintPath>
</Reference>
<Reference Include="MaterialDesignColors">
<HintPath>..\packages\MaterialDesignColors.1.1.3\lib\net45\MaterialDesignColors.dll</HintPath>
</Reference>
<Reference Include="MaterialDesignThemes.Wpf, Version=2.3.0.823, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\MaterialDesignThemes.2.3.0.823\lib\net45\MaterialDesignThemes.Wpf.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="Xceed.Wpf.AvalonDock, Version=3.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.AvalonDock.dll</HintPath>
</Reference>
<Reference Include="Xceed.Wpf.AvalonDock.Themes.Aero, Version=3.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.AvalonDock.Themes.Aero.dll</HintPath>
</Reference>
<Reference Include="Xceed.Wpf.AvalonDock.Themes.Metro, Version=3.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.AvalonDock.Themes.Metro.dll</HintPath>
</Reference>
<Reference Include="Xceed.Wpf.AvalonDock.Themes.VS2010, Version=3.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.AvalonDock.Themes.VS2010.dll</HintPath>
</Reference>
<Reference Include="Xceed.Wpf.DataGrid, Version=3.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.DataGrid.dll</HintPath>
</Reference>
<Reference Include="Xceed.Wpf.Toolkit, Version=3.0.0.0, Culture=neutral, PublicKeyToken=3e4669d2f30244f4, processorArchitecture=MSIL">
<HintPath>..\packages\Extended.Wpf.Toolkit.3.0\lib\net40\Xceed.Wpf.Toolkit.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Compile Include="Models\AbstractModel.cs" />
<Compile Include="Models\He7Model.cs" />
<Compile Include="Views\Tabs\He7\2KPlate.xaml.cs">
<DependentUpon>2KPlate.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\He7\He3Pump.xaml.cs">
<DependentUpon>He3Pump.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\He7\He3Stage.xaml.cs">
<DependentUpon>He3Stage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\He7\He3Switch.xaml.cs">
<DependentUpon>He3Switch.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\He7\He4Pump.xaml.cs">
<DependentUpon>He4Pump.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\He7\He4Stage.xaml.cs">
<DependentUpon>He4Stage.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\He7\He4Switch.xaml.cs">
<DependentUpon>He4Switch.xaml</DependentUpon>
</Compile>
<Compile Include="Views\MainGraphFrame.xaml.cs">
<DependentUpon>MainGraphFrame.xaml</DependentUpon>
</Compile>
<Compile Include="Views\SettingsFrame.xaml.cs">
<DependentUpon>SettingsFrame.xaml</DependentUpon>
</Compile>
<Page Include="Views\Tabs\He7\2KPlate.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tabs\He7\4KPlate.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tabs\He7\He3Pump.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tabs\He7\He3Stage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tabs\He7\He3Switch.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tabs\He7\He4Pump.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tabs\He7\He4Stage.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tabs\He7\He4Switch.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\MainGraphFrame.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Styles.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Compile Include="Models\CompressorModel.cs" />
<Compile Include="Models\OverviewModel.cs" />
<Compile Include="Views\Tabs\He7\4KPlate.cs" />
<Compile Include="Views\Tabs\LoggingFrame.xaml.cs">
<DependentUpon>LoggingFrame.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\GraphFrame.xaml.cs">
<DependentUpon>GraphFrame.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\CompressorFrame.xaml.cs">
<DependentUpon>CompressorFrame.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\He7Frame.xaml.cs">
<DependentUpon>He7Frame.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\BlueforsFrame.xaml.cs">
<DependentUpon>BlueforsFrame.xaml</DependentUpon>
</Compile>
<Compile Include="Views\Tabs\OverviewFrame.xaml.cs">
<DependentUpon>OverviewFrame.xaml</DependentUpon>
</Compile>
<Compile Include="Views\TabFrame.xaml.cs">
<DependentUpon>TabFrame.xaml</DependentUpon>
</Compile>
<Page Include="Views\Tabs\LoggingFrame.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\Tabs\GraphFrame.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\Tabs\CompressorFrame.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="Views\MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Page Include="Views\SettingsFrame.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\Tabs\He7Frame.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\Tabs\BlueforsFrame.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Views\Tabs\OverviewFrame.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
<Page Include="Views\TabFrame.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Folder Include="ViewModels\" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Loading

0 comments on commit b89ca2b

Please sign in to comment.