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