fix: 修复MqttClient网络组件定义的元数据名称和类型错误 (#632)

This commit is contained in:
laokou 2025-05-06 09:25:11 +08:00 committed by GitHub
parent 80ed50211a
commit a6100d36f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 5 deletions

View File

@ -110,12 +110,12 @@ public class MqttClientProvider implements NetworkProvider<MqttClientProperties>
return new DefaultConfigMetadata()
.add("id", "id", "", new StringType())
.add("remoteHost", "远程地址", "", new StringType())
.add("remotePort", "远程地址", "", new IntType())
.add("certId", "证书id", "", new StringType())
.add("remotePort", "远程端口", "", new IntType())
.add("certId", "证书ID", "", new StringType())
.add("secure", "开启TSL", "", new BooleanType())
.add("clientId", "客户端ID", "", new BooleanType())
.add("username", "用户名", "", new BooleanType())
.add("password", "密码", "", new BooleanType());
.add("clientId", "客户端ID", "", new StringType())
.add("username", "用户名", "", new StringType())
.add("password", "密码", "", new StringType());
}
@Nonnull