C# Класс CSharpRoboticsLib.WPIExtensions.ManagedCompressor

A Compressor which will not run if the voltage is too low.
Наследование: WPILib.Compressor
Показать файл Открыть проект

Открытые методы

Метод Описание
ManagedCompressor ( double voltageThreshold ) : WPILib

Creates a new Managed Compressor, which will turn off when the voltage is below the specified level.

ManagedCompressor ( double voltageThreshold, double period ) : WPILib

Creates a new Managed Compressor, which will turn off when the volrage is below the specified level.

Update ( ) : void

Manually Udates the compressor, turning it on or off if necessary. Called automatically according to the period value if UseTimer is enabled.

Описание методов

ManagedCompressor() публичный Метод

Creates a new Managed Compressor, which will turn off when the voltage is below the specified level.
public ManagedCompressor ( double voltageThreshold ) : WPILib
voltageThreshold double Voltage to turn off the compressor at
Результат WPILib

ManagedCompressor() публичный Метод

Creates a new Managed Compressor, which will turn off when the volrage is below the specified level.
public ManagedCompressor ( double voltageThreshold, double period ) : WPILib
voltageThreshold double Voltage to turn off the compressor at
period double
Результат WPILib

Update() публичный Метод

Manually Udates the compressor, turning it on or off if necessary. Called automatically according to the period value if UseTimer is enabled.
public Update ( ) : void
Результат void