Server.cs 627 B

12345678910111213141516171819202122232425262728
  1. using Newtonsoft.Json;
  2. using Newtonsoft.Json.Linq;
  3. using NLog;
  4. using OCPPServer.Handler;
  5. using OCPPServer.Protocol;
  6. using OCPPServer.SubProtocol;
  7. using SuperSocket.SocketBase;
  8. using SuperWebSocket;
  9. using SuperWebSocket.SubProtocol;
  10. using System;
  11. using System.Collections.Generic;
  12. using System.Linq;
  13. using System.Threading;
  14. using System.Threading.Tasks;
  15. using System.Xml.Linq;
  16. namespace OCPPServer
  17. {
  18. internal class Server
  19. {
  20. private static void Main(string[] args)
  21. {
  22. WSServer s = new WSServer();
  23. Console.WriteLine("Starting Server...");
  24. s.Start();
  25. }
  26. }
  27. }