/// <summary> /// Post Connect To Brick with body and return the response port. /// </summary> public virtual PortSet <DefaultUpdateResponseType, Fault> ConnectToBrick(DriveState body) { ConnectToBrick op = new ConnectToBrick(body); this.Post(op); return(op.ResponsePort); }
/// <summary> /// Deep Clone DriveState /// </summary> /// <returns></returns> public DriveState Clone() { DriveState clone = new DriveState(); clone.DistanceBetweenWheels = this.DistanceBetweenWheels; clone.LeftWheel = (this.LeftWheel == null) ? null : (WheelConfiguration)this.LeftWheel.Clone(); clone.RightWheel = (this.RightWheel == null) ? null : (WheelConfiguration)this.RightWheel.Clone(); clone.PollingFrequencyMs = this.PollingFrequencyMs; clone.TimeStamp = this.TimeStamp; clone.RuntimeStatistics = (this.RuntimeStatistics == null) ? null : (RuntimeStatistics)this.RuntimeStatistics.Clone(); return(clone); }
/// <summary> /// Configure Drive Connection /// </summary> public ConnectToBrick(DriveState body, PortSet <DefaultUpdateResponseType, Fault> responsePort) : base(body, responsePort) { }
/// <summary> /// Configure Drive Connection /// </summary> public ConnectToBrick(DriveState body) : base(body) { }