/// <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); }
/// <summary> /// Initialization Constructor /// </summary> public UpdateStatus(LegoNxtBumperStatus status) { this.Body = status; }