|
|
@ -7,9 +7,9 @@ public class CarServerMgr
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public static CarServer? CarServer { get; set; }
|
|
|
|
public static CarServer? CarServer { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public static void InitServer()
|
|
|
|
public static void InitServer(int port)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CarServer = AppInfo.Container.Resolve<CarServer>();
|
|
|
|
CarServer = AppInfo.Container.Resolve<CarServer>();
|
|
|
|
CarServer.Start(5588);
|
|
|
|
CarServer.Start(port);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|