示例#1
0
 public MainViewModel()
 {
     Current = this;
     Arm = new Arm();
     COMHandler = new COMHandler(Arm);
     loadCommands();
 }
示例#2
0
 public COMHandler(Arm currentArm)
 {
     this.currentArm = currentArm;
 }
示例#3
0
 public ArmCommander(Arm arm)
 {
     this.currentArm = arm;
     CommandTimer.Interval = new TimeSpan(0, 0, 0, 0, 500);
     CommandTimer.Tick += CommandTimer_Tick;
 }
示例#4
0
 public ArmCommander(Arm arm)
 {
     this.currentArm       = arm;
     CommandTimer.Interval = new TimeSpan(0, 0, 0, 0, 500);
     CommandTimer.Tick    += CommandTimer_Tick;
 }
示例#5
0
 public COMHandler(Arm currentArm)
 {
     this.currentArm = currentArm;
 }