C# 클래스 BrrrBayBay.PwmGUIControl.PwmChannelControl

상속: LogicChannelControl
파일 보기 프로젝트 열기: joosthaverkort/PWMLogic 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
PwmChannelControl ( ) : System
applyValues ( ) : System.Boolean

Applies the user settings to the channelsettings object. This is only performed if the user settings are correct

reloadChannelSettings ( ) : void
setNewFrequency ( int frequency, String fUnits ) : void

Fills in the frequency and frequencyUnit boxes

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
AsyncPwmChannelControl_ChannelNumberChanged ( object sender, EventArgs e ) : void
AsyncPwmChannelControl_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

calculateRealValues ( ) : void
ct_KeyDown ( object sender, KeyEventArgs e ) : void
ct_KeyPress ( object sender, KeyPressEventArgs e ) : void
dutyCycleBar_Scroll ( object sender, EventArgs e ) : void
dutyCycleBar_ValueChanged ( object sender, EventArgs e ) : void
dutyCycleBox_TextChanged ( object sender, EventArgs e ) : void
enabledBox_CheckedChanged ( object sender, EventArgs e ) : void
frequencyBox_TextChanged ( object sender, EventArgs e ) : void
recalculateDutyCycle ( ) : System.Boolean

Recalculates and checks the dutycycle value

recalculateFrequency ( ) : System.Boolean

Recalculates the frequency value and returns true if it is correct

setDcBoxVal ( double value ) : void
setTmpDc ( double value ) : void

Sets the tmpDc value and raises the settingschanged event

setTmpFrequency ( double tmpFrequency ) : void

Sets the tmpFrequency value and raises the SettingsChangedEvent

updateSliderPosition ( ) : void

Updates the slider position with the current duty cycle value

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

PwmChannelControl() 공개 메소드

public PwmChannelControl ( ) : System
리턴 System

applyValues() 공개 메소드

Applies the user settings to the channelsettings object. This is only performed if the user settings are correct
public applyValues ( ) : System.Boolean
리턴 System.Boolean

reloadChannelSettings() 공개 메소드

public reloadChannelSettings ( ) : void
리턴 void

setNewFrequency() 공개 메소드

Fills in the frequency and frequencyUnit boxes
public setNewFrequency ( int frequency, String fUnits ) : void
frequency int The new frequency
fUnits String The new frequency units
리턴 void