mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-26 05:20:16 +08:00
release:6.0.3.11
修改默认启动端口
This commit is contained in:
@@ -23,6 +23,25 @@ public abstract class ReadWriteDevicesSingleStreamDataHandleAdapter<TRequest> :
|
||||
CacheTimeoutEnable = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 在解析时发生错误。
|
||||
/// </summary>
|
||||
/// <param name="ex">异常</param>
|
||||
/// <param name="error">错误异常</param>
|
||||
/// <param name="reset">是否调用<see cref="Reset"/></param>
|
||||
/// <param name="log">是否记录日志</param>
|
||||
protected override void OnError(Exception ex, string error, bool reset, bool log)
|
||||
{
|
||||
if (reset)
|
||||
{
|
||||
this.Reset();
|
||||
}
|
||||
if (log)
|
||||
{
|
||||
this.Logger?.LogError(ex, error);
|
||||
}
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public override bool CanSendRequestInfo => true;
|
||||
|
||||
|
||||
@@ -37,6 +37,25 @@ public abstract class ReadWriteDevicesUdpDataHandleAdapter<TRequest> : UdpDataHa
|
||||
/// <inheritdoc/>
|
||||
public virtual bool IsSendPackCommand { get; set; } = false;
|
||||
|
||||
/// <summary>
|
||||
/// 在解析时发生错误。
|
||||
/// </summary>
|
||||
/// <param name="ex">异常</param>
|
||||
/// <param name="error">错误异常</param>
|
||||
/// <param name="reset">是否调用<see cref="Reset"/></param>
|
||||
/// <param name="log">是否记录日志</param>
|
||||
protected override void OnError(Exception ex, string error, bool reset, bool log)
|
||||
{
|
||||
if (reset)
|
||||
{
|
||||
this.Reset();
|
||||
}
|
||||
if (log)
|
||||
{
|
||||
this.Logger?.LogError(ex, error);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 发送前,对当前的命令进行打包处理
|
||||
/// </summary>
|
||||
|
||||
@@ -1,29 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json.schemastore.org/launchsettings.json",
|
||||
"iisSettings": {
|
||||
"windowsAuthentication": false,
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "http://localhost:29523",
|
||||
"sslPort": 0
|
||||
}
|
||||
},
|
||||
|
||||
"profiles": {
|
||||
"http": {
|
||||
"commandName": "Project",
|
||||
"dotnetRunMessages": true,
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "http://localhost:7100",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"IIS Express": {
|
||||
"commandName": "IISExpress",
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "http://localhost:5000",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
//"urls": "http://*:7100",
|
||||
"urls": "http://*:5000",
|
||||
|
||||
"DetailedErrors": true,
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
//"urls": "http://*:7100",
|
||||
"urls": "http://*:5000",
|
||||
|
||||
"ConfigurationScanDirectories": [ "" ],
|
||||
//冗余配置
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Version>6.0.3.10</Version>
|
||||
<Version>6.0.3.11</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user