修复合并后编译错误:补全缺失的属性声明,修复region指令不匹配
This commit is contained in:
@@ -99,6 +99,22 @@ namespace XplorePlane.ViewModels
|
|||||||
// 设置命令
|
// 设置命令
|
||||||
public DelegateCommand OpenLanguageSwitcherCommand { get; }
|
public DelegateCommand OpenLanguageSwitcherCommand { get; }
|
||||||
public DelegateCommand OpenRealTimeLogViewerCommand { get; }
|
public DelegateCommand OpenRealTimeLogViewerCommand { get; }
|
||||||
|
public DelegateCommand UseLiveDetectorSourceCommand { get; }
|
||||||
|
|
||||||
|
public bool IsMainViewportRealtimeEnabled
|
||||||
|
{
|
||||||
|
get => _mainViewportService.IsRealtimeDisplayEnabled;
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (_mainViewportService.IsRealtimeDisplayEnabled == value)
|
||||||
|
return;
|
||||||
|
|
||||||
|
_mainViewportService.SetRealtimeDisplayEnabled(value);
|
||||||
|
RaisePropertyChanged();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public bool IsUsingLiveDetectorSource => _mainViewportService.CurrentSourceMode == MainViewportSourceMode.LiveDetector;
|
||||||
|
|
||||||
/// <summary>右侧图像区域内容 | Right-side image panel content</summary>
|
/// <summary>右侧图像区域内容 | Right-side image panel content</summary>
|
||||||
public object ImagePanelContent
|
public object ImagePanelContent
|
||||||
@@ -447,8 +463,6 @@ namespace XplorePlane.ViewModels
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
|
||||||
|
|
||||||
#region 测量命令实现
|
#region 测量命令实现
|
||||||
|
|
||||||
private bool CheckImageLoaded()
|
private bool CheckImageLoaded()
|
||||||
@@ -615,5 +629,7 @@ namespace XplorePlane.ViewModels
|
|||||||
RaisePropertyChanged(nameof(IsUsingLiveDetectorSource));
|
RaisePropertyChanged(nameof(IsUsingLiveDetectorSource));
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user