This commit is contained in:
Administrator committed 2026-06-01 13:28:00 +08:00
commit 6b16bc838c
10 files changed
+222 -25

No files matched your search

+7
View File
@@ -24,7 +24,14 @@ namespace SunlightAggregationManager.UserClass
public required string Terminal { get; set; }
public required string Dat { get; set; }
}
public static async void Configuration(int P1, int P2)
{
await TcpMain(P1, P2);
}
public static TcpService service = new TcpService();
public static async Task TcpMain(int port1 ,int port2)
{
NetFwManger.AllowPort(port1, "TCP");//开放7790端口