| 123456789101112131415161718192021222324252627 |
- using System.Windows.Controls;
- using TeamAAS_VP.ViewModels.Calibration;
- namespace TeamAAS_VP.Views.Calibration
- {
- /// <summary>
- /// Interaction logic for FixedUpCameraFindP0
- /// </summary>
- public partial class FixedUpCameraFindP0 : UserControl
- {
- FixedUpCameraFindP0ViewModel VM;
- public FixedUpCameraFindP0()
- {
- InitializeComponent();
- VM = DataContext as FixedUpCameraFindP0ViewModel;
- VM.PropertyChanged += VM_PropertyChanged;
- ((FixedUpCameraFindP0ViewModel)DataContext).ToolBlockEdit = this.ToolBlockEditV2;
- }
- private void VM_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
- {
- if (e.PropertyName == "Robot")
- {
- this.robotManual.Robot = VM.Robot;
- }
- }
- }
- }
|