fix: 使用热点连接
This commit is contained in:
parent
c47aeb33ca
commit
a5fca01ee9
|
@ -3,7 +3,7 @@ using System.Net.Sockets;
|
||||||
|
|
||||||
public static class Global {
|
public static class Global {
|
||||||
|
|
||||||
public static readonly string localhost = "172.31.2.228";
|
public static readonly string localhost = "192.168.137.1";
|
||||||
|
|
||||||
public static string GetLocalIPAddress()
|
public static string GetLocalIPAddress()
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,7 +15,7 @@ export class VideoStreamClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -638,7 +638,7 @@ export class BsdlParserClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -691,7 +691,7 @@ export class DataClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1404,7 +1404,7 @@ export class DDSClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1644,7 +1644,7 @@ export class JtagClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2164,7 +2164,7 @@ export class LogicAnalyzerClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2609,7 +2609,7 @@ export class MatrixKeyClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -2793,7 +2793,7 @@ export class NetConfigClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3419,7 +3419,7 @@ export class OscilloscopeApiClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3853,7 +3853,7 @@ export class PowerClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -3925,7 +3925,7 @@ export class RemoteUpdateClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4266,7 +4266,7 @@ export class TutorialClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -4315,7 +4315,7 @@ export class UDPClient {
|
||||||
|
|
||||||
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
constructor(baseUrl?: string, http?: { fetch(url: RequestInfo, init?: RequestInit): Promise<Response> }) {
|
||||||
this.http = http ? http : window as any;
|
this.http = http ? http : window as any;
|
||||||
this.baseUrl = baseUrl ?? "http://172.31.2.228:5000";
|
this.baseUrl = baseUrl ?? "http://192.168.137.1:5000";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue