git_bsmd/nsw/Source/SendNSWMessageService/Program.cs
Daniel Schick f4b3d3caf0 Stand nach Live-Schaltung (noch keine Übermittlung Richtung DBH/Dakosy)
Aktiv ist Herberg FormService und der Report Generator
30.Mai 2015
2015-05-30 18:56:16 +00:00

38 lines
907 B
C#

using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using System.Threading.Tasks;
using log4net;
namespace SendNSWMessageService
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
static void Main()
{
ServiceBase[] ServicesToRun;
log4net.Config.XmlConfigurator.Configure();
ServicesToRun = new ServiceBase[]
{
new NSWSendService()
};
if (Debugger.IsAttached)
{
((NSWSendService)ServicesToRun[0]).DoOnce();
}
else
{
ServiceBase.Run(ServicesToRun);
}
}
}
}