C# 클래스 MissionPlanner.MainV2

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: ArduPilot/MissionPlanner 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Comports List
FlightData MissionPlanner.GCSViews.FlightData
FlightPlanner MissionPlanner.GCSViews.FlightPlanner
GUID_DEVINTERFACE_USB_DEVICE System.Guid
MONO bool
MainMenu System.Windows.Forms.MenuStrip
MenuConfigTune System.Windows.Forms.ToolStripButton
MenuConnect System.Windows.Forms.ToolStripButton
MenuFlightData System.Windows.Forms.ToolStripButton
MenuFlightPlanner System.Windows.Forms.ToolStripButton
MenuInitConfig System.Windows.Forms.ToolStripButton
MenuSimulation System.Windows.Forms.ToolStripButton
MenuTerminal System.Windows.Forms.ToolStripButton
TerminalTheming bool
View MissionPlanner.Controls.MainSwitcher
adsbPlanes adsb.PointLatLngAltHdg>.ConcurrentDictionary
cam WebCamService.Capture
comPortName string
displayicons menuicons
instance MainV2
joystick MissionPlanner.Joystick.Joystick
panel1 System.Windows.Forms.Panel
speechEnable bool
speechEngine MissionPlanner.Utilities.Speech

공개 메소드들

메소드 설명
ChangeUnits ( ) : void
MainV2 ( ) : System
MenuSetup_Click ( object sender, EventArgs e ) : void
changelanguage ( CultureInfo ci ) : void
doConnect ( MAVLinkInterface comPort, string portname, string baud ) : void
doDisconnect ( MAVLinkInterface comPort ) : void
switchicons ( menuicons icons ) : void
updateLayout ( object sender, EventArgs e ) : void

보호된 메소드들

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

Clean up any resources being used.

OnClosing ( CancelEventArgs e ) : void

overriding the OnCLosing is a bit cleaner than handling the event, since it is this object. This happens before FormClosed

OnFormClosed ( System.Windows.Forms.FormClosedEventArgs e ) : void

this happens after FormClosing...

OnLoad ( EventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool

keyboard shortcuts override

WndProc ( Message &m ) : void

비공개 메소드들

메소드 설명
AutoHideMenu ( bool hide ) : void
BGCreateMaps ( object state ) : void
BGFirmwareCheck ( object state ) : void
BGGetKIndex ( object state ) : void
BGLoadAirports ( object nothing ) : void
BGNoFly ( object state ) : void
BGgetTFR ( object state ) : void
CMB_baudrate_TextChanged ( object sender, EventArgs e ) : void
CMB_serialport_Click ( object sender, EventArgs e ) : void
CMB_serialport_SelectedIndexChanged ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

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

KIndex_KIndex ( object sender, EventArgs e ) : void
LoadConfig ( ) : void
MainMenu_ItemClicked ( object sender, ToolStripItemClickedEventArgs e ) : void
MainMenu_MouseLeave ( object sender, EventArgs e ) : void
MainV2_KeyDown ( object sender, KeyEventArgs e ) : void
MainV2_Resize ( object sender, EventArgs e ) : void
MenuConnect_Click ( object sender, EventArgs e ) : void
MenuCustom_Click ( object sender, EventArgs e ) : void
MenuFlightData_Click ( object sender, EventArgs e ) : void
MenuFlightPlanner_Click ( object sender, EventArgs e ) : void
MenuHelp_Click ( object sender, EventArgs e ) : void
MenuSimulation_Click ( object sender, EventArgs e ) : void
MenuTerminal_Click ( object sender, EventArgs e ) : void
MenuTuning_Click ( object sender, EventArgs e ) : void
PluginThread ( ) : void
PopulateSerialportList ( ) : void
ResetConnectionStats ( ) : void
SaveConfig ( ) : void
SerialReader ( ) : void

main serial reader thread controls serial reading link quality stats speech voltage - custom - alt warning - data lost heartbeat packet sending and can't fall out

ShowConnectionStatsForm ( ) : void
SystemEvents_PowerModeChanged ( object sender, Microsoft e ) : void
UpdateConnectIcon ( ) : void

Used to fix the icon status for unexpected unplugs etc...

adsb_UpdatePlanePosition ( object sender, EventArgs e ) : void
autoHideToolStripMenuItem_Click ( object sender, EventArgs e ) : void
checkupdate ( object stuff ) : void
cmb_sysid_Click ( object sender, EventArgs e ) : void
comPort_MavChanged ( object sender, EventArgs e ) : void
connectionOptionsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
fullScreenToolStripMenuItem_Click ( object sender, EventArgs e ) : void
joysticksend ( ) : void

thread used to send joystick packets to the MAV

menu_MouseEnter ( object sender, EventArgs e ) : void
readonlyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
toolStripMenuItem1_Click ( object sender, EventArgs e ) : void

메소드 상세

ChangeUnits() 공개 메소드

public ChangeUnits ( ) : 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

MainV2() 공개 메소드

public MainV2 ( ) : System
리턴 System

MenuSetup_Click() 공개 메소드

public MenuSetup_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

OnClosing() 보호된 메소드

overriding the OnCLosing is a bit cleaner than handling the event, since it is this object. This happens before FormClosed
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
리턴 void

OnFormClosed() 보호된 메소드

this happens after FormClosing...
protected OnFormClosed ( System.Windows.Forms.FormClosedEventArgs e ) : void
e System.Windows.Forms.FormClosedEventArgs
리턴 void

OnLoad() 보호된 메소드

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
리턴 void

ProcessCmdKey() 보호된 메소드

keyboard shortcuts override
protected ProcessCmdKey ( Message &msg, Keys keyData ) : bool
msg Message
keyData Keys
리턴 bool

WndProc() 보호된 메소드

protected WndProc ( Message &m ) : void
m Message
리턴 void

changelanguage() 공개 메소드

public changelanguage ( CultureInfo ci ) : void
ci System.Globalization.CultureInfo
리턴 void

doConnect() 공개 메소드

public doConnect ( MAVLinkInterface comPort, string portname, string baud ) : void
comPort MAVLinkInterface
portname string
baud string
리턴 void

doDisconnect() 공개 메소드

public doDisconnect ( MAVLinkInterface comPort ) : void
comPort MAVLinkInterface
리턴 void

switchicons() 공개 메소드

public switchicons ( menuicons icons ) : void
icons menuicons
리턴 void

updateLayout() 공개 메소드

public updateLayout ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

Comports 공개적으로 정적으로 프로퍼티

passive comports
public static List Comports
리턴 List

FlightData 공개적으로 프로퍼티

declared here if i want a "single" instance of the form ie configuration gets reloaded on every click
public FlightData,MissionPlanner.GCSViews FlightData
리턴 MissionPlanner.GCSViews.FlightData

FlightPlanner 공개적으로 프로퍼티

public FlightPlanner,MissionPlanner.GCSViews FlightPlanner
리턴 MissionPlanner.GCSViews.FlightPlanner

GUID_DEVINTERFACE_USB_DEVICE 공개적으로 정적으로 프로퍼티

public static Guid,System GUID_DEVINTERFACE_USB_DEVICE
리턴 System.Guid

MONO 공개적으로 정적으로 프로퍼티

mono detection
public static bool MONO
리턴 bool

MainMenu 공개적으로 프로퍼티

public System.Windows.Forms.MenuStrip MainMenu
리턴 System.Windows.Forms.MenuStrip

MenuConfigTune 공개적으로 프로퍼티

public System.Windows.Forms.ToolStripButton MenuConfigTune
리턴 System.Windows.Forms.ToolStripButton

MenuConnect 공개적으로 프로퍼티

public System.Windows.Forms.ToolStripButton MenuConnect
리턴 System.Windows.Forms.ToolStripButton

MenuFlightData 공개적으로 프로퍼티

public System.Windows.Forms.ToolStripButton MenuFlightData
리턴 System.Windows.Forms.ToolStripButton

MenuFlightPlanner 공개적으로 프로퍼티

public System.Windows.Forms.ToolStripButton MenuFlightPlanner
리턴 System.Windows.Forms.ToolStripButton

MenuInitConfig 공개적으로 프로퍼티

public System.Windows.Forms.ToolStripButton MenuInitConfig
리턴 System.Windows.Forms.ToolStripButton

MenuSimulation 공개적으로 프로퍼티

public System.Windows.Forms.ToolStripButton MenuSimulation
리턴 System.Windows.Forms.ToolStripButton

MenuTerminal 공개적으로 프로퍼티

public System.Windows.Forms.ToolStripButton MenuTerminal
리턴 System.Windows.Forms.ToolStripButton

TerminalTheming 공개적으로 정적으로 프로퍼티

public static bool TerminalTheming
리턴 bool

View 공개적으로 정적으로 프로퍼티

public static MainSwitcher,MissionPlanner.Controls View
리턴 MissionPlanner.Controls.MainSwitcher

adsbPlanes 공개적으로 프로퍼티

public ConcurrentDictionary adsbPlanes
리턴 adsb.PointLatLngAltHdg>.ConcurrentDictionary

cam 공개적으로 정적으로 프로퍼티

hud background image grabber from a video stream - not realy that efficent. ie no hardware overlays etc.
public static WebCamService.Capture cam
리턴 WebCamService.Capture

comPortName 공개적으로 정적으로 프로퍼티

Comport name
public static string comPortName
리턴 string

displayicons 공개적으로 정적으로 프로퍼티

public static menuicons displayicons
리턴 menuicons

instance 공개적으로 정적으로 프로퍼티

used to call anything as needed.
public static MainV2,MissionPlanner instance
리턴 MainV2

joystick 공개적으로 정적으로 프로퍼티

joystick static class
public static Joystick,MissionPlanner.Joystick joystick
리턴 MissionPlanner.Joystick.Joystick

panel1 공개적으로 프로퍼티

public System.Windows.Forms.Panel panel1
리턴 System.Windows.Forms.Panel

speechEnable 공개적으로 정적으로 프로퍼티

speech engine enable
public static bool speechEnable
리턴 bool

speechEngine 공개적으로 정적으로 프로퍼티

spech engine static class
public static Speech,MissionPlanner.Utilities speechEngine
리턴 MissionPlanner.Utilities.Speech