/// <summary>
        /// Post Stop Motor with body and return the response port.
        /// </summary>
        public virtual PortSet <DefaultUpdateResponseType, Fault> AllStop(AllStopRequest body)
        {
            AllStop op = new AllStop();

            op.Body = body ?? new AllStopRequest();
            this.PostUnknownType(op);
            return(op.ResponsePort);
        }
        /// <summary>
        /// Post Stop Motor with parameters and return the response port.
        /// </summary>
        public virtual PortSet <DefaultUpdateResponseType, Fault> AllStop(MotorStopState stopState)
        {
            AllStopRequest body = new AllStopRequest();

            body.StopState = stopState;
            AllStop op = new AllStop(body);

            this.PostUnknownType(op);
            return(op.ResponsePort);
        }
Example #3
0
 /// <summary>
 /// Post(motor.AllStop)
 /// </summary>
 /// <param name="item"></param>
 /// <returns></returns>
 public void Post(motor.AllStop item)
 {
     base.PostUnknownType(item);
 }