Skip to content

Commit 70e5735

Browse files
committed
Fix register naming typo
These registers are rarely used but better to correct this typo in preparation for unified releases.
1 parent 907a5f3 commit 70e5735

3 files changed

Lines changed: 208 additions & 208 deletions

File tree

Interface/Harp.StepperDriver/AsyncDevice.Generated.cs

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -2693,7 +2693,7 @@ public async Task WriteAccumulatedStepsAsync(AccumulatedStepsPayload value, Canc
26932693
}
26942694

26952695
/// <summary>
2696-
/// Asynchronously reads the contents of the Mortor0AccumulatedSteps register.
2696+
/// Asynchronously reads the contents of the Motor0AccumulatedSteps register.
26972697
/// </summary>
26982698
/// <param name="cancellationToken">
26992699
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
@@ -2702,14 +2702,14 @@ public async Task WriteAccumulatedStepsAsync(AccumulatedStepsPayload value, Canc
27022702
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
27032703
/// property contains the register payload.
27042704
/// </returns>
2705-
public async Task<int> ReadMortor0AccumulatedStepsAsync(CancellationToken cancellationToken = default)
2705+
public async Task<int> ReadMotor0AccumulatedStepsAsync(CancellationToken cancellationToken = default)
27062706
{
2707-
var reply = await CommandAsync(HarpCommand.ReadInt32(Mortor0AccumulatedSteps.Address), cancellationToken);
2708-
return Mortor0AccumulatedSteps.GetPayload(reply);
2707+
var reply = await CommandAsync(HarpCommand.ReadInt32(Motor0AccumulatedSteps.Address), cancellationToken);
2708+
return Motor0AccumulatedSteps.GetPayload(reply);
27092709
}
27102710

27112711
/// <summary>
2712-
/// Asynchronously reads the timestamped contents of the Mortor0AccumulatedSteps register.
2712+
/// Asynchronously reads the timestamped contents of the Motor0AccumulatedSteps register.
27132713
/// </summary>
27142714
/// <param name="cancellationToken">
27152715
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
@@ -2718,28 +2718,28 @@ public async Task<int> ReadMortor0AccumulatedStepsAsync(CancellationToken cancel
27182718
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
27192719
/// property contains the timestamped register payload.
27202720
/// </returns>
2721-
public async Task<Timestamped<int>> ReadTimestampedMortor0AccumulatedStepsAsync(CancellationToken cancellationToken = default)
2721+
public async Task<Timestamped<int>> ReadTimestampedMotor0AccumulatedStepsAsync(CancellationToken cancellationToken = default)
27222722
{
2723-
var reply = await CommandAsync(HarpCommand.ReadInt32(Mortor0AccumulatedSteps.Address), cancellationToken);
2724-
return Mortor0AccumulatedSteps.GetTimestampedPayload(reply);
2723+
var reply = await CommandAsync(HarpCommand.ReadInt32(Motor0AccumulatedSteps.Address), cancellationToken);
2724+
return Motor0AccumulatedSteps.GetTimestampedPayload(reply);
27252725
}
27262726

27272727
/// <summary>
2728-
/// Asynchronously writes a value to the Mortor0AccumulatedSteps register.
2728+
/// Asynchronously writes a value to the Motor0AccumulatedSteps register.
27292729
/// </summary>
27302730
/// <param name="value">The value to be stored in the register.</param>
27312731
/// <param name="cancellationToken">
27322732
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
27332733
/// </param>
27342734
/// <returns>The task object representing the asynchronous write operation.</returns>
2735-
public async Task WriteMortor0AccumulatedStepsAsync(int value, CancellationToken cancellationToken = default)
2735+
public async Task WriteMotor0AccumulatedStepsAsync(int value, CancellationToken cancellationToken = default)
27362736
{
2737-
var request = Mortor0AccumulatedSteps.FromPayload(MessageType.Write, value);
2737+
var request = Motor0AccumulatedSteps.FromPayload(MessageType.Write, value);
27382738
await CommandAsync(request, cancellationToken);
27392739
}
27402740

27412741
/// <summary>
2742-
/// Asynchronously reads the contents of the Mortor1AccumulatedSteps register.
2742+
/// Asynchronously reads the contents of the Motor1AccumulatedSteps register.
27432743
/// </summary>
27442744
/// <param name="cancellationToken">
27452745
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
@@ -2748,14 +2748,14 @@ public async Task WriteMortor0AccumulatedStepsAsync(int value, CancellationToken
27482748
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
27492749
/// property contains the register payload.
27502750
/// </returns>
2751-
public async Task<int> ReadMortor1AccumulatedStepsAsync(CancellationToken cancellationToken = default)
2751+
public async Task<int> ReadMotor1AccumulatedStepsAsync(CancellationToken cancellationToken = default)
27522752
{
2753-
var reply = await CommandAsync(HarpCommand.ReadInt32(Mortor1AccumulatedSteps.Address), cancellationToken);
2754-
return Mortor1AccumulatedSteps.GetPayload(reply);
2753+
var reply = await CommandAsync(HarpCommand.ReadInt32(Motor1AccumulatedSteps.Address), cancellationToken);
2754+
return Motor1AccumulatedSteps.GetPayload(reply);
27552755
}
27562756

27572757
/// <summary>
2758-
/// Asynchronously reads the timestamped contents of the Mortor1AccumulatedSteps register.
2758+
/// Asynchronously reads the timestamped contents of the Motor1AccumulatedSteps register.
27592759
/// </summary>
27602760
/// <param name="cancellationToken">
27612761
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
@@ -2764,28 +2764,28 @@ public async Task<int> ReadMortor1AccumulatedStepsAsync(CancellationToken cancel
27642764
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
27652765
/// property contains the timestamped register payload.
27662766
/// </returns>
2767-
public async Task<Timestamped<int>> ReadTimestampedMortor1AccumulatedStepsAsync(CancellationToken cancellationToken = default)
2767+
public async Task<Timestamped<int>> ReadTimestampedMotor1AccumulatedStepsAsync(CancellationToken cancellationToken = default)
27682768
{
2769-
var reply = await CommandAsync(HarpCommand.ReadInt32(Mortor1AccumulatedSteps.Address), cancellationToken);
2770-
return Mortor1AccumulatedSteps.GetTimestampedPayload(reply);
2769+
var reply = await CommandAsync(HarpCommand.ReadInt32(Motor1AccumulatedSteps.Address), cancellationToken);
2770+
return Motor1AccumulatedSteps.GetTimestampedPayload(reply);
27712771
}
27722772

27732773
/// <summary>
2774-
/// Asynchronously writes a value to the Mortor1AccumulatedSteps register.
2774+
/// Asynchronously writes a value to the Motor1AccumulatedSteps register.
27752775
/// </summary>
27762776
/// <param name="value">The value to be stored in the register.</param>
27772777
/// <param name="cancellationToken">
27782778
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
27792779
/// </param>
27802780
/// <returns>The task object representing the asynchronous write operation.</returns>
2781-
public async Task WriteMortor1AccumulatedStepsAsync(int value, CancellationToken cancellationToken = default)
2781+
public async Task WriteMotor1AccumulatedStepsAsync(int value, CancellationToken cancellationToken = default)
27822782
{
2783-
var request = Mortor1AccumulatedSteps.FromPayload(MessageType.Write, value);
2783+
var request = Motor1AccumulatedSteps.FromPayload(MessageType.Write, value);
27842784
await CommandAsync(request, cancellationToken);
27852785
}
27862786

27872787
/// <summary>
2788-
/// Asynchronously reads the contents of the Mortor2AccumulatedSteps register.
2788+
/// Asynchronously reads the contents of the Motor2AccumulatedSteps register.
27892789
/// </summary>
27902790
/// <param name="cancellationToken">
27912791
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
@@ -2794,14 +2794,14 @@ public async Task WriteMortor1AccumulatedStepsAsync(int value, CancellationToken
27942794
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
27952795
/// property contains the register payload.
27962796
/// </returns>
2797-
public async Task<int> ReadMortor2AccumulatedStepsAsync(CancellationToken cancellationToken = default)
2797+
public async Task<int> ReadMotor2AccumulatedStepsAsync(CancellationToken cancellationToken = default)
27982798
{
2799-
var reply = await CommandAsync(HarpCommand.ReadInt32(Mortor2AccumulatedSteps.Address), cancellationToken);
2800-
return Mortor2AccumulatedSteps.GetPayload(reply);
2799+
var reply = await CommandAsync(HarpCommand.ReadInt32(Motor2AccumulatedSteps.Address), cancellationToken);
2800+
return Motor2AccumulatedSteps.GetPayload(reply);
28012801
}
28022802

28032803
/// <summary>
2804-
/// Asynchronously reads the timestamped contents of the Mortor2AccumulatedSteps register.
2804+
/// Asynchronously reads the timestamped contents of the Motor2AccumulatedSteps register.
28052805
/// </summary>
28062806
/// <param name="cancellationToken">
28072807
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
@@ -2810,28 +2810,28 @@ public async Task<int> ReadMortor2AccumulatedStepsAsync(CancellationToken cancel
28102810
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
28112811
/// property contains the timestamped register payload.
28122812
/// </returns>
2813-
public async Task<Timestamped<int>> ReadTimestampedMortor2AccumulatedStepsAsync(CancellationToken cancellationToken = default)
2813+
public async Task<Timestamped<int>> ReadTimestampedMotor2AccumulatedStepsAsync(CancellationToken cancellationToken = default)
28142814
{
2815-
var reply = await CommandAsync(HarpCommand.ReadInt32(Mortor2AccumulatedSteps.Address), cancellationToken);
2816-
return Mortor2AccumulatedSteps.GetTimestampedPayload(reply);
2815+
var reply = await CommandAsync(HarpCommand.ReadInt32(Motor2AccumulatedSteps.Address), cancellationToken);
2816+
return Motor2AccumulatedSteps.GetTimestampedPayload(reply);
28172817
}
28182818

28192819
/// <summary>
2820-
/// Asynchronously writes a value to the Mortor2AccumulatedSteps register.
2820+
/// Asynchronously writes a value to the Motor2AccumulatedSteps register.
28212821
/// </summary>
28222822
/// <param name="value">The value to be stored in the register.</param>
28232823
/// <param name="cancellationToken">
28242824
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
28252825
/// </param>
28262826
/// <returns>The task object representing the asynchronous write operation.</returns>
2827-
public async Task WriteMortor2AccumulatedStepsAsync(int value, CancellationToken cancellationToken = default)
2827+
public async Task WriteMotor2AccumulatedStepsAsync(int value, CancellationToken cancellationToken = default)
28282828
{
2829-
var request = Mortor2AccumulatedSteps.FromPayload(MessageType.Write, value);
2829+
var request = Motor2AccumulatedSteps.FromPayload(MessageType.Write, value);
28302830
await CommandAsync(request, cancellationToken);
28312831
}
28322832

28332833
/// <summary>
2834-
/// Asynchronously reads the contents of the Mortor3AccumulatedSteps register.
2834+
/// Asynchronously reads the contents of the Motor3AccumulatedSteps register.
28352835
/// </summary>
28362836
/// <param name="cancellationToken">
28372837
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
@@ -2840,14 +2840,14 @@ public async Task WriteMortor2AccumulatedStepsAsync(int value, CancellationToken
28402840
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
28412841
/// property contains the register payload.
28422842
/// </returns>
2843-
public async Task<int> ReadMortor3AccumulatedStepsAsync(CancellationToken cancellationToken = default)
2843+
public async Task<int> ReadMotor3AccumulatedStepsAsync(CancellationToken cancellationToken = default)
28442844
{
2845-
var reply = await CommandAsync(HarpCommand.ReadInt32(Mortor3AccumulatedSteps.Address), cancellationToken);
2846-
return Mortor3AccumulatedSteps.GetPayload(reply);
2845+
var reply = await CommandAsync(HarpCommand.ReadInt32(Motor3AccumulatedSteps.Address), cancellationToken);
2846+
return Motor3AccumulatedSteps.GetPayload(reply);
28472847
}
28482848

28492849
/// <summary>
2850-
/// Asynchronously reads the timestamped contents of the Mortor3AccumulatedSteps register.
2850+
/// Asynchronously reads the timestamped contents of the Motor3AccumulatedSteps register.
28512851
/// </summary>
28522852
/// <param name="cancellationToken">
28532853
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
@@ -2856,23 +2856,23 @@ public async Task<int> ReadMortor3AccumulatedStepsAsync(CancellationToken cancel
28562856
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
28572857
/// property contains the timestamped register payload.
28582858
/// </returns>
2859-
public async Task<Timestamped<int>> ReadTimestampedMortor3AccumulatedStepsAsync(CancellationToken cancellationToken = default)
2859+
public async Task<Timestamped<int>> ReadTimestampedMotor3AccumulatedStepsAsync(CancellationToken cancellationToken = default)
28602860
{
2861-
var reply = await CommandAsync(HarpCommand.ReadInt32(Mortor3AccumulatedSteps.Address), cancellationToken);
2862-
return Mortor3AccumulatedSteps.GetTimestampedPayload(reply);
2861+
var reply = await CommandAsync(HarpCommand.ReadInt32(Motor3AccumulatedSteps.Address), cancellationToken);
2862+
return Motor3AccumulatedSteps.GetTimestampedPayload(reply);
28632863
}
28642864

28652865
/// <summary>
2866-
/// Asynchronously writes a value to the Mortor3AccumulatedSteps register.
2866+
/// Asynchronously writes a value to the Motor3AccumulatedSteps register.
28672867
/// </summary>
28682868
/// <param name="value">The value to be stored in the register.</param>
28692869
/// <param name="cancellationToken">
28702870
/// A <see cref="CancellationToken"/> which can be used to cancel the operation.
28712871
/// </param>
28722872
/// <returns>The task object representing the asynchronous write operation.</returns>
2873-
public async Task WriteMortor3AccumulatedStepsAsync(int value, CancellationToken cancellationToken = default)
2873+
public async Task WriteMotor3AccumulatedStepsAsync(int value, CancellationToken cancellationToken = default)
28742874
{
2875-
var request = Mortor3AccumulatedSteps.FromPayload(MessageType.Write, value);
2875+
var request = Motor3AccumulatedSteps.FromPayload(MessageType.Write, value);
28762876
await CommandAsync(request, cancellationToken);
28772877
}
28782878

0 commit comments

Comments
 (0)