Skip to content

Commit

Permalink
le 08/01/25
Browse files Browse the repository at this point in the history
  • Loading branch information
Tervuren committed Jan 8, 2025
2 parents ce48672 + 35d0bf7 commit 84ba616
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 47 deletions.
1 change: 1 addition & 0 deletions SourceCode/GPS/AgOpenGPS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -900,6 +900,7 @@
<EmbeddedResource Include="Culture\gStr.zh-CHS.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>gStr.zh-CHS.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
Expand Down
34 changes: 17 additions & 17 deletions SourceCode/GPS/Forms/FormGPS.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion SourceCode/GPS/Forms/FormGPS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,14 @@ private void FormGPS_FormClosing(object sender, FormClosingEventArgs e)

SaveFormGPSWindowSettings();

Log.EventWriter("Missed Sentence Counter Total: " + missedSentenceCount.ToString());
double minutesSinceStart = ((DateTime.Now - Process.GetCurrentProcess().StartTime).TotalSeconds)/60;
if (minutesSinceStart < 1)
{
minutesSinceStart = 1;
}

Log.EventWriter("Missed Sentence Counter Total: " + missedSentenceCount.ToString()
+ " Missed Per Minute: " + ((double)missedSentenceCount/minutesSinceStart).ToString("N4"));

Log.EventWriter("Program Exit: " + DateTime.Now.ToString("f", CultureInfo.CreateSpecificCulture(RegistrySettings.culture)) + "\r");

Expand Down
2 changes: 1 addition & 1 deletion SourceCode/GPS/Forms/Form_First.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private void Form_About_Load(object sender, EventArgs e)
Left = 0;
}

label1.Text = RegistrySettings.vehiclesDirectory + RegistrySettings.vehicleFileName + ".xml";
label1.Text = RegistrySettings.vehiclesDirectory + " -> " + RegistrySettings.vehicleFileName + ".xml";

if (RegistrySettings.workingDirectory == "Default")
{
Expand Down
2 changes: 0 additions & 2 deletions SourceCode/GPS/Forms/GUI.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 14 additions & 13 deletions SourceCode/GPS/Forms/Settings/FormConfig.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions SourceCode/GPS/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions SourceCode/GPS/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@
<data name="Play" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\btnImages\Play.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="ConD_LogNMEA" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\btnImages\Config\ConD_LogNMEA.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="BoundaryCenter" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\btnImages\BoundaryCenter.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
Expand Down
Binary file removed SourceCode/GPS/btnImages/Config/ConD_LogNMEA.png
Binary file not shown.

0 comments on commit 84ba616

Please sign in to comment.