Skip to content

Commit

Permalink
Merge pull request #351 from farmerbriantee/RefyCurve
Browse files Browse the repository at this point in the history
BugCheck
  • Loading branch information
farmerbriantee authored Jan 27, 2024
2 parents 2b018cd + a2f7fa8 commit 5981a22
Show file tree
Hide file tree
Showing 532 changed files with 25,939 additions and 19,057 deletions.
2 changes: 1 addition & 1 deletion SourceCode/AgIO/Source/AgIO.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<OutputType>WinExe</OutputType>
<RootNamespace>AgIO</RootNamespace>
<AssemblyName>AgIO</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
Expand Down
12 changes: 6 additions & 6 deletions SourceCode/AgIO/Source/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<section name="AgIO.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
<userSettings>
<AgIO.Properties.Settings>
Expand Down Expand Up @@ -47,10 +47,10 @@
<value>SCSC</value>
</setting>
<setting name="setNTRIP_userName" serializeAs="String">
<value />
<value/>
</setting>
<setting name="setNTRIP_userPassword" serializeAs="String">
<value />
<value/>
</setting>
<setting name="setNTRIP_isOn" serializeAs="String">
<value>False</value>
Expand Down Expand Up @@ -101,7 +101,7 @@
<value>0</value>
</setting>
<setting name="setComm_commName" serializeAs="String">
<value />
<value/>
</setting>
<setting name="setPort_portNameGPS2" serializeAs="String">
<value>GPS2</value>
Expand Down Expand Up @@ -194,7 +194,7 @@
<value>255</value>
</setting>
<setting name="Setting" serializeAs="String">
<value />
<value/>
</setting>
</AgIO.Properties.Settings>
</userSettings>
Expand Down
3 changes: 0 additions & 3 deletions SourceCode/AgIO/Source/Classes/CGLM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ public static byte[] Combine(byte[] first, byte[] second)

public const double PIBy2 = 1.57079632679489661923;




//Degrees Radians Conversions
public static double toDegrees(double radians)
{
Expand Down
2 changes: 1 addition & 1 deletion SourceCode/AgIO/Source/Classes/CRadioChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ public class CRadioChannel
public string Frequency { get; set; }
public string Location { get; set; }
}
}
}
3 changes: 1 addition & 2 deletions SourceCode/AgIO/Source/Classes/CSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Xml.Linq;
using System.Xml.XPath;


namespace AgIO
{
public static class SettingsIO
Expand Down Expand Up @@ -58,4 +57,4 @@ internal static void ExportSettings(string settingsFilePath)
config.SaveAs(settingsFilePath);
}
}
}
}
3 changes: 1 addition & 2 deletions SourceCode/AgIO/Source/Classes/ListViewColumnSorterExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace AgIO
{
public class ListViewColumnSorterExt : IComparer
{

/// <summary>
/// Case insensitive comparer object
/// </summary>
Expand Down Expand Up @@ -133,4 +132,4 @@ private void ReverseSortOrderAndSort(int column, ListView lv)
lv.Sort();
}
}
}
}
1 change: 0 additions & 1 deletion SourceCode/AgIO/Source/Forms/FormCommPicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ private void FormCommPicker_Load(object sender, EventArgs e)
FormTimedMessage form = new FormTimedMessage(2000, "Non Saved", "Save one First");
form.Show();
}

else
{
foreach (FileInfo file in Files)
Expand Down
5 changes: 2 additions & 3 deletions SourceCode/AgIO/Source/Forms/FormCommSetGPS.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ private void FormCommSet_Load(object sender, EventArgs e)
btnOpenRTCM.Enabled = false;
labelRtcmBaud.Text = mf.spGPS.BaudRate.ToString();
labelRtcmPort.Text = mf.spGPS.PortName;

}
else
{
Expand All @@ -67,7 +66,6 @@ private void FormCommSet_Load(object sender, EventArgs e)
btnOpenRTCM.Enabled = true;
labelRtcmBaud.Text = "-";
labelRtcmPort.Text = "-";

}

//load the port box with valid port names
Expand Down Expand Up @@ -177,6 +175,7 @@ private void cboxBaud_SelectedIndexChanged_1(object sender, EventArgs e)
mf.spGPS.BaudRate = Convert.ToInt32(cboxBaud.Text);
FormLoop.baudRateGPS = Convert.ToInt32(cboxBaud.Text);
}

private void cboxBaud2_SelectedIndexChanged(object sender, EventArgs e)
{
mf.spGPS2.BaudRate = Convert.ToInt32(cboxBaud2.Text);
Expand Down Expand Up @@ -549,4 +548,4 @@ private void cboxRtcmBaud_SelectedIndexChanged(object sender, EventArgs e)
FormLoop.baudRateRtcm = Convert.ToInt32(cboxRtcmBaud.Text);
}
} //class
} //namespace
} //namespace
13 changes: 2 additions & 11 deletions SourceCode/AgIO/Source/Forms/FormEthernet.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Windows.Forms;

namespace AgIO
Expand All @@ -28,7 +21,6 @@ public FormEthernet(Form callingForm)

private void FormUDp_Load(object sender, EventArgs e)
{

cboxIsUDPOn.Checked = Properties.Settings.Default.setUDP_isOn;
cboxPlugin.Checked = Properties.Settings.Default.setUDP_isUsePluginApp;
cboxIsSendNMEAToUDP.Checked = Properties.Settings.Default.setUDP_isSendNMEAToUDP;
Expand All @@ -40,7 +32,7 @@ private void FormUDp_Load(object sender, EventArgs e)
nudFirstIP.Value = Properties.Settings.Default.eth_loopOne;
nudSecndIP.Value = Properties.Settings.Default.eth_loopTwo;
nudThirdIP.Value = Properties.Settings.Default.eth_loopThree;
nudFourthIP.Value= Properties.Settings.Default.eth_loopFour;
nudFourthIP.Value = Properties.Settings.Default.eth_loopFour;

if (!cboxIsUDPOn.Checked) cboxIsUDPOn.BackColor = System.Drawing.Color.Salmon;
}
Expand Down Expand Up @@ -72,7 +64,6 @@ private void btnSerialCancel_Click(object sender, EventArgs e)
Application.Restart();
Environment.Exit(0);
Close();

}

////get the ipv4 address only
Expand Down Expand Up @@ -107,4 +98,4 @@ private void btnSerialCancel_Click(object sender, EventArgs e)
// }
//}
}
}
}
7 changes: 2 additions & 5 deletions SourceCode/AgIO/Source/Forms/FormKeyboard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ namespace AgIO
public partial class FormKeyboard : Form
{
public string ReturnString { get; set; }

public FormKeyboard(string currentString)
{

InitializeComponent();

this.Text = "Enter Something";
Expand Down Expand Up @@ -44,7 +44,6 @@ private void FormKeyboard_Load(object sender, EventArgs e)
regKey.Close();
}


string language = Properties.Settings.Default.setF_culture;
if (language == "fr")
{
Expand All @@ -58,7 +57,6 @@ private void FormKeyboard_Load(object sender, EventArgs e)

private void RegisterKeyboard1_ButtonPressed(object sender, KeyPressEventArgs e)
{

//if (isFirstKey)
//{
// keyboardString.Text = "";
Expand Down Expand Up @@ -114,5 +112,4 @@ private void RegisterKeyboard1_ButtonPressed(object sender, KeyPressEventArgs e)
keyboardString.Focus();
}
}
}

}
Loading

0 comments on commit 5981a22

Please sign in to comment.