pymammotion 0.5.69__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.
- pymammotion/__init__.py +53 -0
- pymammotion/agora/__init__.py +0 -0
- pymammotion/agora/agora_api.py +755 -0
- pymammotion/agora/agora_rtc_capabilities.py +748 -0
- pymammotion/agora/agora_websockets.py +1175 -0
- pymammotion/aliyun/__init__.py +1 -0
- pymammotion/aliyun/client.py +235 -0
- pymammotion/aliyun/cloud_gateway.py +982 -0
- pymammotion/aliyun/model/aep_response.py +21 -0
- pymammotion/aliyun/model/connect_response.py +51 -0
- pymammotion/aliyun/model/dev_by_account_response.py +195 -0
- pymammotion/aliyun/model/login_by_oauth_response.py +64 -0
- pymammotion/aliyun/model/regions_response.py +29 -0
- pymammotion/aliyun/model/session_by_authcode_response.py +19 -0
- pymammotion/aliyun/model/thing_response.py +12 -0
- pymammotion/aliyun/regions.py +62 -0
- pymammotion/aliyun/tea/core.py +297 -0
- pymammotion/aliyun/tmp_constant.py +171 -0
- pymammotion/bluetooth/__init__.py +1 -0
- pymammotion/bluetooth/ble.py +62 -0
- pymammotion/bluetooth/ble_message.py +676 -0
- pymammotion/bluetooth/const.py +27 -0
- pymammotion/bluetooth/data/__init__.py +0 -0
- pymammotion/bluetooth/data/convert.py +25 -0
- pymammotion/bluetooth/data/framectrldata.py +40 -0
- pymammotion/bluetooth/data/notifydata.py +62 -0
- pymammotion/bluetooth/model/__init__.py +0 -0
- pymammotion/bluetooth/model/atomic_integer.py +54 -0
- pymammotion/const.py +13 -0
- pymammotion/data/__init__.py +0 -0
- pymammotion/data/model/__init__.py +8 -0
- pymammotion/data/model/account.py +8 -0
- pymammotion/data/model/device.py +192 -0
- pymammotion/data/model/device_config.py +72 -0
- pymammotion/data/model/device_info.py +60 -0
- pymammotion/data/model/device_limits.py +49 -0
- pymammotion/data/model/enums.py +77 -0
- pymammotion/data/model/errors.py +12 -0
- pymammotion/data/model/events.py +14 -0
- pymammotion/data/model/generate_geojson.py +565 -0
- pymammotion/data/model/generate_route_information.py +26 -0
- pymammotion/data/model/hash_list.py +475 -0
- pymammotion/data/model/location.py +36 -0
- pymammotion/data/model/mowing_modes.py +77 -0
- pymammotion/data/model/rapid_state.py +45 -0
- pymammotion/data/model/raw_data.py +215 -0
- pymammotion/data/model/region_data.py +102 -0
- pymammotion/data/model/report_info.py +182 -0
- pymammotion/data/model/work.py +27 -0
- pymammotion/data/mower_state_manager.py +369 -0
- pymammotion/data/mqtt/__init__.py +1 -0
- pymammotion/data/mqtt/event.py +227 -0
- pymammotion/data/mqtt/mammotion_properties.py +276 -0
- pymammotion/data/mqtt/properties.py +203 -0
- pymammotion/data/mqtt/status.py +57 -0
- pymammotion/event/__init__.py +6 -0
- pymammotion/event/event.py +96 -0
- pymammotion/homeassistant/__init__.py +3 -0
- pymammotion/homeassistant/mower_api.py +514 -0
- pymammotion/homeassistant/rtk_api.py +54 -0
- pymammotion/http/__init__.py +0 -0
- pymammotion/http/encryption.py +220 -0
- pymammotion/http/http.py +673 -0
- pymammotion/http/model/__init__.py +0 -0
- pymammotion/http/model/camera_stream.py +31 -0
- pymammotion/http/model/http.py +249 -0
- pymammotion/http/model/response_factory.py +61 -0
- pymammotion/http/model/rtk.py +16 -0
- pymammotion/mammotion/__init__.py +0 -0
- pymammotion/mammotion/commands/__init__.py +0 -0
- pymammotion/mammotion/commands/abstract_message.py +24 -0
- pymammotion/mammotion/commands/mammotion_command.py +81 -0
- pymammotion/mammotion/commands/messages/__init__.py +0 -0
- pymammotion/mammotion/commands/messages/basestation.py +43 -0
- pymammotion/mammotion/commands/messages/driver.py +122 -0
- pymammotion/mammotion/commands/messages/media.py +87 -0
- pymammotion/mammotion/commands/messages/navigation.py +564 -0
- pymammotion/mammotion/commands/messages/network.py +205 -0
- pymammotion/mammotion/commands/messages/ota.py +38 -0
- pymammotion/mammotion/commands/messages/system.py +330 -0
- pymammotion/mammotion/commands/messages/video.py +33 -0
- pymammotion/mammotion/control/__init__.py +0 -0
- pymammotion/mammotion/control/joystick.py +145 -0
- pymammotion/mammotion/devices/__init__.py +29 -0
- pymammotion/mammotion/devices/base.py +163 -0
- pymammotion/mammotion/devices/mammotion.py +571 -0
- pymammotion/mammotion/devices/mammotion_bluetooth.py +496 -0
- pymammotion/mammotion/devices/mammotion_cloud.py +355 -0
- pymammotion/mammotion/devices/mammotion_mower_ble.py +48 -0
- pymammotion/mammotion/devices/mammotion_mower_cloud.py +39 -0
- pymammotion/mammotion/devices/managers/managers.py +81 -0
- pymammotion/mammotion/devices/mower_device.py +120 -0
- pymammotion/mammotion/devices/mower_manager.py +107 -0
- pymammotion/mammotion/devices/rtk_ble.py +89 -0
- pymammotion/mammotion/devices/rtk_cloud.py +115 -0
- pymammotion/mammotion/devices/rtk_device.py +50 -0
- pymammotion/mammotion/devices/rtk_manager.py +125 -0
- pymammotion/mqtt/__init__.py +6 -0
- pymammotion/mqtt/aliyun_mqtt.py +237 -0
- pymammotion/mqtt/linkkit/__init__.py +5 -0
- pymammotion/mqtt/linkkit/h2client.py +585 -0
- pymammotion/mqtt/linkkit/linkkit.py +3025 -0
- pymammotion/mqtt/mammotion_future.py +26 -0
- pymammotion/mqtt/mammotion_mqtt.py +214 -0
- pymammotion/mqtt/mqtt_models.py +66 -0
- pymammotion/proto/__init__.py +4841 -0
- pymammotion/proto/basestation.proto +51 -0
- pymammotion/proto/basestation_pb2.py +35 -0
- pymammotion/proto/basestation_pb2.pyi +89 -0
- pymammotion/proto/common.proto +7 -0
- pymammotion/proto/common_pb2.py +25 -0
- pymammotion/proto/common_pb2.pyi +13 -0
- pymammotion/proto/dev_net.proto +321 -0
- pymammotion/proto/dev_net_pb2.py +111 -0
- pymammotion/proto/dev_net_pb2.pyi +515 -0
- pymammotion/proto/luba_msg.proto +76 -0
- pymammotion/proto/luba_msg_pb2.py +41 -0
- pymammotion/proto/luba_msg_pb2.pyi +97 -0
- pymammotion/proto/luba_mul.proto +129 -0
- pymammotion/proto/luba_mul_pb2.py +61 -0
- pymammotion/proto/luba_mul_pb2.pyi +178 -0
- pymammotion/proto/mctrl_driver.proto +107 -0
- pymammotion/proto/mctrl_driver_pb2.py +57 -0
- pymammotion/proto/mctrl_driver_pb2.pyi +167 -0
- pymammotion/proto/mctrl_nav.proto +591 -0
- pymammotion/proto/mctrl_nav_pb2.py +136 -0
- pymammotion/proto/mctrl_nav_pb2.pyi +1067 -0
- pymammotion/proto/mctrl_ota.proto +80 -0
- pymammotion/proto/mctrl_ota_pb2.py +45 -0
- pymammotion/proto/mctrl_ota_pb2.pyi +128 -0
- pymammotion/proto/mctrl_pept.proto +34 -0
- pymammotion/proto/mctrl_pept_pb2.py +33 -0
- pymammotion/proto/mctrl_pept_pb2.pyi +58 -0
- pymammotion/proto/mctrl_sys.proto +741 -0
- pymammotion/proto/mctrl_sys_pb2.py +206 -0
- pymammotion/proto/mctrl_sys_pb2.pyi +1213 -0
- pymammotion/proto/message_pool.py +3 -0
- pymammotion/proto/py.typed +0 -0
- pymammotion/py.typed +0 -0
- pymammotion/utility/constant/__init__.py +3 -0
- pymammotion/utility/constant/device_constant.py +315 -0
- pymammotion/utility/conversions.py +5 -0
- pymammotion/utility/datatype_converter.py +124 -0
- pymammotion/utility/device_config.py +755 -0
- pymammotion/utility/device_type.py +489 -0
- pymammotion/utility/map.py +259 -0
- pymammotion/utility/movement.py +18 -0
- pymammotion/utility/mur_mur_hash.py +159 -0
- pymammotion/utility/periodic.py +106 -0
- pymammotion/utility/rocker_util.py +194 -0
- pymammotion-0.5.69.dist-info/METADATA +93 -0
- pymammotion-0.5.69.dist-info/RECORD +154 -0
- pymammotion-0.5.69.dist-info/WHEEL +4 -0
- pymammotion-0.5.69.dist-info/licenses/LICENSE +674 -0
|
@@ -0,0 +1,755 @@
|
|
|
1
|
+
from pymammotion.data.model.device_limits import DeviceLimits
|
|
2
|
+
from pymammotion.utility.device_type import DeviceType
|
|
3
|
+
|
|
4
|
+
default_luba_config = {
|
|
5
|
+
"blade_height": {"min": 20, "max": 35},
|
|
6
|
+
"working_speed": {"min": 0.2, "max": 1.2},
|
|
7
|
+
"path_spacing": {"min": 8, "max": 14},
|
|
8
|
+
"work_area_num_max": 60,
|
|
9
|
+
"display_image_type": 0,
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
default_yuka_config = {
|
|
13
|
+
"blade_height": {"min": 0, "max": 0},
|
|
14
|
+
"working_speed": {"min": 0.2, "max": 0.6},
|
|
15
|
+
"path_spacing": {"min": 8, "max": 30},
|
|
16
|
+
"work_area_num_max": 60,
|
|
17
|
+
"display_image_type": 0,
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class DeviceConfig:
|
|
22
|
+
def __init__(self) -> None:
|
|
23
|
+
# Dictionary to store all device configurations
|
|
24
|
+
|
|
25
|
+
# Device mode configurations
|
|
26
|
+
self.default_list = {
|
|
27
|
+
"a1ZU6bdGjaM": {
|
|
28
|
+
"extMod": "LubaAWD1000723",
|
|
29
|
+
"blade_height_min": 30,
|
|
30
|
+
"blade_height_max": 70,
|
|
31
|
+
"working_speed_min": 0.2,
|
|
32
|
+
"working_speed_max": 0.4,
|
|
33
|
+
"work_area_num_max": 3,
|
|
34
|
+
"path_spacing_min": 20,
|
|
35
|
+
"path_spacing_max": 35,
|
|
36
|
+
"display_image_type": 1,
|
|
37
|
+
},
|
|
38
|
+
"a1nf9kRBWoH": {
|
|
39
|
+
"extMod": "LubaAWD3000723",
|
|
40
|
+
"blade_height_min": 30,
|
|
41
|
+
"blade_height_max": 70,
|
|
42
|
+
"working_speed_min": 0.2,
|
|
43
|
+
"working_speed_max": 0.6,
|
|
44
|
+
"work_area_num_max": 6,
|
|
45
|
+
"path_spacing_min": 20,
|
|
46
|
+
"path_spacing_max": 35,
|
|
47
|
+
"display_image_type": 1,
|
|
48
|
+
},
|
|
49
|
+
"a1ae1QnXZGf": {
|
|
50
|
+
"extMod": "LubaAWD1000743",
|
|
51
|
+
"blade_height_min": 30,
|
|
52
|
+
"blade_height_max": 70,
|
|
53
|
+
"working_speed_min": 0.2,
|
|
54
|
+
"working_speed_max": 0.6,
|
|
55
|
+
"work_area_num_max": 3,
|
|
56
|
+
"path_spacing_min": 20,
|
|
57
|
+
"path_spacing_max": 35,
|
|
58
|
+
"display_image_type": 1,
|
|
59
|
+
},
|
|
60
|
+
"a1K4Ki2L5rK": {
|
|
61
|
+
"extMod": "LubaAWD5000723",
|
|
62
|
+
"blade_height_min": 30,
|
|
63
|
+
"blade_height_max": 70,
|
|
64
|
+
"working_speed_min": 0.2,
|
|
65
|
+
"working_speed_max": 0.6,
|
|
66
|
+
"work_area_num_max": 10,
|
|
67
|
+
"path_spacing_min": 20,
|
|
68
|
+
"path_spacing_max": 35,
|
|
69
|
+
"display_image_type": 0,
|
|
70
|
+
},
|
|
71
|
+
"a1jOhAYOIG8": {
|
|
72
|
+
"extMod": "LubaAWD5000743LS",
|
|
73
|
+
"blade_height_min": 30,
|
|
74
|
+
"blade_height_max": 70,
|
|
75
|
+
"working_speed_min": 0.2,
|
|
76
|
+
"working_speed_max": 0.6,
|
|
77
|
+
"work_area_num_max": 10,
|
|
78
|
+
"path_spacing_min": 20,
|
|
79
|
+
"path_spacing_max": 35,
|
|
80
|
+
"display_image_type": 0,
|
|
81
|
+
},
|
|
82
|
+
"a1BmXWlsdbA": {
|
|
83
|
+
"extMod": "LubaAWD5000743",
|
|
84
|
+
"blade_height_min": 30,
|
|
85
|
+
"blade_height_max": 70,
|
|
86
|
+
"working_speed_min": 0.2,
|
|
87
|
+
"working_speed_max": 0.6,
|
|
88
|
+
"work_area_num_max": 10,
|
|
89
|
+
"path_spacing_min": 20,
|
|
90
|
+
"path_spacing_max": 35,
|
|
91
|
+
"display_image_type": 0,
|
|
92
|
+
},
|
|
93
|
+
"a1JFpmAV5Ur": {
|
|
94
|
+
"extMod": "Kumar-10",
|
|
95
|
+
"blade_height_min": 30,
|
|
96
|
+
"blade_height_max": 70,
|
|
97
|
+
"working_speed_min": 0.2,
|
|
98
|
+
"working_speed_max": 0.6,
|
|
99
|
+
"work_area_num_max": 10,
|
|
100
|
+
"path_spacing_min": 20,
|
|
101
|
+
"path_spacing_max": 35,
|
|
102
|
+
"display_image_type": 0,
|
|
103
|
+
},
|
|
104
|
+
"a1kweSOPylG": {
|
|
105
|
+
"extMod": "LubaAWD3000723",
|
|
106
|
+
"blade_height_min": 30,
|
|
107
|
+
"blade_height_max": 70,
|
|
108
|
+
"working_speed_min": 0.2,
|
|
109
|
+
"working_speed_max": 0.6,
|
|
110
|
+
"work_area_num_max": 6,
|
|
111
|
+
"path_spacing_min": 20,
|
|
112
|
+
"path_spacing_max": 35,
|
|
113
|
+
"display_image_type": 1,
|
|
114
|
+
},
|
|
115
|
+
"a1pvCnb3PPu": {
|
|
116
|
+
"extMod": "LubaAWD1000743",
|
|
117
|
+
"blade_height_min": 30,
|
|
118
|
+
"blade_height_max": 70,
|
|
119
|
+
"working_speed_min": 0.2,
|
|
120
|
+
"working_speed_max": 0.6,
|
|
121
|
+
"work_area_num_max": 3,
|
|
122
|
+
"path_spacing_min": 20,
|
|
123
|
+
"path_spacing_max": 35,
|
|
124
|
+
"display_image_type": 1,
|
|
125
|
+
},
|
|
126
|
+
"a1x0zHD3Xop": {
|
|
127
|
+
"extMod": "LubaAWD5000743LS",
|
|
128
|
+
"blade_height_min": 30,
|
|
129
|
+
"blade_height_max": 70,
|
|
130
|
+
"working_speed_min": 0.2,
|
|
131
|
+
"working_speed_max": 0.6,
|
|
132
|
+
"work_area_num_max": 10,
|
|
133
|
+
"path_spacing_min": 20,
|
|
134
|
+
"path_spacing_max": 35,
|
|
135
|
+
"display_image_type": 0,
|
|
136
|
+
},
|
|
137
|
+
"a1UBFdq6nNz": {
|
|
138
|
+
"extMod": "LubaAWD5000723",
|
|
139
|
+
"blade_height_min": 30,
|
|
140
|
+
"blade_height_max": 70,
|
|
141
|
+
"working_speed_min": 0.2,
|
|
142
|
+
"working_speed_max": 0.6,
|
|
143
|
+
"work_area_num_max": 10,
|
|
144
|
+
"path_spacing_min": 20,
|
|
145
|
+
"path_spacing_max": 35,
|
|
146
|
+
"display_image_type": 0,
|
|
147
|
+
},
|
|
148
|
+
"a1FbaU4Bqk5": {
|
|
149
|
+
"extMod": "LubaAWD5000743",
|
|
150
|
+
"blade_height_min": 30,
|
|
151
|
+
"blade_height_max": 70,
|
|
152
|
+
"working_speed_min": 0.2,
|
|
153
|
+
"working_speed_max": 0.6,
|
|
154
|
+
"work_area_num_max": 10,
|
|
155
|
+
"path_spacing_min": 20,
|
|
156
|
+
"path_spacing_max": 35,
|
|
157
|
+
"display_image_type": 0,
|
|
158
|
+
},
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
self.inner_list = {
|
|
162
|
+
"HM010060LBAWD10": {
|
|
163
|
+
"extMod": "LubaAWD1000",
|
|
164
|
+
"blade_height_min": 30,
|
|
165
|
+
"blade_height_max": 70,
|
|
166
|
+
"working_speed_min": 0.2,
|
|
167
|
+
"working_speed_max": 0.6,
|
|
168
|
+
"work_area_num_max": 3,
|
|
169
|
+
"path_spacing_min": 20,
|
|
170
|
+
"path_spacing_max": 35,
|
|
171
|
+
"display_image_type": 1,
|
|
172
|
+
},
|
|
173
|
+
"HM030080LBAWD30": {
|
|
174
|
+
"extMod": "LubaAWD3000",
|
|
175
|
+
"blade_height_min": 30,
|
|
176
|
+
"blade_height_max": 70,
|
|
177
|
+
"working_speed_min": 0.2,
|
|
178
|
+
"working_speed_max": 0.6,
|
|
179
|
+
"work_area_num_max": 6,
|
|
180
|
+
"path_spacing_min": 20,
|
|
181
|
+
"path_spacing_max": 35,
|
|
182
|
+
"display_image_type": 1,
|
|
183
|
+
},
|
|
184
|
+
"HM050080LBAWD50": {
|
|
185
|
+
"extMod": "LubaAWD5000",
|
|
186
|
+
"blade_height_min": 30,
|
|
187
|
+
"blade_height_max": 70,
|
|
188
|
+
"working_speed_min": 0.2,
|
|
189
|
+
"working_speed_max": 0.6,
|
|
190
|
+
"work_area_num_max": 10,
|
|
191
|
+
"path_spacing_min": 20,
|
|
192
|
+
"path_spacing_max": 35,
|
|
193
|
+
"display_image_type": 0,
|
|
194
|
+
},
|
|
195
|
+
"HM030060LBAWD50OMNI": {
|
|
196
|
+
"extMod": "LubaAWD5000",
|
|
197
|
+
"blade_height_min": 30,
|
|
198
|
+
"blade_height_max": 70,
|
|
199
|
+
"working_speed_min": 0.2,
|
|
200
|
+
"working_speed_max": 0.6,
|
|
201
|
+
"work_area_num_max": 10,
|
|
202
|
+
"path_spacing_min": 20,
|
|
203
|
+
"path_spacing_max": 35,
|
|
204
|
+
"display_image_type": 1,
|
|
205
|
+
},
|
|
206
|
+
"HM060100LBAWD50OMNIH": {
|
|
207
|
+
"extMod": "LubaAWD5000H",
|
|
208
|
+
"blade_height_min": 60,
|
|
209
|
+
"blade_height_max": 100,
|
|
210
|
+
"working_speed_min": 0.2,
|
|
211
|
+
"working_speed_max": 0.6,
|
|
212
|
+
"work_area_num_max": 10,
|
|
213
|
+
"path_spacing_min": 20,
|
|
214
|
+
"path_spacing_max": 35,
|
|
215
|
+
"display_image_type": 0,
|
|
216
|
+
},
|
|
217
|
+
"HM030070LBVAWD10OMNI": {
|
|
218
|
+
"extMod": "Luba2AWD1000",
|
|
219
|
+
"blade_height_min": 25,
|
|
220
|
+
"blade_height_max": 70,
|
|
221
|
+
"working_speed_min": 0.2,
|
|
222
|
+
"working_speed_max": 0.6,
|
|
223
|
+
"work_area_num_max": 10,
|
|
224
|
+
"path_spacing_min": 20,
|
|
225
|
+
"path_spacing_max": 35,
|
|
226
|
+
"display_image_type": 0,
|
|
227
|
+
},
|
|
228
|
+
"HM060100LBVAWD10OMNIH": {
|
|
229
|
+
"extMod": "Luba2AWD1000H",
|
|
230
|
+
"blade_height_min": 55,
|
|
231
|
+
"blade_height_max": 100,
|
|
232
|
+
"working_speed_min": 0.2,
|
|
233
|
+
"working_speed_max": 0.6,
|
|
234
|
+
"work_area_num_max": 10,
|
|
235
|
+
"path_spacing_min": 20,
|
|
236
|
+
"path_spacing_max": 35,
|
|
237
|
+
"display_image_type": 0,
|
|
238
|
+
},
|
|
239
|
+
"HM030070LBVAWD30OMNI": {
|
|
240
|
+
"extMod": "Luba2AWD3000",
|
|
241
|
+
"blade_height_min": 25,
|
|
242
|
+
"blade_height_max": 70,
|
|
243
|
+
"working_speed_min": 0.2,
|
|
244
|
+
"working_speed_max": 0.6,
|
|
245
|
+
"work_area_num_max": 20,
|
|
246
|
+
"path_spacing_min": 20,
|
|
247
|
+
"path_spacing_max": 35,
|
|
248
|
+
"display_image_type": 0,
|
|
249
|
+
},
|
|
250
|
+
"HM060100LBVAWD30OMNIH": {
|
|
251
|
+
"extMod": "Luba2AWD3000H",
|
|
252
|
+
"blade_height_min": 55,
|
|
253
|
+
"blade_height_max": 100,
|
|
254
|
+
"working_speed_min": 0.2,
|
|
255
|
+
"working_speed_max": 0.6,
|
|
256
|
+
"work_area_num_max": 20,
|
|
257
|
+
"path_spacing_min": 20,
|
|
258
|
+
"path_spacing_max": 35,
|
|
259
|
+
"display_image_type": 0,
|
|
260
|
+
},
|
|
261
|
+
"HM030070LBVAWD50OMNI": {
|
|
262
|
+
"extMod": "Luba2AWD5000",
|
|
263
|
+
"blade_height_min": 25,
|
|
264
|
+
"blade_height_max": 70,
|
|
265
|
+
"working_speed_min": 0.2,
|
|
266
|
+
"working_speed_max": 0.6,
|
|
267
|
+
"work_area_num_max": 30,
|
|
268
|
+
"path_spacing_min": 20,
|
|
269
|
+
"path_spacing_max": 35,
|
|
270
|
+
"display_image_type": 0,
|
|
271
|
+
},
|
|
272
|
+
"HM060100LBVAWD50OMNIH": {
|
|
273
|
+
"extMod": "Luba2AWD5000H",
|
|
274
|
+
"blade_height_min": 55,
|
|
275
|
+
"blade_height_max": 100,
|
|
276
|
+
"working_speed_min": 0.2,
|
|
277
|
+
"working_speed_max": 0.6,
|
|
278
|
+
"work_area_num_max": 30,
|
|
279
|
+
"path_spacing_min": 20,
|
|
280
|
+
"path_spacing_max": 35,
|
|
281
|
+
"display_image_type": 0,
|
|
282
|
+
},
|
|
283
|
+
"HM030070LBVAWD100OMNI": {
|
|
284
|
+
"extMod": "Luba2AWD10000",
|
|
285
|
+
"blade_height_min": 25,
|
|
286
|
+
"blade_height_max": 70,
|
|
287
|
+
"working_speed_min": 0.2,
|
|
288
|
+
"working_speed_max": 0.6,
|
|
289
|
+
"work_area_num_max": 60,
|
|
290
|
+
"path_spacing_min": 20,
|
|
291
|
+
"path_spacing_max": 35,
|
|
292
|
+
"display_image_type": 0,
|
|
293
|
+
},
|
|
294
|
+
"HM060100LBVAWD100OMNIH": {
|
|
295
|
+
"extMod": "Luba2AWD10000H",
|
|
296
|
+
"blade_height_min": 55,
|
|
297
|
+
"blade_height_max": 100,
|
|
298
|
+
"working_speed_min": 0.2,
|
|
299
|
+
"working_speed_max": 0.6,
|
|
300
|
+
"work_area_num_max": 60,
|
|
301
|
+
"path_spacing_min": 20,
|
|
302
|
+
"path_spacing_max": 35,
|
|
303
|
+
"display_image_type": 0,
|
|
304
|
+
},
|
|
305
|
+
"HM030070LB2PAWD30OMNI": {
|
|
306
|
+
"extMod": "Luba2ProAWD3000",
|
|
307
|
+
"blade_height_min": 25,
|
|
308
|
+
"blade_height_max": 70,
|
|
309
|
+
"working_speed_min": 0.2,
|
|
310
|
+
"working_speed_max": 0.8,
|
|
311
|
+
"work_area_num_max": 60,
|
|
312
|
+
"path_spacing_min": 20,
|
|
313
|
+
"path_spacing_max": 35,
|
|
314
|
+
"display_image_type": 0,
|
|
315
|
+
},
|
|
316
|
+
"HM060100LB2PAWD30OMNIH": {
|
|
317
|
+
"extMod": "Luba2ProAWD3000NA",
|
|
318
|
+
"blade_height_min": 55,
|
|
319
|
+
"blade_height_max": 100,
|
|
320
|
+
"working_speed_min": 0.2,
|
|
321
|
+
"working_speed_max": 0.8,
|
|
322
|
+
"work_area_num_max": 60,
|
|
323
|
+
"path_spacing_min": 20,
|
|
324
|
+
"path_spacing_max": 35,
|
|
325
|
+
"display_image_type": 0,
|
|
326
|
+
},
|
|
327
|
+
"HM030070LB2PAWD50OMNI": {
|
|
328
|
+
"extMod": "Luba2ProAWD5000",
|
|
329
|
+
"blade_height_min": 25,
|
|
330
|
+
"blade_height_max": 70,
|
|
331
|
+
"working_speed_min": 0.2,
|
|
332
|
+
"working_speed_max": 1.0,
|
|
333
|
+
"work_area_num_max": 60,
|
|
334
|
+
"path_spacing_min": 20,
|
|
335
|
+
"path_spacing_max": 35,
|
|
336
|
+
"display_image_type": 0,
|
|
337
|
+
},
|
|
338
|
+
"HM060100LB2PAWD50OMNIH": {
|
|
339
|
+
"extMod": "Luba2ProAWD5000NA",
|
|
340
|
+
"blade_height_min": 55,
|
|
341
|
+
"blade_height_max": 100,
|
|
342
|
+
"working_speed_min": 0.2,
|
|
343
|
+
"working_speed_max": 1.0,
|
|
344
|
+
"work_area_num_max": 60,
|
|
345
|
+
"path_spacing_min": 20,
|
|
346
|
+
"path_spacing_max": 35,
|
|
347
|
+
"display_image_type": 0,
|
|
348
|
+
},
|
|
349
|
+
"HM030070LB2PAWD100OMNI": {
|
|
350
|
+
"extMod": "Luba2ProAWD10000",
|
|
351
|
+
"blade_height_min": 25,
|
|
352
|
+
"blade_height_max": 70,
|
|
353
|
+
"working_speed_min": 0.2,
|
|
354
|
+
"working_speed_max": 1.0,
|
|
355
|
+
"work_area_num_max": 60,
|
|
356
|
+
"path_spacing_min": 20,
|
|
357
|
+
"path_spacing_max": 35,
|
|
358
|
+
"display_image_type": 0,
|
|
359
|
+
},
|
|
360
|
+
"HM060100LB2PAWD100OMNIH": {
|
|
361
|
+
"extMod": "Luba2ProAWD10000NA",
|
|
362
|
+
"blade_height_min": 55,
|
|
363
|
+
"blade_height_max": 100,
|
|
364
|
+
"working_speed_min": 0.2,
|
|
365
|
+
"working_speed_max": 1.0,
|
|
366
|
+
"work_area_num_max": 60,
|
|
367
|
+
"path_spacing_min": 20,
|
|
368
|
+
"path_spacing_max": 35,
|
|
369
|
+
"display_image_type": 0,
|
|
370
|
+
},
|
|
371
|
+
"HM020065LB2MINIAWD08OMNI": {
|
|
372
|
+
"extMod": "Luba2MiniAWD800",
|
|
373
|
+
"blade_height_min": 20,
|
|
374
|
+
"blade_height_max": 65,
|
|
375
|
+
"working_speed_min": 0.2,
|
|
376
|
+
"working_speed_max": 0.6,
|
|
377
|
+
"work_area_num_max": 60,
|
|
378
|
+
"path_spacing_min": 5,
|
|
379
|
+
"path_spacing_max": 20,
|
|
380
|
+
"display_image_type": 0,
|
|
381
|
+
},
|
|
382
|
+
"HM020065LB2MINIAWD15OMNI": {
|
|
383
|
+
"extMod": "Luba2MiniAWD1500",
|
|
384
|
+
"blade_height_min": 20,
|
|
385
|
+
"blade_height_max": 65,
|
|
386
|
+
"working_speed_min": 0.2,
|
|
387
|
+
"working_speed_max": 0.6,
|
|
388
|
+
"work_area_num_max": 60,
|
|
389
|
+
"path_spacing_min": 5,
|
|
390
|
+
"path_spacing_max": 20,
|
|
391
|
+
"display_image_type": 0,
|
|
392
|
+
},
|
|
393
|
+
"HM020065LB2MINIAWD15OMNILD": {
|
|
394
|
+
"extMod": "Luba2MiniAWD1500Lidar",
|
|
395
|
+
"blade_height_min": 20,
|
|
396
|
+
"blade_height_max": 65,
|
|
397
|
+
"working_speed_min": 0.2,
|
|
398
|
+
"working_speed_max": 0.6,
|
|
399
|
+
"work_area_num_max": 60,
|
|
400
|
+
"path_spacing_min": 5,
|
|
401
|
+
"path_spacing_max": 20,
|
|
402
|
+
"display_image_type": 0,
|
|
403
|
+
},
|
|
404
|
+
"HM055100LB2MINIAWD08OMNIH": {
|
|
405
|
+
"extMod": "Luba2MiniAWD800NA",
|
|
406
|
+
"blade_height_min": 55,
|
|
407
|
+
"blade_height_max": 100,
|
|
408
|
+
"working_speed_min": 0.2,
|
|
409
|
+
"working_speed_max": 0.6,
|
|
410
|
+
"work_area_num_max": 60,
|
|
411
|
+
"path_spacing_min": 5,
|
|
412
|
+
"path_spacing_max": 20,
|
|
413
|
+
"display_image_type": 0,
|
|
414
|
+
},
|
|
415
|
+
"HM055100LB2MINIAWD15OMNIH": {
|
|
416
|
+
"extMod": "Luba2MiniAWD1500NA",
|
|
417
|
+
"blade_height_min": 55,
|
|
418
|
+
"blade_height_max": 100,
|
|
419
|
+
"working_speed_min": 0.2,
|
|
420
|
+
"working_speed_max": 0.6,
|
|
421
|
+
"work_area_num_max": 60,
|
|
422
|
+
"path_spacing_min": 5,
|
|
423
|
+
"path_spacing_max": 20,
|
|
424
|
+
"display_image_type": 0,
|
|
425
|
+
},
|
|
426
|
+
"HM055100LB2MINIAWD15OMNIHLD": {
|
|
427
|
+
"extMod": "Luba2MiniAWD1500NALidar",
|
|
428
|
+
"blade_height_min": 55,
|
|
429
|
+
"blade_height_max": 100,
|
|
430
|
+
"working_speed_min": 0.2,
|
|
431
|
+
"working_speed_max": 0.6,
|
|
432
|
+
"work_area_num_max": 60,
|
|
433
|
+
"path_spacing_min": 5,
|
|
434
|
+
"path_spacing_max": 20,
|
|
435
|
+
"display_image_type": 0,
|
|
436
|
+
},
|
|
437
|
+
"HM030070YK06": {
|
|
438
|
+
"extMod": "Yuka600",
|
|
439
|
+
"blade_height_min": 0,
|
|
440
|
+
"blade_height_max": 0,
|
|
441
|
+
"working_speed_min": 0.2,
|
|
442
|
+
"working_speed_max": 0.6,
|
|
443
|
+
"work_area_num_max": 60,
|
|
444
|
+
"path_spacing_min": 15,
|
|
445
|
+
"path_spacing_max": 30,
|
|
446
|
+
"display_image_type": 0,
|
|
447
|
+
},
|
|
448
|
+
"HM030100YK06H": {
|
|
449
|
+
"extMod": "Yuka600NA",
|
|
450
|
+
"blade_height_min": 0,
|
|
451
|
+
"blade_height_max": 0,
|
|
452
|
+
"working_speed_min": 0.2,
|
|
453
|
+
"working_speed_max": 0.6,
|
|
454
|
+
"work_area_num_max": 60,
|
|
455
|
+
"path_spacing_min": 15,
|
|
456
|
+
"path_spacing_max": 30,
|
|
457
|
+
"display_image_type": 0,
|
|
458
|
+
},
|
|
459
|
+
"HM030070YK10": {
|
|
460
|
+
"extMod": "Yuka1000",
|
|
461
|
+
"blade_height_min": 0,
|
|
462
|
+
"blade_height_max": 0,
|
|
463
|
+
"working_speed_min": 0.2,
|
|
464
|
+
"working_speed_max": 0.6,
|
|
465
|
+
"work_area_num_max": 60,
|
|
466
|
+
"path_spacing_min": 15,
|
|
467
|
+
"path_spacing_max": 30,
|
|
468
|
+
"display_image_type": 0,
|
|
469
|
+
},
|
|
470
|
+
"HM030100YK10H": {
|
|
471
|
+
"extMod": "Yuka1000NA",
|
|
472
|
+
"blade_height_min": 0,
|
|
473
|
+
"blade_height_max": 0,
|
|
474
|
+
"working_speed_min": 0.2,
|
|
475
|
+
"working_speed_max": 0.6,
|
|
476
|
+
"work_area_num_max": 60,
|
|
477
|
+
"path_spacing_min": 15,
|
|
478
|
+
"path_spacing_max": 30,
|
|
479
|
+
"display_image_type": 0,
|
|
480
|
+
},
|
|
481
|
+
"HM030070YK15": {
|
|
482
|
+
"extMod": "Yuka1500",
|
|
483
|
+
"blade_height_min": 0,
|
|
484
|
+
"blade_height_max": 0,
|
|
485
|
+
"working_speed_min": 0.2,
|
|
486
|
+
"working_speed_max": 0.6,
|
|
487
|
+
"work_area_num_max": 60,
|
|
488
|
+
"path_spacing_min": 15,
|
|
489
|
+
"path_spacing_max": 30,
|
|
490
|
+
"display_image_type": 0,
|
|
491
|
+
},
|
|
492
|
+
"HM030100YK15H": {
|
|
493
|
+
"extMod": "Yuka1500NA",
|
|
494
|
+
"blade_height_min": 0,
|
|
495
|
+
"blade_height_max": 0,
|
|
496
|
+
"working_speed_min": 0.2,
|
|
497
|
+
"working_speed_max": 0.6,
|
|
498
|
+
"work_area_num_max": 60,
|
|
499
|
+
"path_spacing_min": 15,
|
|
500
|
+
"path_spacing_max": 30,
|
|
501
|
+
"display_image_type": 0,
|
|
502
|
+
},
|
|
503
|
+
"HM020090YK20": {
|
|
504
|
+
"extMod": "Yuka2000",
|
|
505
|
+
"blade_height_min": 0,
|
|
506
|
+
"blade_height_max": 0,
|
|
507
|
+
"working_speed_min": 0.2,
|
|
508
|
+
"working_speed_max": 0.6,
|
|
509
|
+
"work_area_num_max": 60,
|
|
510
|
+
"path_spacing_min": 15,
|
|
511
|
+
"path_spacing_max": 30,
|
|
512
|
+
"display_image_type": 0,
|
|
513
|
+
},
|
|
514
|
+
"HM030100YK20H": {
|
|
515
|
+
"extMod": "Yuka2000NA",
|
|
516
|
+
"blade_height_min": 0,
|
|
517
|
+
"blade_height_max": 0,
|
|
518
|
+
"working_speed_min": 0.2,
|
|
519
|
+
"working_speed_max": 0.6,
|
|
520
|
+
"work_area_num_max": 60,
|
|
521
|
+
"path_spacing_min": 15,
|
|
522
|
+
"path_spacing_max": 30,
|
|
523
|
+
"display_image_type": 0,
|
|
524
|
+
},
|
|
525
|
+
"HM020080YKMINI05": {
|
|
526
|
+
"extMod": "YukaMini500",
|
|
527
|
+
"blade_height_min": 0,
|
|
528
|
+
"blade_height_max": 0,
|
|
529
|
+
"working_speed_min": 0.2,
|
|
530
|
+
"working_speed_max": 0.6,
|
|
531
|
+
"work_area_num_max": 60,
|
|
532
|
+
"path_spacing_min": 8,
|
|
533
|
+
"path_spacing_max": 14,
|
|
534
|
+
"display_image_type": 0,
|
|
535
|
+
},
|
|
536
|
+
"HM050090YKMINI05H": {
|
|
537
|
+
"extMod": "YukaMini500NA",
|
|
538
|
+
"blade_height_min": 0,
|
|
539
|
+
"blade_height_max": 0,
|
|
540
|
+
"working_speed_min": 0.2,
|
|
541
|
+
"working_speed_max": 0.6,
|
|
542
|
+
"work_area_num_max": 60,
|
|
543
|
+
"path_spacing_min": 8,
|
|
544
|
+
"path_spacing_max": 14,
|
|
545
|
+
"display_image_type": 0,
|
|
546
|
+
},
|
|
547
|
+
"HM020080YKMINI08": {
|
|
548
|
+
"extMod": "YukaMini800",
|
|
549
|
+
"blade_height_min": 0,
|
|
550
|
+
"blade_height_max": 0,
|
|
551
|
+
"working_speed_min": 0.2,
|
|
552
|
+
"working_speed_max": 0.6,
|
|
553
|
+
"work_area_num_max": 60,
|
|
554
|
+
"path_spacing_min": 8,
|
|
555
|
+
"path_spacing_max": 14,
|
|
556
|
+
"display_image_type": 0,
|
|
557
|
+
},
|
|
558
|
+
"HM050090YKMINI08H": {
|
|
559
|
+
"extMod": "YukaMini800NA",
|
|
560
|
+
"blade_height_min": 0,
|
|
561
|
+
"blade_height_max": 0,
|
|
562
|
+
"working_speed_min": 0.2,
|
|
563
|
+
"working_speed_max": 0.6,
|
|
564
|
+
"work_area_num_max": 60,
|
|
565
|
+
"path_spacing_min": 8,
|
|
566
|
+
"path_spacing_max": 14,
|
|
567
|
+
"display_image_type": 0,
|
|
568
|
+
},
|
|
569
|
+
"HM020080YKMINI06": {
|
|
570
|
+
"extMod": "YukaMini600",
|
|
571
|
+
"blade_height_min": 0,
|
|
572
|
+
"blade_height_max": 0,
|
|
573
|
+
"working_speed_min": 0.2,
|
|
574
|
+
"working_speed_max": 0.6,
|
|
575
|
+
"work_area_num_max": 60,
|
|
576
|
+
"path_spacing_min": 8,
|
|
577
|
+
"path_spacing_max": 14,
|
|
578
|
+
"display_image_type": 0,
|
|
579
|
+
},
|
|
580
|
+
"HM020080YKMINI07": {
|
|
581
|
+
"extMod": "YukaMini700",
|
|
582
|
+
"blade_height_min": 0,
|
|
583
|
+
"blade_height_max": 0,
|
|
584
|
+
"working_speed_min": 0.2,
|
|
585
|
+
"working_speed_max": 0.6,
|
|
586
|
+
"work_area_num_max": 60,
|
|
587
|
+
"path_spacing_min": 8,
|
|
588
|
+
"path_spacing_max": 14,
|
|
589
|
+
"display_image_type": 0,
|
|
590
|
+
},
|
|
591
|
+
"HM050090YKMINI06H": {
|
|
592
|
+
"extMod": "YukaMini600NA",
|
|
593
|
+
"blade_height_min": 0,
|
|
594
|
+
"blade_height_max": 0,
|
|
595
|
+
"working_speed_min": 0.2,
|
|
596
|
+
"working_speed_max": 0.6,
|
|
597
|
+
"work_area_num_max": 60,
|
|
598
|
+
"path_spacing_min": 8,
|
|
599
|
+
"path_spacing_max": 14,
|
|
600
|
+
"display_image_type": 0,
|
|
601
|
+
},
|
|
602
|
+
"HM050090YKMINI07H": {
|
|
603
|
+
"extMod": "YukaMini700NA",
|
|
604
|
+
"blade_height_min": 0,
|
|
605
|
+
"blade_height_max": 0,
|
|
606
|
+
"working_speed_min": 0.2,
|
|
607
|
+
"working_speed_max": 0.6,
|
|
608
|
+
"work_area_num_max": 60,
|
|
609
|
+
"path_spacing_min": 8,
|
|
610
|
+
"path_spacing_max": 14,
|
|
611
|
+
"display_image_type": 0,
|
|
612
|
+
},
|
|
613
|
+
"HM020090YKPLUS15": {
|
|
614
|
+
"extMod": "YukaPlus1500",
|
|
615
|
+
"blade_height_min": 0,
|
|
616
|
+
"blade_height_max": 0,
|
|
617
|
+
"working_speed_min": 0.2,
|
|
618
|
+
"working_speed_max": 0.6,
|
|
619
|
+
"work_area_num_max": 60,
|
|
620
|
+
"path_spacing_min": 15,
|
|
621
|
+
"path_spacing_max": 30,
|
|
622
|
+
"display_image_type": 0,
|
|
623
|
+
},
|
|
624
|
+
"HM020090YKPLUS20": {
|
|
625
|
+
"extMod": "YukaPlus2000",
|
|
626
|
+
"blade_height_min": 0,
|
|
627
|
+
"blade_height_max": 0,
|
|
628
|
+
"working_speed_min": 0.2,
|
|
629
|
+
"working_speed_max": 0.6,
|
|
630
|
+
"work_area_num_max": 60,
|
|
631
|
+
"path_spacing_min": 15,
|
|
632
|
+
"path_spacing_max": 30,
|
|
633
|
+
"display_image_type": 0,
|
|
634
|
+
},
|
|
635
|
+
"HM030100YKPLUS15H": {
|
|
636
|
+
"extMod": "YukaPlus1500NA",
|
|
637
|
+
"blade_height_min": 0,
|
|
638
|
+
"blade_height_max": 0,
|
|
639
|
+
"working_speed_min": 0.2,
|
|
640
|
+
"working_speed_max": 0.6,
|
|
641
|
+
"work_area_num_max": 60,
|
|
642
|
+
"path_spacing_min": 15,
|
|
643
|
+
"path_spacing_max": 30,
|
|
644
|
+
"display_image_type": 0,
|
|
645
|
+
},
|
|
646
|
+
"HM030100YKPLUS20H": {
|
|
647
|
+
"extMod": "YukaPlus2000NA",
|
|
648
|
+
"blade_height_min": 0,
|
|
649
|
+
"blade_height_max": 0,
|
|
650
|
+
"working_speed_min": 0.2,
|
|
651
|
+
"working_speed_max": 0.6,
|
|
652
|
+
"work_area_num_max": 60,
|
|
653
|
+
"path_spacing_min": 15,
|
|
654
|
+
"path_spacing_max": 30,
|
|
655
|
+
"display_image_type": 0,
|
|
656
|
+
},
|
|
657
|
+
"HM020080MN23103": {
|
|
658
|
+
"extMod": "MN231_1",
|
|
659
|
+
"blade_height_min": 0,
|
|
660
|
+
"blade_height_max": 0,
|
|
661
|
+
"working_speed_min": 0.2,
|
|
662
|
+
"working_speed_max": 0.6,
|
|
663
|
+
"work_area_num_max": 60,
|
|
664
|
+
"path_spacing_min": 8,
|
|
665
|
+
"path_spacing_max": 14,
|
|
666
|
+
"display_image_type": 0,
|
|
667
|
+
},
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
def get_device_config(self, int_mod_or_key: str) -> dict:
|
|
671
|
+
"""Look up device configuration by internal model code
|
|
672
|
+
|
|
673
|
+
Args:
|
|
674
|
+
int_mod (str): Internal model code
|
|
675
|
+
|
|
676
|
+
Returns:
|
|
677
|
+
dict: Device configuration or None if not found
|
|
678
|
+
:param int_mod_or_key:
|
|
679
|
+
|
|
680
|
+
"""
|
|
681
|
+
if found := self.inner_list.get(int_mod_or_key):
|
|
682
|
+
return found
|
|
683
|
+
else:
|
|
684
|
+
return self.default_list.get(int_mod_or_key)
|
|
685
|
+
|
|
686
|
+
def get_external_model(self, int_mod: str):
|
|
687
|
+
"""Get external model name for given internal model code
|
|
688
|
+
|
|
689
|
+
Args:
|
|
690
|
+
int_mod (str): Internal model code
|
|
691
|
+
|
|
692
|
+
Returns:
|
|
693
|
+
str: External model name or None if not found
|
|
694
|
+
|
|
695
|
+
"""
|
|
696
|
+
config = self.get_device_config(int_mod)
|
|
697
|
+
return config.get("extMod") if config else None
|
|
698
|
+
|
|
699
|
+
def get_working_parameters(self, int_mod_or_key: str) -> DeviceLimits | None:
|
|
700
|
+
"""Get working parameters for given internal model code
|
|
701
|
+
|
|
702
|
+
Args:
|
|
703
|
+
int_mod (str): Internal model code
|
|
704
|
+
|
|
705
|
+
Returns:
|
|
706
|
+
dict: Working parameters or None if not found
|
|
707
|
+
:param int_mod_or_key:
|
|
708
|
+
|
|
709
|
+
"""
|
|
710
|
+
config = self.get_device_config(int_mod_or_key)
|
|
711
|
+
if not config:
|
|
712
|
+
return None
|
|
713
|
+
|
|
714
|
+
return DeviceLimits.from_dict(
|
|
715
|
+
{
|
|
716
|
+
"blade_height": {"min": config["blade_height_min"], "max": config["blade_height_max"]},
|
|
717
|
+
"working_speed": {"min": config["working_speed_min"], "max": config["working_speed_max"]},
|
|
718
|
+
"path_spacing": {"min": config["path_spacing_min"], "max": config["path_spacing_max"]},
|
|
719
|
+
"work_area_num_max": config["work_area_num_max"],
|
|
720
|
+
"display_image_type": config["display_image_type"],
|
|
721
|
+
}
|
|
722
|
+
)
|
|
723
|
+
|
|
724
|
+
@staticmethod
|
|
725
|
+
def get_best_default(product_key: str) -> DeviceLimits:
|
|
726
|
+
"""Basic fallback if device is offline."""
|
|
727
|
+
|
|
728
|
+
if DeviceType.contain_luba_product_key(product_key):
|
|
729
|
+
return DeviceLimits.from_dict(default_luba_config)
|
|
730
|
+
if DeviceType.contain_luba_2_product_key(product_key):
|
|
731
|
+
return DeviceLimits.from_dict(default_luba_config)
|
|
732
|
+
|
|
733
|
+
return DeviceLimits.from_dict(default_yuka_config)
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
# # Usage example:
|
|
737
|
+
# def main():
|
|
738
|
+
# device_config = DeviceConfig()
|
|
739
|
+
#
|
|
740
|
+
# # Look up a specific device
|
|
741
|
+
# model_code = "HM010060LBAWD10"
|
|
742
|
+
#
|
|
743
|
+
# # Get full configuration
|
|
744
|
+
# config = device_config.get_device_config(model_code)
|
|
745
|
+
# print(f"Full configuration for {model_code}:")
|
|
746
|
+
# print(config)
|
|
747
|
+
#
|
|
748
|
+
# # Get external model name
|
|
749
|
+
# ext_model = device_config.get_external_model(model_code)
|
|
750
|
+
# print(f"\nExternal model name: {ext_model}")
|
|
751
|
+
#
|
|
752
|
+
# # Get working parameters
|
|
753
|
+
# params = device_config.get_working_parameters(model_code)
|
|
754
|
+
# print(f"\nWorking parameters:")
|
|
755
|
+
# print(params)
|