Example #1
0
        /// <summary>
        /// Set the name of the endeffector
        /// </summary>
        /// <param name="value">The name of the endeffector</param>
        /// <exception cref="ServiceCallFailedException">Thrown when call to service failed.</exception>
        public void SetEndEffectorName(string value)
        {
            var srv = new xamlamoveit.SetString();

            srv.req.data = value;
            if (!setEndeffectorName.Call(srv))
            {
                throw new ServiceCallFailedException(SERVICE_SET_ENDEFFECTOR_NAME);
            }
        }
Example #2
0
        /// <summary>
        /// Set the name of the move group
        /// </summary>
        /// <param name="value">The name to be set</param>
        /// <exception cref="ServiceCallFailedException">Thrown when call to service failed.</exception>
        public void SetMoveGroupName(string value)
        {
            var srv = new xamlamoveit.SetString();

            srv.req.data = value;
            if (!setMovegroupName.Call(srv))
            {
                throw new ServiceCallFailedException(SERVICE_SET_MOVEGROUP_NAME);
            }
        }