Showing the changes to Source/Libraries/Adapters/TestingAdapters/FrameBasedRandomValueInputAdapter.cs (1 of 59 files). Show all
Unified · Split
| @@ -72,6 +72,18 @@ namespace TestingAdapters · 71 unmodified lines | ||
| 72 | 72 | |
| 73 | 73 | #endregion |
| 74 | 74 | |
| 75 | + #region [ Constructors ] | |
| 76 | + | |
| 77 | + /// <summary> | |
| 78 | + /// Creates a new <see cref="FrameBasedRandomValueInputAdapter"/>. | |
| 79 | + /// </summary> | |
| 80 | + public FrameBasedRandomValueInputAdapter() | |
| 81 | + { | |
| 82 | + DefaultEventName = "RandomValueAdapter"; | |
| 83 | + } | |
| 84 | + | |
| 85 | + #endregion | |
| 86 | + | |
| 75 | 87 | #region [ Properties ] |
| 76 | 88 | |
| 77 | 89 | /// <summary> |
| @@ -191,7 +203,7 @@ namespace TestingAdapters · 113 unmodified lines | ||
| 191 | 203 | return; |
| 192 | 204 | |
| 193 | 205 | if (m_unprocessedMeasurements > 10 * m_publishRate) |
| 194 | − OnStatusMessage(MessageLevel.Info, "RandomValueAdapter", $"{m_unprocessedMeasurements} unprocessed messages"); | |
| 206 | + OnStatusMessage(MessageLevel.Info, $"{m_unprocessedMeasurements} unprocessed messages"); | |
| 195 | 207 | |
| 196 | 208 | m_statusUpdate.Start(10000); |
| 197 | 209 | |