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