Skip to content

Commit d7978ee

Browse files
committed
v5.7.2
1 parent 5b261e1 commit d7978ee

File tree

230 files changed

+22209
-13505
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

230 files changed

+22209
-13505
lines changed

AOG 5.7.1_setup.iss renamed to AOG 5.7.2_setup.iss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[Setup]
1010
AppName=AgOpenGPS
11-
AppVersion=5.7.1
11+
AppVersion=5.7.2
1212
AppPublisher=Urepom - Maxime EMPROU
1313
;SignTool=Urepom - Maxime EMPROU
1414
AppPublisherURL=ttt
@@ -19,7 +19,7 @@ UninstallDisplayIcon={app}\MyProg.exe
1919
Compression=lzma2
2020
SolidCompression=yes
2121
OutputDir=C:\Users\maxim\Documents\GitHub\AgOpenGPS_Urepom_Design
22-
OutputBaseFilename=AgOpenGPS 5.7.1 Urepom_Setup
22+
OutputBaseFilename=AgOpenGPS 5.7.2 Urepom_Setup
2323
DisableDirPage=no
2424
DisableProgramGroupPage=no
2525
; "ArchitecturesAllowed=x64" specifies that Setup cannot run on

AgOpenGPS_v5/AgIO.exe

19.5 KB
Binary file not shown.

AgOpenGPS_v5/AgOpenGPS.exe

2.5 KB
Binary file not shown.

AgOpenGPS_v5/AgOpenGPS.exe.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,9 @@
685685
<setting name="UP_SetTimerRincFerti" serializeAs="String">
686686
<value>30</value>
687687
</setting>
688+
<setting name="setTool_isSectionOffWhenOut" serializeAs="String">
689+
<value>True</value>
690+
</setting>
688691
</AgOpenGPS.Properties.Settings>
689692
</userSettings>
690693
</configuration>

AgOpenGPS_v5/AgOpenGPS.pdb

2 KB
Binary file not shown.

SourceCode/AgIO/Source/AgIO.csproj

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
</Reference>
6262
<Reference Include="System" />
6363
<Reference Include="System.Configuration" />
64+
<Reference Include="System.Data" />
6465
<Reference Include="System.Management" />
6566
<Reference Include="System.Xml.Linq" />
6667
<Reference Include="System.Deployment" />
@@ -91,6 +92,12 @@
9192
<Compile Include="Forms\FormCommSetGPS.Designer.cs">
9293
<DependentUpon>FormCommSetGPS.cs</DependentUpon>
9394
</Compile>
95+
<Compile Include="Forms\FormPGN.cs">
96+
<SubType>Form</SubType>
97+
</Compile>
98+
<Compile Include="Forms\FormPGN.Designer.cs">
99+
<DependentUpon>FormPGN.cs</DependentUpon>
100+
</Compile>
94101
<Compile Include="Forms\FormSerialMonitor.cs">
95102
<SubType>Form</SubType>
96103
</Compile>
@@ -139,6 +146,12 @@
139146
<Compile Include="Forms\FormEthernet.designer.cs">
140147
<DependentUpon>FormEthernet.cs</DependentUpon>
141148
</Compile>
149+
<Compile Include="Forms\FormUDPMonitor .cs">
150+
<SubType>Form</SubType>
151+
</Compile>
152+
<Compile Include="Forms\FormUDPMonitor .Designer.cs">
153+
<DependentUpon>FormUDPMonitor .cs</DependentUpon>
154+
</Compile>
142155
<Compile Include="Forms\FormYes.cs">
143156
<SubType>Form</SubType>
144157
</Compile>
@@ -322,6 +335,8 @@
322335
</ItemGroup>
323336
<ItemGroup>
324337
<Content Include="AgIO_ico.ico" />
338+
<None Include="btnImages\SerialMonitor.png" />
339+
<None Include="btnImages\EthernetSetup.png" />
325340
<None Include="btnImages\B_Ferti.png" />
326341
<None Include="btnImages\Help.png" />
327342
<None Include="btnImages\ConSt_Mandatory.png" />

SourceCode/AgIO/Source/Forms/Controls.Designer.cs

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SourceCode/AgIO/Source/Forms/FormLoop.Designer.cs

Lines changed: 93 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SourceCode/AgIO/Source/Forms/FormLoop.cs

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ public partial class FormLoop : Form
3636
//Stringbuilder
3737
public StringBuilder logNMEASentence = new StringBuilder();
3838
public StringBuilder logMonitorSentence = new StringBuilder();
39+
public StringBuilder logUDPSentence = new StringBuilder();
40+
public bool isLogNMEA, isLogMonitorOn, isUDPMonitorOn, isGPSLogOn, isNTRIPLogOn;
3941

4042
private StringBuilder sbRTCM = new StringBuilder();
4143

@@ -50,7 +52,7 @@ public partial class FormLoop : Form
5052

5153
public string lastSentence;
5254

53-
public bool isPluginUsed;
55+
public bool isPluginUsed, isNTRIPToggle;
5456

5557
//usually 256 - send ntrip to serial in chunks
5658
public int packetSizeNTRIP;
@@ -60,7 +62,6 @@ public partial class FormLoop : Form
6062

6163
//is the fly out displayed
6264
public bool isViewAdvanced = false;
63-
public bool isLogNMEA, isLogMonitorOn;
6465

6566
//used to hide the window and not update text fields and most counters
6667
public bool isAppInFocus = true, isLostFocus;
@@ -344,10 +345,6 @@ private void oneSecondLoopTimer_Tick(object sender, EventArgs e)
344345

345346
secondsSinceStart = (DateTime.Now - Process.GetCurrentProcess().StartTime).TotalSeconds;
346347

347-
//Hello Alarm logic
348-
DoHelloAlarmLogic();
349-
350-
DoTraffic();
351348

352349
if (focusSkipCounter != 0)
353350
{
@@ -358,9 +355,6 @@ private void oneSecondLoopTimer_Tick(object sender, EventArgs e)
358355
//do all the NTRIP routines
359356
DoNTRIPSecondRoutine();
360357

361-
//send a hello to modules
362-
SendUDPMessage(helloFromAgIO, epModule);
363-
//helloFromAgIO[7] = 0;
364358

365359
#region Sleep
366360

@@ -424,10 +418,32 @@ private void oneSecondLoopTimer_Tick(object sender, EventArgs e)
424418
}
425419
btnResetTimer.Text = ((int)(180 - (secondsSinceStart - threeMinuteTimer))).ToString();
426420
}
421+
422+
if (focusSkipCounter != 0)
423+
{
424+
if (ntripCounter > 30)
425+
{
426+
isNTRIPToggle = !isNTRIPToggle;
427+
if (isNTRIPToggle) lblNTRIPBytes.BackColor = Color.CornflowerBlue;
428+
else lblNTRIPBytes.BackColor = Color.DarkOrange;
429+
}
430+
else
431+
{
432+
lblNTRIPBytes.BackColor = Color.Transparent;
433+
}
434+
}
427435
}
428436

429437
private void TwoSecondLoop()
430438
{
439+
//Hello Alarm logic
440+
DoHelloAlarmLogic();
441+
442+
DoTraffic();
443+
444+
//send a hello to modules
445+
SendUDPMessage(helloFromAgIO, epModule);
446+
431447
if (isLogNMEA)
432448
{
433449
using (StreamWriter writer = new StreamWriter("zAgIO_log.txt", true))
@@ -719,7 +735,7 @@ private void DoTraffic()
719735

720736
if (focusSkipCounter != 0)
721737
{
722-
lblFromGPS.Text = traffic.cntrGPSOut == 0 ? "---" : (traffic.cntrGPSOut).ToString();
738+
lblFromGPS.Text = traffic.cntrGPSOut == 0 ? "---" : ((traffic.cntrGPSOut >> 1)).ToString();
723739

724740
//reset all counters
725741
traffic.cntrGPSOut = 0;
@@ -885,6 +901,11 @@ private void btnGPSData_Click(object sender, EventArgs e)
885901
form.Show(this);
886902
}
887903

904+
private void lblModFertiComm_Click(object sender, EventArgs e)
905+
{
906+
907+
}
908+
888909
private void toolStripEthernet_Click(object sender, EventArgs e)
889910
{
890911
SettingsEthernet();

SourceCode/AgIO/Source/Forms/FormLoop.resx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<value>243, 17</value>
128128
</metadata>
129129
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
130-
<data name="cboxIsFertiModule.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
130+
<data name="cboxIsIMUModule.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
131131
<value>
132132
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
133133
vAAADrwBlbxySQAABgdJREFUeF7tmflTE2cYx+0903+jM/3JVlprtUU8iiCXlPHiUMdWBVEMCAIiSLnv
@@ -159,7 +159,7 @@
159159
z1joA8AAAAAASUVORK5CYII=
160160
</value>
161161
</data>
162-
<data name="cboxIsIMUModule.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
162+
<data name="cboxIsMachineModule.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
163163
<value>
164164
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
165165
vAAADrwBlbxySQAABgdJREFUeF7tmflTE2cYx+0903+jM/3JVlprtUU8iiCXlPHiUMdWBVEMCAIiSLnv
@@ -191,7 +191,7 @@
191191
z1joA8AAAAAASUVORK5CYII=
192192
</value>
193193
</data>
194-
<data name="cboxIsMachineModule.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
194+
<data name="cboxIsFertiModule.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
195195
<value>
196196
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
197197
vAAADrwBlbxySQAABgdJREFUeF7tmflTE2cYx+0903+jM/3JVlprtUU8iiCXlPHiUMdWBVEMCAIiSLnv
@@ -224,7 +224,7 @@
224224
</value>
225225
</data>
226226
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
227-
<value>47</value>
227+
<value>25</value>
228228
</metadata>
229229
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
230230
<value>

0 commit comments

Comments
 (0)