Skip to main content

Class SimulatedCurrentLoopGenerator

Implementation of a simulated current loop generator

Assembly: CurrentLoop.dll​
View Source​
Declaration
public class SimulatedCurrentLoopGenerator : ICurrentLoopGenerator

Implements:
Meadow.Foundation.CurrentLoop.ICurrentLoopGenerator

Methods​

GetOutputCurrent()​

Gets the last output current that was set

View Source​
Declaration
public Current GetOutputCurrent()
Returns​

Meadow.Units.Current: The current that was last output by this sensor

SetOutputCurrent(Current)​

Sets the output current for the transmitter

View Source​
Declaration
public Task SetOutputCurrent(Current current)
Returns​

System.Threading.Tasks.Task: A task representing the asynchronous operation

Parameters​
TypeNameDescription
Meadow.Units.CurrentcurrentThe current to output

Implements​