Skip to content

Commit

Permalink
Merge pull request #343 from farmerbriantee/Languages
Browse files Browse the repository at this point in the history
Languages
  • Loading branch information
farmerbriantee authored Nov 23, 2023
2 parents bba38b2 + 4380209 commit 2b018cd
Show file tree
Hide file tree
Showing 9 changed files with 43 additions and 22 deletions.
16 changes: 8 additions & 8 deletions SourceCode/GPS/Classes/CSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ public CFeatureSettings() { }

//public bool ;
public bool isHeadlandOn = false;
public bool isTramOn = false;
public bool isTramOn = true;
public bool isBoundaryOn = true;
public bool isBndContourOn = true;
public bool isRecPathOn = false;
public bool isABSmoothOn = false;
public bool isRecPathOn = true;
public bool isABSmoothOn = true;

public bool isHideContourOn = true;
public bool isWebCamOn = false;
public bool isOffsetFixOn = false;
public bool isWebCamOn = true;
public bool isOffsetFixOn = true;
public bool isAgIOOn = true;

public bool isContourOn = true;
public bool isYouTurnOn = true;
public bool isSteerModeOn = false;
public bool isSteerModeOn = true;

public bool isManualSectionOn = true;
public bool isAutoSectionOn = true;
Expand All @@ -36,8 +36,8 @@ public CFeatureSettings() { }
public bool isCurveOn = true;
public bool isAutoSteerOn = true;

public bool isUTurnOn = false;
public bool isLateralOn = false;
public bool isUTurnOn = true;
public bool isLateralOn = true;

public CFeatureSettings(CFeatureSettings _feature)
{
Expand Down
16 changes: 16 additions & 0 deletions SourceCode/GPS/Forms/Controls.Designer.cs

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

16 changes: 8 additions & 8 deletions SourceCode/GPS/Forms/FormGPS.Designer.cs

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

5 changes: 5 additions & 0 deletions SourceCode/GPS/Forms/Guidance/FormTram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ public FormTram(Form callingForm, bool Curve)

private void FormTram_Load(object sender, EventArgs e)
{
if (Properties.Settings.Default.setTram_passes < 1)
{
Properties.Settings.Default.setTram_passes = 1;
Properties.Settings.Default.Save();
}
nudPasses.Value = Properties.Settings.Default.setTram_passes;
nudPasses.ValueChanged += nudPasses_ValueChanged;

Expand Down
2 changes: 1 addition & 1 deletion SourceCode/GPS/Forms/Settings/FormConfig.Designer.cs

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

4 changes: 2 additions & 2 deletions SourceCode/GPS/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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("5.8.0")]
[assembly: AssemblyFileVersion("5.8.0")]
[assembly: AssemblyVersion("5.8.3")]
[assembly: AssemblyFileVersion("5.8.3")]
2 changes: 1 addition & 1 deletion SourceCode/GPS/Properties/Settings.Designer.cs

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

2 changes: 1 addition & 1 deletion SourceCode/GPS/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<Value Profile="(Default)">1</Value>
</Setting>
<Setting Name="setTram_passes" Type="System.Int32" Scope="User">
<Value Profile="(Default)">0</Value>
<Value Profile="(Default)">1</Value>
</Setting>
<Setting Name="setTram_offset" Type="System.Double" Scope="User">
<Value Profile="(Default)">0</Value>
Expand Down
2 changes: 1 addition & 1 deletion SourceCode/GPS/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@
<value>1</value>
</setting>
<setting name="setTram_passes" serializeAs="String">
<value>0</value>
<value>1</value>
</setting>
<setting name="setTram_offset" serializeAs="String">
<value>0</value>
Expand Down

0 comments on commit 2b018cd

Please sign in to comment.