Skip to content

Commit

Permalink
Change default settings to 700S and COM1
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornekelund committed Sep 1, 2023
1 parent 1b37f8d commit 9a1d702
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions ACOM Controller/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public void Configuration(string comPort, string ampModel, bool alwaysontop, boo
// Default to COM4 if config file is invalid
Port = new SerialPort(comPort == "" ? "COM1" : comPort, 9600, Parity.None, 8, StopBits.One);

// Keep DTR and RTS low to avoid blocking front panel power button
Port.DtrEnable = false;
Port.RtsEnable = false;

Expand Down
6 changes: 3 additions & 3 deletions ACOM Controller/Properties/Settings.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 ACOM Controller/Properties/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<Value Profile="(Default)">100</Value>
</Setting>
<Setting Name="ComPort" Type="System.String" Scope="User">
<Value Profile="(Default)">COM4</Value>
<Value Profile="(Default)">COM1</Value>
</Setting>
<Setting Name="AmplifierModel" Type="System.String" Scope="User">
<Value Profile="(Default)">600S</Value>
<Value Profile="(Default)">700S</Value>
</Setting>
<Setting Name="AlwaysOnTop" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
Expand Down
4 changes: 2 additions & 2 deletions ACOM Controller/app.config
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
<value>100</value>
</setting>
<setting name="ComPort" serializeAs="String">
<value>COM4</value>
<value>COM1</value>
</setting>
<setting name="AmplifierModel" serializeAs="String">
<value>600S</value>
<value>700S</value>
</setting>
<setting name="AlwaysOnTop" serializeAs="String">
<value>True</value>
Expand Down

0 comments on commit 9a1d702

Please sign in to comment.