Merge branch 'master' of http://www.scserverddns.top:13000/sc/SunlightAggregationManager
This commit is contained in:
commit
aee911cc20
3 files changed
+18
-12
No files matched your search
@@ -31,6 +31,7 @@ namespace SunlightAggregationManager.ViewModel
|
||||
public static string MachineIP = "";
|
||||
public static int MachineIPP1 = 7789;
|
||||
public static int MachineIPP2 = 7790;
|
||||
public static int MachineHTTPP = 7791;
|
||||
public static string Enterprise = "";
|
||||
public static string TCP_E = "0";
|
||||
public static string HTTP_E = "0";
|
||||
@@ -127,15 +128,14 @@ namespace SunlightAggregationManager.ViewModel
|
||||
}
|
||||
if (HTTP_E == "1")//启动tcp(内网直连)
|
||||
{
|
||||
int P1;
|
||||
try
|
||||
{
|
||||
P1 = int.Parse(Configini.IniReadvalue("NETWORK", "HTTP_PORT"));
|
||||
MachineHTTPP = int.Parse(Configini.IniReadvalue("NETWORK", "HTTP_PORT"));
|
||||
}
|
||||
catch (Exception) { P1 = 7791; }
|
||||
catch (Exception) { MachineHTTPP = 7791; }
|
||||
|
||||
Service.Rows.Add(2, "RUN", "HTTP");
|
||||
AsyncHttpServer.Configuration(P1);
|
||||
AsyncHttpServer.Configuration(MachineHTTPP);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user