| 12345678910111213141516171819202122232425262728 |
- using System.Windows.Controls;
- using TeamAAS_VP.Core.Robots;
- 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 as XYZU_Robot;
- }
- }
- }
- }
|