34 lines
		
	
	
		
			901 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			901 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.ComponentModel;
 | |
| using System.Drawing;
 | |
| using System.Data;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| using System.Windows.Forms;
 | |
| 
 | |
| namespace arFrame.Control
 | |
| {
 | |
|     public partial class MotCommandButton : Button
 | |
|     {
 | |
|         public enum eCommand
 | |
|         {
 | |
|             AbsoluteMove = 0,
 | |
|             RelativeMove ,
 | |
|             AcceptPosition
 | |
|         }
 | |
|         public MotCommandButton()
 | |
|         {
 | |
|             InitializeComponent();
 | |
|             motCommand = eCommand.AbsoluteMove;
 | |
|             motValueControl = null;
 | |
|             motAccControl = null;
 | |
|             motSpdControl = null;
 | |
|         }
 | |
|         public MotValueNumericUpDown motValueControl { get; set; }
 | |
|         public MotValueNumericUpDown motAccControl { get; set; }
 | |
|         public MotValueNumericUpDown motSpdControl { get; set; }
 | |
|         public eCommand motCommand { get; set; }
 | |
|     }
 | |
| }
 | 
