🔨 添加工具栏功能.
This commit is contained in:
@@ -51,4 +51,9 @@ public class HostVncExtraModel implements GenericsDataModel {
|
||||
*/
|
||||
private Boolean lowBandwidthMode;
|
||||
|
||||
/**
|
||||
* 交换红蓝
|
||||
*/
|
||||
private Boolean swapRedBlue;
|
||||
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ public class HostVncExtraStrategy extends AbstractGenericsDataStrategy<HostVncEx
|
||||
public HostVncExtraModel getDefault() {
|
||||
return HostVncExtraModel.builder()
|
||||
.lowBandwidthMode(false)
|
||||
.swapRedBlue(false)
|
||||
.build();
|
||||
}
|
||||
|
||||
|
||||
@@ -368,6 +368,7 @@ public class HostConnectServiceImpl implements HostConnectService {
|
||||
if (extra != null) {
|
||||
// 设置额外配置信息
|
||||
connectConfig.setLowBandwidthMode(extra.getLowBandwidthMode());
|
||||
connectConfig.setSwapRedBlue(extra.getSwapRedBlue());
|
||||
// 设置自定义端口
|
||||
Integer extraPort = extra.getPort();
|
||||
if (extraPort != null) {
|
||||
|
||||
Reference in New Issue
Block a user