diff --git a/SourceCode/AgIO/Source/AgIO.csproj b/SourceCode/AgIO/Source/AgIO.csproj index 6d67b5a14..df3e6eaa3 100644 --- a/SourceCode/AgIO/Source/AgIO.csproj +++ b/SourceCode/AgIO/Source/AgIO.csproj @@ -42,7 +42,7 @@ AnyCPU none true - ..\..\..\AgOpenGPS_v5\ + ..\..\..\AgOpenGPS_v63\ TRACE prompt 4 diff --git a/SourceCode/GPS/AgOpenGPS.csproj b/SourceCode/GPS/AgOpenGPS.csproj index feb031ab3..230e8710f 100644 --- a/SourceCode/GPS/AgOpenGPS.csproj +++ b/SourceCode/GPS/AgOpenGPS.csproj @@ -49,7 +49,7 @@ AnyCPU none true - ..\..\AgOpenGPS_v5\ + ..\..\AgOpenGPS_v63\ TRACE prompt 4 @@ -849,6 +849,7 @@ ResXFileCodeGenerator gStr.no.Designer.cs + ResXFileCodeGenerator gStr.tr.Designer.cs diff --git a/SourceCode/GPS/Classes/CSim.cs b/SourceCode/GPS/Classes/CSim.cs index a3b878d89..5acd8f604 100644 --- a/SourceCode/GPS/Classes/CSim.cs +++ b/SourceCode/GPS/Classes/CSim.cs @@ -94,7 +94,6 @@ public void DoSimTick(double _st) temp -= ((int)(temp)); temp *= 100; mf.pn.altitude += temp; - mf.pn.satellitesTracked = 12; diff --git a/SourceCode/GPS/Forms/Controls.Designer.cs b/SourceCode/GPS/Forms/Controls.Designer.cs index 04a304a2b..9ef44894d 100644 --- a/SourceCode/GPS/Forms/Controls.Designer.cs +++ b/SourceCode/GPS/Forms/Controls.Designer.cs @@ -1418,6 +1418,10 @@ private void menuLanguagesPolski_Click(object sender, EventArgs e) { SetLanguage("pl", true); } + private void menuLanguagesPortugese_Click(object sender, EventArgs e) + { + SetLanguage("pt", true); + } private void menuLanguageTest_Click(object sender, EventArgs e) { SetLanguage("af", true); @@ -1438,7 +1442,6 @@ private void lithuanianToolStripMenuItem_Click(object sender, EventArgs e) { SetLanguage("lt", true); } - private void menuLanguageChinese_Click(object sender, EventArgs e) { SetLanguage("zh-CHS", true); @@ -1472,6 +1475,7 @@ private void SetLanguage(string lang, bool Restart) menuLanguageFinnish.Checked = false; menuLanguageLatvian.Checked = false; menuLanguageChinese.Checked = false; + menuLanguagePortugese.Checked = false; menuLanguageTest.Checked = false; @@ -1521,6 +1525,10 @@ private void SetLanguage(string lang, bool Restart) menuLanguagePolish.Checked = true; break; + case "pt": + menuLanguagePortugese.Checked = true; + break; + case "af": menuLanguageTest.Checked = true; break; diff --git a/SourceCode/GPS/Forms/FormGPS.Designer.cs b/SourceCode/GPS/Forms/FormGPS.Designer.cs index 14d2e9dfd..4efba2f2b 100644 --- a/SourceCode/GPS/Forms/FormGPS.Designer.cs +++ b/SourceCode/GPS/Forms/FormGPS.Designer.cs @@ -48,6 +48,7 @@ private void InitializeComponent() this.menuLanguageHungarian = new System.Windows.Forms.ToolStripMenuItem(); this.menuLanguageDutch = new System.Windows.Forms.ToolStripMenuItem(); this.menuLanguagePolish = new System.Windows.Forms.ToolStripMenuItem(); + this.menuLanguagePortugese = new System.Windows.Forms.ToolStripMenuItem(); this.menuLanguageRussian = new System.Windows.Forms.ToolStripMenuItem(); this.menuLanguageFinnish = new System.Windows.Forms.ToolStripMenuItem(); this.menuLanguageSlovak = new System.Windows.Forms.ToolStripMenuItem(); @@ -308,6 +309,7 @@ private void InitializeComponent() this.menuLanguageHungarian, this.menuLanguageDutch, this.menuLanguagePolish, + this.menuLanguagePortugese, this.menuLanguageRussian, this.menuLanguageFinnish, this.menuLanguageSlovak, @@ -401,6 +403,13 @@ private void InitializeComponent() this.menuLanguagePolish.Text = "Polski (Poland)"; this.menuLanguagePolish.Click += new System.EventHandler(this.menuLanguagesPolski_Click); // + // menuLanguagePortugese + // + this.menuLanguagePortugese.Name = "menuLanguagePortugese"; + this.menuLanguagePortugese.Size = new System.Drawing.Size(464, 50); + this.menuLanguagePortugese.Text = "Português (Portugese)"; + this.menuLanguagePortugese.Click += new System.EventHandler(this.menuLanguagesPortugese_Click); + // // menuLanguageRussian // this.menuLanguageRussian.CheckOnClick = true; @@ -1288,7 +1297,7 @@ private void InitializeComponent() this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 58F)); this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); - this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 67F)); + this.panelSim.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 71F)); this.panelSim.Controls.Add(this.btnSpeedDn, 5, 0); this.panelSim.Controls.Add(this.btnSimSpeedUp, 7, 0); this.panelSim.Controls.Add(this.btnResetSim, 0, 0); @@ -1313,7 +1322,7 @@ private void InitializeComponent() this.btnSpeedDn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSpeedDn.Location = new System.Drawing.Point(404, 4); this.btnSpeedDn.Name = "btnSpeedDn"; - this.btnSpeedDn.Size = new System.Drawing.Size(108, 34); + this.btnSpeedDn.Size = new System.Drawing.Size(106, 34); this.btnSpeedDn.TabIndex = 533; this.btnSpeedDn.UseVisualStyleBackColor = false; this.btnSpeedDn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnSpeedDn_MouseDown); @@ -1326,9 +1335,9 @@ private void InitializeComponent() this.btnSimSpeedUp.Dock = System.Windows.Forms.DockStyle.Fill; this.btnSimSpeedUp.FlatAppearance.BorderSize = 0; this.btnSimSpeedUp.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.btnSimSpeedUp.Location = new System.Drawing.Point(578, 4); + this.btnSimSpeedUp.Location = new System.Drawing.Point(576, 4); this.btnSimSpeedUp.Name = "btnSimSpeedUp"; - this.btnSimSpeedUp.Size = new System.Drawing.Size(108, 34); + this.btnSimSpeedUp.Size = new System.Drawing.Size(106, 34); this.btnSimSpeedUp.TabIndex = 532; this.btnSimSpeedUp.UseVisualStyleBackColor = false; this.btnSimSpeedUp.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnSimSpeedUp_MouseDown); @@ -1342,7 +1351,7 @@ private void InitializeComponent() this.btnSimSetSpeedToZero.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSimSetSpeedToZero.Font = new System.Drawing.Font("Tahoma", 9.75F); this.btnSimSetSpeedToZero.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSimSetSpeedToZero.Location = new System.Drawing.Point(519, 4); + this.btnSimSetSpeedToZero.Location = new System.Drawing.Point(517, 4); this.btnSimSetSpeedToZero.Name = "btnSimSetSpeedToZero"; this.btnSimSetSpeedToZero.Size = new System.Drawing.Size(52, 34); this.btnSimSetSpeedToZero.TabIndex = 453; @@ -1359,7 +1368,7 @@ private void InitializeComponent() this.btnSimReverseDirection.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnSimReverseDirection.Font = new System.Drawing.Font("Tahoma", 9.75F); this.btnSimReverseDirection.ImeMode = System.Windows.Forms.ImeMode.NoControl; - this.btnSimReverseDirection.Location = new System.Drawing.Point(706, 4); + this.btnSimReverseDirection.Location = new System.Drawing.Point(704, 4); this.btnSimReverseDirection.Name = "btnSimReverseDirection"; this.btnSimReverseDirection.Size = new System.Drawing.Size(35, 34); this.btnSimReverseDirection.TabIndex = 537; @@ -3165,6 +3174,7 @@ private void InitializeComponent() public System.Windows.Forms.Button btnGrid; public System.Windows.Forms.Button btnN2D; private System.Windows.Forms.ToolStripMenuItem kioskModeToolStrip; + private System.Windows.Forms.ToolStripMenuItem menuLanguagePortugese; } } diff --git a/SourceCode/GPS/Forms/OpenGL.Designer.cs b/SourceCode/GPS/Forms/OpenGL.Designer.cs index f3156dec3..9bfec39c1 100644 --- a/SourceCode/GPS/Forms/OpenGL.Designer.cs +++ b/SourceCode/GPS/Forms/OpenGL.Designer.cs @@ -164,6 +164,18 @@ private void oglMain_Paint(object sender, PaintEventArgs e) } else { for (int i = 1; i < count2; i++) GL.Vertex3(triList[i].easting, triList[i].northing, 0); } GL.End(); + + if (triList.Count > 15) + { + GL.Color4((byte)(255 - triList[0].easting), (byte)(255 - triList[0].northing), (byte)(255 - triList[0].heading), (byte)150); + //GL.LineWidth(3.0f); + GL.Begin(PrimitiveType.LineStrip); + GL.Vertex3((triList[1].easting + triList[2].easting) / 2, (triList[1].northing + triList[2].northing) / 2, 0); + GL.Vertex3((triList[4].easting + triList[5].easting) / 2, (triList[4].northing + triList[5].northing) / 2, 0); + GL.Vertex3(triList[2].easting, triList[2].northing, 0); + GL.End(); + } + } } } diff --git a/SourceCode/GPS/Properties/AssemblyInfo.cs b/SourceCode/GPS/Properties/AssemblyInfo.cs index 6c8f2bb0c..d0d234424 100644 --- a/SourceCode/GPS/Properties/AssemblyInfo.cs +++ b/SourceCode/GPS/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("6.3.2")] -[assembly: AssemblyFileVersion("6.3.2")] \ No newline at end of file +[assembly: AssemblyVersion("6.3.3")] +[assembly: AssemblyFileVersion("6.3.3")] \ No newline at end of file diff --git a/SourceCode/GPS/gStr.pt.resx b/SourceCode/GPS/gStr.pt.resx new file mode 100644 index 000000000..d34ecf682 --- /dev/null +++ b/SourceCode/GPS/gStr.pt.resx @@ -0,0 +1,558 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Curva AB + + + Linha AB + + + Sobre... + + + A ação foi cancelada + + + Real + + + Agressividade + + + Tem certeza ? + + + Área + + + Configuração de direção automática + + + Porta AutoSteer + + + Com base no campo: + + + Limite + + + Arquivo de linhas de limite corrompido + + + Contorno de limite + + + Mas o campo está carregado + + + Centímetro + + + Gráficos + + + Escolha um campo diferente + + + Escolha um nome diferente + + + Escolha ou construa um diferente + + + Fechar + + + Feche todas as janelas primeiro + + + Fechar campo primeiro + + + Cores + + + Excluir completamente o limite + + + Arquivo de contorno corrompido + + + Contorno ativado + + + Nenhum caminho válido + + + Crie um limite primeiro + + + Criar novo campo + + + Atual + + + Arquivo de linha curva corrompido + + + Curva não ativada + + + Exclua todas as seções e contornos + + + Excluir área aplicada + + + Esta ação excluirá todos os limites. Você deseja continuar? + + + Excluir caminhos de contorno + + + Excluir com certeza? + + + Diretórios + + + O diretório existe + + + Distância + + + Dirija + + + Dirigir atravéz + + + Dirigindo + + + Leste + + + Editar curva AB + + + Editar linha AB + + + Editar nome do campo + + + Conta + + + Insira as coordenadas para o simulador + + + Insira o nome do campo + + + Insira as coordenadas do Sim + + + Erro + + + Erro ao ler KML + + + Campo + + + O arquivo de campo está corrompido + + + O campo está aberto + + + Campo não aberto + + + Erro de arquivo + + + Bandeira por Lat Lon + + + Sinalizar arquivo corrompido + + + Por agora + + + Do Existente + + + Do KML + + + Orientação interrompida + + + Gráfico de títulos + + + Promontório + + + Criar e editar cabeceira + + + Ajuda + + + Se a direção errada, toque no veículo + + + Polegada + + + Interno + + + km/h + + + Linguagem + + + km/h + + + Porta da máquina + + + Faça contornos de limite + + + Manual + + + Metros + + + Arquivo ABLInes ausente + + + Arquivo de limite ausente + + + Arquivo de contorno ausente + + + Arquivo de sinalização ausente + + + Arquivo de seção ausente + + + Nordeste + + + Noroeste + + + Novo + + + Sem ABLine ativo + + + Sem limite + + + Nenhum campo encontrado + + + Sem linhas de orientação + + + Sem configurações com IMU + + + Nenhum + + + Nenhum usado + + + Norte + + + Nada excluído + + + Desvio + + + Correção de deslocamento + + + Abrir + + + Exterior + + + Redução de excesso + + + Passar # + + + Passes + + + Fim da Curva Passado + + + Pausa + + + Por favor insira ABLine + + + Pressão (barra) + + + Caminho para criar problemas + + + O programa será encerrado, reinicie + + + Realmente redefinir tudo + + + Registro + + + Arquivo de caminho gravado corrompido + + + Caminho gravado + + + Reiniciar tudo + + + Redefinir tudo com certeza? + + + Retomar + + + SE + + + SO + + + Salvar e retornar + + + Salvar como + + + Enviado para o módulo da máquina + + + Ponto de ajuste + + + Mudar posição GPS (cm) + + + Simulador ativado + + + Desacelere abaixo + + + Curva AB suave + + + Organizar + + + Sul + + + Espaçamento (cm) + + + Iniciar ou excluir um limite + + + Iniciar novo campo + + + Gráficos de direção + + + Assistente de direção + + + Parar Limite de Pausa de Gravação + + + Arquivar + + + Muito rápido + + + Visualização do campo superior + + + Linhas de bonde + + + Ativar curva AB + + + Ativar contorno da linha Make AB + + + Usar selecionado + + + Webcam + + + Oeste + + + Janelas ainda abertas + + + Feiticeiros + + + Gráfico XTE + + \ No newline at end of file