C# Class BACnet.Explorer.Core.Controls.BACnetPanel

Inheritance: Eto.Forms.Panel
Show file Open project: LorenVS/bacstack

Public Methods

Method Description
BACnetPanel ( ) : System

Constructs a new BACnetPanel instance

Refresh ( BACnet client ) : System.Threading.Tasks.Task

Refreshes information on the panel

Protected Methods

Method Description
OnLoad ( EventArgs e ) : void

Perform the initial refresh on load

OnUnLoad ( EventArgs e ) : void

Disabled future refreshes

Private Methods

Method Description
_refresh ( object sender, EventArgs e ) : void

Called when the refreshTimer elapses, and triggers a refresh of BACnet data on this panel

Method Details

BACnetPanel() public method

Constructs a new BACnetPanel instance
public BACnetPanel ( ) : System
return System

OnLoad() protected method

Perform the initial refresh on load
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnUnLoad() protected method

Disabled future refreshes
protected OnUnLoad ( EventArgs e ) : void
e System.EventArgs
return void

Refresh() public method

Refreshes information on the panel
public Refresh ( BACnet client ) : System.Threading.Tasks.Task
client BACnet The client to use for refreshing
return System.Threading.Tasks.Task