KlassenDLL im Main integriert

This commit is contained in:
HuskyTeufel
2022-04-20 14:59:34 +02:00
parent 70ec1019cd
commit d2537d1a75
122 changed files with 16199 additions and 1165 deletions

View File

@@ -0,0 +1,39 @@
using SanShared;
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");
}
}
}
}