-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit 7616b9013b43d2cedaf01f2f30a740ad2ec907e8 Author: jonnew <[email protected]> Date: Tue Sep 17 17:11:02 2024 -0400 Add missing Design files - I didn't add these in my last commit commit 760215b Author: jonnew <[email protected]> Date: Tue Sep 17 16:49:30 2024 -0400 Combine all polled Bno055 classes into common type - ConfigurePolledBno055 and PolledBno055Data classes replace headstage specific versions of the same thing. Axis map is defined via a couple properties that are not browsable in editor - Old configuraiton and data operators are marked obsolete
- Loading branch information
Showing
19 changed files
with
306 additions
and
521 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 0 additions & 39 deletions
39
OpenEphys.Onix1.Design/NeuropixelsV2eBno055Dialog.Designer.cs
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...gn/NeuropixelsV1eBno055Dialog.Designer.cs → ...ix1.Design/PolledBno055Dialog.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
using System; | ||
|
||
namespace OpenEphys.Onix1.Design | ||
{ | ||
/// <summary> | ||
/// Partial class to create a GUI for <see cref="ConfigurePolledBno055"/>. | ||
/// </summary> | ||
public partial class PolledBno055Dialog : GenericDeviceDialog | ||
{ | ||
/// <summary> | ||
/// Gets or sets the <see cref="ConfigurePolledBno055"/> object attached to | ||
/// the property grid. | ||
/// </summary> | ||
public ConfigurePolledBno055 ConfigureNode | ||
{ | ||
get => (ConfigurePolledBno055)propertyGrid.SelectedObject; | ||
set => propertyGrid.SelectedObject = value; | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new <see cref="PolledBno055Dialog"/> instance with the given | ||
/// <see cref="ConfigurePolledBno055"/> object. | ||
/// </summary> | ||
/// <param name="configureNode">A <see cref="ConfigurePolledBno055"/> object that contains configuration settings.</param> | ||
public PolledBno055Dialog(ConfigurePolledBno055 configureNode) | ||
{ | ||
InitializeComponent(); | ||
Shown += FormShown; | ||
|
||
ConfigureNode = new(configureNode); | ||
} | ||
|
||
private void FormShown(object sender, EventArgs e) | ||
{ | ||
if (!TopLevel) | ||
{ | ||
splitContainer1.Panel2Collapsed = true; | ||
splitContainer1.Panel2.Hide(); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.