C# 클래스 CSharpRoboticsLib.WPIExtensions.ManagedCompressor

A Compressor which will not run if the voltage is too low.
상속: WPILib.Compressor
파일 보기 프로젝트 열기: shockwave4488/CSharpRoboticsLib

공개 메소드들

메소드 설명
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