38 lines
779 B
C#
38 lines
779 B
C#
|
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()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|