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