C# Класс BrrrBayBay.PwmGUIControl.PwmChannelControl

Наследование: LogicChannelControl
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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