Files
BeWoPlaner/ReportImp/AwoWesel/Export/CustomDataExporter.cs
Christian dbed05ccb2 cb
2018-11-22 14:05:45 +01:00

30 lines
847 B
C#

using System;
using System.Collections.Generic;
using BeWo.Service.Core;
using BeWo.Service.Plugins;
using BS.Shared.Core;
using BS.Shared.DataContracts;
using Utils = BS.Shared.Core.Utils;
namespace AwoWesel.Export
{
public class SkmDataExporter : DataExporter
{
public override string CreateExportString(string pFileID, string[] pHeaderCaption, string[][] pContent)
{
if (pHeaderCaption != null && pHeaderCaption.Length > 0 && pHeaderCaption[0].Contains("VIA-S"))
{
return ViaSExporter.CreateExportString(pHeaderCaption, pContent);
}
return base.CreateExportString(pFileID, pHeaderCaption, pContent);
}
public override QueryDC CreateQuery(QueryDC query)
{
return ViaSExporter.CreateQuery(query);
}
}
}