Exemple #1
0
        public ToolViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
        {
            _global = global;

            _global.Com.LocalCom.CommandQueueChanged  += OnCommandQueueChanged;
            _global.Com.RemoteCom.CommandQueueChanged += OnCommandQueueChanged;
        }
Exemple #2
0
 public AxisViewModel(IManualControlViewModel vm) : base(vm)
 {
     Global.Instance.PropertyChanged += (sender, e) => { if (e.PropertyName == "Machine")
                                                         {
                                                             MachineChanged();
                                                         }
     };
 }
Exemple #3
0
 public AxisViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
 {
     _global = global ?? throw new ArgumentNullException();
     _global.PropertyChanged += (sender, e) =>
     {
         if (e.PropertyName == "Machine")
         {
             MachineChanged();
         }
     };
 }
Exemple #4
0
 public AxisViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
 {
     _global = global;
     _global.PropertyChanged += (sender, e) =>
     {
         if (e.PropertyName == "Machine")
         {
             MachineChanged();
         }
     };
 }
Exemple #5
0
		public ShiftViewModel(IManualControlViewModel vm)
			: base(vm)
		{
		}
Exemple #6
0
 public WorkOffsetViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
 {
     _global = global;
 }
Exemple #7
0
 public ToolViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
 {
     _global = global ?? throw new ArgumentNullException();
     _global.Com.LocalCom.CommandQueueChanged  += OnCommandQueueChanged;
     _global.Com.RemoteCom.CommandQueueChanged += OnCommandQueueChanged;
 }
 public DirectCommandViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
 {
     _global = global ?? throw new ArgumentNullException();
     ;
 }
Exemple #9
0
		public CustomViewModel(IManualControlViewModel vm)
			: base(vm)
		{
			Global.Instance.PropertyChanged += (object sender, PropertyChangedEventArgs e) => { if (e.PropertyName == "Machine") MachineChanged(); }; 
		}
Exemple #10
0
		public AxisViewModel(IManualControlViewModel vm) : base(vm) 	{}
 public CommandHistoryViewModel(IManualControlViewModel vm)
     : base(vm)
 {
 }
Exemple #12
0
		public RotateViewModel(IManualControlViewModel vm)
			: base(vm)
		{
		}
Exemple #13
0
 public ToolViewModel(IManualControlViewModel vm)
     : base(vm)
 {
     Global.Instance.Com.LocalCom.CommandQueueChanged  += OnCommandQueueChanged;
     Global.Instance.Com.RemoteCom.CommandQueueChanged += OnCommandQueueChanged;
 }
Exemple #14
0
		public DetailViewModel(IManualControlViewModel vm)
		{
			Vm = vm;
		}
Exemple #15
0
 public DirectCommandViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
 {
     _global = global;
 }
Exemple #16
0
 public ShiftViewModel(IManualControlViewModel vm) : base(vm)
 {
 }
Exemple #17
0
 public DetailViewModel(IManualControlViewModel vm, Global global)
 {
     _global = global;
     Vm      = vm;
 }
Exemple #18
0
 public WorkOffsetViewModel(IManualControlViewModel vm) : base(vm)
 {
 }
Exemple #19
0
 public RotateViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
 {
     _global = global ?? throw new ArgumentNullException();
 }
Exemple #20
0
 public DetailViewModel(IManualControlViewModel vm, Global global)
 {
     _global = global ?? throw new ArgumentNullException();
     Vm      = vm;
 }
 public DirectCommandViewModel(IManualControlViewModel vm) : base(vm)
 {
 }
Exemple #22
0
 public RotateViewModel(IManualControlViewModel vm)
     : base(vm)
 {
 }
Exemple #23
0
 public DetailViewModel(IManualControlViewModel vm)
 {
     Vm = vm;
 }
Exemple #24
0
		public MoveViewModel(IManualControlViewModel vm) : base(vm) 	{}
		public DirectCommandViewModel(IManualControlViewModel vm) : base(vm)
		{
		}
Exemple #26
0
 public MoveViewModel(IManualControlViewModel vm) : base(vm)
 {
 }
Exemple #27
0
 public CommandHistoryViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
 {
     _global = global;
 }
Exemple #28
0
 public MoveViewModel(IManualControlViewModel vm, Global global) : base(vm, global)
 {
     _global = global;
 }
Exemple #29
0
		public ToolViewModel(IManualControlViewModel vm)
			: base(vm)
		{
			Com.CommandQueueChanged += new ArduinoSerialCommunication.CommandEventHandler(CommandQueueChanged);
		}