Exemplo n.º 1
0
        /// <summary>
        /// Get the name of the endeffector
        /// </summary>
        /// <returns>Returns a list of strings containing the names of the endeffector</returns>
        /// <exception cref="ServiceCallFailedException">Thrown when call to service failed.</exception>
        public string[] GetEndEffectorName()
        {
            var srv = new xamlamoveit.GetSelected();

            if (!getEndeffectorName.Call(srv))
            {
                throw new ServiceCallFailedException(SERVICE_GET_ENDEFFECTOR_NAME);
            }
            return(srv.resp.collection);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Get the name of the move group
        /// </summary>
        /// <returns>Returns a list of strings containing the names of move group</returns>
        /// <exception cref="ServiceCallFailedException">Thrown when call to service failed.</exception>
        public string[] GetMoveGroupName()
        {
            var srv = new xamlamoveit.GetSelected();

            if (!getMovegroupName.Call(srv))
            {
                throw new ServiceCallFailedException(SERVICE_GET_MOVEGROUP_NAME);
            }
            return(srv.resp.collection);
        }