ln.skyscanner/Program.cs

52 lines
1.1 KiB
C#
Raw Normal View History

2019-03-11 09:00:07 +01:00
// /**
// * File: Program.cs
// * Author: haraldwolff
// *
// * This file and it's content is copyrighted by the Author and / or copyright holder.
// * Any use wihtout proper permission is illegal and may lead to legal actions.
// *
// *
// **/
using System;
using System.Collections.Generic;
using ln.snmp;
using ln.logging;
2019-03-26 12:53:42 +01:00
using ln.skyscanner.entities;
2019-04-01 15:17:41 +02:00
using ln.types.threads;
using ln.types.net;
2019-04-02 13:00:15 +02:00
using ln.types.odb;
2019-04-03 09:19:37 +02:00
using ln.types.odb.index;
2019-04-16 18:23:05 +02:00
using ln.types.odb.values;
2019-04-17 18:00:58 +02:00
using ln.skyscanner.checks;
using System.Linq;
2019-06-28 10:01:30 +02:00
using ln.skyscanner.import.skytron;
2019-03-11 09:00:07 +01:00
namespace ln.skyscanner
{
class MainClass
{
public static void Main(string[] args)
{
2019-03-18 08:12:54 +01:00
FileLogger fileLogger = new FileLogger("skyscanner.log");
2019-03-29 08:55:09 +01:00
fileLogger.MaxLogLevel = LogLevel.INFO;
2019-03-18 08:12:54 +01:00
Logger.Default.Backends.Add(fileLogger);
2019-04-04 19:34:19 +02:00
Logger.ConsoleLogger.MaxLogLevel = LogLevel.INFO;
2019-03-11 09:00:07 +01:00
2019-08-03 12:57:32 +02:00
SkyScanner skyScanner = new SkyScanner();
2019-04-17 18:00:58 +02:00
2019-03-21 07:43:32 +01:00
Initialize();
2019-08-03 12:57:32 +02:00
skyScanner.Start(args);
2019-03-11 09:00:07 +01:00
}
2019-03-12 00:55:04 +01:00
2019-03-21 07:43:32 +01:00
private static void Initialize()
2019-03-12 00:55:04 +01:00
{
2019-08-03 12:57:32 +02:00
// SNMPEngine.DefaultEngine.Timeout = 3500;
2019-03-12 00:55:04 +01:00
}
2019-03-11 09:00:07 +01:00
}
}