Contracts hinzugefügt
This commit is contained in:
64
XMLParser.Model/OptischeInspektion.cs
Normal file
64
XMLParser.Model/OptischeInspektion.cs
Normal 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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user