forked from ni/nixnet-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(DB): Finish all the database annotations/docs.
Add all DB annotations and docstrings. Many imports moved into methods to avoid circular imports. Overloaded Database constructor's path param to allow construction from a ref (for the Cluster.database property). Fixes ni#48 Fixes ni#209 Fixes some of ni#211 (annotations and docs) BREAKING CHANGE: Renamed: * constants.FrmCanTiming -> constants.CanFrameTiming * constants.SigByteOrdr -> constants.SigByteOrder * constants.FrmLinChecksum -> constants.LinFrameChecksum * Cluster.database_ref -> Cluster.database * Cluster.pd_us_reqd -> Cluster.pdus_required * Cluster.sig_refs -> Cluster.signals * Ecu.clst_ref -> Ecu.cluster * Ecu.rx_frm_refs -> Ecu.frames_received * Ecu.tx_frm_refs -> Ecu.frames_transmitted * Ecu.linp_2min -> Ecu.lin_p2_min * Ecu.lins_tmin -> Ecu.lin_st_min * Frame.cluster_ref -> Frame.cluster * Frame.sig_refs -> Frame.signals * Frame.can_ext_id -> Frame.can_extended_id * Frame.can_tx_time -> Frame.can_transmit_time * Frame.mux_data_mux_sig_ref -> Frame.mux_data_mux_signal * Frame.pdu_refs -> Frame.pdus * LinSched.clst_ref -> LinSched.cluster * LinSchedEntry.collision_res_sched -> LinSchedEntry.collision_resolving_schedule * LinSchedEntry.nc_ff_data_bytes -> LinSchedEntry.node_config_free_format_data_bytes * LinSchedEntry.sched -> LinSchedEntry.schedule * Pdu.cluster_ref -> Pdu.cluster * Pdu.frm_refs -> Pdu.frames * Pdu.mux_data_mux_sig_ref -> Pdu.mux_data_mux_signal * Pdu.mux_static_sig_refs -> Pdu.mux_static_signals * Signal.byte_ordr -> Signal.byte_order * Signal.default -> Signal.default_value * Signal.frame_ref -> Signal.frame * Signal.pdu_ref -> Signal.pdu * Signal.frame_scale_fac -> Signal.scale_factor * Signal.frame_off -> Signal.scale_offset * Signal.mux_subfrm_ref -> Signal.mux_subframe * SubFrame.dyn_signals -> SubFrame.dynamic_signals * SubFrame.frm_ref -> SubFrame.frame * SubFrame.pdu_ref -> SubFrame.pdu Changed types: * Frame.application_protocol is now constants.AppProtocol * Frame.can_timing_type type is now constants.CanFrameTiming * Frame.lin_checksum type is now constants.LinFrameChecksum * All property renames that dropped "ref" now get/set the db object Removed: * IntfCanFdIsoMode (unused duplicate of CanFdIsoMode)
- Loading branch information
Showing
25 changed files
with
1,947 additions
and
164 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,7 @@ | ||
nixnet.database.linsched | ||
======================== | ||
|
||
.. automodule:: nixnet.database._lin_sched | ||
:members: | ||
:inherited-members: | ||
:show-inheritance: |
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,7 @@ | ||
nixnet.database.linsched_entry | ||
============================== | ||
|
||
.. automodule:: nixnet.database._lin_sched_entry | ||
:members: | ||
:inherited-members: | ||
:show-inheritance: |
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,7 @@ | ||
nixnet.database.pdu | ||
=================== | ||
|
||
.. automodule:: nixnet.database._pdu | ||
:members: | ||
:inherited-members: | ||
:show-inheritance: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,7 @@ | ||
nixnet.database.subframe | ||
======================== | ||
|
||
.. automodule:: nixnet.database._subframe | ||
:members: | ||
:inherited-members: | ||
:show-inheritance: |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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.