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; } } }