fix: 修复MqttClient网络组件定义的元数据名称和类型错误 (#632)
This commit is contained in:
parent
80ed50211a
commit
a6100d36f9
|
|
@ -110,12 +110,12 @@ public class MqttClientProvider implements NetworkProvider<MqttClientProperties>
|
||||||
return new DefaultConfigMetadata()
|
return new DefaultConfigMetadata()
|
||||||
.add("id", "id", "", new StringType())
|
.add("id", "id", "", new StringType())
|
||||||
.add("remoteHost", "远程地址", "", new StringType())
|
.add("remoteHost", "远程地址", "", new StringType())
|
||||||
.add("remotePort", "远程地址", "", new IntType())
|
.add("remotePort", "远程端口", "", new IntType())
|
||||||
.add("certId", "证书id", "", new StringType())
|
.add("certId", "证书ID", "", new StringType())
|
||||||
.add("secure", "开启TSL", "", new BooleanType())
|
.add("secure", "开启TSL", "", new BooleanType())
|
||||||
.add("clientId", "客户端ID", "", new BooleanType())
|
.add("clientId", "客户端ID", "", new StringType())
|
||||||
.add("username", "用户名", "", new BooleanType())
|
.add("username", "用户名", "", new StringType())
|
||||||
.add("password", "密码", "", new BooleanType());
|
.add("password", "密码", "", new StringType());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Nonnull
|
@Nonnull
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue