release:6.0.3.59

This commit is contained in:
Diego
2024-06-28 15:35:15 +08:00
parent 6033d779fc
commit 63553d4dd3
3 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@
"Disconnected": "Disconnected",
"Disconnecting": "Disconnecting",
"DtuConnected": "Dtu identifier {0} connection successful",
"DtuNoConnectedWaining": "The Client(Dtu) is not connected",
"DtuNoConnectedWaining": "The Client(Dtu) is not connected, id: {0}",
"ErrorMessage": "Error message",
"EventError": "Error occurred in event {0}",
"Exception": "Exception stack",

View File

@@ -14,7 +14,7 @@
"Disconnected": "断开连接",
"Disconnecting": "正在断开连接",
"DtuConnected": "Dtu标识 {0} 连接成功",
"DtuNoConnectedWaining": "客户端(Dtu)未连接",
"DtuNoConnectedWaining": "客户端(Dtu)未连接id{0}",
"ErrorMessage": "错误信息",
"EventError": "在事件 {0} 中发生错误",
"Exception": "异常堆栈",

View File

@@ -290,7 +290,7 @@ public abstract class ProtocolBase : DisposableObject, IProtocol
if (((TcpServiceChannel)Channel).Clients.TryGetClient($"ID={socketId}", out TcpSessionClientChannel? client))
return new OperResult<IClientChannel>() { Content = client };
else
return (new OperResult<IClientChannel>(DefaultResource.Localizer["DtuNoConnectedWaining"]));
return (new OperResult<IClientChannel>(DefaultResource.Localizer["DtuNoConnectedWaining", socketId]));
}
else
return new OperResult<IClientChannel>() { Content = (IClientChannel)Channel };