Table of Contents

Interface IPowerSupply

Namespace
Loehnert.Lisrt.PowerSupply
Assembly
Loehnert.Lisrt.PowerSupply.dll

Interface for a power supply.

public interface IPowerSupply

Properties

MaximumCurrent

Gets or sets maximum current in Ampere.

double MaximumCurrent { get; set; }

Property Value

double

MaximumVoltage

Gets or sets maximum voltage in Volt.

double MaximumVoltage { get; set; }

Property Value

double

OutputIsEnabled

Gets a value indicating whether the supply output is enabled.

bool OutputIsEnabled { get; }

Property Value

bool

SetpointCurrent

Gets the setpoint of the current in Ampere.

double SetpointCurrent { get; }

Property Value

double

SetpointVoltage

Gets the setpoint of the voltage in Volt.

double SetpointVoltage { get; }

Property Value

double

Methods

SetCurrent(double)

Sets the current.

void SetCurrent(double current)

Parameters

current double

Current in Ampere to regulate.

SetOutput(bool)

Sets the output.

void SetOutput(bool isEnabled)

Parameters

isEnabled bool

State for the output.

SetVoltage(double)

Sets the voltage.

void SetVoltage(double voltage)

Parameters

voltage double

Voltage in Volt to regulate.

SetVoltageAndCurrent(double, double)

Sets the voltage, current and enables the output.

void SetVoltageAndCurrent(double voltage, double current)

Parameters

voltage double

Voltage in Volt to regulate.

current double

Current in Ampere to regulate.