release:6.0.3.11

修改默认启动端口
This commit is contained in:
Diego
2024-06-17 10:32:05 +08:00
parent 6ca680cd41
commit 83bc07c3ff
6 changed files with 44 additions and 20 deletions

View File

@@ -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;

View File

@@ -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>

View File

@@ -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"
}
}
}
}
}

View File

@@ -1,5 +1,5 @@
{
//"urls": "http://*:7100",
"urls": "http://*:5000",
"DetailedErrors": true,

View File

@@ -1,5 +1,5 @@
{
//"urls": "http://*:7100",
"urls": "http://*:5000",
"ConfigurationScanDirectories": [ "" ],
//冗余配置

View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>6.0.3.10</Version>
<Version>6.0.3.11</Version>
</PropertyGroup>
<ItemGroup>