mirror of
https://github.com/peterantypas/maiana.git
synced 2025-05-15 23:10:11 -07:00
Merge branch 'master' of github.com:peterantypas/maiana
This commit is contained in:
commit
7bb94cf75c
@ -47,10 +47,10 @@
|
|||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">MainFrame</property>
|
<property name="name">MainFrame</property>
|
||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="size">605,300</property>
|
<property name="size">620,329</property>
|
||||||
<property name="style">wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX</property>
|
<property name="style">wxCAPTION|wxCLOSE_BOX|wxMINIMIZE_BOX</property>
|
||||||
<property name="subclass">; ; forward_declare</property>
|
<property name="subclass">; ; forward_declare</property>
|
||||||
<property name="title">MAIANA Transponder Manager ver 0.2</property>
|
<property name="title">MAIANA Transponder Manager ver 0.3</property>
|
||||||
<property name="tooltip"></property>
|
<property name="tooltip"></property>
|
||||||
<property name="two_step_creation">0</property>
|
<property name="two_step_creation">0</property>
|
||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
@ -119,11 +119,11 @@
|
|||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style"></property>
|
<property name="window_style"></property>
|
||||||
<object class="notebookpage" expanded="0">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">Status</property>
|
<property name="label">Status</property>
|
||||||
<property name="select">1</property>
|
<property name="select">1</property>
|
||||||
<object class="wxPanel" expanded="0">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
@ -290,8 +290,8 @@
|
|||||||
<property name="maximum_size"></property>
|
<property name="maximum_size"></property>
|
||||||
<property name="min_size"></property>
|
<property name="min_size"></property>
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size">150,-1</property>
|
<property name="minimum_size">180,-1</property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">0</property>
|
||||||
<property name="name">m_SerialPortChoice</property>
|
<property name="name">m_SerialPortChoice</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
<property name="pane_position"></property>
|
<property name="pane_position"></property>
|
||||||
@ -761,7 +761,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALIGN_RIGHT|wxALL</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="0">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
@ -822,7 +822,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="0">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
@ -883,7 +883,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALIGN_RIGHT|wxALL</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="0">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
@ -944,7 +944,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="0">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
@ -1006,11 +1006,11 @@
|
|||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="notebookpage" expanded="0">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">Station Data</property>
|
<property name="label">Station Data</property>
|
||||||
<property name="select">0</property>
|
<property name="select">0</property>
|
||||||
<object class="wxPanel" expanded="0">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
@ -1061,7 +1061,7 @@
|
|||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxTAB_TRAVERSAL</property>
|
<property name="window_style">wxTAB_TRAVERSAL</property>
|
||||||
<object class="wxGridSizer" expanded="0">
|
<object class="wxGridSizer" expanded="1">
|
||||||
<property name="cols">4</property>
|
<property name="cols">4</property>
|
||||||
<property name="hgap">0</property>
|
<property name="hgap">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
@ -1168,7 +1168,7 @@
|
|||||||
<property name="maxlength"></property>
|
<property name="maxlength"></property>
|
||||||
<property name="min_size"></property>
|
<property name="min_size"></property>
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size">180,-1</property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_MMSIText</property>
|
<property name="name">m_MMSIText</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
@ -1179,7 +1179,7 @@
|
|||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size">100,-1</property>
|
<property name="size">-1,-1</property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass">; ; forward_declare</property>
|
<property name="subclass">; ; forward_declare</property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
@ -1294,7 +1294,7 @@
|
|||||||
<property name="maxlength"></property>
|
<property name="maxlength"></property>
|
||||||
<property name="min_size"></property>
|
<property name="min_size"></property>
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size">120,-1</property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_CallsignText</property>
|
<property name="name">m_CallsignText</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
@ -1420,7 +1420,7 @@
|
|||||||
<property name="maxlength">20</property>
|
<property name="maxlength">20</property>
|
||||||
<property name="min_size"></property>
|
<property name="min_size"></property>
|
||||||
<property name="minimize_button">0</property>
|
<property name="minimize_button">0</property>
|
||||||
<property name="minimum_size">140,-1</property>
|
<property name="minimum_size">180,-1</property>
|
||||||
<property name="moveable">1</property>
|
<property name="moveable">1</property>
|
||||||
<property name="name">m_NameText</property>
|
<property name="name">m_NameText</property>
|
||||||
<property name="pane_border">1</property>
|
<property name="pane_border">1</property>
|
||||||
@ -2079,7 +2079,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="0">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
@ -2140,7 +2140,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALIGN_LEFT|wxALL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="0">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
@ -2201,7 +2201,7 @@
|
|||||||
</object>
|
</object>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="0">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxALL</property>
|
<property name="flag">wxALIGN_CENTER_VERTICAL|wxALIGN_RIGHT|wxALL</property>
|
||||||
<property name="proportion">0</property>
|
<property name="proportion">0</property>
|
||||||
<object class="wxStaticText" expanded="0">
|
<object class="wxStaticText" expanded="0">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
@ -2337,11 +2337,11 @@
|
|||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
</object>
|
</object>
|
||||||
<object class="notebookpage" expanded="0">
|
<object class="notebookpage" expanded="1">
|
||||||
<property name="bitmap"></property>
|
<property name="bitmap"></property>
|
||||||
<property name="label">FW Update</property>
|
<property name="label">FW Update</property>
|
||||||
<property name="select">0</property>
|
<property name="select">0</property>
|
||||||
<object class="wxPanel" expanded="0">
|
<object class="wxPanel" expanded="1">
|
||||||
<property name="BottomDockable">1</property>
|
<property name="BottomDockable">1</property>
|
||||||
<property name="LeftDockable">1</property>
|
<property name="LeftDockable">1</property>
|
||||||
<property name="RightDockable">1</property>
|
<property name="RightDockable">1</property>
|
||||||
@ -2392,16 +2392,16 @@
|
|||||||
<property name="window_extra_style"></property>
|
<property name="window_extra_style"></property>
|
||||||
<property name="window_name"></property>
|
<property name="window_name"></property>
|
||||||
<property name="window_style">wxTAB_TRAVERSAL</property>
|
<property name="window_style">wxTAB_TRAVERSAL</property>
|
||||||
<object class="wxBoxSizer" expanded="0">
|
<object class="wxBoxSizer" expanded="1">
|
||||||
<property name="minimum_size"></property>
|
<property name="minimum_size"></property>
|
||||||
<property name="name">bSizer41</property>
|
<property name="name">bSizer41</property>
|
||||||
<property name="orient">wxVERTICAL</property>
|
<property name="orient">wxVERTICAL</property>
|
||||||
<property name="permission">none</property>
|
<property name="permission">none</property>
|
||||||
<object class="sizeritem" expanded="0">
|
<object class="sizeritem" expanded="1">
|
||||||
<property name="border">5</property>
|
<property name="border">5</property>
|
||||||
<property name="flag">wxEXPAND</property>
|
<property name="flag">wxEXPAND</property>
|
||||||
<property name="proportion">1</property>
|
<property name="proportion">1</property>
|
||||||
<object class="wxGridSizer" expanded="0">
|
<object class="wxGridSizer" expanded="1">
|
||||||
<property name="cols">2</property>
|
<property name="cols">2</property>
|
||||||
<property name="hgap">0</property>
|
<property name="hgap">0</property>
|
||||||
<property name="minimum_size">-1,90</property>
|
<property name="minimum_size">-1,90</property>
|
||||||
@ -2459,7 +2459,7 @@
|
|||||||
<property name="pos"></property>
|
<property name="pos"></property>
|
||||||
<property name="resize">Resizable</property>
|
<property name="resize">Resizable</property>
|
||||||
<property name="show">1</property>
|
<property name="show">1</property>
|
||||||
<property name="size">80,-1</property>
|
<property name="size">-1,-1</property>
|
||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass">; ; forward_declare</property>
|
<property name="subclass">; ; forward_declare</property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
|
@ -17,7 +17,7 @@ import wx.xrc
|
|||||||
class MainFrame ( wx.Frame ):
|
class MainFrame ( wx.Frame ):
|
||||||
|
|
||||||
def __init__( self, parent ):
|
def __init__( self, parent ):
|
||||||
wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"MAIANA Transponder Manager ver 0.2", pos = wx.DefaultPosition, size = wx.Size( 605,300 ), style = wx.CAPTION|wx.CLOSE_BOX|wx.MINIMIZE_BOX|wx.TAB_TRAVERSAL )
|
wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"MAIANA Transponder Manager ver 0.3", pos = wx.DefaultPosition, size = wx.Size( 620,329 ), style = wx.CAPTION|wx.CLOSE_BOX|wx.MINIMIZE_BOX|wx.TAB_TRAVERSAL )
|
||||||
|
|
||||||
self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
|
self.SetSizeHints( wx.DefaultSize, wx.DefaultSize )
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ class MainFrame ( wx.Frame ):
|
|||||||
m_SerialPortChoiceChoices = []
|
m_SerialPortChoiceChoices = []
|
||||||
self.m_SerialPortChoice = wx.Choice( self.m_StatusPnl, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, m_SerialPortChoiceChoices, 0 )
|
self.m_SerialPortChoice = wx.Choice( self.m_StatusPnl, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, m_SerialPortChoiceChoices, 0 )
|
||||||
self.m_SerialPortChoice.SetSelection( 0 )
|
self.m_SerialPortChoice.SetSelection( 0 )
|
||||||
self.m_SerialPortChoice.SetMinSize( wx.Size( 150,-1 ) )
|
self.m_SerialPortChoice.SetMinSize( wx.Size( 180,-1 ) )
|
||||||
|
|
||||||
bSizer4.Add( self.m_SerialPortChoice, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
|
bSizer4.Add( self.m_SerialPortChoice, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
|
||||||
|
|
||||||
@ -88,22 +88,22 @@ class MainFrame ( wx.Frame ):
|
|||||||
self.m_staticText21 = wx.StaticText( self.m_StatusPnl, wx.ID_ANY, u"Breakout Board Generation", wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_staticText21 = wx.StaticText( self.m_StatusPnl, wx.ID_ANY, u"Breakout Board Generation", wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
self.m_staticText21.Wrap( -1 )
|
self.m_staticText21.Wrap( -1 )
|
||||||
|
|
||||||
gSizer1.Add( self.m_staticText21, 0, wx.ALIGN_RIGHT|wx.ALL, 5 )
|
gSizer1.Add( self.m_staticText21, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
||||||
|
|
||||||
self.m_breakoutLbl = wx.StaticText( self.m_StatusPnl, wx.ID_ANY, u"(unknown)", wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_breakoutLbl = wx.StaticText( self.m_StatusPnl, wx.ID_ANY, u"(unknown)", wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
self.m_breakoutLbl.Wrap( -1 )
|
self.m_breakoutLbl.Wrap( -1 )
|
||||||
|
|
||||||
gSizer1.Add( self.m_breakoutLbl, 0, wx.ALL, 5 )
|
gSizer1.Add( self.m_breakoutLbl, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 )
|
||||||
|
|
||||||
self.m_staticText23 = wx.StaticText( self.m_StatusPnl, wx.ID_ANY, u"Bootloader Present", wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_staticText23 = wx.StaticText( self.m_StatusPnl, wx.ID_ANY, u"Bootloader Present", wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
self.m_staticText23.Wrap( -1 )
|
self.m_staticText23.Wrap( -1 )
|
||||||
|
|
||||||
gSizer1.Add( self.m_staticText23, 0, wx.ALIGN_RIGHT|wx.ALL, 5 )
|
gSizer1.Add( self.m_staticText23, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
||||||
|
|
||||||
self.m_bootloaderLbl = wx.StaticText( self.m_StatusPnl, wx.ID_ANY, u"(unknown)", wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_bootloaderLbl = wx.StaticText( self.m_StatusPnl, wx.ID_ANY, u"(unknown)", wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
self.m_bootloaderLbl.Wrap( -1 )
|
self.m_bootloaderLbl.Wrap( -1 )
|
||||||
|
|
||||||
gSizer1.Add( self.m_bootloaderLbl, 0, wx.ALL, 5 )
|
gSizer1.Add( self.m_bootloaderLbl, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALL, 5 )
|
||||||
|
|
||||||
|
|
||||||
self.m_StatusPnl.SetSizer( gSizer1 )
|
self.m_StatusPnl.SetSizer( gSizer1 )
|
||||||
@ -120,7 +120,9 @@ class MainFrame ( wx.Frame ):
|
|||||||
|
|
||||||
gSizer2.Add( self.m_staticText101, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
gSizer2.Add( self.m_staticText101, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
||||||
|
|
||||||
self.m_MMSIText = wx.TextCtrl( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( 100,-1 ), 0 )
|
self.m_MMSIText = wx.TextCtrl( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( -1,-1 ), 0 )
|
||||||
|
self.m_MMSIText.SetMinSize( wx.Size( 180,-1 ) )
|
||||||
|
|
||||||
gSizer2.Add( self.m_MMSIText, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
|
gSizer2.Add( self.m_MMSIText, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
|
||||||
|
|
||||||
self.m_staticText11 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, u"Call Sign", wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_staticText11 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, u"Call Sign", wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
@ -129,6 +131,8 @@ class MainFrame ( wx.Frame ):
|
|||||||
gSizer2.Add( self.m_staticText11, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
gSizer2.Add( self.m_staticText11, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
||||||
|
|
||||||
self.m_CallsignText = wx.TextCtrl( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_CallsignText = wx.TextCtrl( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
|
self.m_CallsignText.SetMinSize( wx.Size( 120,-1 ) )
|
||||||
|
|
||||||
gSizer2.Add( self.m_CallsignText, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
|
gSizer2.Add( self.m_CallsignText, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
|
||||||
|
|
||||||
self.m_staticText12 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, u"Name", wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_staticText12 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, u"Name", wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
@ -138,7 +142,7 @@ class MainFrame ( wx.Frame ):
|
|||||||
|
|
||||||
self.m_NameText = wx.TextCtrl( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_NameText = wx.TextCtrl( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
self.m_NameText.SetMaxLength( 20 )
|
self.m_NameText.SetMaxLength( 20 )
|
||||||
self.m_NameText.SetMinSize( wx.Size( 140,-1 ) )
|
self.m_NameText.SetMinSize( wx.Size( 180,-1 ) )
|
||||||
|
|
||||||
gSizer2.Add( self.m_NameText, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
|
gSizer2.Add( self.m_NameText, 0, wx.ALL|wx.ALIGN_CENTER_VERTICAL, 5 )
|
||||||
|
|
||||||
@ -187,17 +191,17 @@ class MainFrame ( wx.Frame ):
|
|||||||
self.m_staticText18 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_staticText18 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
self.m_staticText18.Wrap( -1 )
|
self.m_staticText18.Wrap( -1 )
|
||||||
|
|
||||||
gSizer2.Add( self.m_staticText18, 0, wx.ALL, 5 )
|
gSizer2.Add( self.m_staticText18, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
||||||
|
|
||||||
self.m_staticText19 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_staticText19 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
self.m_staticText19.Wrap( -1 )
|
self.m_staticText19.Wrap( -1 )
|
||||||
|
|
||||||
gSizer2.Add( self.m_staticText19, 0, wx.ALL, 5 )
|
gSizer2.Add( self.m_staticText19, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_LEFT|wx.ALL, 5 )
|
||||||
|
|
||||||
self.m_staticText20 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_staticText20 = wx.StaticText( self.m_StationPnl, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
self.m_staticText20.Wrap( -1 )
|
self.m_staticText20.Wrap( -1 )
|
||||||
|
|
||||||
gSizer2.Add( self.m_staticText20, 0, wx.ALL, 5 )
|
gSizer2.Add( self.m_staticText20, 0, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
||||||
|
|
||||||
self.m_StationSaveBtn = wx.Button( self.m_StationPnl, wx.ID_ANY, u"Save", wx.DefaultPosition, wx.DefaultSize, 0 )
|
self.m_StationSaveBtn = wx.Button( self.m_StationPnl, wx.ID_ANY, u"Save", wx.DefaultPosition, wx.DefaultSize, 0 )
|
||||||
self.m_StationSaveBtn.Enable( False )
|
self.m_StationSaveBtn.Enable( False )
|
||||||
@ -217,7 +221,7 @@ class MainFrame ( wx.Frame ):
|
|||||||
gSizer4 = wx.GridSizer( 1, 2, 0, 0 )
|
gSizer4 = wx.GridSizer( 1, 2, 0, 0 )
|
||||||
|
|
||||||
gSizer4.SetMinSize( wx.Size( -1,90 ) )
|
gSizer4.SetMinSize( wx.Size( -1,90 ) )
|
||||||
self.m_staticText28 = wx.StaticText( self.m_FWUpdatePnl, wx.ID_ANY, u"Binary File:", wx.DefaultPosition, wx.Size( 80,-1 ), 0 )
|
self.m_staticText28 = wx.StaticText( self.m_FWUpdatePnl, wx.ID_ANY, u"Binary File:", wx.DefaultPosition, wx.Size( -1,-1 ), 0 )
|
||||||
self.m_staticText28.Wrap( -1 )
|
self.m_staticText28.Wrap( -1 )
|
||||||
|
|
||||||
gSizer4.Add( self.m_staticText28, 1, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
gSizer4.Add( self.m_staticText28, 1, wx.ALIGN_CENTER_VERTICAL|wx.ALIGN_RIGHT|wx.ALL, 5 )
|
||||||
|
@ -33,7 +33,8 @@ class MainWindow(MainFrame):
|
|||||||
elif status == MaianaStatus.DFU:
|
elif status == MaianaStatus.DFU:
|
||||||
wx.MessageBox(b'MAIANA is currently in firmware update mode. This is the only task you can perform.',
|
wx.MessageBox(b'MAIANA is currently in firmware update mode. This is the only task you can perform.',
|
||||||
'DFU warning', wx.OK)
|
'DFU warning', wx.OK)
|
||||||
self.enableUI()
|
#self.enableUI()
|
||||||
|
self.m_FWUpdatePnl.Enable()
|
||||||
self.m_SerialBtn.SetLabel(b'Disconnect')
|
self.m_SerialBtn.SetLabel(b'Disconnect')
|
||||||
self.m_StationSaveBtn.Disable()
|
self.m_StationSaveBtn.Disable()
|
||||||
else:
|
else:
|
||||||
@ -165,8 +166,9 @@ class MainWindow(MainFrame):
|
|||||||
self.m_BowOffsetText.SetValue('{}'.format(self.stationdata['bowoffset']))
|
self.m_BowOffsetText.SetValue('{}'.format(self.stationdata['bowoffset']))
|
||||||
|
|
||||||
t = self.stationdata['type']
|
t = self.stationdata['type']
|
||||||
i = MaianaClient.VESSEL_TYPES.index(t)
|
if t in MaianaClient.VESSEL_TYPES:
|
||||||
self.m_VesselTypeChoice.SetSelection(i)
|
i = MaianaClient.VESSEL_TYPES.index(t)
|
||||||
|
self.m_VesselTypeChoice.SetSelection(i)
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def validateStationInputs(self):
|
def validateStationInputs(self):
|
||||||
|
1
latest/Firmware/NMEA2000Adapter/.gitignore
vendored
1
latest/Firmware/NMEA2000Adapter/.gitignore
vendored
@ -18,3 +18,4 @@ Debug
|
|||||||
/Board1.3-L431/
|
/Board1.3-L431/
|
||||||
/Board1.3-L422/
|
/Board1.3-L422/
|
||||||
/Board2.0-L422/
|
/Board2.0-L422/
|
||||||
|
/Board6.0-L432/
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
#include "TXPowerSettings.h"
|
#include "TXPowerSettings.h"
|
||||||
|
|
||||||
|
|
||||||
#define FW_REV "4.0.2"
|
#define FW_REV "4.1.0"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
// Descriptions:
|
// Descriptions:
|
||||||
// GLOBAL_XO_TUNE - Configure the internal capacitor frequency tuning bank for the crystal oscillator.
|
// GLOBAL_XO_TUNE - Configure the internal capacitor frequency tuning bank for the crystal oscillator.
|
||||||
*/
|
*/
|
||||||
#define RF_GLOBAL_XO_TUNE_1 0x11, 0x00, 0x01, 0x00, 0x2D
|
#define RF_GLOBAL_XO_TUNE_1 0x11, 0x00, 0x01, 0x00, 0x41
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Set properties: RF_GLOBAL_CONFIG_1
|
// Set properties: RF_GLOBAL_CONFIG_1
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
// GLOBAL_XO_TUNE - Configure the internal capacitor frequency tuning bank for the crystal oscillator.
|
// GLOBAL_XO_TUNE - Configure the internal capacitor frequency tuning bank for the crystal oscillator.
|
||||||
// GLOBAL_CLK_CFG - Clock configuration options.
|
// GLOBAL_CLK_CFG - Clock configuration options.
|
||||||
*/
|
*/
|
||||||
#define RF_GLOBAL_XO_TUNE_2 0x11, 0x00, 0x02, 0x00, 0x2D, 0x00
|
#define RF_GLOBAL_XO_TUNE_2 0x11, 0x00, 0x02, 0x00, 0x41, 0x00
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Set properties: RF_GLOBAL_CONFIG_1
|
// Set properties: RF_GLOBAL_CONFIG_1
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
// GLOBAL_XO_TUNE - Configure the internal capacitor frequency tuning bank for the crystal oscillator.
|
// GLOBAL_XO_TUNE - Configure the internal capacitor frequency tuning bank for the crystal oscillator.
|
||||||
// GLOBAL_CLK_CFG - Clock configuration options.
|
// GLOBAL_CLK_CFG - Clock configuration options.
|
||||||
*/
|
*/
|
||||||
#define RF_GLOBAL_XO_TUNE_2 0x11, 0x00, 0x02, 0x00, 0x2D, 0x00
|
#define RF_GLOBAL_XO_TUNE_2 0x11, 0x00, 0x02, 0x00, 0x41, 0x00
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Set properties: RF_GLOBAL_CONFIG_1
|
// Set properties: RF_GLOBAL_CONFIG_1
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
// GLOBAL_XO_TUNE - Configure the internal capacitor frequency tuning bank for the crystal oscillator.
|
// GLOBAL_XO_TUNE - Configure the internal capacitor frequency tuning bank for the crystal oscillator.
|
||||||
// GLOBAL_CLK_CFG - Clock configuration options.
|
// GLOBAL_CLK_CFG - Clock configuration options.
|
||||||
*/
|
*/
|
||||||
#define RF_GLOBAL_XO_TUNE_2 0x11, 0x00, 0x02, 0x00, 0x2D, 0x00
|
#define RF_GLOBAL_XO_TUNE_2 0x11, 0x00, 0x02, 0x00, 0x41, 0x00
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Set properties: RF_GLOBAL_CONFIG_1
|
// Set properties: RF_GLOBAL_CONFIG_1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user