Exemple #1
0
        public void SetRotationResolutionInDegrees(double degrees)
        {
            var data = new Dictionary <string, object>();

            data["event_id"] = EventId_RotationResolutionInDegrees;
            data["degrees"]  = degrees;

            _localUdpClient.Send(data);
        }
Exemple #2
0
        private void RadialController_ControlAcquired(RadialController sender, RadialControllerControlAcquiredEventArgs args)
        {
            //Console.WriteLine("control acquired");
            Invoke(new Action(() => {
                var timestamp = DateTime.Now.ToLongTimeString();
                this.labelRadialOutput.Text = string.Format("[{0}] control acquired", timestamp);

                var data         = new Dictionary <string, object>();
                data["event_id"] = EventId_ControlAcquired;
                localUdpClient.Send(data);
            }));
        }