1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| using HDLCloudMonitorSupportCtrlOldUdpGate.Logs;
| using System;
| using System.Threading;
|
| namespace HDLCloudMonitorSupportCtrlOldUdpGate
| {
| class Program
| {
| static void Main(string[] args)
| {
| //启动模拟Udp网关
| MockBusproUdpGateway.StartUdpClient();
|
| //启动模拟Mqtt控制Udp网关
| MockEmqCtrlBusproUdpGateway.StartCtrlBusproUdpGateway();
|
| //预警告定时服务
| //EarlyWarningTimerServoce.StartEarlyWarning();
|
|
| while (true)
| {
| Thread.Sleep(1000);
| }
|
| Console.ReadKey();
| }
| }
| }
|
|