-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathInvalidReadBehavior.cs
More file actions
29 lines (25 loc) · 1.09 KB
/
InvalidReadBehavior.cs
File metadata and controls
29 lines (25 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using System;
namespace RapidField.SolidInstruments.SignalProcessing
{
/// <summary>
/// Specifies the behavior of an <see cref="IChannel{T}" /> when an out-of-range read request is made.
/// </summary>
public enum InvalidReadBehavior : Int32
{
/// <summary>
/// The behavior of the channel is not specified.
/// </summary>
Unspecified = 0,
/// <summary>
/// The channel returns a silent signal when an out-of-range read request is made.
/// </summary>
ReadSilence = 1,
/// <summary>
/// The channel raises an exception when an out-of-range read request is made.
/// </summary>
RaiseException = 2
}
}