This commit is contained in:
Michiel.VanDorpe
2019-03-13 16:37:03 +01:00
parent 10cdcbbd00
commit 60eb72bd30
99 changed files with 5061 additions and 1 deletions

View File

@@ -0,0 +1,66 @@
<?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>{CA62D8EA-2739-4C85-81B4-FBA040592DAE}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>DataLaag</RootNamespace>
<AssemblyName>DataLaag</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<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' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.11.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Enums.cs" />
<Compile Include="Interfaces\IFKeuze.cs" />
<Compile Include="Interfaces\IFPersoon.cs" />
<Compile Include="Interfaces\IFWedstrijden.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="Gegevens\Keuzes.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="packages.config" />
<Content Include="Gegevens\Personen.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Gegevens\Wedstrijden.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataLaag
{
public class Enums
{
public enum Gokken { Uitploeg, Gelijk, Thuisploeg}
}
}

View File

@@ -0,0 +1 @@
[{"match_ID":128,"speler_ID":1,"inzet":0.15,"gok":2},{"match_ID":128,"speler_ID":1,"inzet":0.15,"gok":2},{"match_ID":128,"speler_ID":1,"inzet":0.15,"gok":2},{"match_ID":128,"speler_ID":1,"inzet":0.15,"gok":2},{"match_ID":128,"speler_ID":2,"inzet":500.0,"gok":0},{"match_ID":128,"speler_ID":2,"inzet":400.0,"gok":1},{"match_ID":128,"speler_ID":2,"inzet":200.0,"gok":2},{"match_ID":128,"speler_ID":2,"inzet":200.0,"gok":1},{"match_ID":128,"speler_ID":2,"inzet":200.0,"gok":0},{"match_ID":128,"speler_ID":2,"inzet":500.0,"gok":0},{"match_ID":128,"speler_ID":2,"inzet":500.0,"gok":1},{"match_ID":128,"speler_ID":2,"inzet":500.0,"gok":2}]

View File

@@ -0,0 +1 @@
[{"persoon_ID":0,"voorNaam":"VOORBEELD","naam":"NAAM","adres":"STRAAT","gsm":"GSM","balans":0.0},{"persoon_ID":0,"voorNaam":"john","naam":"doe","adres":"street","gsm":"048765656565","balans":0.15},{"persoon_ID":0,"voorNaam":"john","naam":"doe","adres":"street","gsm":"048765656565","balans":0.15},{"persoon_ID":1,"voorNaam":"john","naam":"doe","adres":"street","gsm":"048765656565","balans":0.15},{"persoon_ID":2,"voorNaam":"fg","naam":"fg","adres":"fgfg","gsm":"fg","balans":0.0},{"persoon_ID":1,"voorNaam":"john","naam":"doe","adres":"street","gsm":"048765656565","balans":0.15},{"persoon_ID":2,"voorNaam":"Michiel","naam":"VD","adres":"JUP","gsm":"FLEX","balans":0.0},{"persoon_ID":3,"voorNaam":"jef","naam":"Basil","adres":"fdf","gsm":"dfddf","balans":0.0}]

View File

@@ -0,0 +1 @@
[{"wedstrijd_ID":128,"thuisPloeg":"Belgie","uitPloeg":"Polen","score_ThuisPloeg":1,"score_UitPloeg":0,"geldThuisPloeg":2.6,"geldGelijk":2.0,"geldUitPloeg":1.6},{"wedstrijd_ID":129,"thuisPloeg":"Anderlecht","uitPloeg":"Brugge","score_ThuisPloeg":1,"score_UitPloeg":0,"geldThuisPloeg":1.4,"geldGelijk":1.8,"geldUitPloeg":3.0},{"wedstrijd_ID":130,"thuisPloeg":"Dender","uitPloeg":"Aalst","score_ThuisPloeg":1,"score_UitPloeg":0,"geldThuisPloeg":2.3,"geldGelijk":1.5,"geldUitPloeg":1.9},{"wedstrijd_ID":131,"thuisPloeg":"Gent","uitPloeg":"Genk","score_ThuisPloeg":1,"score_UitPloeg":0,"geldThuisPloeg":5.0,"geldGelijk":1.0,"geldUitPloeg":2.0},{"wedstrijd_ID":132,"thuisPloeg":"Belgie","uitPloeg":"Polen","score_ThuisPloeg":1,"score_UitPloeg":0,"geldThuisPloeg":6.0,"geldGelijk":1.8,"geldUitPloeg":1.6}]

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static DataLaag.Enums;
namespace DataLaag.Interfaces
{
public interface IFKeuze
{
int match_ID { get; set; }
int speler_ID { get; set; }
double inzet { get; set; }
Gokken gok { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataLaag.Interfaces
{
public interface IFPersoon
{
int persoon_ID { get; set; }
string voorNaam { get; set; }
string naam { get; set; }
string adres { get; set; }
string gsm { get; set; }
double balans { get; set; }
}
}

View File

@@ -0,0 +1,19 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static DataLaag.Enums;
namespace DataLaag.Interfaces
{
public interface IFWedstrijden
{
int wedstrijd_ID { get; set; }
string thuisPloeg { get; set; }
string uitPloeg { get; set; }
int score_ThuisPloeg { get; set; }
int score_UitPloeg { get; set; }
Gokken GetWinnaar();
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("DataLaag")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("DataLaag")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("ca62d8ea-2739-4c85-81b4-fba040592dae")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net461" />
</packages>