Example #1
0
 public void SetStatus(STEPDIR status)
 {
     fStatus = status;
     if ((OnStatusChangedEvent != null) && (fParent.Parent != null))
     {
         fParent.Parent.BeginInvoke(OnStatusChangedEvent);
     }
 }
Example #2
0
 public void Roll(MOTOR motor, STEPDIR dir, short autostop = 0)
 {
     OnStopWaitEvent.Reset();
     byte[] buf = { (byte)motor, (byte)dir, (byte)(autostop >> 8), (byte)(autostop & 255) };
     SendData((byte)MounterCmd.MOUNTER_ROLL, buf, 4);
 }
Example #3
0
 public void Step(MOTOR motor, STEPDIR dir)
 {
     byte[] buf = { (byte)motor, (byte)dir };
     SendData((byte)MounterCmd.MOUNTER_STEP, buf, 2);
 }