示例#1
0
 public AhEntry()
 {
     ahInhalt       = new AhInhalt();
     ahBeilagen     = new AhBeilagen();
     ahBemerkungen  = new AhBemerkungen();
     ahBearbeiter   = new AhBearbeiter();
     ahYear         = new AhYear();
     ahStatus       = new AhStatus();
     ahOrganisation = new AhOrganisation();
     ahMarkierung   = new AhMarkierung();
 }
示例#2
0
 public void ParseAttributes(string dataLine)
 {
     if (dataLine.Contains("#JAHR= "))
     {
         ahYear = new AhYear(StripKey(dataLine));
         return;
     }
     if (dataLine.Contains("#STAT= "))
     {
         ahStatus = new AhStatus(StripKey(dataLine));
         return;
     }
     if (dataLine.Contains("#ORGA= "))
     {
         ahOrganisation = new AhOrganisation(StripKey(dataLine));
         return;
     }
     if (dataLine.Contains("#INHA= "))
     {
         ahInhalt = new AhInhalt(StripKey(dataLine));
         return;
     }
     if (dataLine.Contains("#SPEZ= "))
     {
         ahKeys = new AhSchlagworte(StripKey(dataLine));
         return;
     }
     if (dataLine.Contains("#MARK= "))
     {
         ahMarkierung = new AhMarkierung(StripKey(dataLine));
         return;
     }
     if (dataLine.Contains("#BEIL= "))
     {
         ahBeilagen.AddParagraph(StripKey(dataLine));
         return;
     }
     if (dataLine.Contains("#BEME= "))
     {
         ahBemerkungen.AddParagraph(StripKey(dataLine));
         return;
     }
     if (dataLine.Contains("#BEOB= "))
     {
         ahBearbeiter.AddParagraph(StripKey(dataLine));
         return;
     }
 }