Projektdateien hinzufügen.
This commit is contained in:
parent
27f272a68b
commit
f2e1eac590
25
UMLKlassendiagramm.sln
Normal file
25
UMLKlassendiagramm.sln
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.3.32929.385
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UMLKlassendiagramm", "UMLKlassendiagramm\UMLKlassendiagramm.csproj", "{7C36A0B7-5DF1-413A-B1B5-1E85BEF6F531}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7C36A0B7-5DF1-413A-B1B5-1E85BEF6F531}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7C36A0B7-5DF1-413A-B1B5-1E85BEF6F531}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7C36A0B7-5DF1-413A-B1B5-1E85BEF6F531}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7C36A0B7-5DF1-413A-B1B5-1E85BEF6F531}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {B1671478-4C43-4D72-B485-052723E9DF3C}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
6
UMLKlassendiagramm/App.config
Normal file
6
UMLKlassendiagramm/App.config
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
||||
</startup>
|
||||
</configuration>
|
37
UMLKlassendiagramm/Dienstleistung.cs
Normal file
37
UMLKlassendiagramm/Dienstleistung.cs
Normal file
|
@ -0,0 +1,37 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace UMLKlassendiagramm
|
||||
{
|
||||
internal class Dienstleistung: Ware
|
||||
{
|
||||
string Verantwortlicher;
|
||||
double Dauer;
|
||||
public List<Material> materialVerbrauch;
|
||||
|
||||
public Dienstleistung(Material material1,Material material2)
|
||||
{
|
||||
materialVerbrauch.Add(material1);
|
||||
materialVerbrauch.Add(material2);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public override void setArtikelNr(string artikelNummer)
|
||||
{
|
||||
ArtikelNr = artikelNummer;
|
||||
}
|
||||
|
||||
public override string getArtikelNr()
|
||||
{
|
||||
return ArtikelNr;
|
||||
}
|
||||
public void berechneKosten()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
41
UMLKlassendiagramm/Material.cs
Normal file
41
UMLKlassendiagramm/Material.cs
Normal file
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace UMLKlassendiagramm
|
||||
{
|
||||
internal class Material: Ware
|
||||
{
|
||||
string Name;
|
||||
string Art;
|
||||
string Qualitaet;
|
||||
string Verfallsdatum;
|
||||
|
||||
public Material(string name, string art)
|
||||
{
|
||||
Name = name;
|
||||
Art = art;
|
||||
}
|
||||
|
||||
public string getName()
|
||||
{
|
||||
return Name;
|
||||
}
|
||||
public void setName(string name)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
|
||||
public override string getArtikelNr()
|
||||
{
|
||||
return ArtikelNr;
|
||||
}
|
||||
|
||||
public override void setArtikelNr(string artikelNummer)
|
||||
{
|
||||
ArtikelNr = artikelNummer;
|
||||
}
|
||||
}
|
||||
}
|
15
UMLKlassendiagramm/Program.cs
Normal file
15
UMLKlassendiagramm/Program.cs
Normal file
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace UMLKlassendiagramm
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
36
UMLKlassendiagramm/Properties/AssemblyInfo.cs
Normal file
36
UMLKlassendiagramm/Properties/AssemblyInfo.cs
Normal file
|
@ -0,0 +1,36 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
// die einer Assembly zugeordnet sind.
|
||||
[assembly: AssemblyTitle("UMLKlassendiagramm")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("UMLKlassendiagramm")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly
|
||||
// für COM-Komponenten unsichtbar. Wenn Sie auf einen Typ in dieser Assembly von
|
||||
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||
[assembly: Guid("7c36a0b7-5df1-413a-b1b5-1e85bef6f531")]
|
||||
|
||||
// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
//
|
||||
// Hauptversion
|
||||
// Nebenversion
|
||||
// Buildnummer
|
||||
// Revision
|
||||
//
|
||||
// Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden,
|
||||
// indem Sie "*" wie unten gezeigt eingeben:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
56
UMLKlassendiagramm/UMLKlassendiagramm.csproj
Normal file
56
UMLKlassendiagramm/UMLKlassendiagramm.csproj
Normal file
|
@ -0,0 +1,56 @@
|
|||
<?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>{7C36A0B7-5DF1-413A-B1B5-1E85BEF6F531}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>UMLKlassendiagramm</RootNamespace>
|
||||
<AssemblyName>UMLKlassendiagramm</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
</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="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="Dienstleistung.cs" />
|
||||
<Compile Include="Material.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Ware.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
18
UMLKlassendiagramm/Ware.cs
Normal file
18
UMLKlassendiagramm/Ware.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace UMLKlassendiagramm
|
||||
{
|
||||
internal abstract class Ware
|
||||
{
|
||||
protected string ArtikelNr;
|
||||
|
||||
abstract public void setArtikelNr(string artikelNummer);
|
||||
|
||||
abstract public string getArtikelNr();
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user