cannect 1.0.1__py3-none-any.whl → 1.0.2__py3-none-any.whl
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.
- cannect/__init__.py +2 -1
- cannect/core/can/ascet/comdef.py +3 -3
- cannect/core/can/ascet/comrx.py +2 -2
- cannect/core/can/ascet/diag.py +2 -2
- {cannect-1.0.1.dist-info → cannect-1.0.2.dist-info}/METADATA +2 -2
- {cannect-1.0.1.dist-info → cannect-1.0.2.dist-info}/RECORD +9 -9
- {cannect-1.0.1.dist-info → cannect-1.0.2.dist-info}/WHEEL +0 -0
- {cannect-1.0.1.dist-info → cannect-1.0.2.dist-info}/licenses/LICENSE +0 -0
- {cannect-1.0.1.dist-info → cannect-1.0.2.dist-info}/top_level.txt +0 -0
cannect/__init__.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
__all__ = [
|
|
2
|
+
"env",
|
|
2
3
|
"mount",
|
|
3
4
|
|
|
4
5
|
# .core
|
|
@@ -17,7 +18,7 @@ __all__ = [
|
|
|
17
18
|
"DataDictionary",
|
|
18
19
|
]
|
|
19
20
|
|
|
20
|
-
from cannect.config import mount
|
|
21
|
+
from cannect.config import env, mount
|
|
21
22
|
from cannect.core import ascet as Ascet
|
|
22
23
|
from cannect.core.can import AscetCAN, DataBaseCAN
|
|
23
24
|
from cannect.core.ir import IntegrationRequest, ChangeHistoryManager
|
cannect/core/can/ascet/comdef.py
CHANGED
|
@@ -77,7 +77,7 @@ class ComDef:
|
|
|
77
77
|
logger.end(">>> Defining Signal Elements...")
|
|
78
78
|
return
|
|
79
79
|
|
|
80
|
-
def
|
|
80
|
+
def generate(self):
|
|
81
81
|
self.main.find('Component/Comment').text = _db2code.INFO(self.db.revision)
|
|
82
82
|
self.define_elements('MethodSignature')
|
|
83
83
|
self.define_elements('Element')
|
|
@@ -246,7 +246,7 @@ if __name__ == "__main__":
|
|
|
246
246
|
# # base_model=r'D:\SVN\model\ascet\trunk\HNB_GASOLINE\_29_CommunicationVehicle\StandardDB\NetworkDefinition\ComDef\ComDef-22368\ComDef.main.amd'
|
|
247
247
|
# # base_model=ENV['ASCET_EXPORT_PATH']
|
|
248
248
|
# )
|
|
249
|
-
# model.
|
|
249
|
+
# model.generate()
|
|
250
250
|
|
|
251
251
|
model = ComDef(
|
|
252
252
|
db=db,
|
|
@@ -254,4 +254,4 @@ if __name__ == "__main__":
|
|
|
254
254
|
exclude_tsw=True,
|
|
255
255
|
# base_model=env.ASCET / f"Export/ComDef_G/ComDef_G.main.amd"
|
|
256
256
|
)
|
|
257
|
-
model.
|
|
257
|
+
model.generate()
|
cannect/core/can/ascet/comrx.py
CHANGED
|
@@ -100,7 +100,7 @@ class ComRx:
|
|
|
100
100
|
method.find('CodeBlock').text = curr.get(name, "")
|
|
101
101
|
return
|
|
102
102
|
|
|
103
|
-
def
|
|
103
|
+
def generate(self):
|
|
104
104
|
self.main.export_to_downloads()
|
|
105
105
|
self.impl.export_to_downloads()
|
|
106
106
|
self.data.export_to_downloads()
|
|
@@ -137,4 +137,4 @@ if __name__ == "__main__":
|
|
|
137
137
|
# base_model="",
|
|
138
138
|
# base_model=env.ASCET / f"Export/ComRx_G/ComRx_G.main.amd"
|
|
139
139
|
)
|
|
140
|
-
model.
|
|
140
|
+
model.generate()
|
cannect/core/can/ascet/diag.py
CHANGED
|
@@ -588,7 +588,7 @@ CHANNEL : {db[f'{self.hw} Channel']}-CAN
|
|
|
588
588
|
self.logger(f'>>> ... NO EXCEPTION FOUND')
|
|
589
589
|
return
|
|
590
590
|
|
|
591
|
-
def
|
|
591
|
+
def generate(self, path:str=''):
|
|
592
592
|
|
|
593
593
|
# BASE 모델의 기본 정보들을 CANDiag으로 복사
|
|
594
594
|
self.logger('>>> COPY BASE MODEL TO TEMPLATE')
|
|
@@ -686,7 +686,7 @@ if __name__ == "__main__":
|
|
|
686
686
|
data = CANDBReader().to_developer_mode("HEV")
|
|
687
687
|
|
|
688
688
|
template = CANDiag(data, proj["CanFDMCUD_HEV"], "MCU_01_P_10ms", "MCU_01_H_10ms", "MCU_02_P_10ms", "MCU_02_H_10ms", "MCU_03_100ms")
|
|
689
|
-
template.
|
|
689
|
+
template.generate()
|
|
690
690
|
|
|
691
691
|
|
|
692
692
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cannect
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: HYUNDAI-KEFICO EMS/ASW CONVENIENCE TOOL
|
|
5
|
-
Requires-Python: >=3.
|
|
5
|
+
Requires-Python: >=3.10
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
7
7
|
License-File: LICENSE
|
|
8
8
|
Requires-Dist: kaleido
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
cannect/__init__.py,sha256=
|
|
1
|
+
cannect/__init__.py,sha256=6KvuqTfSrh-63J8pqT_tGJpXZyU28iOqqT2j21-OYxw,757
|
|
2
2
|
cannect/config.py,sha256=dUKptaCQKKIPRGhs7AJdHhtGJZp5lcOoza9ei2d1ZJw,3114
|
|
3
3
|
cannect/errors.py,sha256=KSTkdSd45h1I6E0g50-CsMxJ9SOYy2Nx4oqzwdl7YZ8,311
|
|
4
4
|
cannect/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -15,9 +15,9 @@ cannect/core/can/rule.py,sha256=oE8dGNQIm11EAUEF3Qlf-3eiOE4IlBTZC8P3ckE3Vq0,9833
|
|
|
15
15
|
cannect/core/can/ascet/__init__.py,sha256=k4l7AuUKE_UPkYEEHxDXxU6LWCVT1IX54w-5ylcjPww,144
|
|
16
16
|
cannect/core/can/ascet/_db2code.py,sha256=FQDHNlee8ABUnQ9Snplqu12wMG8wNhhha1hXTgSJgNE,12209
|
|
17
17
|
cannect/core/can/ascet/_db2elem.py,sha256=MegNiktDiS-UGyQaEVjwUnMWtw8wPZX37U2iGVAI6lw,15109
|
|
18
|
-
cannect/core/can/ascet/comdef.py,sha256
|
|
19
|
-
cannect/core/can/ascet/comrx.py,sha256=
|
|
20
|
-
cannect/core/can/ascet/diag.py,sha256=
|
|
18
|
+
cannect/core/can/ascet/comdef.py,sha256=-8u58oLFX97-LjD7VeQrVZ55sc1rEnpYMDZUWowo59I,10023
|
|
19
|
+
cannect/core/can/ascet/comrx.py,sha256=uyZTU0Tv1jZFaZ1kNiRXuRJ_qzHojOj80q13KblToSA,4915
|
|
20
|
+
cannect/core/can/ascet/diag.py,sha256=nLnwcXmev_szlbDfz_0lIjDgrTHvWz8JvUATSoyoZyk,31258
|
|
21
21
|
cannect/core/can/db/__init__.py,sha256=3CiP8_BtvGOy_jxDJb113J0JinUFJ7Nf5FKyXfv9Gwg,245
|
|
22
22
|
cannect/core/can/db/reader.py,sha256=luLTiHc3n1c0P3V8Alc6H_vDbOyeqjTkxlBKWFYDzUg,5392
|
|
23
23
|
cannect/core/can/db/schema.py,sha256=YT-oI5ffXprfOU4JbXj56sGKy9oF53-tjFzeH3QsHvI,5911
|
|
@@ -51,8 +51,8 @@ cannect/utils/excel.py,sha256=sCWXZTqeiyPFNGVfnor9nmScfLl7_ERMiNEDrhURjU8,772
|
|
|
51
51
|
cannect/utils/logger.py,sha256=QeYTFA6l2wFMdeqBYcwIEu3a_XUpEljvFmAIii9YSIc,2325
|
|
52
52
|
cannect/utils/ppt.py,sha256=M4qrnENzHLa9-qKETgY_UrpONk6C3PcI7qD-JylnM_o,7121
|
|
53
53
|
cannect/utils/tools.py,sha256=oltW209RvbFD_L88RFxL6_CKjVo0iD1adUMMiHv-q40,7099
|
|
54
|
-
cannect-1.0.
|
|
55
|
-
cannect-1.0.
|
|
56
|
-
cannect-1.0.
|
|
57
|
-
cannect-1.0.
|
|
58
|
-
cannect-1.0.
|
|
54
|
+
cannect-1.0.2.dist-info/licenses/LICENSE,sha256=_UNFlbKK2ShYTDPH44e6OFWDtiLzYkDPnilDcrLaCG8,1064
|
|
55
|
+
cannect-1.0.2.dist-info/METADATA,sha256=MGS4H9yjwP9BfWX841qxm6to5D8DNPRQs-Mgxxq22Hk,15930
|
|
56
|
+
cannect-1.0.2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
57
|
+
cannect-1.0.2.dist-info/top_level.txt,sha256=QdGPQ02TsYi490A5C1BePgszlXQz7R9BijvgEP4-hQs,8
|
|
58
|
+
cannect-1.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|