Exemplo n.º 1
0
 private Hovedtype CreateHovedtype(MiljovariablerRecord record,
                                   NinVersion ninVersion,
                                   Natursystem natursystem,
                                   Hovedtypegruppe hovedtypegruppe)
 {
     return(CreateHovedtype(record.HovedtypeNavn, record.HovedtypeKode, ninVersion, natursystem, hovedtypegruppe));
 }
Exemplo n.º 2
0
 private Trinn CreateTrinn(MiljovariablerRecord record, NinVersion ninVersion)
 {
     return(new Trinn
     {
         Version = ninVersion,
         Navn = record.TrinnNavn,
         Kode = new TrinnKode
         {
             Version = ninVersion,
             KodeName = record.TrinnKode.Replace(" ", ""),
             Kategori = KategoriEnum.Trinn
         }
     });
 }
Exemplo n.º 3
0
 private Miljovariabel CreateMiljovariabel(MiljovariablerRecord record, NinVersion ninVersion, Hovedtype hovedtype)
 {
     return(new Miljovariabel
     {
         Version = ninVersion,
         Hovedtype = hovedtype,
         Kode = new LKMKode
         {
             Version = ninVersion,
             Kode = record.MiljovariabelKode,
             LkmKategori = GetLkmKategori("") // ToDo: where is it?!
         },
         Navn = record.MiljovariabelNavn
     });
 }
Exemplo n.º 4
0
 private Natursystem CreateNatursystem(MiljovariablerRecord record, NinVersion ninVersion)
 {
     return(CreateNatursystem(record.NatursystemNavn, record.NatursystemKode, ninVersion));
 }