TSMasterAPI 1.2.1__tar.gz → 1.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/PKG-INFO +1 -4
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/TSMasterAPI/TSMasterAPI.py +5 -5
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/TSMasterAPI.egg-info/PKG-INFO +1 -4
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/setup.py +2 -2
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/README.rst +0 -0
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/TSMasterAPI/__init__.py +0 -0
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/TSMasterAPI.egg-info/SOURCES.txt +0 -0
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/TSMasterAPI.egg-info/dependency_links.txt +0 -0
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/TSMasterAPI.egg-info/top_level.txt +0 -0
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/license.txt +0 -0
- {TSMasterAPI-1.2.1 → TSMasterAPI-1.2.3}/setup.cfg +0 -0
@@ -1,8 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: TSMasterAPI
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.3
|
4
4
|
Summary: Use TSMaster hardware
|
5
|
-
Home-page: UNKNOWN
|
6
5
|
Author: seven
|
7
6
|
Author-email: 865762826@qq.com
|
8
7
|
License: BSD License
|
@@ -30,5 +29,3 @@ Can only be used by WIN32 Python
|
|
30
29
|
[联系作者](865762826@qq.com)
|
31
30
|
|
32
31
|
to write your content.
|
33
|
-
|
34
|
-
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Author: seven 865762826@qq.com
|
3
3
|
Date: 2023-03-06 16:36:32
|
4
4
|
LastEditors: seven 865762826@qq.com
|
5
|
-
LastEditTime: 2023-04-12
|
5
|
+
LastEditTime: 2023-04-12 17:52:14
|
6
6
|
github:https://github.com/sy950915/TSMasterAPI.git
|
7
7
|
'''
|
8
8
|
from ctypes import *
|
@@ -2820,7 +2820,7 @@ def tsdb_get_flexray_db_properties_by_address_verbose(AAddr:str):
|
|
2820
2820
|
return AECUCount,AFrameCount,ASignalCount,ASupportedChannelMask,string_at(AName),AComment
|
2821
2821
|
|
2822
2822
|
# 通过索引获取数据库属性信息
|
2823
|
-
def
|
2823
|
+
def tsdb_get_flexray_db_properties_by_index_verbose(ADBIndex:c_int32):
|
2824
2824
|
'''
|
2825
2825
|
db_msg = app.db_get_flexray_database_properties_by_address(0)
|
2826
2826
|
print(db_msg)
|
@@ -2832,7 +2832,7 @@ def tsdb_get_flexray_db_properties_by_indexx_verbose(ADBIndex:c_int32):
|
|
2832
2832
|
AName = POINTER(POINTER(c_char))()
|
2833
2833
|
AComment = POINTER(POINTER(c_char))()
|
2834
2834
|
|
2835
|
-
ret = dll.
|
2835
|
+
ret = dll.tsdb_get_flexray_db_properties_by_index_verbose(ADBIndex,byref(ASignalCount),byref(AFrameCount),byref(AECUCount),byref(ASupportedChannelMask),byref(AName),byref(AComment))
|
2836
2836
|
|
2837
2837
|
if ret ==0:
|
2838
2838
|
try:
|
@@ -3820,7 +3820,7 @@ def tsdb_load_lin_db(AFliepath:str,ASupportedChannels:str,AId:c_int32):
|
|
3820
3820
|
tsdb_load_lin_db(b"C:/1.xml",b'0,1',AId)
|
3821
3821
|
"""
|
3822
3822
|
if not isinstance(AFliepath,bytes):
|
3823
|
-
|
3823
|
+
AFliepath = bytes(AFliepath)
|
3824
3824
|
if not isinstance(ASupportedChannels,bytes):
|
3825
3825
|
ASupportedChannels = bytes(ASupportedChannels)
|
3826
3826
|
ret = dll.tsdb_load_lin_db(AFliepath,ASupportedChannels,byref(AId))
|
@@ -4029,7 +4029,7 @@ def tsdb_get_lin_db_signal_properties_by_frame_index(AIdxDB:c_int32,Frameidx:c_i
|
|
4029
4029
|
return dll.tsdb_get_lin_db_signal_properties_by_frame_index(AIdxDB,Frameidx,AIndex,byref(Avalue))
|
4030
4030
|
# def flexray_db_parse(index):
|
4031
4031
|
# ecu_list = {}
|
4032
|
-
# ecuCount, fmeCount, sgnCount, supportedChannelMask, sName, sComment =
|
4032
|
+
# ecuCount, fmeCount, sgnCount, supportedChannelMask, sName, sComment = tsdb_get_flexray_db_properties_by_index_verbose(index)
|
4033
4033
|
# for idxECU in range(ecuCount.value):
|
4034
4034
|
# message_list = []
|
4035
4035
|
# ATxFrameCount, ARxFrameCount, ecuName, sComment = tsdb_get_flexray_ecu_properties_by_index_verbose(index, idxECU)
|
@@ -1,8 +1,7 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: TSMasterAPI
|
3
|
-
Version: 1.2.
|
3
|
+
Version: 1.2.3
|
4
4
|
Summary: Use TSMaster hardware
|
5
|
-
Home-page: UNKNOWN
|
6
5
|
Author: seven
|
7
6
|
Author-email: 865762826@qq.com
|
8
7
|
License: BSD License
|
@@ -30,5 +29,3 @@ Can only be used by WIN32 Python
|
|
30
29
|
[联系作者](865762826@qq.com)
|
31
30
|
|
32
31
|
to write your content.
|
33
|
-
|
34
|
-
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Author: seven 865762826@qq.com
|
3
3
|
Date: 2023-03-24 09:26:29
|
4
4
|
LastEditors: seven 865762826@qq.com
|
5
|
-
LastEditTime: 2023-04-12
|
5
|
+
LastEditTime: 2023-04-12 18:00:55
|
6
6
|
FilePath: \VSCode_Pro\Python_Pro\TSMasterApi\setup.py
|
7
7
|
Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
8
8
|
'''
|
@@ -14,7 +14,7 @@ with open("README.rst", "r",encoding="utf-8") as f:
|
|
14
14
|
|
15
15
|
#
|
16
16
|
setup(name='TSMasterAPI', # 包名
|
17
|
-
version='1.2.
|
17
|
+
version='1.2.3', # 版本号
|
18
18
|
description='Use TSMaster hardware',
|
19
19
|
long_description=long_description,
|
20
20
|
author='seven',
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|