Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationManager
This commit is contained in:
commit
6b16bc838c
10 files changed
+222
-25
No files matched your search
@@ -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端口
|
||||
|
||||
Reference in new issue
Block a user