public void BroadCastEvent(object sender, MachinaEventArgs e)
 {
     if (wssv != null)
     {
         wssv.WebSocketServices.Broadcast(e.ToJSONString());
     }
     else if (wscl != null)
     {
         wscl.Send(e.ToJSONString());
     }
 }
Exemple #2
0
 public void BroadCastEvent(object sender, MachinaEventArgs e)
 {
     wssv.WebSocketServices.Broadcast(e.ToJSONString());
 }
Exemple #3
0
        static Joints homeJoints = new Joints(0, -90, -90, -90, 90, 90);      // UR

        static public void LogEvent(object sender, MachinaEventArgs args)
        {
            Console.WriteLine(args.ToJSONString());
        }