mirror of
https://github.com/bvanroll/cs-oo-project.git
synced 2025-08-29 20:12:40 +00:00
voila
This commit is contained in:
66
Blok2 Online Gokkantoor/DataLaag/DataLaag.csproj
Normal file
66
Blok2 Online Gokkantoor/DataLaag/DataLaag.csproj
Normal 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>
|
13
Blok2 Online Gokkantoor/DataLaag/Enums.cs
Normal file
13
Blok2 Online Gokkantoor/DataLaag/Enums.cs
Normal 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}
|
||||
}
|
||||
}
|
1
Blok2 Online Gokkantoor/DataLaag/Gegevens/Keuzes.json
Normal file
1
Blok2 Online Gokkantoor/DataLaag/Gegevens/Keuzes.json
Normal file
@@ -0,0 +1 @@
|
||||
[{"matchID":0,"spelerID":0,"inzet":0.15,"gok":2},{"matchID":0,"spelerID":0,"inzet":0.15,"gok":2},{"matchID":0,"spelerID":0,"inzet":0.15,"gok":2},{"matchID":0,"spelerID":0,"inzet":0.15,"gok":2},{"matchID":0,"spelerID":0,"inzet":500.0,"gok":0},{"matchID":0,"spelerID":0,"inzet":400.0,"gok":1},{"matchID":0,"spelerID":0,"inzet":200.0,"gok":2},{"matchID":0,"spelerID":0,"inzet":200.0,"gok":1},{"matchID":0,"spelerID":0,"inzet":200.0,"gok":0},{"matchID":0,"spelerID":0,"inzet":500.0,"gok":0},{"matchID":0,"spelerID":0,"inzet":500.0,"gok":1},{"matchID":0,"spelerID":0,"inzet":500.0,"gok":2},{"matchID":129,"spelerID":0,"inzet":50.0,"gok":1},{"matchID":129,"spelerID":2,"inzet":50.0,"gok":1},{"matchID":132,"spelerID":2,"inzet":130.0,"gok":1},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":1},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":1},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":1},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":1},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":1},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":1},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":0},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":2},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":2},{"matchID":131,"spelerID":2,"inzet":130.0,"gok":2},{"matchID":128,"spelerID":2,"inzet":130.0,"gok":2},{"matchID":128,"spelerID":2,"inzet":130.0,"gok":2},{"matchID":128,"spelerID":2,"inzet":130.0,"gok":2},{"matchID":128,"spelerID":2,"inzet":130.0,"gok":2},{"matchID":128,"spelerID":2,"inzet":130.0,"gok":2},{"matchID":128,"spelerID":2,"inzet":130.0,"gok":2}]
|
1
Blok2 Online Gokkantoor/DataLaag/Gegevens/Personen.json
Normal file
1
Blok2 Online Gokkantoor/DataLaag/Gegevens/Personen.json
Normal file
@@ -0,0 +1 @@
|
||||
[{"persoonID":0,"voorNaam":"VOORBEELD","naam":"NAAM","adres":"STRAAT","gsm":"GSM","balans":0.0}]
|
@@ -0,0 +1 @@
|
||||
[{"wedstrijdID":128,"thuisPloeg":"Belgie","uitPloeg":"Polen","scoreThuisPloeg":1,"scoreUitPloeg":0,"geldThuisPloeg":2.6,"geldGelijk":2.0,"geldUitPloeg":1.6},{"wedstrijdID":129,"thuisPloeg":"Anderlecht","uitPloeg":"Brugge","scoreThuisPloeg":1,"scoreUitPloeg":0,"geldThuisPloeg":1.4,"geldGelijk":1.8,"geldUitPloeg":3.0},{"wedstrijdID":130,"thuisPloeg":"Dender","uitPloeg":"Aalst","scoreThuisPloeg":1,"scoreUitPloeg":0,"geldThuisPloeg":2.3,"geldGelijk":1.5,"geldUitPloeg":1.9},{"wedstrijdID":131,"thuisPloeg":"Gent","uitPloeg":"Genk","scoreThuisPloeg":1,"scoreUitPloeg":0,"geldThuisPloeg":5.0,"geldGelijk":1.0,"geldUitPloeg":2.0},{"wedstrijdID":132,"thuisPloeg":"Belgie","uitPloeg":"Polen","scoreThuisPloeg":1,"scoreUitPloeg":0,"geldThuisPloeg":6.0,"geldGelijk":1.8,"geldUitPloeg":1.6}]
|
17
Blok2 Online Gokkantoor/DataLaag/Interfaces/IFKeuze.cs
Normal file
17
Blok2 Online Gokkantoor/DataLaag/Interfaces/IFKeuze.cs
Normal 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 matchID { get; set; }
|
||||
int spelerID { get; set; }
|
||||
double inzet { get; set; }
|
||||
Gokken gok { get; set; }
|
||||
}
|
||||
}
|
18
Blok2 Online Gokkantoor/DataLaag/Interfaces/IFPersoon.cs
Normal file
18
Blok2 Online Gokkantoor/DataLaag/Interfaces/IFPersoon.cs
Normal 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 persoonID { get; set; }
|
||||
string voorNaam { get; set; }
|
||||
string naam { get; set; }
|
||||
string adres { get; set; }
|
||||
string gsm { get; set; }
|
||||
double balans { get; set; }
|
||||
}
|
||||
}
|
19
Blok2 Online Gokkantoor/DataLaag/Interfaces/IFWedstrijden.cs
Normal file
19
Blok2 Online Gokkantoor/DataLaag/Interfaces/IFWedstrijden.cs
Normal 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 wedstrijdID { get; set; }
|
||||
string thuisPloeg { get; set; }
|
||||
string uitPloeg { get; set; }
|
||||
int scoreThuisPloeg { get; set; }
|
||||
int scoreUitPloeg { get; set; }
|
||||
Gokken GetWinnaar();
|
||||
}
|
||||
}
|
36
Blok2 Online Gokkantoor/DataLaag/Properties/AssemblyInfo.cs
Normal file
36
Blok2 Online Gokkantoor/DataLaag/Properties/AssemblyInfo.cs
Normal 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")]
|
4
Blok2 Online Gokkantoor/DataLaag/packages.config
Normal file
4
Blok2 Online Gokkantoor/DataLaag/packages.config
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Newtonsoft.Json" version="11.0.2" targetFramework="net461" />
|
||||
</packages>
|
Reference in New Issue
Block a user