Server: finish jtag controller; Web: finish sibebar animation

This commit is contained in:
2025-04-05 19:41:56 +08:00
parent 342a5a2436
commit 20d4fa12d8
15 changed files with 336 additions and 168 deletions

22
server/src/MsgBus.cs Normal file
View File

@@ -0,0 +1,22 @@
public static class MsgBus
{
private static readonly UDPServer udpServer = new UDPServer(33000);
public static UDPServer UDPServer { get { return udpServer; } }
private static bool isRunning = false;
public static bool IsRunning { get { return isRunning; } }
public static void Init()
{
udpServer.Start();
isRunning = true;
}
public static void Exit()
{
udpServer.Stop();
isRunning = false;
}
}