C# Class BrrrBayBay.PwmGUIControl.RcPwmControl

Inheritance: System.Windows.Forms.UserControl, IPwmGeneratorUserControl
显示文件 Open project: joosthaverkort/PWMLogic

Public Methods

Method Description
RcPwmControl ( ) : System
deInitialize ( ) : void
initialize ( LogicPWMConnector connector ) : void
loadSettings ( System pwmSettings ) : void
saveSettings ( ) : XmlElement

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

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

RcPwmControl_Load ( object sender, EventArgs e ) : void
applyNewSettings ( ) : void
applyTimerCallback ( Object obj ) : void
calculateDutyCycle ( int rcValue, double center, double maxDev ) : double

Calculates the duty cycle using the provided parameters

createFrequencyEditor ( int vPos ) : int
createSettingsObject ( ) : RcSettingsTemplate
ctl_SettingsChanged ( object sender, EventArgs e ) : void
frequencyBox_KeyPress ( object sender, KeyPressEventArgs e ) : void
frequencyBox_LostFocus ( object sender, EventArgs e ) : void
frequencyLabel_DoubleClick ( object sender, EventArgs e ) : void
loadChannelControls ( ) : void
setupGenerator ( ) : void

Method Details

Dispose() protected method

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

RcPwmControl() public method

public RcPwmControl ( ) : System
return System

deInitialize() public method

public deInitialize ( ) : void
return void

initialize() public method

public initialize ( LogicPWMConnector connector ) : void
connector LogicPWMConnector
return void

loadSettings() public method

public loadSettings ( System pwmSettings ) : void
pwmSettings System
return void

saveSettings() public method

public saveSettings ( ) : XmlElement
return System.Xml.XmlElement