-
Notifications
You must be signed in to change notification settings - Fork 83
Minor feature update #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Minor feature update #162
Conversation
…n just falling back
…s wrong Show filename on MouseHover in TabControl
# Conflicts: # EDSEditorGUI/DeviceODView.Designer.cs # EDSEditorGUI/DeviceODView.cs # libEDSsharp/CanOpenNodeExporter.cs
nimrof
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few comments and i to me the change here introduces a bug.
If you create a device then remove it save in the menu is not disabled
CANopenEditor/EDSEditorGUI/Form1.Designer.cs
Line 299 in 0c97545
| this.tabControl1.ControlRemoved += new System.Windows.Forms.ControlEventHandler(this.tabControl1_ControlsChanged); |
My nitpicking brain may also want to revert the changes in tabControl1_MouseClick as there is no actual change AFIK, but feel free to ignore that
EDSEditorGUI/Form1.cs
Outdated
| using static System.Windows.Forms.VisualStyles.VisualStyleElement; | ||
| //using static System.Windows.Forms.VisualStyles.VisualStyleElement; | ||
| //using SourceGrid.Cells.Controllers; | ||
| //using ToolTip = System.Windows.Forms.ToolTip; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe remove the commented code?
EDSEditorGUI/Form1.resx
Outdated
| Sq4NMHLMowQdiucH/4Pfs7VzE+N+UlgC2l9c92MYCO0CtYrrfh+7bu0ECD4DV0bDX6oC05+kVxpa9Ajo | ||
| 2QYurhuaugdc7gD9T6ZiKZ4UpBJyOeD9jL4pA/TeAp2r/tzq5zh9AFI0q8QNcHAIjOQpe63Fuzua5/bn | ||
| HW9+kH4AMgFyjcd8GS4AAAAJcEhZcwAACw4AAAsOAUC+4UEAAAAHdElNRQfkCwILIglO4xvLAAAAD3RF | ||
| HW9+kH4AMgFyjcd8GS4AAAAJcEhZcwAACwwAAAsMAT9AIsgAAAAHdElNRQfkCwILIglO4xvLAAAAD3RF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need a little help with the changes here :D
Co-authored-by: Lars Elgtvedt Susaas <lars.elgtvedt.susaas@brunvoll.no>
Co-authored-by: Lars Elgtvedt Susaas <lars.elgtvedt.susaas@brunvoll.no>
The count label is required to compile against the CANopenNode v4
library since the definitions are checked by code like the following
in CANopen.c
#if OD_CNT_NMT != 1
#error OD_CNT_NMT from OD.h not correct!
#endif
This problem is exhibited when there is no xpd file that has the
custom properties and there is only an EDS file available. The
StorageLocation is an example of setting the custom property for
the CO_storageGroup and this is adding a similar extension for
the CO_countLabel.
An example eds for NMT 0x1000 is shown below
[1000]
ParameterName=Device type
ObjectType=0x7
;CountLabel=NMT
;StorageLocation=ROM
DataType=0x0007
AccessType=ro
DefaultValue=0x00000000
PDOMapping=0
Signed-off-by: Charles Hardin <charles.hardin@redoxblox.com>
|
@trojanobelix That last commit changed a lot, do you have a list of the changes? |
Add/extend some exception catches to provide more information what was wrong
Show filename on MouseHover in TabControl