Exemple #1
0
 public void MoveBar(Bar bar, uint position, uint angle)
 {
     if (PeripheralState == PeripheralState.Ready)
     {
         CanInterfaceDll.MoveBar(_apiHandle, bar, (int)position, (int)(angle % 360));
     }
 }
Exemple #2
0
 public void RotateBar(Bar bar, uint angle)
 {
     CanInterfaceDll.MoveBar(_apiHandle, bar, -1, (int)angle);
 }
Exemple #3
0
 public void ShiftBar(Bar bar, uint position)
 {
     CanInterfaceDll.MoveBar(_apiHandle, bar, (int)position, -1);
 }