mirror of
https://gitee.com/ThingsGateway/ThingsGateway.git
synced 2025-10-22 11:33:07 +08:00
release:6.0.3.59
This commit is contained in:
@@ -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",
|
||||
|
@@ -14,7 +14,7 @@
|
||||
"Disconnected": "断开连接",
|
||||
"Disconnecting": "正在断开连接",
|
||||
"DtuConnected": "Dtu标识 {0} 连接成功",
|
||||
"DtuNoConnectedWaining": "客户端(Dtu)未连接",
|
||||
"DtuNoConnectedWaining": "客户端(Dtu)未连接,id:{0}",
|
||||
"ErrorMessage": "错误信息",
|
||||
"EventError": "在事件 {0} 中发生错误",
|
||||
"Exception": "异常堆栈",
|
||||
|
@@ -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 };
|
||||
|
Reference in New Issue
Block a user