C# Class AsterixDisplayAnalyser.FormMain

Inheritance: System.Windows.Forms.Form
显示文件 Open project: akapetanovic/ASTERIX-ANALYSER-and-DATA-DISPLAY

Public Properties

Property Type Description
SystemCenterUpdated bool
gMapControl GMap.NET.WindowsForms.GMapControl

Public Methods

Method Description
FormMain ( ) : System
FromLatLngToLocal ( GMap.NET.PointLatLng LatLng ) : GMap.NET.GPoint
FromLocalToLatLng ( int X, int Y ) : GMap.NET.PointLatLng
HandleNorthMarkMessage ( ) : void
HandleStartStopDisplayButton ( ) : void
Is_Sending_Data_To_Google_Earth ( ) : bool
Set_Sending_Data_To_Google_Earth ( bool Is_Sending ) : void
ShowExtendedLabel ( ) : void
UpdateConnectionBoxInfo ( ) : void
UpdateDIsplay ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ApplyCModeHisterysis ( string Mode_C_In ) : string
BuildDynamicLabelText ( DynamicDisplayBuilder Target_Data, GMapTargetandLabel &Label_Data ) : void

/////////////////////////////////////////////////////////////////////////////

BuildPassiveLabelText ( DynamicDisplayBuilder Target_In ) : string
CAT02MessageTypeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
ClearAllRadarOneEvents ( ) : void
DataUpdateTimer_Tick ( object sender, EventArgs e ) : void
DrawStringandRectangleinComboBox ( object sender, DrawItemEventArgs e ) : void
FormMain_FormClosed ( object sender, System.Windows.Forms.FormClosedEventArgs e ) : void
FormMain_KeyDown ( object sender, KeyEventArgs e ) : void
FormMain_Load ( object sender, EventArgs e ) : void
FormMain_Resize ( object sender, EventArgs e ) : void
HandleExtendedLabel ( GMapTargetandLabel MarkerData ) : void
HandleNoDataForCAT034I050 ( bool Blank_Out ) : void
HandlePlotDisplayEnabledChanged ( ) : void
HandleSystemStatusCAT34I50 ( ) : void
InitializeComponent ( ) : void

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

InitializeMap ( ) : void
MouseIsOnTheAC_Symbol ( MouseEventArgs Mouse, GMap.NET.WindowsForms.GMapMarker Marker ) : bool
MouseIsOnTheCFL ( MouseEventArgs Mouse, GMap.NET.WindowsForms.GMapMarker Marker ) : bool
MouseIsOnTheHDG ( MouseEventArgs Mouse, GMap.NET.WindowsForms.GMapMarker Marker ) : bool
MouseIsOnTheLabel ( MouseEventArgs Mouse, GMap.NET.WindowsForms.GMapMarker Marker ) : bool
MouseIsOnTheSPD ( MouseEventArgs Mouse, GMap.NET.WindowsForms.GMapMarker Marker ) : bool
NorthMarkerTimer_Tick ( object sender, EventArgs e ) : void
Passes_Check_For_Flight_Level_Filter ( string Flight_Level ) : bool
PlotDisplayTimer_Tick ( object sender, EventArgs e ) : void
PopulateSSRCodeLookup ( ) : void
ResetDataBuffers ( ) : void
SetLabelAttributes ( GMap &Marker_In ) : void
SetLabelAttributes ( GMapTargetandLabel &Marker_In ) : void
SetNewConnection ( ) : void
StaticDisplayTimer_Tick ( object sender, EventArgs e ) : void
TerminateASTERIXListenForDataThread ( ) : void
UpdateSystemCenter ( ) : void
Update_PlotTrack_Data ( ) : void
UpdatelblCenter ( ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
aircraftAddressToolStripMenuItem_Click ( object sender, EventArgs e ) : void
aircraftDerivedDataSUBF2ACIDToolStripMenuItem_Click ( object sender, EventArgs e ) : void
aircraftIdentificationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
antennaRotationPeriodToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
antennaRotationPeriodToolStripMenuItem_Click ( object sender, EventArgs e ) : void
backgroundWorker1_DoWork ( object sender, DoWorkEventArgs e ) : void
backgroundWorker1_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
btnAckowledgeRadar1_Click ( object sender, EventArgs e ) : void
btnStartStopFileReplay_Click ( object sender, EventArgs e ) : void
button1_Click ( object sender, EventArgs e ) : void
button1_Click_2 ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
button3_Click ( object sender, EventArgs e ) : void
button4_Click ( object sender, EventArgs e ) : void
button5_Click ( object sender, EventArgs e ) : void
button6_Click ( object sender, EventArgs e ) : void
button7_Click ( object sender, EventArgs e ) : void
button8_Click ( object sender, EventArgs e ) : void
button8_Click_1 ( object sender, EventArgs e ) : void
cAT001DataItemPresenceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cAT002DataItemPresenceToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
cAT002DataItemPresenceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cAT008DataItemPresenceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cAT034DataItemPresenceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cAT062DataItemPresenceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cAT063ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cAT065DataItemPresenceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cAT244DataItemPresenceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cATDecoderSelectorToolStripMenuItem_Click ( object sender, EventArgs e ) : void
calculatedTrackPositionWGS84ToolStripMenuItem_Click ( object sender, EventArgs e ) : void
ccomboBoxMDS_Overoaded_DrawItem ( object sender, DrawItemEventArgs e ) : void
checkBox1_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxDisplayPSR_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxFillListBox_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxFilterBySSR_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxFullscreen_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxRecordInRaw_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxRecording_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxSyncToNM_CheckedChanged ( object sender, EventArgs e ) : void
checkBoxSyncToNM_CheckedChanged_1 ( object sender, EventArgs e ) : void
checkBoxSystMonEnabled_CheckedChanged ( object sender, EventArgs e ) : void
checkEnableDisplay_CheckedChanged ( object sender, EventArgs e ) : void
colorDialogToolStripMenuItem_Click ( object sender, EventArgs e ) : void
comboBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void
comboBoxCOM_MON_Sys_Disconect_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxCOM_RDPC_Reset_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxCOM_RDPC_Selected_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxCOM_RDP_Overload_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxCOM_Time_Source_Status_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxCOM_Top_Status_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxCOM_Transmit_Overload_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxLiveDisplayMode_SelectedIndexChanged ( object sender, EventArgs e ) : void
comboBoxMDS_Antena_Selected_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxMDS_Ch_For_Cord_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxMDS_Ch_For_DataLink_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxMDS_Channel_Status_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxMDS_Comm_Overload_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxMDS_DataLink_Overload_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxMDS_Mon_Sys_Disconect_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxPSR_Antenna_Selected_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxPSR_Channel_Status_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxPSR_Mon_Sys_Disconect_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxPSR_Overloaded_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxSSRFilterBox_MouseClick ( object sender, MouseEventArgs e ) : void
comboBoxSSRFilterBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
comboBoxSSR_Antenna_Selected_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxSSR_Channel_Status_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxSSR_Mon_Sys_Disconect_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxSSR_Overloaded_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxTop_Status_DrawItem ( object sender, DrawItemEventArgs e ) : void
comboBoxTop_Status_SelectedIndexChanged ( object sender, EventArgs e ) : void
connectionSettingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
contourIdentifier040ContourIdentifierToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dataItem000MessageTypeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dataSourceIdentifierToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
dataSourceIdentifierToolStripMenuItem_Click ( object sender, EventArgs e ) : void
debugToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exportToolStripMenuItem_Click ( object sender, EventArgs e ) : void
extendedLabelToolStripMenuItem_Click ( object sender, EventArgs e ) : void
flightLevelInBinaryRepresentationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
gMapControl_Load ( object sender, EventArgs e ) : void
gMapControl_MouseClick ( object sender, MouseEventArgs e ) : void
gMapControl_MouseDoubleClick ( object sender, MouseEventArgs e ) : void
gMapControl_MouseDown ( object sender, MouseEventArgs e ) : void
gMapControl_MouseMove ( object sender, MouseEventArgs e ) : void
gMapControl_MouseUp ( object sender, MouseEventArgs e ) : void
gMapControl_OnMapDrag ( ) : void
gMapControl_OnMapZoomChanged ( ) : void
gMapControl_OnMarkerEnter ( GMapMarker item ) : void
googleEarthToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
googleEarthToolStripMenuItem2_Click ( object sender, EventArgs e ) : void
groupBoxDisplaySSR_Enter ( object sender, EventArgs e ) : void
groupBoxDisplayStatus_Enter ( object sender, EventArgs e ) : void
groupBoxOneCOM_Enter ( object sender, EventArgs e ) : void
groupBoxOneModeS_Enter ( object sender, EventArgs e ) : void
groupBoxUpdateRate_Enter ( object sender, EventArgs e ) : void
label14_Click ( object sender, EventArgs e ) : void
labelTemp_Click ( object sender, EventArgs e ) : void
listBox1_SelectedIndexChanged ( object sender, EventArgs e ) : void
listBox1_SelectedIndexChanged_1 ( object sender, EventArgs e ) : void
listViewCOM_NOGO_SelectedIndexChanged ( object sender, EventArgs e ) : void
measuredFlightLevelToolStripMenuItem_Click ( object sender, EventArgs e ) : void
measuredPositionInPolarCoordinatesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
measuredPositionInSlantPolarCoordinatesToolStripMenuItem_Click ( object sender, EventArgs e ) : void
messageTypeToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
messageTypeToolStripMenuItem2_Click ( object sender, EventArgs e ) : void
miscellaneousToolStripMenuItem_Click ( object sender, EventArgs e ) : void
mode1CodeInOctalRepresentationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
mode3ACodeInOctalRepresentationToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
mode3ACodeInOctalRepresentationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
modeCCodeInBinaryRepresentationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
numericUpDownLower_ValueChanged ( object sender, EventArgs e ) : void
numericUpDownUpper_ValueChanged ( object sender, EventArgs e ) : void
openAsterixReplayToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
radarPlotCharacteristicsToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
recorderAndDataForwarderToolStripMenuItem_Click ( object sender, EventArgs e ) : void
recorderToolStripMenuItem_Click ( object sender, EventArgs e ) : void
replayToRawToolStripMenuItem_Click ( object sender, EventArgs e ) : void
replayToolStripMenuItem_Click ( object sender, EventArgs e ) : void
resetDataBufferToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sectorNumberToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
sectorNumberToolStripMenuItem_Click ( object sender, EventArgs e ) : void
serviceIdentificationToolStripMenuItem_Click ( object sender, EventArgs e ) : void
settingsToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
systemConfigurationAndStatusToolStripMenuItem_Click ( object sender, EventArgs e ) : void
tabMainTab_SelectedIndexChanged ( object sender, EventArgs e ) : void
tabMainTab_SizeChanged ( object sender, EventArgs e ) : void
tabPageSysStatus_Click ( object sender, EventArgs e ) : void
tabPlotDisplay_Click ( object sender, EventArgs e ) : void
tabPlotDisplay_SizeChanged ( object sender, EventArgs e ) : void
targetReportDescriptorToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
targetReportDescriptorToolStripMenuItem_Click ( object sender, EventArgs e ) : void
textBox1TrackCoast_KeyPress ( object sender, KeyPressEventArgs e ) : void
textBoxSSRCode_TextChanged ( object sender, EventArgs e ) : void
textBoxUpdateRate_KeyPress ( object sender, KeyPressEventArgs e ) : void
timeOfDayToolStripMenuItem_Click ( object sender, EventArgs e ) : void
timeofDayToolStripMenuItem2_Click ( object sender, EventArgs e ) : void
toolStripMenuItem1_Click ( object sender, EventArgs e ) : void
toolStripMenuItem2_Click ( object sender, EventArgs e ) : void
toolsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
trackMode3ACodeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
trackNumberToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
viewToolStripMenuItem_Click ( object sender, EventArgs e ) : 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

FormMain() public method

public FormMain ( ) : System
return System

FromLatLngToLocal() public static method

public static FromLatLngToLocal ( GMap.NET.PointLatLng LatLng ) : GMap.NET.GPoint
LatLng GMap.NET.PointLatLng
return GMap.NET.GPoint

FromLocalToLatLng() public static method

public static FromLocalToLatLng ( int X, int Y ) : GMap.NET.PointLatLng
X int
Y int
return GMap.NET.PointLatLng

HandleNorthMarkMessage() public method

public HandleNorthMarkMessage ( ) : void
return void

HandleStartStopDisplayButton() public method

public HandleStartStopDisplayButton ( ) : void
return void

Is_Sending_Data_To_Google_Earth() public static method

public static Is_Sending_Data_To_Google_Earth ( ) : bool
return bool

Set_Sending_Data_To_Google_Earth() public static method

public static Set_Sending_Data_To_Google_Earth ( bool Is_Sending ) : void
Is_Sending bool
return void

ShowExtendedLabel() public static method

public static ShowExtendedLabel ( ) : void
return void

UpdateConnectionBoxInfo() public method

public UpdateConnectionBoxInfo ( ) : void
return void

UpdateDIsplay() public method

public UpdateDIsplay ( ) : void
return void

Property Details

SystemCenterUpdated public_oe static_oe property

public static bool SystemCenterUpdated
return bool

gMapControl public_oe static_oe property

public static GMap.NET.WindowsForms.GMapControl gMapControl
return GMap.NET.WindowsForms.GMapControl