Schnittstelle erweitert.

Die lage wird jetzt mit aufgezeichnet
This commit is contained in:
Husky
2018-07-21 19:53:06 +02:00
parent 53fa3789f2
commit 02ea7cfa35
5 changed files with 46 additions and 4 deletions

View File

@@ -0,0 +1,39 @@
using KlassenBIB;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SchnittstelleImporter
{
/// <summary>
/// Definiert die Importierbare Schnittstellen
/// </summary>
public enum ImportSchnittstellen
{
/// <summary>
/// Euronorm XML 2006
/// </summary>
XML2006
}
/// <summary>
///
/// </summary>
public static class ImportBuilder
{
/// <summary>
///
/// </summary>
public static IImportedObjekte Import(ImportSchnittstellen importSchnittstellen)
{
switch (importSchnittstellen)
{
case ImportSchnittstellen.XML2006: return new I2006XML();
default: throw new Exception("Gewünschte Schnittstelle nicht implementiert");
}
}
}
}