You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
753 B
C#
41 lines
753 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
using CommonFunc;
|
|
using CentralControl.App_Code;
|
|
namespace CentralControl
|
|
{
|
|
class Program
|
|
{
|
|
static void Main(string[] args)
|
|
{
|
|
Logger logger = new Logger();
|
|
try
|
|
{
|
|
|
|
|
|
|
|
MainCentralControl main = new MainCentralControl();
|
|
main.SystemInit();
|
|
|
|
|
|
Console.Write("系统启动完成");
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
logger.Error("系统异常:" + ex.Message + "\n\r" + ex.StackTrace);
|
|
Console.WriteLine("系统异常:" + ex.Message);
|
|
}
|
|
|
|
|
|
Console.ReadKey();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|