Contracts hinzugefügt

This commit is contained in:
Husky
2021-08-15 12:04:09 +02:00
parent 5c9770bf45
commit 538ec3d00b
36 changed files with 201 additions and 97 deletions

View File

@@ -0,0 +1,64 @@
using System;
namespace XMLParser.Model
{
public class OptischeInspektion
{
int auftragskennung;
DateTime inspektionstime;
Rohrleitung rohrleitung;
string nameUntersucher;
EWetter wetter;
bool reinigung;
EWasserhaltung wasserhaltung;
EInspektionverfahren inspektionsverfahren;
public DateTime Inspektionstime
{
set
{
inspektionstime = value;
}
get
{
return inspektionstime;
}
}
public string Inspektionsdatum
{
get
{
return inspektionstime.ToShortDateString();
}
/*set
{
throw new NotImplementedException();
//inspektionsdatum = value;
}*/
}
public string Inspektionszeit
{
get
{
return inspektionstime.ToShortTimeString();
}
}
public Rohrleitung Rohrleitung
{
get
{
return rohrleitung;
}
set
{
rohrleitung = value;
}
}
public string NameUntersucher { get => nameUntersucher; set => nameUntersucher = value; }
public EWetter Wetter { get => wetter; set => wetter = value; }
public bool Reinigung { get => reinigung; set => reinigung = value; }
public EWasserhaltung Wasserhaltung { get => wasserhaltung; set => wasserhaltung = value; }
public EInspektionverfahren Inspektionsverfahren { get => inspektionsverfahren; set => inspektionsverfahren = value; }
public int Auftragskennung { get => auftragskennung; set => auftragskennung = value; }
}
}