@@ -108,29 +108,29 @@ public async Task<Timestamped<AnalogDataPayload>> ReadTimestampedAnalogDataAsync
108
108
}
109
109
110
110
/// <summary>
111
- /// Asynchronously reads the contents of the DI0State register.
111
+ /// Asynchronously reads the contents of the DigitalInputState register.
112
112
/// </summary>
113
113
/// <returns>
114
114
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
115
115
/// property contains the register payload.
116
116
/// </returns>
117
- public async Task < DigitalState > ReadDI0StateAsync ( )
117
+ public async Task < DigitalInputs > ReadDigitalInputStateAsync ( )
118
118
{
119
- var reply = await CommandAsync ( HarpCommand . ReadByte ( DI0State . Address ) ) ;
120
- return DI0State . GetPayload ( reply ) ;
119
+ var reply = await CommandAsync ( HarpCommand . ReadByte ( DigitalInputState . Address ) ) ;
120
+ return DigitalInputState . GetPayload ( reply ) ;
121
121
}
122
122
123
123
/// <summary>
124
- /// Asynchronously reads the timestamped contents of the DI0State register.
124
+ /// Asynchronously reads the timestamped contents of the DigitalInputState register.
125
125
/// </summary>
126
126
/// <returns>
127
127
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
128
128
/// property contains the timestamped register payload.
129
129
/// </returns>
130
- public async Task < Timestamped < DigitalState > > ReadTimestampedDI0StateAsync ( )
130
+ public async Task < Timestamped < DigitalInputs > > ReadTimestampedDigitalInputStateAsync ( )
131
131
{
132
- var reply = await CommandAsync ( HarpCommand . ReadByte ( DI0State . Address ) ) ;
133
- return DI0State . GetTimestampedPayload ( reply ) ;
132
+ var reply = await CommandAsync ( HarpCommand . ReadByte ( DigitalInputState . Address ) ) ;
133
+ return DigitalInputState . GetTimestampedPayload ( reply ) ;
134
134
}
135
135
136
136
/// <summary>
@@ -177,7 +177,7 @@ public async Task WriteRangeAndFilterAsync(RangeAndFilterConfig value)
177
177
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
178
178
/// property contains the register payload.
179
179
/// </returns>
180
- public async Task < SamplingRateConfig > ReadSamplingRateAsync ( )
180
+ public async Task < SamplingRateMode > ReadSamplingRateAsync ( )
181
181
{
182
182
var reply = await CommandAsync ( HarpCommand . ReadByte ( SamplingRate . Address ) ) ;
183
183
return SamplingRate . GetPayload ( reply ) ;
@@ -190,7 +190,7 @@ public async Task<SamplingRateConfig> ReadSamplingRateAsync()
190
190
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
191
191
/// property contains the timestamped register payload.
192
192
/// </returns>
193
- public async Task < Timestamped < SamplingRateConfig > > ReadTimestampedSamplingRateAsync ( )
193
+ public async Task < Timestamped < SamplingRateMode > > ReadTimestampedSamplingRateAsync ( )
194
194
{
195
195
var reply = await CommandAsync ( HarpCommand . ReadByte ( SamplingRate . Address ) ) ;
196
196
return SamplingRate . GetTimestampedPayload ( reply ) ;
@@ -201,7 +201,7 @@ public async Task<Timestamped<SamplingRateConfig>> ReadTimestampedSamplingRateAs
201
201
/// </summary>
202
202
/// <param name="value">The value to be stored in the register.</param>
203
203
/// <returns>The task object representing the asynchronous write operation.</returns>
204
- public async Task WriteSamplingRateAsync ( SamplingRateConfig value )
204
+ public async Task WriteSamplingRateAsync ( SamplingRateMode value )
205
205
{
206
206
var request = SamplingRate . FromPayload ( MessageType . Write , value ) ;
207
207
await CommandAsync ( request ) ;
@@ -214,7 +214,7 @@ public async Task WriteSamplingRateAsync(SamplingRateConfig value)
214
214
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
215
215
/// property contains the register payload.
216
216
/// </returns>
217
- public async Task < DI0TriggerConfig > ReadDI0TriggerAsync ( )
217
+ public async Task < TriggerConfig > ReadDI0TriggerAsync ( )
218
218
{
219
219
var reply = await CommandAsync ( HarpCommand . ReadByte ( DI0Trigger . Address ) ) ;
220
220
return DI0Trigger . GetPayload ( reply ) ;
@@ -227,7 +227,7 @@ public async Task<DI0TriggerConfig> ReadDI0TriggerAsync()
227
227
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
228
228
/// property contains the timestamped register payload.
229
229
/// </returns>
230
- public async Task < Timestamped < DI0TriggerConfig > > ReadTimestampedDI0TriggerAsync ( )
230
+ public async Task < Timestamped < TriggerConfig > > ReadTimestampedDI0TriggerAsync ( )
231
231
{
232
232
var reply = await CommandAsync ( HarpCommand . ReadByte ( DI0Trigger . Address ) ) ;
233
233
return DI0Trigger . GetTimestampedPayload ( reply ) ;
@@ -238,7 +238,7 @@ public async Task<Timestamped<DI0TriggerConfig>> ReadTimestampedDI0TriggerAsync(
238
238
/// </summary>
239
239
/// <param name="value">The value to be stored in the register.</param>
240
240
/// <returns>The task object representing the asynchronous write operation.</returns>
241
- public async Task WriteDI0TriggerAsync ( DI0TriggerConfig value )
241
+ public async Task WriteDI0TriggerAsync ( TriggerConfig value )
242
242
{
243
243
var request = DI0Trigger . FromPayload ( MessageType . Write , value ) ;
244
244
await CommandAsync ( request ) ;
@@ -251,7 +251,7 @@ public async Task WriteDI0TriggerAsync(DI0TriggerConfig value)
251
251
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
252
252
/// property contains the register payload.
253
253
/// </returns>
254
- public async Task < DO0SyncConfig > ReadDO0SyncAsync ( )
254
+ public async Task < SyncConfig > ReadDO0SyncAsync ( )
255
255
{
256
256
var reply = await CommandAsync ( HarpCommand . ReadByte ( DO0Sync . Address ) ) ;
257
257
return DO0Sync . GetPayload ( reply ) ;
@@ -264,7 +264,7 @@ public async Task<DO0SyncConfig> ReadDO0SyncAsync()
264
264
/// A task that represents the asynchronous read operation. The <see cref="Task{TResult}.Result"/>
265
265
/// property contains the timestamped register payload.
266
266
/// </returns>
267
- public async Task < Timestamped < DO0SyncConfig > > ReadTimestampedDO0SyncAsync ( )
267
+ public async Task < Timestamped < SyncConfig > > ReadTimestampedDO0SyncAsync ( )
268
268
{
269
269
var reply = await CommandAsync ( HarpCommand . ReadByte ( DO0Sync . Address ) ) ;
270
270
return DO0Sync . GetTimestampedPayload ( reply ) ;
@@ -275,7 +275,7 @@ public async Task<Timestamped<DO0SyncConfig>> ReadTimestampedDO0SyncAsync()
275
275
/// </summary>
276
276
/// <param name="value">The value to be stored in the register.</param>
277
277
/// <returns>The task object representing the asynchronous write operation.</returns>
278
- public async Task WriteDO0SyncAsync ( DO0SyncConfig value )
278
+ public async Task WriteDO0SyncAsync ( SyncConfig value )
279
279
{
280
280
var request = DO0Sync . FromPayload ( MessageType . Write , value ) ;
281
281
await CommandAsync ( request ) ;
0 commit comments