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.
33 lines
646 B
C#
33 lines
646 B
C#
using SLH.SSDMS.Collect;
|
|
using SLH.SSDMS.WebSocket;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Diagnostics;
|
|
using System.Linq;
|
|
using System.ServiceProcess;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SLH.SSDMS
|
|
{
|
|
public partial class Service1 : ServiceBase
|
|
{
|
|
public Service1()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
protected override void OnStart(string[] args)
|
|
{
|
|
AsyncSocket.init();
|
|
WebSocketServer.Init();
|
|
}
|
|
|
|
protected override void OnStop()
|
|
{
|
|
}
|
|
}
|
|
}
|