Example #1
0
        public async Task SendMessage(RotorPosition pos, byte[] data, bool force)
        {
            for (int i = 0; i < data.Length; ++i)
            {
                data[i] = (byte)(data[i] * 255 / 100);
            }

            await _rotorController.SendMessage(data, force);
        }
Example #2
0
 public RotorPointSet(RotorPosition position, Point[] points)
 {
     Position = position;
     Points   = points;
 }