using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SchnittstelleImporter.XML2006 { /// /// /// public struct Quantifizierung { /// /// /// public decimal Numerisch; /// /// /// public string Text; /// /// /// public override string ToString() { if (Text != null) return Text; if (Numerisch == 0) return ""; return Numerisch.ToString(); } } /// /// /// public class RZustand { decimal station; string inspektionskode; string charakterisierung1; string charakterisierung2; bool verbindung; Quantifizierung quantifizierung1; Quantifizierung quantifizierung2; string streckenschaden; int streckenschadennr; int positionVon; int positionBis; string kommentar; /// /// /// public decimal Station { get => station; set => station = value; } /// /// /// public string Inspektionskode { get => inspektionskode; set => inspektionskode = value; } /// /// /// public string Charakterisierung1 { get => charakterisierung1; set => charakterisierung1 = value; } /// /// /// public string Charakterisierung2 { get => charakterisierung2; set => charakterisierung2 = value; } /// /// /// public bool Verbindung { get => verbindung; set => verbindung = value; } /// /// /// public Quantifizierung Quantifizierung1 { get => quantifizierung1; set => quantifizierung1 = value; } /// /// /// public Quantifizierung Quantifizierung2 { get => quantifizierung2; set => quantifizierung2 = value; } /// /// /// public string Streckenschaden { get => streckenschaden; set => streckenschaden = value; } /// /// /// public int Streckenschadennr { get => streckenschadennr; set => streckenschadennr = value; } /// /// /// public int PositionVon { get => positionVon; set => positionVon = value; } /// /// /// public int PositionBis { get => positionBis; set => positionBis = value; } /// /// /// public string Kommentar { get => kommentar; set => kommentar = value; } } }