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.
43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using IOT.Show.Common;
|
|
using IOT.Show.SqlBase;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.ServiceProcess;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace IOT.Show
|
|
{
|
|
static class Program
|
|
{
|
|
/// <summary>
|
|
/// 应用程序的主入口点。
|
|
/// </summary>
|
|
static void Main()
|
|
{
|
|
try
|
|
{
|
|
//调试
|
|
Thread thread1 = new Thread(() => LedServer.init("ML5"));
|
|
thread1.Start();
|
|
|
|
Thread thread2 = new Thread(() => LedServer.init("ML6"));
|
|
thread2.Start();
|
|
|
|
Thread thread3 = new Thread(() => LedServer.init("ML7"));
|
|
thread3.Start();
|
|
|
|
Thread thread4 = new Thread(() => LedServer.init("ML8"));
|
|
thread4.Start();
|
|
|
|
Console.ReadLine();
|
|
}catch (Exception ex)
|
|
{
|
|
LogHelper.Error("初始化异常", ex);
|
|
}
|
|
}
|
|
}
|
|
}
|