Esempio n. 1
0
        /// <summary>
        /// Send the UpdateStatus message to update internal state.
        /// </summary>
        /// <param name="connectedToBrick"></param>
        /// <returns>Standard Update Response PortSet</returns>
        private PortSet <DefaultUpdateResponseType, Fault> UpdateServiceStatus(LegoNxtBumperStatus status)
        {
            UpdateStatus updateStatus = new UpdateStatus(status);

            _internalPort.Post(updateStatus);
            return(updateStatus.ResponsePort);
        }
Esempio n. 2
0
 /// <summary>
 /// Initialization Constructor
 /// </summary>
 public UpdateStatus(LegoNxtBumperStatus status)
 {
     this.Body = status;
 }