pymammotion 0.4.0a2__py3-none-any.whl → 0.5.51__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.

Potentially problematic release.


This version of pymammotion might be problematic. Click here for more details.

Files changed (133) hide show
  1. pymammotion/__init__.py +5 -4
  2. pymammotion/aliyun/client.py +235 -0
  3. pymammotion/aliyun/cloud_gateway.py +312 -64
  4. pymammotion/aliyun/model/aep_response.py +1 -2
  5. pymammotion/aliyun/model/dev_by_account_response.py +170 -23
  6. pymammotion/aliyun/model/login_by_oauth_response.py +2 -3
  7. pymammotion/aliyun/model/regions_response.py +3 -3
  8. pymammotion/aliyun/model/session_by_authcode_response.py +2 -2
  9. pymammotion/aliyun/model/thing_response.py +12 -0
  10. pymammotion/aliyun/regions.py +62 -0
  11. pymammotion/aliyun/tea/core.py +297 -0
  12. pymammotion/bluetooth/ble.py +7 -9
  13. pymammotion/bluetooth/ble_message.py +10 -14
  14. pymammotion/const.py +3 -0
  15. pymammotion/data/model/__init__.py +1 -2
  16. pymammotion/data/model/device.py +95 -27
  17. pymammotion/data/model/device_config.py +4 -4
  18. pymammotion/data/model/device_info.py +35 -0
  19. pymammotion/data/model/device_limits.py +10 -10
  20. pymammotion/data/model/enums.py +12 -2
  21. pymammotion/data/model/errors.py +12 -0
  22. pymammotion/data/model/events.py +14 -0
  23. pymammotion/data/model/generate_geojson.py +521 -0
  24. pymammotion/data/model/generate_route_information.py +2 -2
  25. pymammotion/data/model/hash_list.py +370 -57
  26. pymammotion/data/model/location.py +4 -4
  27. pymammotion/data/model/mowing_modes.py +17 -1
  28. pymammotion/data/model/raw_data.py +2 -10
  29. pymammotion/data/model/region_data.py +10 -11
  30. pymammotion/data/model/report_info.py +31 -5
  31. pymammotion/data/model/work.py +27 -0
  32. pymammotion/data/mower_state_manager.py +316 -0
  33. pymammotion/data/mqtt/event.py +73 -28
  34. pymammotion/data/mqtt/mammotion_properties.py +257 -0
  35. pymammotion/data/mqtt/properties.py +93 -78
  36. pymammotion/data/mqtt/status.py +18 -17
  37. pymammotion/event/event.py +27 -6
  38. pymammotion/homeassistant/__init__.py +3 -0
  39. pymammotion/homeassistant/mower_api.py +484 -0
  40. pymammotion/homeassistant/rtk_api.py +54 -0
  41. pymammotion/http/encryption.py +5 -6
  42. pymammotion/http/http.py +574 -28
  43. pymammotion/http/model/__init__.py +0 -0
  44. pymammotion/{aliyun/model/stream_subscription_response.py → http/model/camera_stream.py} +14 -2
  45. pymammotion/http/model/http.py +129 -4
  46. pymammotion/http/model/response_factory.py +61 -0
  47. pymammotion/http/model/rtk.py +16 -0
  48. pymammotion/mammotion/commands/abstract_message.py +7 -5
  49. pymammotion/mammotion/commands/mammotion_command.py +30 -1
  50. pymammotion/mammotion/commands/messages/basestation.py +43 -0
  51. pymammotion/mammotion/commands/messages/driver.py +61 -29
  52. pymammotion/mammotion/commands/messages/media.py +68 -15
  53. pymammotion/mammotion/commands/messages/navigation.py +61 -25
  54. pymammotion/mammotion/commands/messages/network.py +17 -23
  55. pymammotion/mammotion/commands/messages/ota.py +18 -18
  56. pymammotion/mammotion/commands/messages/system.py +32 -49
  57. pymammotion/mammotion/commands/messages/video.py +15 -16
  58. pymammotion/mammotion/devices/__init__.py +27 -3
  59. pymammotion/mammotion/devices/base.py +40 -131
  60. pymammotion/mammotion/devices/mammotion.py +436 -201
  61. pymammotion/mammotion/devices/mammotion_bluetooth.py +57 -47
  62. pymammotion/mammotion/devices/mammotion_cloud.py +134 -105
  63. pymammotion/mammotion/devices/mammotion_mower_ble.py +49 -0
  64. pymammotion/mammotion/devices/mammotion_mower_cloud.py +39 -0
  65. pymammotion/mammotion/devices/managers/managers.py +81 -0
  66. pymammotion/mammotion/devices/mower_device.py +124 -0
  67. pymammotion/mammotion/devices/mower_manager.py +107 -0
  68. pymammotion/mammotion/devices/rtk_ble.py +89 -0
  69. pymammotion/mammotion/devices/rtk_cloud.py +113 -0
  70. pymammotion/mammotion/devices/rtk_device.py +50 -0
  71. pymammotion/mammotion/devices/rtk_manager.py +122 -0
  72. pymammotion/mqtt/__init__.py +2 -1
  73. pymammotion/mqtt/aliyun_mqtt.py +232 -0
  74. pymammotion/mqtt/linkkit/__init__.py +5 -0
  75. pymammotion/mqtt/linkkit/h2client.py +585 -0
  76. pymammotion/mqtt/linkkit/linkkit.py +3023 -0
  77. pymammotion/mqtt/mammotion_mqtt.py +176 -169
  78. pymammotion/mqtt/mqtt_models.py +66 -0
  79. pymammotion/proto/__init__.py +4839 -4
  80. pymammotion/proto/basestation.proto +8 -0
  81. pymammotion/proto/basestation_pb2.py +11 -9
  82. pymammotion/proto/basestation_pb2.pyi +16 -2
  83. pymammotion/proto/dev_net.proto +79 -55
  84. pymammotion/proto/dev_net_pb2.py +60 -56
  85. pymammotion/proto/dev_net_pb2.pyi +49 -6
  86. pymammotion/proto/luba_msg.proto +2 -1
  87. pymammotion/proto/luba_msg_pb2.py +6 -6
  88. pymammotion/proto/luba_msg_pb2.pyi +1 -0
  89. pymammotion/proto/luba_mul.proto +62 -1
  90. pymammotion/proto/luba_mul_pb2.py +38 -22
  91. pymammotion/proto/luba_mul_pb2.pyi +94 -7
  92. pymammotion/proto/mctrl_driver.proto +44 -4
  93. pymammotion/proto/mctrl_driver_pb2.py +26 -14
  94. pymammotion/proto/mctrl_driver_pb2.pyi +66 -11
  95. pymammotion/proto/mctrl_nav.proto +93 -52
  96. pymammotion/proto/mctrl_nav_pb2.py +75 -67
  97. pymammotion/proto/mctrl_nav_pb2.pyi +142 -56
  98. pymammotion/proto/mctrl_ota.proto +40 -2
  99. pymammotion/proto/mctrl_ota_pb2.py +23 -13
  100. pymammotion/proto/mctrl_ota_pb2.pyi +67 -4
  101. pymammotion/proto/mctrl_pept.proto +8 -3
  102. pymammotion/proto/mctrl_pept_pb2.py +8 -6
  103. pymammotion/proto/mctrl_pept_pb2.pyi +14 -6
  104. pymammotion/proto/mctrl_sys.proto +325 -86
  105. pymammotion/proto/mctrl_sys_pb2.py +162 -98
  106. pymammotion/proto/mctrl_sys_pb2.pyi +451 -25
  107. pymammotion/proto/message_pool.py +3 -0
  108. pymammotion/proto/py.typed +0 -0
  109. pymammotion/utility/constant/device_constant.py +29 -5
  110. pymammotion/utility/datatype_converter.py +13 -12
  111. pymammotion/utility/device_config.py +522 -130
  112. pymammotion/utility/device_type.py +218 -21
  113. pymammotion/utility/map.py +238 -51
  114. pymammotion/utility/mur_mur_hash.py +159 -0
  115. {pymammotion-0.4.0a2.dist-info → pymammotion-0.5.51.dist-info}/METADATA +26 -31
  116. pymammotion-0.5.51.dist-info/RECORD +152 -0
  117. {pymammotion-0.4.0a2.dist-info → pymammotion-0.5.51.dist-info}/WHEEL +1 -1
  118. pymammotion/aliyun/cloud_service.py +0 -65
  119. pymammotion/data/model/plan.py +0 -58
  120. pymammotion/data/state_manager.py +0 -129
  121. pymammotion/proto/basestation.py +0 -59
  122. pymammotion/proto/common.py +0 -12
  123. pymammotion/proto/dev_net.py +0 -381
  124. pymammotion/proto/luba_msg.py +0 -81
  125. pymammotion/proto/luba_mul.py +0 -76
  126. pymammotion/proto/mctrl_driver.py +0 -100
  127. pymammotion/proto/mctrl_nav.py +0 -664
  128. pymammotion/proto/mctrl_ota.py +0 -48
  129. pymammotion/proto/mctrl_pept.py +0 -41
  130. pymammotion/proto/mctrl_sys.py +0 -574
  131. pymammotion-0.4.0a2.dist-info/RECORD +0 -131
  132. /pymammotion/http/{_init_.py → __init__.py} +0 -0
  133. {pymammotion-0.4.0a2.dist-info → pymammotion-0.5.51.dist-info/licenses}/LICENSE +0 -0
@@ -1,6 +1,4841 @@
1
- import betterproto
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # sources: pymammotion/proto/basestation.proto, pymammotion/proto/common.proto, pymammotion/proto/dev_net.proto, pymammotion/proto/luba_msg.proto, pymammotion/proto/luba_mul.proto, pymammotion/proto/mctrl_driver.proto, pymammotion/proto/mctrl_nav.proto, pymammotion/proto/mctrl_ota.proto, pymammotion/proto/mctrl_pept.proto, pymammotion/proto/mctrl_sys.proto
3
+ # plugin: python-betterproto2
4
+ # This file has been @generated
2
5
 
6
+ __all__ = (
7
+ "ApnAuthType",
8
+ "AppGetAllAreaHashName",
9
+ "AppGetCutterWorkMode",
10
+ "AppRequestCoverPathsT",
11
+ "AppSetCutterWorkMode",
12
+ "AppToBaseMqttRtkT",
13
+ "AppToDevGetMqttConfigT",
14
+ "AppToDevSetMqttRtkT",
15
+ "AreaHashName",
16
+ "BaseInfo",
17
+ "BaseScore",
18
+ "BaseStation",
19
+ "BaseToAppMqttRtkT",
20
+ "BladeUsed",
21
+ "BleLogUploadUpdateProgress",
22
+ "BleSignatureReq",
23
+ "BleTestBytes",
24
+ "ChargePileType",
25
+ "CollectMotorState",
26
+ "CollectorStatusT",
27
+ "CommDataCouple",
28
+ "CommandResult",
29
+ "CostmapT",
30
+ "CoverPathPacketT",
31
+ "CoverPathUploadT",
32
+ "CutterWorkMode",
33
+ "DebugCfgReadT",
34
+ "DebugCfgWriteT",
35
+ "DebugCommonReportT",
36
+ "DebugEnableT",
37
+ "DebugErrocodeReportT",
38
+ "DebugResCfgAbilityT",
39
+ "DebugSunTimeT",
40
+ "DevNet",
41
+ "DevStatueT",
42
+ "DevToAppGetMqttConfigT",
43
+ "DevToAppSetMqttRtkT",
44
+ "DeviceFwInfo",
45
+ "DeviceProductTypeInfoT",
46
+ "DownlinkT",
47
+ "DrvCollectCtrlByHand",
48
+ "DrvDebugDdsZmq",
49
+ "DrvDevInfoReq",
50
+ "DrvDevInfoReqId",
51
+ "DrvDevInfoResp",
52
+ "DrvDevInfoRespId",
53
+ "DrvDevInfoResult",
54
+ "DrvKnifeChangeReport",
55
+ "DrvKnifeHeight",
56
+ "DrvKnifeStatus",
57
+ "DrvListUpload",
58
+ "DrvMotionCtrl",
59
+ "DrvMowCtrlByHand",
60
+ "DrvSrSpeed",
61
+ "DrvUpgradeReport",
62
+ "DrvUploadFileCancel",
63
+ "DrvUploadFileFileType",
64
+ "DrvUploadFileReq",
65
+ "DrvUploadFileToAppReq",
66
+ "DrvUploadFileToAppRsp",
67
+ "DrvWifiConf",
68
+ "DrvWifiList",
69
+ "DrvWifiMsg",
70
+ "DrvWifiSet",
71
+ "DrvWifiUpload",
72
+ "FotaInfoT",
73
+ "FotaSubInfoT",
74
+ "FpvToAppInfoT",
75
+ "FwDownloadCtrl",
76
+ "GetHeadlamp",
77
+ "GetInfoReq",
78
+ "GetInfoRsp",
79
+ "GetMnetCfgReq",
80
+ "GetMnetCfgRsp",
81
+ "GetMnetInfoReq",
82
+ "GetMnetInfoRsp",
83
+ "GetNetworkInfoReq",
84
+ "GetNetworkInfoRsp",
85
+ "Getlamprsp",
86
+ "InfoType",
87
+ "IotConctrlType",
88
+ "LampCtrlSta",
89
+ "LampManualCtrlSta",
90
+ "LockStateT",
91
+ "LoraCfgReq",
92
+ "LoraCfgRsp",
93
+ "LubaMsg",
94
+ "MCtrlSimulationCmdData",
95
+ "ManualElementMessage",
96
+ "MctlDriver",
97
+ "MctlNav",
98
+ "MctlOta",
99
+ "MctlPept",
100
+ "MctlSys",
101
+ "MnetApn",
102
+ "MnetApnCfg",
103
+ "MnetApnSetCfg",
104
+ "MnetCfg",
105
+ "MnetInetStatus",
106
+ "MnetInfo",
107
+ "MnetLinkType",
108
+ "ModFwInfo",
109
+ "MowToAppInfoT",
110
+ "MowToAppQctoolsInfoT",
111
+ "MqttRtkConnect",
112
+ "MsgAttr",
113
+ "MsgCmdType",
114
+ "MsgDevice",
115
+ "MsgNull",
116
+ "MsgbusPkt",
117
+ "MulAudioCfg",
118
+ "MulCameraPosition",
119
+ "MulLanguage",
120
+ "MulSetAudio",
121
+ "MulSetEncode",
122
+ "MulSetVideo",
123
+ "MulSetVideoAck",
124
+ "MulSetWiper",
125
+ "MulSetWiperAck",
126
+ "MulSex",
127
+ "MulVideoErrorCode",
128
+ "MulWiperErrorCode",
129
+ "NavBorderDataGet",
130
+ "NavBorderDataGetAck",
131
+ "NavBorderState",
132
+ "NavCHlLineData",
133
+ "NavCHlLineDataAck",
134
+ "NavEdgePoints",
135
+ "NavEdgePointsAck",
136
+ "NavGetAllPlanTask",
137
+ "NavGetCommData",
138
+ "NavGetCommDataAck",
139
+ "NavGetHashList",
140
+ "NavGetHashListAck",
141
+ "NavGetNameTime",
142
+ "NavHeadingStateT",
143
+ "NavLatLonUp",
144
+ "NavMapNameMsg",
145
+ "NavObstiBorderDataGet",
146
+ "NavObstiBorderDataGetAck",
147
+ "NavOptLineUp",
148
+ "NavOptObsInfo",
149
+ "NavOptiBorderInfo",
150
+ "NavPlanJobSet",
151
+ "NavPlanTaskExecute",
152
+ "NavPosUp",
153
+ "NavReqCoverPath",
154
+ "NavResFrame",
155
+ "NavStartJob",
156
+ "NavSysHashOverview",
157
+ "NavSysParamMsg",
158
+ "NavTaskBreakPoint",
159
+ "NavTaskCtrl",
160
+ "NavTaskCtrlAck",
161
+ "NavTaskIdRw",
162
+ "NavTaskInfo",
163
+ "NavTaskProgress",
164
+ "NavUnableTimeSet",
165
+ "NavUploadZigZagResult",
166
+ "NavUploadZigZagResultAck",
167
+ "NetSpeed",
168
+ "NetType",
169
+ "NetUsedType",
170
+ "OffPartId",
171
+ "Operation",
172
+ "OtaInfo",
173
+ "PerceptionLocalMapVisualizationT",
174
+ "PerceptionObstaclesT",
175
+ "PerceptionObstaclesVisualizationT",
176
+ "PerceptionUniversalBuffT",
177
+ "PlanTaskNameIdT",
178
+ "PosScore",
179
+ "QcAppTestConditions",
180
+ "QcAppTestExcept",
181
+ "QcAppTestId",
182
+ "RemoteResetReqT",
183
+ "RemoteResetRspT",
184
+ "ReportInfoCfg",
185
+ "ReportInfoData",
186
+ "ReportInfoT",
187
+ "RequestBasestationInfoT",
188
+ "ResponseBasestationInfoT",
189
+ "ResponseSetModeT",
190
+ "RptAct",
191
+ "RptBasestationInfo",
192
+ "RptConnectStatus",
193
+ "RptCutterRpm",
194
+ "RptDevLocation",
195
+ "RptDevStatus",
196
+ "RptInfoType",
197
+ "RptLora",
198
+ "RptMaintain",
199
+ "RptRtk",
200
+ "RptWork",
201
+ "RtkCfgReqAckT",
202
+ "RtkCfgReqT",
203
+ "RtkSysMaskQueryAckT",
204
+ "RtkSysMaskQueryT",
205
+ "RtkUsedType",
206
+ "SetDrvBleMtu",
207
+ "SetHeadlamp",
208
+ "SetMnetCfgReq",
209
+ "SetMnetCfgRsp",
210
+ "SetPeripheralsT",
211
+ "Setlamprsp",
212
+ "SimCardSta",
213
+ "SimulationCmdData",
214
+ "SocMul",
215
+ "SpecialModeT",
216
+ "SvgMessageAckT",
217
+ "SvgMessageT",
218
+ "SysBatUp",
219
+ "SysBoardType",
220
+ "SysBorder",
221
+ "SysCommCmd",
222
+ "SysDelJobPlan",
223
+ "SysDevErrCode",
224
+ "SysErrorCode",
225
+ "SysJobPlan",
226
+ "SysJobPlanTime",
227
+ "SysKnifeControl",
228
+ "SysMowInfo",
229
+ "SysOffChipFlash",
230
+ "SysOptiLineAck",
231
+ "SysPlanJobStatus",
232
+ "SysResetBladeUsedTimeStatus",
233
+ "SysResetSystemStatus",
234
+ "SysSetDateTime",
235
+ "SysSetTimeZone",
236
+ "SysSwVersion",
237
+ "SysUploadFileProgress",
238
+ "SysWorkState",
239
+ "SystemRapidStateTunnelMsg",
240
+ "SystemTardStateTunnelMsg",
241
+ "SystemTmpCycleTxMsg",
242
+ "SystemUpdateBufMsg",
243
+ "TimeCtrlLight",
244
+ "UnloadMotorState",
245
+ "UplinkT",
246
+ "UserSetBladeUsedWarnTime",
247
+ "VioSurvivalInfoT",
248
+ "VioToAppInfoMsg",
249
+ "VisionCtrlMsg",
250
+ "VisionPointInfoMsg",
251
+ "VisionPointMsg",
252
+ "VisionStatisticInfoMsg",
253
+ "VisionStatisticMsg",
254
+ "WifiConfType",
255
+ "WifiIotStatusReport",
256
+ "WorkModeT",
257
+ "WorkReportCmdData",
258
+ "WorkReportInfoAck",
259
+ "WorkReportUpdateAck",
260
+ "WorkReportUpdateCmd",
261
+ "ZoneStartPrecentT",
262
+ )
3
263
 
4
- def has_field(message: betterproto.Message) -> bool:
5
- """Check if the message has any fields serialized on wire."""
6
- return betterproto.serialized_on_wire(message)
264
+ from dataclasses import dataclass
265
+
266
+ import betterproto2
267
+
268
+ from .message_pool import default_message_pool
269
+
270
+ _COMPILER_VERSION = "0.9.0"
271
+ betterproto2.check_compiler_version(_COMPILER_VERSION)
272
+
273
+
274
+ class ApnAuthType(betterproto2.Enum):
275
+ APN_AUTH_NONE = 0
276
+
277
+ APN_AUTH_PAP = 1
278
+
279
+ APN_AUTH_CHAP = 2
280
+
281
+ APN_AUTH_PAP_CHAP = 3
282
+
283
+
284
+ class CollectMotorState(betterproto2.Enum):
285
+ COLLECT_CLOSE = 0
286
+
287
+ COLLECT_OPEN = 1
288
+
289
+ COLLECT_STUCK = 2
290
+
291
+ COLLECT_ABNORMAL = 3
292
+
293
+
294
+ class CommandResult(betterproto2.Enum):
295
+ RS_OK = 0
296
+
297
+ RS_FAIL_MAGIC = 1
298
+
299
+ RS_FAIL_OTA = 2
300
+
301
+ RS_FAIL_SLOPE = 3
302
+
303
+
304
+ class CutterWorkMode(betterproto2.Enum):
305
+ CUTTER_STANDARD = 0
306
+
307
+ CUTTER_ECONOMIC = 1
308
+
309
+ CUTTER_PERFORMANCE = 2
310
+
311
+
312
+ class DrvDevInfoResult(betterproto2.Enum):
313
+ DRV_RESULT_FAIL = 0
314
+
315
+ DRV_RESULT_SUC = 1
316
+
317
+ DRV_RESULT_NOTSUP = 2
318
+
319
+
320
+ class DrvUploadFileFileType(betterproto2.Enum):
321
+ FILE_TYPE_ALL = 0
322
+
323
+ FILE_TYPE_SYSLOG = 1
324
+
325
+ FILE_TYPE_NAVLOG = 2
326
+
327
+ FILE_TYPE_RTKLOG = 3
328
+
329
+
330
+ class InfoType(betterproto2.Enum):
331
+ IT_BASE = 0
332
+
333
+ IT_OTA = 1
334
+
335
+
336
+ class IotConctrlType(betterproto2.Enum):
337
+ IOT_TYPE_OFFLINE = 0
338
+
339
+ IOT_TYPE_ONLINE = 1
340
+
341
+ IOT_TYPE_RESET = 2
342
+
343
+
344
+ class LampCtrlSta(betterproto2.Enum):
345
+ power_off = 0
346
+
347
+ power_on = 1
348
+
349
+ power_ctrl_on = 2
350
+
351
+
352
+ class LampManualCtrlSta(betterproto2.Enum):
353
+ manual_power_off = 0
354
+
355
+ manual_power_on = 1
356
+
357
+
358
+ class MnetLinkType(betterproto2.Enum):
359
+ MNET_LINK_NONE = 0
360
+
361
+ MNET_LINK_2G = 1
362
+
363
+ MNET_LINK_3G = 2
364
+
365
+ MNET_LINK_4G = 3
366
+
367
+ MNET_LINK_5G = 4
368
+
369
+
370
+ class MsgAttr(betterproto2.Enum):
371
+ NONE = 0
372
+
373
+ REQ = 1
374
+
375
+ RESP = 2
376
+
377
+ REPORT = 3
378
+
379
+ @classmethod
380
+ def betterproto_value_to_renamed_proto_names(cls) -> dict[int, str]:
381
+ return {
382
+ 0: "MSG_ATTR_NONE",
383
+ 1: "MSG_ATTR_REQ",
384
+ 2: "MSG_ATTR_RESP",
385
+ 3: "MSG_ATTR_REPORT",
386
+ }
387
+
388
+ @classmethod
389
+ def betterproto_renamed_proto_names_to_value(cls) -> dict[str, int]:
390
+ return {
391
+ "MSG_ATTR_NONE": 0,
392
+ "MSG_ATTR_REQ": 1,
393
+ "MSG_ATTR_RESP": 2,
394
+ "MSG_ATTR_REPORT": 3,
395
+ }
396
+
397
+
398
+ class MsgCmdType(betterproto2.Enum):
399
+ START = 0
400
+
401
+ NAV = 240
402
+
403
+ LOCALIZATION = 241
404
+
405
+ PLANNING = 242
406
+
407
+ EMBED_DRIVER = 243
408
+
409
+ EMBED_SYS = 244
410
+
411
+ EMBED_MIDWARE = 245
412
+
413
+ EMBED_OTA = 246
414
+
415
+ APPLICATION = 247
416
+
417
+ ESP = 248
418
+
419
+ MUL = 249
420
+
421
+ PEPT = 250
422
+
423
+ BASESTATION = 251
424
+
425
+ @classmethod
426
+ def betterproto_value_to_renamed_proto_names(cls) -> dict[int, str]:
427
+ return {
428
+ 0: "MSG_CMD_TYPE_START",
429
+ 240: "MSG_CMD_TYPE_NAV",
430
+ 241: "MSG_CMD_TYPE_LOCALIZATION",
431
+ 242: "MSG_CMD_TYPE_PLANNING",
432
+ 243: "MSG_CMD_TYPE_EMBED_DRIVER",
433
+ 244: "MSG_CMD_TYPE_EMBED_SYS",
434
+ 245: "MSG_CMD_TYPE_EMBED_MIDWARE",
435
+ 246: "MSG_CMD_TYPE_EMBED_OTA",
436
+ 247: "MSG_CMD_TYPE_APPLICATION",
437
+ 248: "MSG_CMD_TYPE_ESP",
438
+ 249: "MSG_CMD_TYPE_MUL",
439
+ 250: "MSG_CMD_TYPE_PEPT",
440
+ 251: "MSG_CMD_TYPE_BASESTATION",
441
+ }
442
+
443
+ @classmethod
444
+ def betterproto_renamed_proto_names_to_value(cls) -> dict[str, int]:
445
+ return {
446
+ "MSG_CMD_TYPE_START": 0,
447
+ "MSG_CMD_TYPE_NAV": 240,
448
+ "MSG_CMD_TYPE_LOCALIZATION": 241,
449
+ "MSG_CMD_TYPE_PLANNING": 242,
450
+ "MSG_CMD_TYPE_EMBED_DRIVER": 243,
451
+ "MSG_CMD_TYPE_EMBED_SYS": 244,
452
+ "MSG_CMD_TYPE_EMBED_MIDWARE": 245,
453
+ "MSG_CMD_TYPE_EMBED_OTA": 246,
454
+ "MSG_CMD_TYPE_APPLICATION": 247,
455
+ "MSG_CMD_TYPE_ESP": 248,
456
+ "MSG_CMD_TYPE_MUL": 249,
457
+ "MSG_CMD_TYPE_PEPT": 250,
458
+ "MSG_CMD_TYPE_BASESTATION": 251,
459
+ }
460
+
461
+
462
+ class MsgDevice(betterproto2.Enum):
463
+ DEV_COMM_ESP = 0
464
+
465
+ DEV_MAINCTL = 1
466
+
467
+ DEV_LEFTMOTOR = 2
468
+
469
+ DEV_RIGHTMOTOR = 3
470
+
471
+ DEV_BASESTATION = 4
472
+
473
+ DEV_RTKCLI = 5
474
+
475
+ DEV_USBHOST = 6
476
+
477
+ DEV_MOBILEAPP = 7
478
+
479
+ DEV_IOTSERVER = 8
480
+
481
+ DEV_BMS = 9
482
+
483
+ DEV_NAVIGATION = 17
484
+
485
+ DEV_LOCALIZATION = 18
486
+
487
+ DEV_PERCEPTION = 19
488
+
489
+ SOC_MODULE_MULTIMEDIA = 21
490
+
491
+ DEV_IOTCTRL = 29
492
+
493
+
494
+ class MulCameraPosition(betterproto2.Enum):
495
+ LEFT = 0
496
+
497
+ RIGHT = 1
498
+
499
+ REAR = 2
500
+
501
+ ALL = 3
502
+
503
+
504
+ class MulLanguage(betterproto2.Enum):
505
+ ENGLISH = 0
506
+
507
+ GERMAN = 1
508
+
509
+ FRENCH = 2
510
+
511
+ ITALIAN = 3
512
+
513
+ SPANISH = 4
514
+
515
+ PORTUGUESE = 5
516
+
517
+ DUTCH = 6
518
+
519
+ SWEDISH = 7
520
+
521
+ NONE_LAN = 8
522
+
523
+
524
+ class MulSex(betterproto2.Enum):
525
+ MAN = 0
526
+
527
+ WOMAN = 1
528
+
529
+ NONE_SEX = 2
530
+
531
+
532
+ class MulVideoErrorCode(betterproto2.Enum):
533
+ SUCCESS = 0
534
+
535
+ ACTIVATION_FAILED = 1
536
+
537
+ NETWORK_NOT_AVAILABLE = 2
538
+
539
+ CREATE_CHANNEL_FAILED = 3
540
+
541
+ PARAM_INVAILD = 4
542
+
543
+
544
+ class MulWiperErrorCode(betterproto2.Enum):
545
+ SET_SUCCESS = 0
546
+
547
+ HW_ERROR = 1
548
+
549
+ NAVIGATION_WORK_FORBID = 2
550
+
551
+
552
+ class NetType(betterproto2.Enum):
553
+ WIFI = 0
554
+
555
+ MNET = 1
556
+
557
+ @classmethod
558
+ def betterproto_value_to_renamed_proto_names(cls) -> dict[int, str]:
559
+ return {
560
+ 0: "NET_TYPE_WIFI",
561
+ 1: "NET_TYPE_MNET",
562
+ }
563
+
564
+ @classmethod
565
+ def betterproto_renamed_proto_names_to_value(cls) -> dict[str, int]:
566
+ return {
567
+ "NET_TYPE_WIFI": 0,
568
+ "NET_TYPE_MNET": 1,
569
+ }
570
+
571
+
572
+ class NetUsedType(betterproto2.Enum):
573
+ NONE = 0
574
+
575
+ WIFI = 1
576
+
577
+ MNET = 2
578
+
579
+ @classmethod
580
+ def betterproto_value_to_renamed_proto_names(cls) -> dict[int, str]:
581
+ return {
582
+ 0: "NET_USED_TYPE_NONE",
583
+ 1: "NET_USED_TYPE_WIFI",
584
+ 2: "NET_USED_TYPE_MNET",
585
+ }
586
+
587
+ @classmethod
588
+ def betterproto_renamed_proto_names_to_value(cls) -> dict[str, int]:
589
+ return {
590
+ "NET_USED_TYPE_NONE": 0,
591
+ "NET_USED_TYPE_WIFI": 1,
592
+ "NET_USED_TYPE_MNET": 2,
593
+ }
594
+
595
+
596
+ class OffPartId(betterproto2.Enum):
597
+ OFF_PART_DL_IMG = 0
598
+
599
+ OFF_PART_UPDINFO_BACK = 1
600
+
601
+ OFF_PART_UPDINFO = 2
602
+
603
+ OFF_PART_NAKEDB = 3
604
+
605
+ OFF_PART_FLASHDB = 4
606
+
607
+ OFF_PART_UPD_APP_IMG = 5
608
+
609
+ OFF_PART_UPD_BMS_IMG = 6
610
+
611
+ OFF_PART_UPD_TMP_IMG = 7
612
+
613
+ OFF_PART_DEV_INFO = 8
614
+
615
+ OFF_PART_NAKEDB_BACK = 9
616
+
617
+ OFF_PART_MAX = 10
618
+
619
+
620
+ class Operation(betterproto2.Enum):
621
+ WRITE = 0
622
+
623
+ READ = 1
624
+
625
+ ERASE = 2
626
+
627
+
628
+ class QcAppTestId(betterproto2.Enum):
629
+ QC_APP_ITEM_ON_CHARGESATSTION = 0
630
+
631
+ QC_APP_TEST_X3_SPEAKER = 1
632
+
633
+ QC_APP_TEST_STATIC_OBSTACLE_DETECTION = 2
634
+
635
+ QC_APP_TEST_CHARGESTATION_TEMP = 3
636
+
637
+ QC_APP_ITEM_KEY = 4
638
+
639
+ QC_APP_TEST_BUMPER_FRONTLEFT = 5
640
+
641
+ QC_APP_TEST_BUMPER_FRONTRIGHT = 6
642
+
643
+ QC_APP_TEST_STOP = 7
644
+
645
+ QC_APP_TEST_UNLOCK = 8
646
+
647
+ QC_APP_TEST_BUZZ = 9
648
+
649
+ QC_APP_TEST_LIFT = 10
650
+
651
+ QC_APP_ITEM_SENEOR = 11
652
+
653
+ QC_APP_TEST_ROLL_LEFT = 12
654
+
655
+ QC_APP_TEST_ROLL_RIGHT = 13
656
+
657
+ QC_APP_TEST_ULTRA_UNCOVER = 14
658
+
659
+ QC_APP_TEST_ULTRA0_COVER = 15
660
+
661
+ QC_APP_TEST_ULTRA1_COVER = 16
662
+
663
+ QC_APP_TEST_ULTRA2_COVER = 17
664
+
665
+ QC_APP_TEST_RAIN = 18
666
+
667
+ QC_APP_ITEM_SQ = 19
668
+
669
+ QC_APP_TEST_BLE_RSSI = 20
670
+
671
+ QC_APP_TEST_SATELLITES_ROVER = 21
672
+
673
+ QC_APP_TEST_SATELLITES_REF_STATION_L1 = 22
674
+
675
+ QC_APP_TEST_SATELLITES_REF_STATION_L2 = 23
676
+
677
+ QC_APP_TEST_SATELLITES_COMMON_VIEW = 24
678
+
679
+ QC_APP_TEST_CNO_ROVER = 25
680
+
681
+ QC_APP_TEST_CNO_REF_STATION = 26
682
+
683
+ QC_APP_TEST_REF_STATION_LINK_STATUS = 27
684
+
685
+ QC_APP_TEST_LOCATION_STATE = 28
686
+
687
+ QC_APP_TEST_CHARGE_STATUS = 29
688
+
689
+ QC_APP_TEST_PPS_EXTI_COUNT = 30
690
+
691
+ QC_APP_TEST_SAFE_KEY = 50
692
+
693
+ QC_APP_TEST_LORA_RSSI = 60
694
+
695
+ QC_APP_TEST_WIPER_TEST = 80
696
+
697
+ QC_APP_TEST_HEADLAMP_TEST = 81
698
+
699
+ QC_APP_TEST_COMPLETE_SIGNAL = 99
700
+
701
+ QC_APP_TEST_MAX = 100
702
+
703
+
704
+ class RptAct(betterproto2.Enum):
705
+ RPT_START = 0
706
+
707
+ RPT_STOP = 1
708
+
709
+ RPT_KEEP = 2
710
+
711
+
712
+ class RptInfoType(betterproto2.Enum):
713
+ RIT_CONNECT = 0
714
+
715
+ RIT_DEV_STA = 1
716
+
717
+ RIT_RTK = 2
718
+
719
+ RIT_DEV_LOCAL = 3
720
+
721
+ RIT_WORK = 4
722
+
723
+ RIT_FW_INFO = 5
724
+
725
+ RIT_MAINTAIN = 6
726
+
727
+ RIT_VISION_POINT = 7
728
+
729
+ RIT_VIO = 8
730
+
731
+ RIT_VISION_STATISTIC = 9
732
+
733
+ RIT_BASESTATION_INFO = 10
734
+
735
+ RIT_CUTTER_INFO = 11
736
+
737
+
738
+ class RtkUsedType(betterproto2.Enum):
739
+ RTK_USED_LORA = 0
740
+
741
+ RTK_USED_INTERNET = 1
742
+
743
+ RTK_USED_NRTK = 2
744
+
745
+
746
+ class SimCardSta(betterproto2.Enum):
747
+ SIM_NONE = 0
748
+
749
+ SIM_NO_CARD = 1
750
+
751
+ SIM_INVALID = 2
752
+
753
+ SIM_INPUT_PIN = 3
754
+
755
+ SIM_INPUT_PUK = 4
756
+
757
+ SIM_OK = 5
758
+
759
+
760
+ class UnloadMotorState(betterproto2.Enum):
761
+ UNLOAD_CLOSE = 0
762
+
763
+ UNLOAD_OPEN = 1
764
+
765
+ UNLOAD_STOP = 2
766
+
767
+ UNLOAD_RUNNING = 3
768
+
769
+
770
+ class WifiConfType(betterproto2.Enum):
771
+ DisconnectWifi = 0
772
+
773
+ ForgetWifi = 1
774
+
775
+ DirectConnectWifi = 2
776
+
777
+ ReconnectWifi = 3
778
+
779
+ set_enable = 4
780
+
781
+
782
+ @dataclass(eq=False, repr=False)
783
+ class AppRequestCoverPathsT(betterproto2.Message):
784
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
785
+
786
+ sub_cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
787
+
788
+ total_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
789
+
790
+ current_frame: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
791
+
792
+ data_hash: "int" = betterproto2.field(5, betterproto2.TYPE_FIXED64)
793
+
794
+ transaction_id: "int" = betterproto2.field(6, betterproto2.TYPE_INT64)
795
+
796
+ reserved: "list[int]" = betterproto2.field(7, betterproto2.TYPE_INT64, repeated=True)
797
+
798
+ hash_list: "list[int]" = betterproto2.field(8, betterproto2.TYPE_FIXED64, repeated=True)
799
+
800
+
801
+ default_message_pool.register_message("", "app_request_cover_paths_t", AppRequestCoverPathsT)
802
+
803
+
804
+ @dataclass(eq=False, repr=False)
805
+ class AppToBaseMqttRtkT(betterproto2.Message):
806
+ rtk_switch: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
807
+
808
+ rtk_url: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
809
+
810
+ rtk_port: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
811
+
812
+ rtk_username: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
813
+
814
+ rtk_password: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
815
+
816
+
817
+ default_message_pool.register_message("", "app_to_base_mqtt_rtk_t", AppToBaseMqttRtkT)
818
+
819
+
820
+ @dataclass(eq=False, repr=False)
821
+ class AppToDevGetMqttConfigT(betterproto2.Message):
822
+ get_mqtt_config: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
823
+
824
+
825
+ default_message_pool.register_message("", "app_to_dev_get_mqtt_config_t", AppToDevGetMqttConfigT)
826
+
827
+
828
+ @dataclass(eq=False, repr=False)
829
+ class AppToDevSetMqttRtkT(betterproto2.Message):
830
+ set_rtk_mode: "RtkUsedType" = betterproto2.field(1, betterproto2.TYPE_ENUM, default_factory=lambda: RtkUsedType(0))
831
+
832
+ stop_nrtk_flag: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
833
+
834
+ set_nrtk_net_mode: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
835
+
836
+
837
+ default_message_pool.register_message("", "app_to_dev_set_mqtt_rtk_t", AppToDevSetMqttRtkT)
838
+
839
+
840
+ @dataclass(eq=False, repr=False)
841
+ class AppGetAllAreaHashName(betterproto2.Message):
842
+ device_id: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
843
+
844
+ hashnames: "list[AreaHashName]" = betterproto2.field(2, betterproto2.TYPE_MESSAGE, repeated=True)
845
+
846
+
847
+ default_message_pool.register_message("", "AppGetAllAreaHashName", AppGetAllAreaHashName)
848
+
849
+
850
+ @dataclass(eq=False, repr=False)
851
+ class AppGetCutterWorkMode(betterproto2.Message):
852
+ current_cutter_mode: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
853
+
854
+ current_cutter_rpm: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
855
+
856
+ query_result: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
857
+
858
+
859
+ default_message_pool.register_message("", "AppGetCutterWorkMode", AppGetCutterWorkMode)
860
+
861
+
862
+ @dataclass(eq=False, repr=False)
863
+ class AppSetCutterWorkMode(betterproto2.Message):
864
+ cutter_mode: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
865
+
866
+ set_result: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
867
+
868
+
869
+ default_message_pool.register_message("", "AppSetCutterWorkMode", AppSetCutterWorkMode)
870
+
871
+
872
+ @dataclass(eq=False, repr=False)
873
+ class AreaHashName(betterproto2.Message):
874
+ hash: "int" = betterproto2.field(1, betterproto2.TYPE_FIXED64)
875
+
876
+ name: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
877
+
878
+
879
+ default_message_pool.register_message("", "area_hash_name", AreaHashName)
880
+
881
+
882
+ @dataclass(eq=False, repr=False)
883
+ class BaseScore(betterproto2.Message):
884
+ base_score: "int" = betterproto2.field(1, betterproto2.TYPE_UINT32)
885
+
886
+ base_leve: "int" = betterproto2.field(2, betterproto2.TYPE_UINT32)
887
+
888
+ base_moved: "int" = betterproto2.field(3, betterproto2.TYPE_UINT32)
889
+
890
+ base_moving: "int" = betterproto2.field(4, betterproto2.TYPE_UINT32)
891
+
892
+
893
+ default_message_pool.register_message("", "base_score", BaseScore)
894
+
895
+
896
+ @dataclass(eq=False, repr=False)
897
+ class BaseToAppMqttRtkT(betterproto2.Message):
898
+ rtk_switch_status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
899
+
900
+
901
+ default_message_pool.register_message("", "base_to_app_mqtt_rtk_t", BaseToAppMqttRtkT)
902
+
903
+
904
+ @dataclass(eq=False, repr=False)
905
+ class BaseInfo(betterproto2.Message):
906
+ dev_version: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
907
+
908
+ dev_status: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
909
+
910
+ batt_val: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
911
+
912
+ init_status: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
913
+
914
+ is_tilt: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
915
+
916
+
917
+ default_message_pool.register_message("", "baseInfo", BaseInfo)
918
+
919
+
920
+ @dataclass(eq=False, repr=False)
921
+ class BaseStation(betterproto2.Message):
922
+ """
923
+
924
+
925
+ Oneofs:
926
+ - BaseStationSubType:
927
+ """
928
+
929
+ to_dev: "RequestBasestationInfoT | None" = betterproto2.field(
930
+ 1, betterproto2.TYPE_MESSAGE, optional=True, group="BaseStationSubType"
931
+ )
932
+
933
+ to_app: "ResponseBasestationInfoT | None" = betterproto2.field(
934
+ 2, betterproto2.TYPE_MESSAGE, optional=True, group="BaseStationSubType"
935
+ )
936
+
937
+ app_to_base_mqtt_rtk_msg: "AppToBaseMqttRtkT | None" = betterproto2.field(
938
+ 3, betterproto2.TYPE_MESSAGE, optional=True, group="BaseStationSubType"
939
+ )
940
+
941
+ base_to_app_mqtt_rtk_msg: "BaseToAppMqttRtkT | None" = betterproto2.field(
942
+ 4, betterproto2.TYPE_MESSAGE, optional=True, group="BaseStationSubType"
943
+ )
944
+
945
+
946
+ default_message_pool.register_message("", "BaseStation", BaseStation)
947
+
948
+
949
+ @dataclass(eq=False, repr=False)
950
+ class BladeUsed(betterproto2.Message):
951
+ blade_used_time: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
952
+
953
+ blade_used_warn_time: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
954
+
955
+
956
+ default_message_pool.register_message("", "blade_used", BladeUsed)
957
+
958
+
959
+ @dataclass(eq=False, repr=False)
960
+ class BleLogUploadUpdateProgress(betterproto2.Message):
961
+ ver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
962
+
963
+ status: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
964
+
965
+ biz_id: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
966
+
967
+ prog: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
968
+
969
+ sub_prog: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
970
+
971
+ f_num: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
972
+
973
+ speed: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
974
+
975
+ f_idx: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
976
+
977
+ f_path: "str" = betterproto2.field(9, betterproto2.TYPE_STRING)
978
+
979
+ f_size: "int" = betterproto2.field(10, betterproto2.TYPE_INT32)
980
+
981
+
982
+ default_message_pool.register_message("", "BleLogUploadUpdateProgress", BleLogUploadUpdateProgress)
983
+
984
+
985
+ @dataclass(eq=False, repr=False)
986
+ class BleSignatureReq(betterproto2.Message):
987
+ signature_data: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
988
+
989
+ random_data: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
990
+
991
+
992
+ default_message_pool.register_message("", "BleSignatureReq", BleSignatureReq)
993
+
994
+
995
+ @dataclass(eq=False, repr=False)
996
+ class BleTestBytes(betterproto2.Message):
997
+ seqs: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
998
+
999
+ data: "list[int]" = betterproto2.field(2, betterproto2.TYPE_FIXED32, repeated=True)
1000
+
1001
+
1002
+ default_message_pool.register_message("", "BleTestBytes", BleTestBytes)
1003
+
1004
+
1005
+ @dataclass(eq=False, repr=False)
1006
+ class ChargePileType(betterproto2.Message):
1007
+ toward: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1008
+
1009
+ x: "float" = betterproto2.field(2, betterproto2.TYPE_FLOAT)
1010
+
1011
+ y: "float" = betterproto2.field(3, betterproto2.TYPE_FLOAT)
1012
+
1013
+
1014
+ default_message_pool.register_message("", "chargePileType", ChargePileType)
1015
+
1016
+
1017
+ @dataclass(eq=False, repr=False)
1018
+ class CollectorStatusT(betterproto2.Message):
1019
+ collector_installation_status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1020
+
1021
+
1022
+ default_message_pool.register_message("", "collector_status_t", CollectorStatusT)
1023
+
1024
+
1025
+ @dataclass(eq=False, repr=False)
1026
+ class CommDataCouple(betterproto2.Message):
1027
+ x: "float" = betterproto2.field(1, betterproto2.TYPE_FLOAT)
1028
+
1029
+ y: "float" = betterproto2.field(2, betterproto2.TYPE_FLOAT)
1030
+
1031
+
1032
+ default_message_pool.register_message("", "CommDataCouple", CommDataCouple)
1033
+
1034
+
1035
+ @dataclass(eq=False, repr=False)
1036
+ class CostmapT(betterproto2.Message):
1037
+ width: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1038
+
1039
+ height: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1040
+
1041
+ center_x: "float" = betterproto2.field(3, betterproto2.TYPE_FLOAT)
1042
+
1043
+ center_y: "float" = betterproto2.field(4, betterproto2.TYPE_FLOAT)
1044
+
1045
+ yaw: "float" = betterproto2.field(5, betterproto2.TYPE_FLOAT)
1046
+
1047
+ res: "float" = betterproto2.field(6, betterproto2.TYPE_FLOAT)
1048
+
1049
+ costmap: "list[int]" = betterproto2.field(7, betterproto2.TYPE_INT32, repeated=True)
1050
+
1051
+
1052
+ default_message_pool.register_message("", "costmap_t", CostmapT)
1053
+
1054
+
1055
+ @dataclass(eq=False, repr=False)
1056
+ class CoverPathPacketT(betterproto2.Message):
1057
+ path_hash: "int" = betterproto2.field(1, betterproto2.TYPE_FIXED64)
1058
+
1059
+ path_type: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1060
+
1061
+ path_total: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1062
+
1063
+ path_cur: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1064
+
1065
+ zone_hash: "int" = betterproto2.field(5, betterproto2.TYPE_FIXED64)
1066
+
1067
+ data_couple: "list[CommDataCouple]" = betterproto2.field(6, betterproto2.TYPE_MESSAGE, repeated=True)
1068
+
1069
+
1070
+ default_message_pool.register_message("", "cover_path_packet_t", CoverPathPacketT)
1071
+
1072
+
1073
+ @dataclass(eq=False, repr=False)
1074
+ class CoverPathUploadT(betterproto2.Message):
1075
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1076
+
1077
+ result: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1078
+
1079
+ sub_cmd: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1080
+
1081
+ area: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1082
+
1083
+ time: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
1084
+
1085
+ total_frame: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
1086
+
1087
+ current_frame: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
1088
+
1089
+ total_path_num: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
1090
+
1091
+ valid_path_num: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
1092
+
1093
+ data_hash: "int" = betterproto2.field(10, betterproto2.TYPE_FIXED64)
1094
+
1095
+ transaction_id: "int" = betterproto2.field(11, betterproto2.TYPE_INT64)
1096
+
1097
+ reserved: "list[int]" = betterproto2.field(12, betterproto2.TYPE_INT64, repeated=True)
1098
+
1099
+ data_len: "int" = betterproto2.field(13, betterproto2.TYPE_INT32)
1100
+
1101
+ path_packets: "list[CoverPathPacketT]" = betterproto2.field(14, betterproto2.TYPE_MESSAGE, repeated=True)
1102
+
1103
+
1104
+ default_message_pool.register_message("", "cover_path_upload_t", CoverPathUploadT)
1105
+
1106
+
1107
+ @dataclass(eq=False, repr=False)
1108
+ class DebugCfgReadT(betterproto2.Message):
1109
+ key: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
1110
+
1111
+ value: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1112
+
1113
+
1114
+ default_message_pool.register_message("", "debug_cfg_read_t", DebugCfgReadT)
1115
+
1116
+
1117
+ @dataclass(eq=False, repr=False)
1118
+ class DebugCfgWriteT(betterproto2.Message):
1119
+ key: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
1120
+
1121
+ value: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1122
+
1123
+
1124
+ default_message_pool.register_message("", "debug_cfg_write_t", DebugCfgWriteT)
1125
+
1126
+
1127
+ @dataclass(eq=False, repr=False)
1128
+ class DebugCommonReportT(betterproto2.Message):
1129
+ m_name: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
1130
+
1131
+ key: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1132
+
1133
+ value: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1134
+
1135
+ gen_time: "int" = betterproto2.field(4, betterproto2.TYPE_INT64)
1136
+
1137
+
1138
+ default_message_pool.register_message("", "debug_common_report_t", DebugCommonReportT)
1139
+
1140
+
1141
+ @dataclass(eq=False, repr=False)
1142
+ class DebugEnableT(betterproto2.Message):
1143
+ enbale: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1144
+
1145
+
1146
+ default_message_pool.register_message("", "debug_enable_t", DebugEnableT)
1147
+
1148
+
1149
+ @dataclass(eq=False, repr=False)
1150
+ class DebugErrocodeReportT(betterproto2.Message):
1151
+ code: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1152
+
1153
+ mname: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1154
+
1155
+ value: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1156
+
1157
+ gen_time: "int" = betterproto2.field(4, betterproto2.TYPE_INT64)
1158
+
1159
+
1160
+ default_message_pool.register_message("", "debug_errocode_report_t", DebugErrocodeReportT)
1161
+
1162
+
1163
+ @dataclass(eq=False, repr=False)
1164
+ class DebugResCfgAbilityT(betterproto2.Message):
1165
+ total_keys: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1166
+
1167
+ cur_key_id: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1168
+
1169
+ keys: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1170
+
1171
+ value: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
1172
+
1173
+
1174
+ default_message_pool.register_message("", "debug_res_cfg_ability_t", DebugResCfgAbilityT)
1175
+
1176
+
1177
+ @dataclass(eq=False, repr=False)
1178
+ class DebugSunTimeT(betterproto2.Message):
1179
+ sub_cmd: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1180
+
1181
+ sun_rise_time: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1182
+
1183
+ sun_set_time: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1184
+
1185
+
1186
+ default_message_pool.register_message("", "debug_sun_time_t", DebugSunTimeT)
1187
+
1188
+
1189
+ @dataclass(eq=False, repr=False)
1190
+ class DevStatueT(betterproto2.Message):
1191
+ sys_status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1192
+
1193
+ charge_status: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1194
+
1195
+ bat_val: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1196
+
1197
+ wheel_status: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1198
+
1199
+ pump_status: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
1200
+
1201
+ work_mode: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
1202
+
1203
+ model: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
1204
+
1205
+ ble_rssi: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
1206
+
1207
+ wifi_rssi: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
1208
+
1209
+ wifi_connect_status: "int" = betterproto2.field(10, betterproto2.TYPE_INT32)
1210
+
1211
+ iot_connect_status: "int" = betterproto2.field(11, betterproto2.TYPE_INT32)
1212
+
1213
+ wifi_available: "int" = betterproto2.field(12, betterproto2.TYPE_INT32)
1214
+
1215
+
1216
+ default_message_pool.register_message("", "dev_statue_t", DevStatueT)
1217
+
1218
+
1219
+ @dataclass(eq=False, repr=False)
1220
+ class DevToAppGetMqttConfigT(betterproto2.Message):
1221
+ rtk_status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1222
+
1223
+ rtk_base_num: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1224
+
1225
+
1226
+ default_message_pool.register_message("", "dev_to_app_get_mqtt_config_t", DevToAppGetMqttConfigT)
1227
+
1228
+
1229
+ @dataclass(eq=False, repr=False)
1230
+ class DevToAppSetMqttRtkT(betterproto2.Message):
1231
+ set_rtk_mode_error: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1232
+
1233
+
1234
+ default_message_pool.register_message("", "dev_to_app_set_mqtt_rtk_t", DevToAppSetMqttRtkT)
1235
+
1236
+
1237
+ @dataclass(eq=False, repr=False)
1238
+ class DeviceFwInfo(betterproto2.Message):
1239
+ result: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1240
+
1241
+ version: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1242
+
1243
+ mod: "list[ModFwInfo]" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, repeated=True)
1244
+
1245
+
1246
+ default_message_pool.register_message("", "device_fw_info", DeviceFwInfo)
1247
+
1248
+
1249
+ @dataclass(eq=False, repr=False)
1250
+ class DeviceProductTypeInfoT(betterproto2.Message):
1251
+ result: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1252
+
1253
+ main_product_type: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1254
+
1255
+ sub_product_type: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1256
+
1257
+
1258
+ default_message_pool.register_message("", "device_product_type_info_t", DeviceProductTypeInfoT)
1259
+
1260
+
1261
+ @dataclass(eq=False, repr=False)
1262
+ class DevNet(betterproto2.Message):
1263
+ """
1264
+
1265
+
1266
+ Oneofs:
1267
+ - NetSubType:
1268
+ """
1269
+
1270
+ todev_ble_sync: "int | None" = betterproto2.field(1, betterproto2.TYPE_INT32, optional=True, group="NetSubType")
1271
+
1272
+ todev_ConfType: "WifiConfType | None" = betterproto2.field(
1273
+ 2, betterproto2.TYPE_ENUM, optional=True, group="NetSubType"
1274
+ )
1275
+
1276
+ todev_WifiMsgUpload: "DrvWifiUpload | None" = betterproto2.field(
1277
+ 3, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1278
+ )
1279
+
1280
+ todev_WifiListUpload: "DrvWifiList | None" = betterproto2.field(
1281
+ 4, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1282
+ )
1283
+
1284
+ todev_Wifi_Configuration: "DrvWifiSet | None" = betterproto2.field(
1285
+ 5, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1286
+ )
1287
+
1288
+ toapp_WifiMsg: "DrvWifiMsg | None" = betterproto2.field(
1289
+ 6, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1290
+ )
1291
+
1292
+ toapp_WifiConf: "DrvWifiConf | None" = betterproto2.field(
1293
+ 7, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1294
+ )
1295
+
1296
+ toapp_ListUpload: "DrvListUpload | None" = betterproto2.field(
1297
+ 8, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1298
+ )
1299
+
1300
+ todev_req_log_info: "DrvUploadFileReq | None" = betterproto2.field(
1301
+ 9, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1302
+ )
1303
+
1304
+ todev_log_data_cancel: "DrvUploadFileCancel | None" = betterproto2.field(
1305
+ 10, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1306
+ )
1307
+
1308
+ todev_devinfo_req: "DrvDevInfoReq | None" = betterproto2.field(
1309
+ 11, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1310
+ )
1311
+
1312
+ toapp_devinfo_resp: "DrvDevInfoResp | None" = betterproto2.field(
1313
+ 12, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1314
+ )
1315
+
1316
+ toapp_upgrade_report: "DrvUpgradeReport | None" = betterproto2.field(
1317
+ 13, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1318
+ )
1319
+
1320
+ toapp_wifi_iot_status: "WifiIotStatusReport | None" = betterproto2.field(
1321
+ 14, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1322
+ )
1323
+
1324
+ todev_uploadfile_req: "DrvUploadFileToAppReq | None" = betterproto2.field(
1325
+ 15, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1326
+ )
1327
+
1328
+ toapp_uploadfile_rsp: "DrvUploadFileToAppRsp | None" = betterproto2.field(
1329
+ 16, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1330
+ )
1331
+
1332
+ todev_networkinfo_req: "GetNetworkInfoReq | None" = betterproto2.field(
1333
+ 17, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1334
+ )
1335
+
1336
+ toapp_networkinfo_rsp: "GetNetworkInfoRsp | None" = betterproto2.field(
1337
+ 18, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1338
+ )
1339
+
1340
+ bir_testdata: "BleTestBytes | None" = betterproto2.field(
1341
+ 19, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1342
+ )
1343
+
1344
+ todev_mnet_info_req: "GetMnetInfoReq | None" = betterproto2.field(
1345
+ 20, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1346
+ )
1347
+
1348
+ toapp_mnet_info_rsp: "GetMnetInfoRsp | None" = betterproto2.field(
1349
+ 21, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1350
+ )
1351
+
1352
+ todev_get_mnet_cfg_req: "GetMnetCfgReq | None" = betterproto2.field(
1353
+ 22, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1354
+ )
1355
+
1356
+ toapp_get_mnet_cfg_rsp: "GetMnetCfgRsp | None" = betterproto2.field(
1357
+ 23, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1358
+ )
1359
+
1360
+ todev_set_mnet_cfg_req: "SetMnetCfgReq | None" = betterproto2.field(
1361
+ 24, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1362
+ )
1363
+
1364
+ toapp_set_mnet_cfg_rsp: "SetMnetCfgRsp | None" = betterproto2.field(
1365
+ 25, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1366
+ )
1367
+
1368
+ todev_set_dds2zmq: "DrvDebugDdsZmq | None" = betterproto2.field(
1369
+ 26, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1370
+ )
1371
+
1372
+ todev_set_ble_mtu: "SetDrvBleMtu | None" = betterproto2.field(
1373
+ 27, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1374
+ )
1375
+
1376
+ todev_set_iot_offline_req: "IotConctrlType | None" = betterproto2.field(
1377
+ 28, betterproto2.TYPE_ENUM, optional=True, group="NetSubType"
1378
+ )
1379
+
1380
+ todev_verify_signature_req: "BleSignatureReq | None" = betterproto2.field(
1381
+ 29, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1382
+ )
1383
+
1384
+ toapp_log_upload_update_progress: "BleLogUploadUpdateProgress | None" = betterproto2.field(
1385
+ 30, betterproto2.TYPE_MESSAGE, optional=True, group="NetSubType"
1386
+ )
1387
+
1388
+
1389
+ default_message_pool.register_message("", "DevNet", DevNet)
1390
+
1391
+
1392
+ @dataclass(eq=False, repr=False)
1393
+ class DownlinkT(betterproto2.Message):
1394
+ fw_id: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1395
+
1396
+ pkg_seq: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1397
+
1398
+ data: "list[int]" = betterproto2.field(3, betterproto2.TYPE_INT32, repeated=True)
1399
+
1400
+
1401
+ default_message_pool.register_message("", "downlink_t", DownlinkT)
1402
+
1403
+
1404
+ @dataclass(eq=False, repr=False)
1405
+ class DrvCollectCtrlByHand(betterproto2.Message):
1406
+ collect_ctrl: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1407
+
1408
+ unload_ctrl: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1409
+
1410
+
1411
+ default_message_pool.register_message("", "DrvCollectCtrlByHand", DrvCollectCtrlByHand)
1412
+
1413
+
1414
+ @dataclass(eq=False, repr=False)
1415
+ class DrvDebugDdsZmq(betterproto2.Message):
1416
+ is_enable: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
1417
+
1418
+ rx_topic_name: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1419
+
1420
+ tx_zmq_url: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1421
+
1422
+
1423
+ default_message_pool.register_message("", "DrvDebugDdsZmq", DrvDebugDdsZmq)
1424
+
1425
+
1426
+ @dataclass(eq=False, repr=False)
1427
+ class DrvDevInfoReq(betterproto2.Message):
1428
+ req_ids: "list[DrvDevInfoReqId]" = betterproto2.field(1, betterproto2.TYPE_MESSAGE, repeated=True)
1429
+
1430
+
1431
+ default_message_pool.register_message("", "DrvDevInfoReq", DrvDevInfoReq)
1432
+
1433
+
1434
+ @dataclass(eq=False, repr=False)
1435
+ class DrvDevInfoReqId(betterproto2.Message):
1436
+ id: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1437
+
1438
+ type: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1439
+
1440
+
1441
+ default_message_pool.register_message("", "DrvDevInfoReqId", DrvDevInfoReqId)
1442
+
1443
+
1444
+ @dataclass(eq=False, repr=False)
1445
+ class DrvDevInfoResp(betterproto2.Message):
1446
+ resp_ids: "list[DrvDevInfoRespId]" = betterproto2.field(1, betterproto2.TYPE_MESSAGE, repeated=True)
1447
+
1448
+
1449
+ default_message_pool.register_message("", "DrvDevInfoResp", DrvDevInfoResp)
1450
+
1451
+
1452
+ @dataclass(eq=False, repr=False)
1453
+ class DrvDevInfoRespId(betterproto2.Message):
1454
+ id: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1455
+
1456
+ type: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1457
+
1458
+ res: "DrvDevInfoResult" = betterproto2.field(3, betterproto2.TYPE_ENUM, default_factory=lambda: DrvDevInfoResult(0))
1459
+
1460
+ info: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
1461
+
1462
+
1463
+ default_message_pool.register_message("", "DrvDevInfoRespId", DrvDevInfoRespId)
1464
+
1465
+
1466
+ @dataclass(eq=False, repr=False)
1467
+ class DrvKnifeChangeReport(betterproto2.Message):
1468
+ is_start: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1469
+
1470
+ start_height: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1471
+
1472
+ end_height: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1473
+
1474
+ cur_height: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1475
+
1476
+
1477
+ default_message_pool.register_message("", "DrvKnifeChangeReport", DrvKnifeChangeReport)
1478
+
1479
+
1480
+ @dataclass(eq=False, repr=False)
1481
+ class DrvKnifeHeight(betterproto2.Message):
1482
+ knife_height: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1483
+
1484
+
1485
+ default_message_pool.register_message("", "DrvKnifeHeight", DrvKnifeHeight)
1486
+
1487
+
1488
+ @dataclass(eq=False, repr=False)
1489
+ class DrvKnifeStatus(betterproto2.Message):
1490
+ knife_status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1491
+
1492
+
1493
+ default_message_pool.register_message("", "DrvKnifeStatus", DrvKnifeStatus)
1494
+
1495
+
1496
+ @dataclass(eq=False, repr=False)
1497
+ class DrvListUpload(betterproto2.Message):
1498
+ sum: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1499
+
1500
+ current: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1501
+
1502
+ status: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1503
+
1504
+ memssid: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
1505
+
1506
+ rssi: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
1507
+
1508
+
1509
+ default_message_pool.register_message("", "DrvListUpload", DrvListUpload)
1510
+
1511
+
1512
+ @dataclass(eq=False, repr=False)
1513
+ class DrvMotionCtrl(betterproto2.Message):
1514
+ set_linear_speed: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1515
+
1516
+ set_angular_speed: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1517
+
1518
+
1519
+ default_message_pool.register_message("", "DrvMotionCtrl", DrvMotionCtrl)
1520
+
1521
+
1522
+ @dataclass(eq=False, repr=False)
1523
+ class DrvMowCtrlByHand(betterproto2.Message):
1524
+ main_ctrl: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1525
+
1526
+ cut_knife_ctrl: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1527
+
1528
+ cut_knife_height: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1529
+
1530
+ max_run_speed: "float" = betterproto2.field(4, betterproto2.TYPE_FLOAT)
1531
+
1532
+
1533
+ default_message_pool.register_message("", "DrvMowCtrlByHand", DrvMowCtrlByHand)
1534
+
1535
+
1536
+ @dataclass(eq=False, repr=False)
1537
+ class DrvSrSpeed(betterproto2.Message):
1538
+ rw: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1539
+
1540
+ speed: "float" = betterproto2.field(2, betterproto2.TYPE_FLOAT)
1541
+
1542
+
1543
+ default_message_pool.register_message("", "DrvSrSpeed", DrvSrSpeed)
1544
+
1545
+
1546
+ @dataclass(eq=False, repr=False)
1547
+ class DrvUpgradeReport(betterproto2.Message):
1548
+ devname: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
1549
+
1550
+ otaid: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1551
+
1552
+ version: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1553
+
1554
+ progress: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1555
+
1556
+ result: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
1557
+
1558
+ message: "str" = betterproto2.field(6, betterproto2.TYPE_STRING)
1559
+
1560
+ properties: "str" = betterproto2.field(7, betterproto2.TYPE_STRING)
1561
+
1562
+ recv_cnt: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
1563
+
1564
+
1565
+ default_message_pool.register_message("", "DrvUpgradeReport", DrvUpgradeReport)
1566
+
1567
+
1568
+ @dataclass(eq=False, repr=False)
1569
+ class DrvUploadFileCancel(betterproto2.Message):
1570
+ biz_id: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
1571
+
1572
+
1573
+ default_message_pool.register_message("", "DrvUploadFileCancel", DrvUploadFileCancel)
1574
+
1575
+
1576
+ @dataclass(eq=False, repr=False)
1577
+ class DrvUploadFileReq(betterproto2.Message):
1578
+ biz_id: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
1579
+
1580
+ url: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1581
+
1582
+ user_id: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1583
+
1584
+ num: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1585
+
1586
+ type: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
1587
+
1588
+
1589
+ default_message_pool.register_message("", "DrvUploadFileReq", DrvUploadFileReq)
1590
+
1591
+
1592
+ @dataclass(eq=False, repr=False)
1593
+ class DrvUploadFileToAppReq(betterproto2.Message):
1594
+ biz_id: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
1595
+
1596
+ operation: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1597
+
1598
+ server_ip: "int" = betterproto2.field(3, betterproto2.TYPE_FIXED32)
1599
+
1600
+ server_port: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1601
+
1602
+ num: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
1603
+
1604
+ type: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
1605
+
1606
+
1607
+ default_message_pool.register_message("", "DrvUploadFileToAppReq", DrvUploadFileToAppReq)
1608
+
1609
+
1610
+ @dataclass(eq=False, repr=False)
1611
+ class DrvUploadFileToAppRsp(betterproto2.Message):
1612
+ biz_id: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
1613
+
1614
+ operation: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1615
+
1616
+ result: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1617
+
1618
+
1619
+ default_message_pool.register_message("", "DrvUploadFileToAppRsp", DrvUploadFileToAppRsp)
1620
+
1621
+
1622
+ @dataclass(eq=False, repr=False)
1623
+ class DrvWifiConf(betterproto2.Message):
1624
+ succ_flag: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
1625
+
1626
+ code: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1627
+
1628
+ confssid: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1629
+
1630
+
1631
+ default_message_pool.register_message("", "DrvWifiConf", DrvWifiConf)
1632
+
1633
+
1634
+ @dataclass(eq=False, repr=False)
1635
+ class DrvWifiList(betterproto2.Message):
1636
+ nvs_wifi_upload: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1637
+
1638
+
1639
+ default_message_pool.register_message("", "DrvWifiList", DrvWifiList)
1640
+
1641
+
1642
+ @dataclass(eq=False, repr=False)
1643
+ class DrvWifiMsg(betterproto2.Message):
1644
+ status1: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
1645
+
1646
+ status2: "bool" = betterproto2.field(2, betterproto2.TYPE_BOOL)
1647
+
1648
+ ip: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1649
+
1650
+ msgssid: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
1651
+
1652
+ password: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
1653
+
1654
+ rssi: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
1655
+
1656
+ productkey: "str" = betterproto2.field(7, betterproto2.TYPE_STRING)
1657
+
1658
+ devicename: "str" = betterproto2.field(8, betterproto2.TYPE_STRING)
1659
+
1660
+ wifi_enable: "bool" = betterproto2.field(9, betterproto2.TYPE_BOOL)
1661
+
1662
+
1663
+ default_message_pool.register_message("", "DrvWifiMsg", DrvWifiMsg)
1664
+
1665
+
1666
+ @dataclass(eq=False, repr=False)
1667
+ class DrvWifiSet(betterproto2.Message):
1668
+ config_param: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1669
+
1670
+ confssid: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1671
+
1672
+ wifi_enable: "bool" = betterproto2.field(3, betterproto2.TYPE_BOOL)
1673
+
1674
+
1675
+ default_message_pool.register_message("", "DrvWifiSet", DrvWifiSet)
1676
+
1677
+
1678
+ @dataclass(eq=False, repr=False)
1679
+ class DrvWifiUpload(betterproto2.Message):
1680
+ wifi_msg_upload: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1681
+
1682
+
1683
+ default_message_pool.register_message("", "DrvWifiUpload", DrvWifiUpload)
1684
+
1685
+
1686
+ @dataclass(eq=False, repr=False)
1687
+ class FotaInfoT(betterproto2.Message):
1688
+ need_ota_num: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1689
+
1690
+ need_ota_img_size: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1691
+
1692
+ ota_otype: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1693
+
1694
+ ota_oid: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
1695
+
1696
+ ota_version: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
1697
+
1698
+
1699
+ default_message_pool.register_message("", "FotaInfo_t", FotaInfoT)
1700
+
1701
+
1702
+ @dataclass(eq=False, repr=False)
1703
+ class FotaSubInfoT(betterproto2.Message):
1704
+ sub_mod_ota_flag: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1705
+
1706
+ sub_mod_id: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1707
+
1708
+ sub_img_size: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1709
+
1710
+ sub_mod_version: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
1711
+
1712
+ sub_img_url: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
1713
+
1714
+
1715
+ default_message_pool.register_message("", "FotaSubInfo_t", FotaSubInfoT)
1716
+
1717
+
1718
+ @dataclass(eq=False, repr=False)
1719
+ class FpvToAppInfoT(betterproto2.Message):
1720
+ fpv_flag: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1721
+
1722
+ wifi_available: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1723
+
1724
+ mobile_net_available: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1725
+
1726
+
1727
+ default_message_pool.register_message("", "fpv_to_app_info_t", FpvToAppInfoT)
1728
+
1729
+
1730
+ @dataclass(eq=False, repr=False)
1731
+ class FwDownloadCtrl(betterproto2.Message):
1732
+ """
1733
+
1734
+
1735
+ Oneofs:
1736
+ - SubFwDownloadCtrl:
1737
+ """
1738
+
1739
+ uplink: "UplinkT | None" = betterproto2.field(
1740
+ 2, betterproto2.TYPE_MESSAGE, optional=True, group="SubFwDownloadCtrl"
1741
+ )
1742
+
1743
+ downlink: "DownlinkT | None" = betterproto2.field(
1744
+ 3, betterproto2.TYPE_MESSAGE, optional=True, group="SubFwDownloadCtrl"
1745
+ )
1746
+
1747
+ cmd: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1748
+
1749
+
1750
+ default_message_pool.register_message("", "fwDownloadCtrl", FwDownloadCtrl)
1751
+
1752
+
1753
+ @dataclass(eq=False, repr=False)
1754
+ class GetHeadlamp(betterproto2.Message):
1755
+ get_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1756
+
1757
+
1758
+ default_message_pool.register_message("", "GetHeadlamp", GetHeadlamp)
1759
+
1760
+
1761
+ @dataclass(eq=False, repr=False)
1762
+ class GetInfoReq(betterproto2.Message):
1763
+ type: "InfoType" = betterproto2.field(1, betterproto2.TYPE_ENUM, default_factory=lambda: InfoType(0))
1764
+
1765
+
1766
+ default_message_pool.register_message("", "getInfoReq", GetInfoReq)
1767
+
1768
+
1769
+ @dataclass(eq=False, repr=False)
1770
+ class GetInfoRsp(betterproto2.Message):
1771
+ """
1772
+
1773
+
1774
+ Oneofs:
1775
+ - info:
1776
+ """
1777
+
1778
+ base: "BaseInfo | None" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, optional=True, group="info")
1779
+
1780
+ ota: "OtaInfo | None" = betterproto2.field(4, betterproto2.TYPE_MESSAGE, optional=True, group="info")
1781
+
1782
+ result: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1783
+
1784
+ type: "InfoType" = betterproto2.field(2, betterproto2.TYPE_ENUM, default_factory=lambda: InfoType(0))
1785
+
1786
+
1787
+ default_message_pool.register_message("", "getInfoRsp", GetInfoRsp)
1788
+
1789
+
1790
+ @dataclass(eq=False, repr=False)
1791
+ class Getlamprsp(betterproto2.Message):
1792
+ get_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1793
+
1794
+ result: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1795
+
1796
+ lamp_ctrl: "LampCtrlSta" = betterproto2.field(3, betterproto2.TYPE_ENUM, default_factory=lambda: LampCtrlSta(0))
1797
+
1798
+ lamp_bright: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1799
+
1800
+ lamp_manual_ctrl: "LampManualCtrlSta" = betterproto2.field(
1801
+ 5, betterproto2.TYPE_ENUM, default_factory=lambda: LampManualCtrlSta(0)
1802
+ )
1803
+
1804
+
1805
+ default_message_pool.register_message("", "Getlamprsp", Getlamprsp)
1806
+
1807
+
1808
+ @dataclass(eq=False, repr=False)
1809
+ class GetMnetCfgReq(betterproto2.Message):
1810
+ req_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1811
+
1812
+
1813
+ default_message_pool.register_message("", "GetMnetCfgReq", GetMnetCfgReq)
1814
+
1815
+
1816
+ @dataclass(eq=False, repr=False)
1817
+ class GetMnetCfgRsp(betterproto2.Message):
1818
+ req_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1819
+
1820
+ result: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1821
+
1822
+ cfg: "MnetCfg | None" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, optional=True)
1823
+
1824
+
1825
+ default_message_pool.register_message("", "GetMnetCfgRsp", GetMnetCfgRsp)
1826
+
1827
+
1828
+ @dataclass(eq=False, repr=False)
1829
+ class GetMnetInfoReq(betterproto2.Message):
1830
+ req_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1831
+
1832
+
1833
+ default_message_pool.register_message("", "GetMnetInfoReq", GetMnetInfoReq)
1834
+
1835
+
1836
+ @dataclass(eq=False, repr=False)
1837
+ class GetMnetInfoRsp(betterproto2.Message):
1838
+ req_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1839
+
1840
+ result: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1841
+
1842
+ mnet: "MnetInfo | None" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, optional=True)
1843
+
1844
+
1845
+ default_message_pool.register_message("", "GetMnetInfoRsp", GetMnetInfoRsp)
1846
+
1847
+
1848
+ @dataclass(eq=False, repr=False)
1849
+ class GetNetworkInfoReq(betterproto2.Message):
1850
+ req_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1851
+
1852
+
1853
+ default_message_pool.register_message("", "GetNetworkInfoReq", GetNetworkInfoReq)
1854
+
1855
+
1856
+ @dataclass(eq=False, repr=False)
1857
+ class GetNetworkInfoRsp(betterproto2.Message):
1858
+ req_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1859
+
1860
+ wifi_ssid: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1861
+
1862
+ wifi_mac: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1863
+
1864
+ wifi_rssi: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1865
+
1866
+ ip: "int" = betterproto2.field(5, betterproto2.TYPE_FIXED32)
1867
+
1868
+ mask: "int" = betterproto2.field(6, betterproto2.TYPE_FIXED32)
1869
+
1870
+ gateway: "int" = betterproto2.field(7, betterproto2.TYPE_FIXED32)
1871
+
1872
+
1873
+ default_message_pool.register_message("", "GetNetworkInfoRsp", GetNetworkInfoRsp)
1874
+
1875
+
1876
+ @dataclass(eq=False, repr=False)
1877
+ class LockStateT(betterproto2.Message):
1878
+ lock_state: "int" = betterproto2.field(1, betterproto2.TYPE_UINT32)
1879
+
1880
+
1881
+ default_message_pool.register_message("", "lock_state_t", LockStateT)
1882
+
1883
+
1884
+ @dataclass(eq=False, repr=False)
1885
+ class LoraCfgReq(betterproto2.Message):
1886
+ op: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1887
+
1888
+ cfg: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
1889
+
1890
+
1891
+ default_message_pool.register_message("", "LoraCfgReq", LoraCfgReq)
1892
+
1893
+
1894
+ @dataclass(eq=False, repr=False)
1895
+ class LoraCfgRsp(betterproto2.Message):
1896
+ result: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1897
+
1898
+ op: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1899
+
1900
+ cfg: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
1901
+
1902
+ fac_cfg: "bytes" = betterproto2.field(4, betterproto2.TYPE_BYTES)
1903
+
1904
+
1905
+ default_message_pool.register_message("", "LoraCfgRsp", LoraCfgRsp)
1906
+
1907
+
1908
+ @dataclass(eq=False, repr=False)
1909
+ class LubaMsg(betterproto2.Message):
1910
+ """
1911
+
1912
+
1913
+ Oneofs:
1914
+ - LubaSubMsg:
1915
+ """
1916
+
1917
+ msgtype: "MsgCmdType" = betterproto2.field(1, betterproto2.TYPE_ENUM, default_factory=lambda: MsgCmdType(0))
1918
+
1919
+ sender: "MsgDevice" = betterproto2.field(2, betterproto2.TYPE_ENUM, default_factory=lambda: MsgDevice(0))
1920
+
1921
+ rcver: "MsgDevice" = betterproto2.field(3, betterproto2.TYPE_ENUM, default_factory=lambda: MsgDevice(0))
1922
+
1923
+ msgattr: "MsgAttr" = betterproto2.field(4, betterproto2.TYPE_ENUM, default_factory=lambda: MsgAttr(0))
1924
+
1925
+ seqs: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
1926
+
1927
+ version: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
1928
+
1929
+ subtype: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
1930
+
1931
+ net: "DevNet | None" = betterproto2.field(8, betterproto2.TYPE_MESSAGE, optional=True, group="LubaSubMsg")
1932
+
1933
+ sys: "MctlSys | None" = betterproto2.field(10, betterproto2.TYPE_MESSAGE, optional=True, group="LubaSubMsg")
1934
+
1935
+ nav: "MctlNav | None" = betterproto2.field(11, betterproto2.TYPE_MESSAGE, optional=True, group="LubaSubMsg")
1936
+
1937
+ driver: "MctlDriver | None" = betterproto2.field(12, betterproto2.TYPE_MESSAGE, optional=True, group="LubaSubMsg")
1938
+
1939
+ ota: "MctlOta | None" = betterproto2.field(13, betterproto2.TYPE_MESSAGE, optional=True, group="LubaSubMsg")
1940
+
1941
+ mul: "SocMul | None" = betterproto2.field(14, betterproto2.TYPE_MESSAGE, optional=True, group="LubaSubMsg")
1942
+
1943
+ null: "MsgNull | None" = betterproto2.field(16, betterproto2.TYPE_MESSAGE, optional=True, group="LubaSubMsg")
1944
+
1945
+ pept: "MctlPept | None" = betterproto2.field(17, betterproto2.TYPE_MESSAGE, optional=True, group="LubaSubMsg")
1946
+
1947
+ base: "BaseStation | None" = betterproto2.field(18, betterproto2.TYPE_MESSAGE, optional=True, group="LubaSubMsg")
1948
+
1949
+ timestamp: "int" = betterproto2.field(15, betterproto2.TYPE_UINT64)
1950
+
1951
+
1952
+ default_message_pool.register_message("", "LubaMsg", LubaMsg)
1953
+
1954
+
1955
+ @dataclass(eq=False, repr=False)
1956
+ class ManualElementMessage(betterproto2.Message):
1957
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
1958
+
1959
+ type: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
1960
+
1961
+ shape: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
1962
+
1963
+ result: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
1964
+
1965
+ sub_cmd: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
1966
+
1967
+ data_hash: "int" = betterproto2.field(6, betterproto2.TYPE_FIXED64)
1968
+
1969
+ if_hide: "bool" = betterproto2.field(7, betterproto2.TYPE_BOOL)
1970
+
1971
+ reserved: "str" = betterproto2.field(8, betterproto2.TYPE_STRING)
1972
+
1973
+ point1_center_x: "float" = betterproto2.field(9, betterproto2.TYPE_DOUBLE)
1974
+
1975
+ point1_center_y: "float" = betterproto2.field(10, betterproto2.TYPE_DOUBLE)
1976
+
1977
+ point2_width_x: "float" = betterproto2.field(11, betterproto2.TYPE_DOUBLE)
1978
+
1979
+ point2_height_y: "float" = betterproto2.field(12, betterproto2.TYPE_DOUBLE)
1980
+
1981
+ rotate_radius: "float" = betterproto2.field(13, betterproto2.TYPE_DOUBLE)
1982
+
1983
+
1984
+ default_message_pool.register_message("", "ManualElementMessage", ManualElementMessage)
1985
+
1986
+
1987
+ @dataclass(eq=False, repr=False)
1988
+ class MctlDriver(betterproto2.Message):
1989
+ """
1990
+
1991
+
1992
+ Oneofs:
1993
+ - SubDrvMsg:
1994
+ """
1995
+
1996
+ todev_devmotion_ctrl: "DrvMotionCtrl | None" = betterproto2.field(
1997
+ 1, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
1998
+ )
1999
+
2000
+ todev_knife_height_set: "DrvKnifeHeight | None" = betterproto2.field(
2001
+ 2, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2002
+ )
2003
+
2004
+ bidire_speed_read_set: "DrvSrSpeed | None" = betterproto2.field(
2005
+ 3, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2006
+ )
2007
+
2008
+ bidire_knife_height_report: "DrvKnifeHeight | None" = betterproto2.field(
2009
+ 4, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2010
+ )
2011
+
2012
+ toapp_knife_status: "DrvKnifeStatus | None" = betterproto2.field(
2013
+ 5, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2014
+ )
2015
+
2016
+ mow_ctrl_by_hand: "DrvMowCtrlByHand | None" = betterproto2.field(
2017
+ 6, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2018
+ )
2019
+
2020
+ rtk_cfg_req: "RtkCfgReqT | None" = betterproto2.field(
2021
+ 7, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2022
+ )
2023
+
2024
+ rtk_cfg_req_ack: "RtkCfgReqAckT | None" = betterproto2.field(
2025
+ 8, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2026
+ )
2027
+
2028
+ rtk_sys_mask_query: "RtkSysMaskQueryT | None" = betterproto2.field(
2029
+ 9, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2030
+ )
2031
+
2032
+ rtk_sys_mask_query_ack: "RtkSysMaskQueryAckT | None" = betterproto2.field(
2033
+ 10, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2034
+ )
2035
+
2036
+ toapp_knife_status_change: "DrvKnifeChangeReport | None" = betterproto2.field(
2037
+ 11, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2038
+ )
2039
+
2040
+ collect_ctrl_by_hand: "DrvCollectCtrlByHand | None" = betterproto2.field(
2041
+ 12, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2042
+ )
2043
+
2044
+ cutter_mode_ctrl_by_hand: "AppSetCutterWorkMode | None" = betterproto2.field(
2045
+ 13, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2046
+ )
2047
+
2048
+ current_cutter_mode: "AppGetCutterWorkMode | None" = betterproto2.field(
2049
+ 14, betterproto2.TYPE_MESSAGE, optional=True, group="SubDrvMsg"
2050
+ )
2051
+
2052
+
2053
+ default_message_pool.register_message("", "MctlDriver", MctlDriver)
2054
+
2055
+
2056
+ @dataclass(eq=False, repr=False)
2057
+ class MctlNav(betterproto2.Message):
2058
+ """
2059
+
2060
+
2061
+ Oneofs:
2062
+ - SubNavMsg:
2063
+ """
2064
+
2065
+ toapp_lat_up: "NavLatLonUp | None" = betterproto2.field(
2066
+ 1, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2067
+ )
2068
+
2069
+ toapp_pos_up: "NavPosUp | None" = betterproto2.field(2, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg")
2070
+
2071
+ todev_chl_line_data: "NavCHlLineData | None" = betterproto2.field(
2072
+ 3, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2073
+ )
2074
+
2075
+ toapp_task_info: "NavTaskInfo | None" = betterproto2.field(
2076
+ 4, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2077
+ )
2078
+
2079
+ toapp_opt_line_up: "NavOptLineUp | None" = betterproto2.field(
2080
+ 5, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2081
+ )
2082
+
2083
+ toapp_opt_border_info: "NavOptiBorderInfo | None" = betterproto2.field(
2084
+ 6, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2085
+ )
2086
+
2087
+ toapp_opt_obs_info: "NavOptObsInfo | None" = betterproto2.field(
2088
+ 7, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2089
+ )
2090
+
2091
+ todev_task_info_ack: "NavResFrame | None" = betterproto2.field(
2092
+ 8, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2093
+ )
2094
+
2095
+ todev_opt_border_info_ack: "NavResFrame | None" = betterproto2.field(
2096
+ 9, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2097
+ )
2098
+
2099
+ todev_opt_obs_info_ack: "NavResFrame | None" = betterproto2.field(
2100
+ 10, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2101
+ )
2102
+
2103
+ todev_opt_line_up_ack: "NavResFrame | None" = betterproto2.field(
2104
+ 11, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2105
+ )
2106
+
2107
+ toapp_chgpileto: "ChargePileType | None" = betterproto2.field(
2108
+ 12, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2109
+ )
2110
+
2111
+ todev_sustask: "int | None" = betterproto2.field(13, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2112
+
2113
+ todev_rechgcmd: "int | None" = betterproto2.field(14, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2114
+
2115
+ todev_edgecmd: "int | None" = betterproto2.field(15, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2116
+
2117
+ todev_draw_border: "int | None" = betterproto2.field(16, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2118
+
2119
+ todev_draw_border_end: "int | None" = betterproto2.field(
2120
+ 17, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg"
2121
+ )
2122
+
2123
+ todev_draw_obs: "int | None" = betterproto2.field(18, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2124
+
2125
+ todev_draw_obs_end: "int | None" = betterproto2.field(19, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2126
+
2127
+ todev_chl_line: "int | None" = betterproto2.field(20, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2128
+
2129
+ todev_chl_line_end: "int | None" = betterproto2.field(21, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2130
+
2131
+ todev_save_task: "int | None" = betterproto2.field(22, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2132
+
2133
+ todev_cancel_suscmd: "int | None" = betterproto2.field(
2134
+ 23, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg"
2135
+ )
2136
+
2137
+ todev_reset_chg_pile: "int | None" = betterproto2.field(
2138
+ 24, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg"
2139
+ )
2140
+
2141
+ todev_cancel_draw_cmd: "int | None" = betterproto2.field(
2142
+ 25, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg"
2143
+ )
2144
+
2145
+ todev_one_touch_leave_pile: "int | None" = betterproto2.field(
2146
+ 26, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg"
2147
+ )
2148
+
2149
+ todev_mow_task: "NavStartJob | None" = betterproto2.field(
2150
+ 27, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2151
+ )
2152
+
2153
+ toapp_bstate: "NavBorderState | None" = betterproto2.field(
2154
+ 28, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2155
+ )
2156
+
2157
+ todev_lat_up_ack: "int | None" = betterproto2.field(29, betterproto2.TYPE_INT32, optional=True, group="SubNavMsg")
2158
+
2159
+ todev_gethash: "NavGetHashList | None" = betterproto2.field(
2160
+ 30, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2161
+ )
2162
+
2163
+ toapp_gethash_ack: "NavGetHashListAck | None" = betterproto2.field(
2164
+ 31, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2165
+ )
2166
+
2167
+ todev_get_commondata: "NavGetCommData | None" = betterproto2.field(
2168
+ 32, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2169
+ )
2170
+
2171
+ toapp_get_commondata_ack: "NavGetCommDataAck | None" = betterproto2.field(
2172
+ 33, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2173
+ )
2174
+
2175
+ bidire_reqconver_path: "NavReqCoverPath | None" = betterproto2.field(
2176
+ 34, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2177
+ )
2178
+
2179
+ toapp_zigzag: "NavUploadZigZagResult | None" = betterproto2.field(
2180
+ 35, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2181
+ )
2182
+
2183
+ todev_zigzag_ack: "NavUploadZigZagResultAck | None" = betterproto2.field(
2184
+ 36, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2185
+ )
2186
+
2187
+ todev_taskctrl: "NavTaskCtrl | None" = betterproto2.field(
2188
+ 37, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2189
+ )
2190
+
2191
+ bidire_taskid: "NavTaskIdRw | None" = betterproto2.field(
2192
+ 38, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2193
+ )
2194
+
2195
+ toapp_bp: "NavTaskBreakPoint | None" = betterproto2.field(
2196
+ 39, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2197
+ )
2198
+
2199
+ todev_planjob_set: "NavPlanJobSet | None" = betterproto2.field(
2200
+ 40, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2201
+ )
2202
+
2203
+ todev_unable_time_set: "NavUnableTimeSet | None" = betterproto2.field(
2204
+ 41, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2205
+ )
2206
+
2207
+ simulation_cmd: "SimulationCmdData | None" = betterproto2.field(
2208
+ 42, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2209
+ )
2210
+
2211
+ todev_work_report_update_cmd: "WorkReportUpdateCmd | None" = betterproto2.field(
2212
+ 43, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2213
+ )
2214
+
2215
+ toapp_work_report_update_ack: "WorkReportUpdateAck | None" = betterproto2.field(
2216
+ 44, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2217
+ )
2218
+
2219
+ todev_work_report_cmd: "WorkReportCmdData | None" = betterproto2.field(
2220
+ 45, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2221
+ )
2222
+
2223
+ toapp_work_report_ack: "WorkReportInfoAck | None" = betterproto2.field(
2224
+ 46, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2225
+ )
2226
+
2227
+ toapp_work_report_upload: "WorkReportInfoAck | None" = betterproto2.field(
2228
+ 47, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2229
+ )
2230
+
2231
+ app_request_cover_paths: "AppRequestCoverPathsT | None" = betterproto2.field(
2232
+ 48, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2233
+ )
2234
+
2235
+ cover_path_upload: "CoverPathUploadT | None" = betterproto2.field(
2236
+ 49, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2237
+ )
2238
+
2239
+ zone_start_precent: "ZoneStartPrecentT | None" = betterproto2.field(
2240
+ 50, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2241
+ )
2242
+
2243
+ vision_ctrl: "VisionCtrlMsg | None" = betterproto2.field(
2244
+ 51, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2245
+ )
2246
+
2247
+ nav_sys_param_cmd: "NavSysParamMsg | None" = betterproto2.field(
2248
+ 52, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2249
+ )
2250
+
2251
+ plan_task_execute: "NavPlanTaskExecute | None" = betterproto2.field(
2252
+ 53, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2253
+ )
2254
+
2255
+ toapp_costmap: "CostmapT | None" = betterproto2.field(
2256
+ 54, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2257
+ )
2258
+
2259
+ plan_task_name_id: "PlanTaskNameIdT | None" = betterproto2.field(
2260
+ 55, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2261
+ )
2262
+
2263
+ all_plan_task: "NavGetAllPlanTask | None" = betterproto2.field(
2264
+ 56, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2265
+ )
2266
+
2267
+ todev_taskctrl_ack: "NavTaskCtrlAck | None" = betterproto2.field(
2268
+ 57, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2269
+ )
2270
+
2271
+ toapp_map_name_msg: "NavMapNameMsg | None" = betterproto2.field(
2272
+ 58, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2273
+ )
2274
+
2275
+ todev_svg_msg: "SvgMessageAckT | None" = betterproto2.field(
2276
+ 59, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2277
+ )
2278
+
2279
+ toapp_svg_msg: "SvgMessageAckT | None" = betterproto2.field(
2280
+ 60, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2281
+ )
2282
+
2283
+ toapp_all_hash_name: "AppGetAllAreaHashName | None" = betterproto2.field(
2284
+ 61, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2285
+ )
2286
+
2287
+ toapp_edge_points: "NavEdgePoints | None" = betterproto2.field(
2288
+ 62, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2289
+ )
2290
+
2291
+ toapp_edge_points_ack: "NavEdgePointsAck | None" = betterproto2.field(
2292
+ 63, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2293
+ )
2294
+
2295
+ toapp_manual_element: "ManualElementMessage | None" = betterproto2.field(
2296
+ 64, betterproto2.TYPE_MESSAGE, optional=True, group="SubNavMsg"
2297
+ )
2298
+
2299
+
2300
+ default_message_pool.register_message("", "MctlNav", MctlNav)
2301
+
2302
+
2303
+ @dataclass(eq=False, repr=False)
2304
+ class MctlOta(betterproto2.Message):
2305
+ """
2306
+
2307
+
2308
+ Oneofs:
2309
+ - SubOtaMsg:
2310
+ """
2311
+
2312
+ todev_get_info_req: "GetInfoReq | None" = betterproto2.field(
2313
+ 1, betterproto2.TYPE_MESSAGE, optional=True, group="SubOtaMsg"
2314
+ )
2315
+
2316
+ toapp_get_info_rsp: "GetInfoRsp | None" = betterproto2.field(
2317
+ 2, betterproto2.TYPE_MESSAGE, optional=True, group="SubOtaMsg"
2318
+ )
2319
+
2320
+ fw_download_ctrl: "FwDownloadCtrl | None" = betterproto2.field(
2321
+ 3, betterproto2.TYPE_MESSAGE, optional=True, group="SubOtaMsg"
2322
+ )
2323
+
2324
+ fota_info: "FotaInfoT | None" = betterproto2.field(4, betterproto2.TYPE_MESSAGE, optional=True, group="SubOtaMsg")
2325
+
2326
+ fota_sub_info: "FotaSubInfoT | None" = betterproto2.field(
2327
+ 5, betterproto2.TYPE_MESSAGE, optional=True, group="SubOtaMsg"
2328
+ )
2329
+
2330
+
2331
+ default_message_pool.register_message("", "MctlOta", MctlOta)
2332
+
2333
+
2334
+ @dataclass(eq=False, repr=False)
2335
+ class MctlPept(betterproto2.Message):
2336
+ """
2337
+
2338
+
2339
+ Oneofs:
2340
+ - SubPeptMsg:
2341
+ """
2342
+
2343
+ perception_obstacles_visualization: "PerceptionObstaclesVisualizationT | None" = betterproto2.field(
2344
+ 1, betterproto2.TYPE_MESSAGE, optional=True, group="SubPeptMsg"
2345
+ )
2346
+
2347
+ perception_universal_buff: "PerceptionUniversalBuffT | None" = betterproto2.field(
2348
+ 2, betterproto2.TYPE_MESSAGE, optional=True, group="SubPeptMsg"
2349
+ )
2350
+
2351
+ perception_local_map_visualization: "PerceptionLocalMapVisualizationT | None" = betterproto2.field(
2352
+ 3, betterproto2.TYPE_MESSAGE, optional=True, group="SubPeptMsg"
2353
+ )
2354
+
2355
+
2356
+ default_message_pool.register_message("", "MctlPept", MctlPept)
2357
+
2358
+
2359
+ @dataclass(eq=False, repr=False)
2360
+ class MctlSys(betterproto2.Message):
2361
+ """
2362
+
2363
+
2364
+ Oneofs:
2365
+ - SubSysMsg:
2366
+ """
2367
+
2368
+ toapp_batinfo: "SysBatUp | None" = betterproto2.field(
2369
+ 1, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2370
+ )
2371
+
2372
+ toapp_work_state: "SysWorkState | None" = betterproto2.field(
2373
+ 2, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2374
+ )
2375
+
2376
+ todev_time_zone: "SysSetTimeZone | None" = betterproto2.field(
2377
+ 3, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2378
+ )
2379
+
2380
+ todev_data_time: "SysSetDateTime | None" = betterproto2.field(
2381
+ 4, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2382
+ )
2383
+
2384
+ job_plan: "SysJobPlan | None" = betterproto2.field(6, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg")
2385
+
2386
+ toapp_err_code: "SysDevErrCode | None" = betterproto2.field(
2387
+ 7, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2388
+ )
2389
+
2390
+ todev_job_plan_time: "SysJobPlanTime | None" = betterproto2.field(
2391
+ 10, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2392
+ )
2393
+
2394
+ toapp_mow_info: "SysMowInfo | None" = betterproto2.field(
2395
+ 11, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2396
+ )
2397
+
2398
+ bidire_comm_cmd: "SysCommCmd | None" = betterproto2.field(
2399
+ 12, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2400
+ )
2401
+
2402
+ plan_job_del: "int | None" = betterproto2.field(14, betterproto2.TYPE_INT64, optional=True, group="SubSysMsg")
2403
+
2404
+ border: "SysBorder | None" = betterproto2.field(15, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg")
2405
+
2406
+ toapp_plan_status: "SysPlanJobStatus | None" = betterproto2.field(
2407
+ 18, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2408
+ )
2409
+
2410
+ toapp_ul_fprogress: "SysUploadFileProgress | None" = betterproto2.field(
2411
+ 19, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2412
+ )
2413
+
2414
+ todev_deljobplan: "SysDelJobPlan | None" = betterproto2.field(
2415
+ 20, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2416
+ )
2417
+
2418
+ todev_mow_info_up: "int | None" = betterproto2.field(21, betterproto2.TYPE_INT32, optional=True, group="SubSysMsg")
2419
+
2420
+ todev_knife_ctrl: "SysKnifeControl | None" = betterproto2.field(
2421
+ 22, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2422
+ )
2423
+
2424
+ todev_reset_system: "int | None" = betterproto2.field(23, betterproto2.TYPE_INT32, optional=True, group="SubSysMsg")
2425
+
2426
+ todev_reset_system_status: "SysResetSystemStatus | None" = betterproto2.field(
2427
+ 24, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2428
+ )
2429
+
2430
+ system_rapid_state_tunnel: "SystemRapidStateTunnelMsg | None" = betterproto2.field(
2431
+ 25, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2432
+ )
2433
+
2434
+ system_tard_state_tunnel: "SystemTardStateTunnelMsg | None" = betterproto2.field(
2435
+ 26, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2436
+ )
2437
+
2438
+ system_update_buf: "SystemUpdateBufMsg | None" = betterproto2.field(
2439
+ 27, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2440
+ )
2441
+
2442
+ todev_time_ctrl_light: "TimeCtrlLight | None" = betterproto2.field(
2443
+ 28, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2444
+ )
2445
+
2446
+ system_tmp_cycle_tx: "SystemTmpCycleTxMsg | None" = betterproto2.field(
2447
+ 29, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2448
+ )
2449
+
2450
+ todev_off_chip_flash: "SysOffChipFlash | None" = betterproto2.field(
2451
+ 30, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2452
+ )
2453
+
2454
+ todev_get_dev_fw_info: "int | None" = betterproto2.field(
2455
+ 31, betterproto2.TYPE_INT32, optional=True, group="SubSysMsg"
2456
+ )
2457
+
2458
+ toapp_dev_fw_info: "DeviceFwInfo | None" = betterproto2.field(
2459
+ 32, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2460
+ )
2461
+
2462
+ todev_lora_cfg_req: "LoraCfgReq | None" = betterproto2.field(
2463
+ 33, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2464
+ )
2465
+
2466
+ toapp_lora_cfg_rsp: "LoraCfgRsp | None" = betterproto2.field(
2467
+ 34, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2468
+ )
2469
+
2470
+ mow_to_app_info: "MowToAppInfoT | None" = betterproto2.field(
2471
+ 35, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2472
+ )
2473
+
2474
+ device_product_type_info: "DeviceProductTypeInfoT | None" = betterproto2.field(
2475
+ 36, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2476
+ )
2477
+
2478
+ mow_to_app_qctools_info: "MowToAppQctoolsInfoT | None" = betterproto2.field(
2479
+ 37, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2480
+ )
2481
+
2482
+ todev_report_cfg: "ReportInfoCfg | None" = betterproto2.field(
2483
+ 38, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2484
+ )
2485
+
2486
+ toapp_report_data: "ReportInfoData | None" = betterproto2.field(
2487
+ 39, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2488
+ )
2489
+
2490
+ simulation_cmd: "MCtrlSimulationCmdData | None" = betterproto2.field(
2491
+ 42, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2492
+ )
2493
+
2494
+ app_to_dev_get_mqtt_config_msg: "AppToDevGetMqttConfigT | None" = betterproto2.field(
2495
+ 43, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2496
+ )
2497
+
2498
+ dev_to_app_get_mqtt_config_msg: "DevToAppGetMqttConfigT | None" = betterproto2.field(
2499
+ 44, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2500
+ )
2501
+
2502
+ app_to_dev_set_mqtt_rtk_msg: "AppToDevSetMqttRtkT | None" = betterproto2.field(
2503
+ 45, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2504
+ )
2505
+
2506
+ dev_to_app_set_mqtt_rtk_msg: "DevToAppSetMqttRtkT | None" = betterproto2.field(
2507
+ 46, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2508
+ )
2509
+
2510
+ todev_reset_blade_used_time: "int | None" = betterproto2.field(
2511
+ 47, betterproto2.TYPE_INT32, optional=True, group="SubSysMsg"
2512
+ )
2513
+
2514
+ todev_reset_blade_used_time_status: "SysResetBladeUsedTimeStatus | None" = betterproto2.field(
2515
+ 48, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2516
+ )
2517
+
2518
+ todev_factor_reset_system: "int | None" = betterproto2.field(
2519
+ 49, betterproto2.TYPE_INT32, optional=True, group="SubSysMsg"
2520
+ )
2521
+
2522
+ blade_used_warn_time: "UserSetBladeUsedWarnTime | None" = betterproto2.field(
2523
+ 50, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2524
+ )
2525
+
2526
+ debug_common_report: "DebugCommonReportT | None" = betterproto2.field(
2527
+ 51, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2528
+ )
2529
+
2530
+ debug_errocode_report: "DebugErrocodeReportT | None" = betterproto2.field(
2531
+ 52, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2532
+ )
2533
+
2534
+ debug_enable: "DebugEnableT | None" = betterproto2.field(
2535
+ 53, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2536
+ )
2537
+
2538
+ debug_cfg_read: "DebugCfgReadT | None" = betterproto2.field(
2539
+ 54, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2540
+ )
2541
+
2542
+ debug_cfg_write: "DebugCfgWriteT | None" = betterproto2.field(
2543
+ 55, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2544
+ )
2545
+
2546
+ debug_res_cfg_ability: "DebugResCfgAbilityT | None" = betterproto2.field(
2547
+ 56, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2548
+ )
2549
+
2550
+ to_dev_msgbus: "MsgbusPkt | None" = betterproto2.field(
2551
+ 57, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2552
+ )
2553
+
2554
+ to_app_msgbus: "MsgbusPkt | None" = betterproto2.field(
2555
+ 58, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2556
+ )
2557
+
2558
+ response_set_mode: "ResponseSetModeT | None" = betterproto2.field(
2559
+ 59, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2560
+ )
2561
+
2562
+ report_info: "ReportInfoT | None" = betterproto2.field(
2563
+ 60, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2564
+ )
2565
+
2566
+ set_work_mode: "WorkModeT | None" = betterproto2.field(
2567
+ 61, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2568
+ )
2569
+
2570
+ set_special_mode: "SpecialModeT | None" = betterproto2.field(
2571
+ 62, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2572
+ )
2573
+
2574
+ set_peripherals: "SetPeripheralsT | None" = betterproto2.field(
2575
+ 63, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2576
+ )
2577
+
2578
+ to_dev_set_sun_time: "DebugSunTimeT | None" = betterproto2.field(
2579
+ 64, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2580
+ )
2581
+
2582
+ to_dev_remote_reset: "RemoteResetReqT | None" = betterproto2.field(
2583
+ 65, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2584
+ )
2585
+
2586
+ to_app_remote_reset: "RemoteResetRspT | None" = betterproto2.field(
2587
+ 66, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2588
+ )
2589
+
2590
+ current_cutter_mode: "RptCutterRpm | None" = betterproto2.field(
2591
+ 67, betterproto2.TYPE_MESSAGE, optional=True, group="SubSysMsg"
2592
+ )
2593
+
2594
+
2595
+ default_message_pool.register_message("", "MctlSys", MctlSys)
2596
+
2597
+
2598
+ @dataclass(eq=False, repr=False)
2599
+ class MCtrlSimulationCmdData(betterproto2.Message):
2600
+ sub_cmd: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2601
+
2602
+ param_id: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2603
+
2604
+ param_value: "list[int]" = betterproto2.field(3, betterproto2.TYPE_INT32, repeated=True)
2605
+
2606
+
2607
+ default_message_pool.register_message("", "mCtrlSimulationCmdData", MCtrlSimulationCmdData)
2608
+
2609
+
2610
+ @dataclass(eq=False, repr=False)
2611
+ class MnetInetStatus(betterproto2.Message):
2612
+ connect: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
2613
+
2614
+ ip: "int" = betterproto2.field(2, betterproto2.TYPE_FIXED32)
2615
+
2616
+ mask: "int" = betterproto2.field(3, betterproto2.TYPE_FIXED32)
2617
+
2618
+ gateway: "int" = betterproto2.field(4, betterproto2.TYPE_FIXED32)
2619
+
2620
+
2621
+ default_message_pool.register_message("", "mnet_inet_status", MnetInetStatus)
2622
+
2623
+
2624
+ @dataclass(eq=False, repr=False)
2625
+ class MnetApn(betterproto2.Message):
2626
+ cid: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2627
+
2628
+ apn_alias: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
2629
+
2630
+ apn_name: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
2631
+
2632
+ auth: "ApnAuthType" = betterproto2.field(4, betterproto2.TYPE_ENUM, default_factory=lambda: ApnAuthType(0))
2633
+
2634
+ username: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
2635
+
2636
+ password: "str" = betterproto2.field(6, betterproto2.TYPE_STRING)
2637
+
2638
+
2639
+ default_message_pool.register_message("", "MnetApn", MnetApn)
2640
+
2641
+
2642
+ @dataclass(eq=False, repr=False)
2643
+ class MnetApnCfg(betterproto2.Message):
2644
+ apn_used_idx: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2645
+
2646
+ apn: "list[MnetApn]" = betterproto2.field(2, betterproto2.TYPE_MESSAGE, repeated=True)
2647
+
2648
+
2649
+ default_message_pool.register_message("", "MnetApnCfg", MnetApnCfg)
2650
+
2651
+
2652
+ @dataclass(eq=False, repr=False)
2653
+ class MnetApnSetCfg(betterproto2.Message):
2654
+ use_default: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
2655
+
2656
+ cfg: "MnetApnCfg | None" = betterproto2.field(2, betterproto2.TYPE_MESSAGE, optional=True)
2657
+
2658
+
2659
+ default_message_pool.register_message("", "MnetApnSetCfg", MnetApnSetCfg)
2660
+
2661
+
2662
+ @dataclass(eq=False, repr=False)
2663
+ class MnetCfg(betterproto2.Message):
2664
+ mnet_enable: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
2665
+
2666
+ inet_enable: "bool" = betterproto2.field(2, betterproto2.TYPE_BOOL)
2667
+
2668
+ type: "NetType" = betterproto2.field(3, betterproto2.TYPE_ENUM, default_factory=lambda: NetType(0))
2669
+
2670
+ apn: "MnetApnSetCfg | None" = betterproto2.field(4, betterproto2.TYPE_MESSAGE, optional=True)
2671
+
2672
+ auto_select: "bool" = betterproto2.field(5, betterproto2.TYPE_BOOL)
2673
+
2674
+
2675
+ default_message_pool.register_message("", "MnetCfg", MnetCfg)
2676
+
2677
+
2678
+ @dataclass(eq=False, repr=False)
2679
+ class MnetInfo(betterproto2.Message):
2680
+ model: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
2681
+
2682
+ revision: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
2683
+
2684
+ imei: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
2685
+
2686
+ sim: "SimCardSta" = betterproto2.field(4, betterproto2.TYPE_ENUM, default_factory=lambda: SimCardSta(0))
2687
+
2688
+ imsi: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
2689
+
2690
+ link_type: "MnetLinkType" = betterproto2.field(6, betterproto2.TYPE_ENUM, default_factory=lambda: MnetLinkType(0))
2691
+
2692
+ rssi: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
2693
+
2694
+ inet: "MnetInetStatus | None" = betterproto2.field(8, betterproto2.TYPE_MESSAGE, optional=True)
2695
+
2696
+ iccid: "str" = betterproto2.field(9, betterproto2.TYPE_STRING)
2697
+
2698
+ operator: "str" = betterproto2.field(10, betterproto2.TYPE_STRING)
2699
+
2700
+
2701
+ default_message_pool.register_message("", "MnetInfo", MnetInfo)
2702
+
2703
+
2704
+ @dataclass(eq=False, repr=False)
2705
+ class ModFwInfo(betterproto2.Message):
2706
+ type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2707
+
2708
+ identify: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
2709
+
2710
+ version: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
2711
+
2712
+
2713
+ default_message_pool.register_message("", "mod_fw_info", ModFwInfo)
2714
+
2715
+
2716
+ @dataclass(eq=False, repr=False)
2717
+ class MowToAppInfoT(betterproto2.Message):
2718
+ type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2719
+
2720
+ cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2721
+
2722
+ mow_data: "list[int]" = betterproto2.field(3, betterproto2.TYPE_INT32, repeated=True)
2723
+
2724
+
2725
+ default_message_pool.register_message("", "mow_to_app_info_t", MowToAppInfoT)
2726
+
2727
+
2728
+ @dataclass(eq=False, repr=False)
2729
+ class MowToAppQctoolsInfoT(betterproto2.Message):
2730
+ type: "QcAppTestId" = betterproto2.field(1, betterproto2.TYPE_ENUM, default_factory=lambda: QcAppTestId(0))
2731
+
2732
+ time_of_duration: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2733
+
2734
+ result: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
2735
+
2736
+ result_details: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
2737
+
2738
+ except_: "list[QcAppTestExcept]" = betterproto2.field(5, betterproto2.TYPE_MESSAGE, repeated=True)
2739
+
2740
+
2741
+ default_message_pool.register_message("", "mow_to_app_qctools_info_t", MowToAppQctoolsInfoT)
2742
+
2743
+
2744
+ @dataclass(eq=False, repr=False)
2745
+ class MqttRtkConnect(betterproto2.Message):
2746
+ rtk_switch: "RtkUsedType" = betterproto2.field(1, betterproto2.TYPE_ENUM, default_factory=lambda: RtkUsedType(0))
2747
+
2748
+ rtk_channel: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2749
+
2750
+ rtk_base_num: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
2751
+
2752
+ latitude: "float" = betterproto2.field(4, betterproto2.TYPE_DOUBLE)
2753
+
2754
+ longitude: "float" = betterproto2.field(5, betterproto2.TYPE_DOUBLE)
2755
+
2756
+ nrtk_map_convert_status: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
2757
+
2758
+ nrtk_net_mode: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
2759
+
2760
+ new_rtk_mode: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
2761
+
2762
+
2763
+ default_message_pool.register_message("", "mqtt_rtk_connect", MqttRtkConnect)
2764
+
2765
+
2766
+ @dataclass(eq=False, repr=False)
2767
+ class MsgbusPkt(betterproto2.Message):
2768
+ type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2769
+
2770
+ type_command: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2771
+
2772
+ recv_device_id: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
2773
+
2774
+ send_device_id: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
2775
+
2776
+ data_length: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
2777
+
2778
+ data: "str" = betterproto2.field(6, betterproto2.TYPE_STRING)
2779
+
2780
+ ctrl: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
2781
+
2782
+ flag: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
2783
+
2784
+ seqs: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
2785
+
2786
+
2787
+ default_message_pool.register_message("", "msgbus_pkt", MsgbusPkt)
2788
+
2789
+
2790
+ @dataclass(eq=False, repr=False)
2791
+ class MsgNull(betterproto2.Message):
2792
+ pass
2793
+
2794
+
2795
+ default_message_pool.register_message("", "MsgNull", MsgNull)
2796
+
2797
+
2798
+ @dataclass(eq=False, repr=False)
2799
+ class MulAudioCfg(betterproto2.Message):
2800
+ au_switch: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2801
+
2802
+ au_language: "MulLanguage" = betterproto2.field(2, betterproto2.TYPE_ENUM, default_factory=lambda: MulLanguage(0))
2803
+
2804
+ sex: "MulSex" = betterproto2.field(3, betterproto2.TYPE_ENUM, default_factory=lambda: MulSex(0))
2805
+
2806
+
2807
+ default_message_pool.register_message("", "MulAudioCfg", MulAudioCfg)
2808
+
2809
+
2810
+ @dataclass(eq=False, repr=False)
2811
+ class MulSetAudio(betterproto2.Message):
2812
+ """
2813
+
2814
+
2815
+ Oneofs:
2816
+ - AudioCfg_u:
2817
+ """
2818
+
2819
+ at_switch: "int | None" = betterproto2.field(1, betterproto2.TYPE_INT32, optional=True, group="AudioCfg_u")
2820
+
2821
+ au_language: "MulLanguage | None" = betterproto2.field(2, betterproto2.TYPE_ENUM, optional=True, group="AudioCfg_u")
2822
+
2823
+ sex: "MulSex | None" = betterproto2.field(3, betterproto2.TYPE_ENUM, optional=True, group="AudioCfg_u")
2824
+
2825
+
2826
+ default_message_pool.register_message("", "MulSetAudio", MulSetAudio)
2827
+
2828
+
2829
+ @dataclass(eq=False, repr=False)
2830
+ class MulSetEncode(betterproto2.Message):
2831
+ encode: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
2832
+
2833
+
2834
+ default_message_pool.register_message("", "MulSetEncode", MulSetEncode)
2835
+
2836
+
2837
+ @dataclass(eq=False, repr=False)
2838
+ class MulSetVideo(betterproto2.Message):
2839
+ position: "MulCameraPosition" = betterproto2.field(
2840
+ 1, betterproto2.TYPE_ENUM, default_factory=lambda: MulCameraPosition(0)
2841
+ )
2842
+
2843
+ vi_switch: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2844
+
2845
+
2846
+ default_message_pool.register_message("", "MulSetVideo", MulSetVideo)
2847
+
2848
+
2849
+ @dataclass(eq=False, repr=False)
2850
+ class MulSetVideoAck(betterproto2.Message):
2851
+ error_code: "MulVideoErrorCode" = betterproto2.field(
2852
+ 1, betterproto2.TYPE_ENUM, default_factory=lambda: MulVideoErrorCode(0)
2853
+ )
2854
+
2855
+
2856
+ default_message_pool.register_message("", "MulSetVideoAck", MulSetVideoAck)
2857
+
2858
+
2859
+ @dataclass(eq=False, repr=False)
2860
+ class MulSetWiper(betterproto2.Message):
2861
+ round: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2862
+
2863
+
2864
+ default_message_pool.register_message("", "MulSetWiper", MulSetWiper)
2865
+
2866
+
2867
+ @dataclass(eq=False, repr=False)
2868
+ class MulSetWiperAck(betterproto2.Message):
2869
+ error_code: "MulWiperErrorCode" = betterproto2.field(
2870
+ 1, betterproto2.TYPE_ENUM, default_factory=lambda: MulWiperErrorCode(0)
2871
+ )
2872
+
2873
+
2874
+ default_message_pool.register_message("", "MulSetWiperAck", MulSetWiperAck)
2875
+
2876
+
2877
+ @dataclass(eq=False, repr=False)
2878
+ class NavGetAllPlanTask(betterproto2.Message):
2879
+ tasks: "list[PlanTaskNameIdT]" = betterproto2.field(1, betterproto2.TYPE_MESSAGE, repeated=True)
2880
+
2881
+
2882
+ default_message_pool.register_message("", "nav_get_all_plan_task", NavGetAllPlanTask)
2883
+
2884
+
2885
+ @dataclass(eq=False, repr=False)
2886
+ class NavHeadingStateT(betterproto2.Message):
2887
+ heading_state: "int" = betterproto2.field(1, betterproto2.TYPE_UINT32)
2888
+
2889
+
2890
+ default_message_pool.register_message("", "nav_heading_state_t", NavHeadingStateT)
2891
+
2892
+
2893
+ @dataclass(eq=False, repr=False)
2894
+ class NavPlanTaskExecute(betterproto2.Message):
2895
+ sub_cmd: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2896
+
2897
+ id: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
2898
+
2899
+ name: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
2900
+
2901
+ result: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
2902
+
2903
+
2904
+ default_message_pool.register_message("", "nav_plan_task_execute", NavPlanTaskExecute)
2905
+
2906
+
2907
+ @dataclass(eq=False, repr=False)
2908
+ class NavSysParamMsg(betterproto2.Message):
2909
+ rw: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2910
+
2911
+ id: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2912
+
2913
+ context: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
2914
+
2915
+
2916
+ default_message_pool.register_message("", "nav_sys_param_msg", NavSysParamMsg)
2917
+
2918
+
2919
+ @dataclass(eq=False, repr=False)
2920
+ class NavBorderDataGet(betterproto2.Message):
2921
+ job_id: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2922
+
2923
+ current_frame: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2924
+
2925
+ border_len: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
2926
+
2927
+
2928
+ default_message_pool.register_message("", "NavBorderDataGet", NavBorderDataGet)
2929
+
2930
+
2931
+ @dataclass(eq=False, repr=False)
2932
+ class NavBorderDataGetAck(betterproto2.Message):
2933
+ job_id: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2934
+
2935
+ current_frame: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2936
+
2937
+
2938
+ default_message_pool.register_message("", "NavBorderDataGetAck", NavBorderDataGetAck)
2939
+
2940
+
2941
+ @dataclass(eq=False, repr=False)
2942
+ class NavBorderState(betterproto2.Message):
2943
+ bdstate: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2944
+
2945
+
2946
+ default_message_pool.register_message("", "NavBorderState", NavBorderState)
2947
+
2948
+
2949
+ @dataclass(eq=False, repr=False)
2950
+ class NavCHlLineData(betterproto2.Message):
2951
+ start_job_ri: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2952
+
2953
+ end_job_ri: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2954
+
2955
+ current_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
2956
+
2957
+ channel_line_len: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
2958
+
2959
+
2960
+ default_message_pool.register_message("", "NavCHlLineData", NavCHlLineData)
2961
+
2962
+
2963
+ @dataclass(eq=False, repr=False)
2964
+ class NavCHlLineDataAck(betterproto2.Message):
2965
+ start_job_ri: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2966
+
2967
+ end_job_ri: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2968
+
2969
+ current_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
2970
+
2971
+
2972
+ default_message_pool.register_message("", "NavCHlLineDataAck", NavCHlLineDataAck)
2973
+
2974
+
2975
+ @dataclass(eq=False, repr=False)
2976
+ class NavEdgePoints(betterproto2.Message):
2977
+ result: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2978
+
2979
+ action: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
2980
+
2981
+ type: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
2982
+
2983
+ hash: "int" = betterproto2.field(4, betterproto2.TYPE_FIXED64)
2984
+
2985
+ total_frame: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
2986
+
2987
+ current_frame: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
2988
+
2989
+ data_couple: "list[CommDataCouple]" = betterproto2.field(7, betterproto2.TYPE_MESSAGE, repeated=True)
2990
+
2991
+
2992
+ default_message_pool.register_message("", "NavEdgePoints", NavEdgePoints)
2993
+
2994
+
2995
+ @dataclass(eq=False, repr=False)
2996
+ class NavEdgePointsAck(betterproto2.Message):
2997
+ result: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
2998
+
2999
+ action: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3000
+
3001
+ type: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3002
+
3003
+ hash: "int" = betterproto2.field(4, betterproto2.TYPE_FIXED64)
3004
+
3005
+ total_frame: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3006
+
3007
+ current_frame: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
3008
+
3009
+
3010
+ default_message_pool.register_message("", "NavEdgePointsAck", NavEdgePointsAck)
3011
+
3012
+
3013
+ @dataclass(eq=False, repr=False)
3014
+ class NavGetCommData(betterproto2.Message):
3015
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3016
+
3017
+ sub_cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3018
+
3019
+ action: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3020
+
3021
+ type: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3022
+
3023
+ hash: "int" = betterproto2.field(5, betterproto2.TYPE_INT64)
3024
+
3025
+ paternal_hash_a: "int" = betterproto2.field(6, betterproto2.TYPE_INT64)
3026
+
3027
+ paternal_hash_b: "int" = betterproto2.field(7, betterproto2.TYPE_INT64)
3028
+
3029
+ total_frame: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
3030
+
3031
+ current_frame: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
3032
+
3033
+ data_hash: "int" = betterproto2.field(10, betterproto2.TYPE_FIXED64)
3034
+
3035
+ reserved: "str" = betterproto2.field(11, betterproto2.TYPE_STRING)
3036
+
3037
+
3038
+ default_message_pool.register_message("", "NavGetCommData", NavGetCommData)
3039
+
3040
+
3041
+ @dataclass(eq=False, repr=False)
3042
+ class NavGetCommDataAck(betterproto2.Message):
3043
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3044
+
3045
+ sub_cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3046
+
3047
+ result: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3048
+
3049
+ action: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3050
+
3051
+ type: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3052
+
3053
+ hash: "int" = betterproto2.field(6, betterproto2.TYPE_FIXED64)
3054
+
3055
+ paternal_hash_a: "int" = betterproto2.field(7, betterproto2.TYPE_FIXED64)
3056
+
3057
+ paternal_hash_b: "int" = betterproto2.field(8, betterproto2.TYPE_FIXED64)
3058
+
3059
+ total_frame: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
3060
+
3061
+ current_frame: "int" = betterproto2.field(10, betterproto2.TYPE_INT32)
3062
+
3063
+ data_hash: "int" = betterproto2.field(11, betterproto2.TYPE_FIXED64)
3064
+
3065
+ data_len: "int" = betterproto2.field(12, betterproto2.TYPE_INT32)
3066
+
3067
+ data_couple: "list[CommDataCouple]" = betterproto2.field(13, betterproto2.TYPE_MESSAGE, repeated=True)
3068
+
3069
+ reserved: "str" = betterproto2.field(14, betterproto2.TYPE_STRING)
3070
+
3071
+ name_time: "NavGetNameTime | None" = betterproto2.field(15, betterproto2.TYPE_MESSAGE, optional=True)
3072
+
3073
+
3074
+ default_message_pool.register_message("", "NavGetCommDataAck", NavGetCommDataAck)
3075
+
3076
+
3077
+ @dataclass(eq=False, repr=False)
3078
+ class NavGetHashList(betterproto2.Message):
3079
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3080
+
3081
+ sub_cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3082
+
3083
+ total_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3084
+
3085
+ current_frame: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3086
+
3087
+ data_hash: "int" = betterproto2.field(5, betterproto2.TYPE_FIXED64)
3088
+
3089
+ reserved: "str" = betterproto2.field(6, betterproto2.TYPE_STRING)
3090
+
3091
+
3092
+ default_message_pool.register_message("", "NavGetHashList", NavGetHashList)
3093
+
3094
+
3095
+ @dataclass(eq=False, repr=False)
3096
+ class NavGetHashListAck(betterproto2.Message):
3097
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3098
+
3099
+ sub_cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3100
+
3101
+ total_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3102
+
3103
+ current_frame: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3104
+
3105
+ data_hash: "int" = betterproto2.field(5, betterproto2.TYPE_FIXED64)
3106
+
3107
+ hash_len: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
3108
+
3109
+ reserved: "str" = betterproto2.field(7, betterproto2.TYPE_STRING)
3110
+
3111
+ result: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
3112
+
3113
+ data_couple: "list[int]" = betterproto2.field(13, betterproto2.TYPE_INT64, repeated=True)
3114
+
3115
+
3116
+ default_message_pool.register_message("", "NavGetHashListAck", NavGetHashListAck)
3117
+
3118
+
3119
+ @dataclass(eq=False, repr=False)
3120
+ class NavGetNameTime(betterproto2.Message):
3121
+ name: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
3122
+
3123
+ create_time: "int" = betterproto2.field(2, betterproto2.TYPE_FIXED64)
3124
+
3125
+ modify_time: "int" = betterproto2.field(3, betterproto2.TYPE_FIXED64)
3126
+
3127
+
3128
+ default_message_pool.register_message("", "NavGetNameTime", NavGetNameTime)
3129
+
3130
+
3131
+ @dataclass(eq=False, repr=False)
3132
+ class NavLatLonUp(betterproto2.Message):
3133
+ lat: "float" = betterproto2.field(1, betterproto2.TYPE_DOUBLE)
3134
+
3135
+ lon: "float" = betterproto2.field(2, betterproto2.TYPE_DOUBLE)
3136
+
3137
+
3138
+ default_message_pool.register_message("", "NavLatLonUp", NavLatLonUp)
3139
+
3140
+
3141
+ @dataclass(eq=False, repr=False)
3142
+ class NavMapNameMsg(betterproto2.Message):
3143
+ rw: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3144
+
3145
+ hash: "int" = betterproto2.field(2, betterproto2.TYPE_FIXED64)
3146
+
3147
+ name: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
3148
+
3149
+ result: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3150
+
3151
+ device_id: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
3152
+
3153
+
3154
+ default_message_pool.register_message("", "NavMapNameMsg", NavMapNameMsg)
3155
+
3156
+
3157
+ @dataclass(eq=False, repr=False)
3158
+ class NavObstiBorderDataGet(betterproto2.Message):
3159
+ obstacle_index: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3160
+
3161
+ current_frame: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3162
+
3163
+ obstacles_len: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3164
+
3165
+
3166
+ default_message_pool.register_message("", "NavObstiBorderDataGet", NavObstiBorderDataGet)
3167
+
3168
+
3169
+ @dataclass(eq=False, repr=False)
3170
+ class NavObstiBorderDataGetAck(betterproto2.Message):
3171
+ obstacle_index: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3172
+
3173
+ current_frame: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3174
+
3175
+
3176
+ default_message_pool.register_message("", "NavObstiBorderDataGetAck", NavObstiBorderDataGetAck)
3177
+
3178
+
3179
+ @dataclass(eq=False, repr=False)
3180
+ class NavOptiBorderInfo(betterproto2.Message):
3181
+ job_id: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3182
+
3183
+ all_frame: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3184
+
3185
+ current_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3186
+
3187
+ border_data_len: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3188
+
3189
+ dc: "list[CommDataCouple]" = betterproto2.field(5, betterproto2.TYPE_MESSAGE, repeated=True)
3190
+
3191
+
3192
+ default_message_pool.register_message("", "NavOptiBorderInfo", NavOptiBorderInfo)
3193
+
3194
+
3195
+ @dataclass(eq=False, repr=False)
3196
+ class NavOptLineUp(betterproto2.Message):
3197
+ start_job_ri: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3198
+
3199
+ end_job_ri: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3200
+
3201
+ all_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3202
+
3203
+ current_frame: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3204
+
3205
+ channel_data_len: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3206
+
3207
+ dc: "list[CommDataCouple]" = betterproto2.field(6, betterproto2.TYPE_MESSAGE, repeated=True)
3208
+
3209
+
3210
+ default_message_pool.register_message("", "NavOptLineUp", NavOptLineUp)
3211
+
3212
+
3213
+ @dataclass(eq=False, repr=False)
3214
+ class NavOptObsInfo(betterproto2.Message):
3215
+ obstacle_id: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3216
+
3217
+ all_frame: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3218
+
3219
+ current_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3220
+
3221
+ obstacle_data_len: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3222
+
3223
+ dc: "list[CommDataCouple]" = betterproto2.field(5, betterproto2.TYPE_MESSAGE, repeated=True)
3224
+
3225
+
3226
+ default_message_pool.register_message("", "NavOptObsInfo", NavOptObsInfo)
3227
+
3228
+
3229
+ @dataclass(eq=False, repr=False)
3230
+ class NavPlanJobSet(betterproto2.Message):
3231
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3232
+
3233
+ sub_cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3234
+
3235
+ area: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3236
+
3237
+ work_time: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3238
+
3239
+ version: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
3240
+
3241
+ id: "str" = betterproto2.field(6, betterproto2.TYPE_STRING)
3242
+
3243
+ user_id: "str" = betterproto2.field(7, betterproto2.TYPE_STRING)
3244
+
3245
+ device_id: "str" = betterproto2.field(8, betterproto2.TYPE_STRING)
3246
+
3247
+ plan_id: "str" = betterproto2.field(9, betterproto2.TYPE_STRING)
3248
+
3249
+ task_id: "str" = betterproto2.field(10, betterproto2.TYPE_STRING)
3250
+
3251
+ job_id: "str" = betterproto2.field(11, betterproto2.TYPE_STRING)
3252
+
3253
+ start_time: "str" = betterproto2.field(12, betterproto2.TYPE_STRING)
3254
+
3255
+ end_time: "str" = betterproto2.field(13, betterproto2.TYPE_STRING)
3256
+
3257
+ week: "int" = betterproto2.field(14, betterproto2.TYPE_INT32)
3258
+
3259
+ knife_height: "int" = betterproto2.field(15, betterproto2.TYPE_INT32)
3260
+
3261
+ model: "int" = betterproto2.field(16, betterproto2.TYPE_INT32)
3262
+
3263
+ edge_mode: "int" = betterproto2.field(17, betterproto2.TYPE_INT32)
3264
+
3265
+ required_time: "int" = betterproto2.field(18, betterproto2.TYPE_INT32)
3266
+
3267
+ route_angle: "int" = betterproto2.field(19, betterproto2.TYPE_INT32)
3268
+
3269
+ route_model: "int" = betterproto2.field(20, betterproto2.TYPE_INT32)
3270
+
3271
+ route_spacing: "int" = betterproto2.field(21, betterproto2.TYPE_INT32)
3272
+
3273
+ ultrasonic_barrier: "int" = betterproto2.field(22, betterproto2.TYPE_INT32)
3274
+
3275
+ total_plan_num: "int" = betterproto2.field(23, betterproto2.TYPE_INT32)
3276
+
3277
+ plan_index: "int" = betterproto2.field(24, betterproto2.TYPE_INT32)
3278
+
3279
+ result: "int" = betterproto2.field(25, betterproto2.TYPE_INT32)
3280
+
3281
+ speed: "float" = betterproto2.field(26, betterproto2.TYPE_FLOAT)
3282
+
3283
+ task_name: "str" = betterproto2.field(27, betterproto2.TYPE_STRING)
3284
+
3285
+ job_name: "str" = betterproto2.field(28, betterproto2.TYPE_STRING)
3286
+
3287
+ zone_hashs: "list[int]" = betterproto2.field(29, betterproto2.TYPE_FIXED64, repeated=True)
3288
+
3289
+ reserved: "str" = betterproto2.field(30, betterproto2.TYPE_STRING)
3290
+
3291
+ start_date: "str" = betterproto2.field(31, betterproto2.TYPE_STRING)
3292
+
3293
+ end_date: "str" = betterproto2.field(32, betterproto2.TYPE_STRING)
3294
+
3295
+ trigger_type: "int" = betterproto2.field(33, betterproto2.TYPE_INT32)
3296
+
3297
+ day: "int" = betterproto2.field(34, betterproto2.TYPE_INT32)
3298
+
3299
+ weeks: "list[int]" = betterproto2.field(35, betterproto2.TYPE_FIXED32, repeated=True)
3300
+
3301
+ remained_seconds: "int" = betterproto2.field(36, betterproto2.TYPE_INT64)
3302
+
3303
+ toward_mode: "int" = betterproto2.field(37, betterproto2.TYPE_INT32)
3304
+
3305
+ toward_included_angle: "int" = betterproto2.field(38, betterproto2.TYPE_INT32)
3306
+
3307
+
3308
+ default_message_pool.register_message("", "NavPlanJobSet", NavPlanJobSet)
3309
+
3310
+
3311
+ @dataclass(eq=False, repr=False)
3312
+ class NavPosUp(betterproto2.Message):
3313
+ x: "float" = betterproto2.field(1, betterproto2.TYPE_FLOAT)
3314
+
3315
+ y: "float" = betterproto2.field(2, betterproto2.TYPE_FLOAT)
3316
+
3317
+ status: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3318
+
3319
+ toward: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3320
+
3321
+ stars: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3322
+
3323
+ age: "float" = betterproto2.field(6, betterproto2.TYPE_FLOAT)
3324
+
3325
+ lat_stddev: "float" = betterproto2.field(7, betterproto2.TYPE_FLOAT)
3326
+
3327
+ lon_stddev: "float" = betterproto2.field(8, betterproto2.TYPE_FLOAT)
3328
+
3329
+ l_2df_stars: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
3330
+
3331
+ pos_type: "int" = betterproto2.field(10, betterproto2.TYPE_INT32)
3332
+
3333
+ c_hash_id: "int" = betterproto2.field(11, betterproto2.TYPE_INT64)
3334
+
3335
+ pos_level: "int" = betterproto2.field(12, betterproto2.TYPE_INT32)
3336
+
3337
+
3338
+ default_message_pool.register_message("", "NavPosUp", NavPosUp)
3339
+
3340
+
3341
+ @dataclass(eq=False, repr=False)
3342
+ class NavReqCoverPath(betterproto2.Message):
3343
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3344
+
3345
+ job_id: "int" = betterproto2.field(2, betterproto2.TYPE_FIXED64)
3346
+
3347
+ job_ver: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3348
+
3349
+ job_mode: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3350
+
3351
+ sub_cmd: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3352
+
3353
+ edge_mode: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
3354
+
3355
+ knife_height: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
3356
+
3357
+ channel_width: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
3358
+
3359
+ ultra_wave: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
3360
+
3361
+ channel_mode: "int" = betterproto2.field(10, betterproto2.TYPE_INT32)
3362
+
3363
+ toward: "int" = betterproto2.field(11, betterproto2.TYPE_INT32)
3364
+
3365
+ speed: "float" = betterproto2.field(12, betterproto2.TYPE_FLOAT)
3366
+
3367
+ zone_hashs: "list[int]" = betterproto2.field(13, betterproto2.TYPE_FIXED64, repeated=True)
3368
+
3369
+ path_hash: "int" = betterproto2.field(14, betterproto2.TYPE_FIXED64)
3370
+
3371
+ reserved: "str" = betterproto2.field(15, betterproto2.TYPE_STRING)
3372
+
3373
+ result: "int" = betterproto2.field(16, betterproto2.TYPE_INT32)
3374
+
3375
+ toward_mode: "int" = betterproto2.field(17, betterproto2.TYPE_INT32)
3376
+
3377
+ toward_included_angle: "int" = betterproto2.field(18, betterproto2.TYPE_INT32)
3378
+
3379
+
3380
+ default_message_pool.register_message("", "NavReqCoverPath", NavReqCoverPath)
3381
+
3382
+
3383
+ @dataclass(eq=False, repr=False)
3384
+ class NavResFrame(betterproto2.Message):
3385
+ frameid: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3386
+
3387
+
3388
+ default_message_pool.register_message("", "NavResFrame", NavResFrame)
3389
+
3390
+
3391
+ @dataclass(eq=False, repr=False)
3392
+ class NavStartJob(betterproto2.Message):
3393
+ job_id: "int" = betterproto2.field(1, betterproto2.TYPE_INT64)
3394
+
3395
+ job_ver: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3396
+
3397
+ job_mode: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3398
+
3399
+ rain_tactics: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3400
+
3401
+ knife_height: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3402
+
3403
+ speed: "float" = betterproto2.field(6, betterproto2.TYPE_FLOAT)
3404
+
3405
+ channel_width: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
3406
+
3407
+ ultra_wave: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
3408
+
3409
+ channel_mode: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
3410
+
3411
+
3412
+ default_message_pool.register_message("", "NavStartJob", NavStartJob)
3413
+
3414
+
3415
+ @dataclass(eq=False, repr=False)
3416
+ class NavSysHashOverview(betterproto2.Message):
3417
+ commonhash_overview: "int" = betterproto2.field(1, betterproto2.TYPE_FIXED64)
3418
+
3419
+ path_hash_overview: "int" = betterproto2.field(2, betterproto2.TYPE_FIXED64)
3420
+
3421
+
3422
+ default_message_pool.register_message("", "NavSysHashOverview", NavSysHashOverview)
3423
+
3424
+
3425
+ @dataclass(eq=False, repr=False)
3426
+ class NavTaskBreakPoint(betterproto2.Message):
3427
+ x: "float" = betterproto2.field(1, betterproto2.TYPE_FLOAT)
3428
+
3429
+ y: "float" = betterproto2.field(2, betterproto2.TYPE_FLOAT)
3430
+
3431
+ toward: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3432
+
3433
+ flag: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3434
+
3435
+ action: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3436
+
3437
+ zone_hash: "int" = betterproto2.field(6, betterproto2.TYPE_FIXED64)
3438
+
3439
+
3440
+ default_message_pool.register_message("", "NavTaskBreakPoint", NavTaskBreakPoint)
3441
+
3442
+
3443
+ @dataclass(eq=False, repr=False)
3444
+ class NavTaskCtrl(betterproto2.Message):
3445
+ type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3446
+
3447
+ action: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3448
+
3449
+ result: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3450
+
3451
+ reserved: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
3452
+
3453
+
3454
+ default_message_pool.register_message("", "NavTaskCtrl", NavTaskCtrl)
3455
+
3456
+
3457
+ @dataclass(eq=False, repr=False)
3458
+ class NavTaskCtrlAck(betterproto2.Message):
3459
+ type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3460
+
3461
+ action: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3462
+
3463
+ result: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3464
+
3465
+ nav_state: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3466
+
3467
+ reserved: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
3468
+
3469
+
3470
+ default_message_pool.register_message("", "NavTaskCtrlAck", NavTaskCtrlAck)
3471
+
3472
+
3473
+ @dataclass(eq=False, repr=False)
3474
+ class NavTaskIdRw(betterproto2.Message):
3475
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3476
+
3477
+ sub_cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3478
+
3479
+ task_name: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
3480
+
3481
+ task_id: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
3482
+
3483
+ result: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3484
+
3485
+ reserved: "str" = betterproto2.field(6, betterproto2.TYPE_STRING)
3486
+
3487
+
3488
+ default_message_pool.register_message("", "NavTaskIdRw", NavTaskIdRw)
3489
+
3490
+
3491
+ @dataclass(eq=False, repr=False)
3492
+ class NavTaskInfo(betterproto2.Message):
3493
+ area: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3494
+
3495
+ time: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3496
+
3497
+ all_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3498
+
3499
+ current_frame: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3500
+
3501
+ pathlen: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3502
+
3503
+ dc: "list[CommDataCouple]" = betterproto2.field(6, betterproto2.TYPE_MESSAGE, repeated=True)
3504
+
3505
+
3506
+ default_message_pool.register_message("", "NavTaskInfo", NavTaskInfo)
3507
+
3508
+
3509
+ @dataclass(eq=False, repr=False)
3510
+ class NavTaskProgress(betterproto2.Message):
3511
+ task_progress: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3512
+
3513
+
3514
+ default_message_pool.register_message("", "NavTaskProgress", NavTaskProgress)
3515
+
3516
+
3517
+ @dataclass(eq=False, repr=False)
3518
+ class NavUnableTimeSet(betterproto2.Message):
3519
+ sub_cmd: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3520
+
3521
+ device_id: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
3522
+
3523
+ unable_start_time: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
3524
+
3525
+ unable_end_time: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
3526
+
3527
+ result: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3528
+
3529
+ reserved: "str" = betterproto2.field(6, betterproto2.TYPE_STRING)
3530
+
3531
+ trigger: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
3532
+
3533
+
3534
+ default_message_pool.register_message("", "NavUnableTimeSet", NavUnableTimeSet)
3535
+
3536
+
3537
+ @dataclass(eq=False, repr=False)
3538
+ class NavUploadZigZagResult(betterproto2.Message):
3539
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3540
+
3541
+ job_id: "int" = betterproto2.field(2, betterproto2.TYPE_FIXED64)
3542
+
3543
+ job_ver: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3544
+
3545
+ result: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3546
+
3547
+ area: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3548
+
3549
+ time: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
3550
+
3551
+ total_zone_num: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
3552
+
3553
+ current_zone_path_num: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
3554
+
3555
+ current_zone_path_id: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
3556
+
3557
+ current_zone: "int" = betterproto2.field(10, betterproto2.TYPE_INT32)
3558
+
3559
+ current_hash: "int" = betterproto2.field(11, betterproto2.TYPE_FIXED64)
3560
+
3561
+ total_frame: "int" = betterproto2.field(12, betterproto2.TYPE_INT32)
3562
+
3563
+ current_frame: "int" = betterproto2.field(13, betterproto2.TYPE_INT32)
3564
+
3565
+ channel_mode: "int" = betterproto2.field(14, betterproto2.TYPE_INT32)
3566
+
3567
+ channel_mode_id: "int" = betterproto2.field(15, betterproto2.TYPE_INT32)
3568
+
3569
+ data_hash: "int" = betterproto2.field(16, betterproto2.TYPE_FIXED64)
3570
+
3571
+ data_len: "int" = betterproto2.field(17, betterproto2.TYPE_INT32)
3572
+
3573
+ reserved: "str" = betterproto2.field(18, betterproto2.TYPE_STRING)
3574
+
3575
+ data_couple: "list[CommDataCouple]" = betterproto2.field(19, betterproto2.TYPE_MESSAGE, repeated=True)
3576
+
3577
+ sub_cmd: "int" = betterproto2.field(20, betterproto2.TYPE_INT32)
3578
+
3579
+
3580
+ default_message_pool.register_message("", "NavUploadZigZagResult", NavUploadZigZagResult)
3581
+
3582
+
3583
+ @dataclass(eq=False, repr=False)
3584
+ class NavUploadZigZagResultAck(betterproto2.Message):
3585
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3586
+
3587
+ current_zone: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3588
+
3589
+ current_hash: "int" = betterproto2.field(3, betterproto2.TYPE_FIXED64)
3590
+
3591
+ total_frame: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3592
+
3593
+ current_frame: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3594
+
3595
+ data_hash: "int" = betterproto2.field(6, betterproto2.TYPE_FIXED64)
3596
+
3597
+ reserved: "str" = betterproto2.field(7, betterproto2.TYPE_STRING)
3598
+
3599
+ sub_cmd: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
3600
+
3601
+
3602
+ default_message_pool.register_message("", "NavUploadZigZagResultAck", NavUploadZigZagResultAck)
3603
+
3604
+
3605
+ @dataclass(eq=False, repr=False)
3606
+ class NetSpeed(betterproto2.Message):
3607
+ download: "int" = betterproto2.field(1, betterproto2.TYPE_UINT32)
3608
+
3609
+ upload: "int" = betterproto2.field(2, betterproto2.TYPE_UINT32)
3610
+
3611
+
3612
+ default_message_pool.register_message("", "net_speed", NetSpeed)
3613
+
3614
+
3615
+ @dataclass(eq=False, repr=False)
3616
+ class OtaInfo(betterproto2.Message):
3617
+ otaid: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
3618
+
3619
+ version: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
3620
+
3621
+ progress: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3622
+
3623
+ result: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3624
+
3625
+ message: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
3626
+
3627
+
3628
+ default_message_pool.register_message("", "otaInfo", OtaInfo)
3629
+
3630
+
3631
+ @dataclass(eq=False, repr=False)
3632
+ class PerceptionLocalMapVisualizationT(betterproto2.Message):
3633
+ map: "bytes" = betterproto2.field(1, betterproto2.TYPE_BYTES)
3634
+
3635
+
3636
+ default_message_pool.register_message("", "perception_local_map_visualization_t", PerceptionLocalMapVisualizationT)
3637
+
3638
+
3639
+ @dataclass(eq=False, repr=False)
3640
+ class PerceptionObstaclesT(betterproto2.Message):
3641
+ label: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3642
+
3643
+ num: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3644
+
3645
+ points_x: "list[int]" = betterproto2.field(3, betterproto2.TYPE_SINT32, repeated=True)
3646
+
3647
+ points_y: "list[int]" = betterproto2.field(4, betterproto2.TYPE_SINT32, repeated=True)
3648
+
3649
+
3650
+ default_message_pool.register_message("", "perception_obstacles_t", PerceptionObstaclesT)
3651
+
3652
+
3653
+ @dataclass(eq=False, repr=False)
3654
+ class PerceptionObstaclesVisualizationT(betterproto2.Message):
3655
+ status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3656
+
3657
+ num: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3658
+
3659
+ obstacles: "list[PerceptionObstaclesT]" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, repeated=True)
3660
+
3661
+ timestamp: "float" = betterproto2.field(4, betterproto2.TYPE_DOUBLE)
3662
+
3663
+ scale: "float" = betterproto2.field(5, betterproto2.TYPE_FLOAT)
3664
+
3665
+
3666
+ default_message_pool.register_message("", "perception_obstacles_visualization_t", PerceptionObstaclesVisualizationT)
3667
+
3668
+
3669
+ @dataclass(eq=False, repr=False)
3670
+ class PerceptionUniversalBuffT(betterproto2.Message):
3671
+ perception_type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3672
+
3673
+ perception_len: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3674
+
3675
+ universal_buff: "list[int]" = betterproto2.field(3, betterproto2.TYPE_INT64, repeated=True)
3676
+
3677
+
3678
+ default_message_pool.register_message("", "perception_universal_buff_t", PerceptionUniversalBuffT)
3679
+
3680
+
3681
+ @dataclass(eq=False, repr=False)
3682
+ class PlanTaskNameIdT(betterproto2.Message):
3683
+ id: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
3684
+
3685
+ name: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
3686
+
3687
+
3688
+ default_message_pool.register_message("", "plan_task_name_id_t", PlanTaskNameIdT)
3689
+
3690
+
3691
+ @dataclass(eq=False, repr=False)
3692
+ class PosScore(betterproto2.Message):
3693
+ rover_score: "int" = betterproto2.field(1, betterproto2.TYPE_UINT32)
3694
+
3695
+ rover_level: "int" = betterproto2.field(2, betterproto2.TYPE_UINT32)
3696
+
3697
+ base_score: "int" = betterproto2.field(3, betterproto2.TYPE_UINT32)
3698
+
3699
+ base_level: "int" = betterproto2.field(4, betterproto2.TYPE_UINT32)
3700
+
3701
+ base_moved: "int" = betterproto2.field(5, betterproto2.TYPE_UINT32)
3702
+
3703
+ base_moving: "int" = betterproto2.field(6, betterproto2.TYPE_UINT32)
3704
+
3705
+
3706
+ default_message_pool.register_message("", "pos_score", PosScore)
3707
+
3708
+
3709
+ @dataclass(eq=False, repr=False)
3710
+ class QcAppTestConditions(betterproto2.Message):
3711
+ cond_type: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
3712
+
3713
+ int_val: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3714
+
3715
+ float_val: "float" = betterproto2.field(3, betterproto2.TYPE_FLOAT)
3716
+
3717
+ double_val: "float" = betterproto2.field(4, betterproto2.TYPE_DOUBLE)
3718
+
3719
+ string_val: "str" = betterproto2.field(5, betterproto2.TYPE_STRING)
3720
+
3721
+
3722
+ default_message_pool.register_message("", "QCAppTestConditions", QcAppTestConditions)
3723
+
3724
+
3725
+ @dataclass(eq=False, repr=False)
3726
+ class QcAppTestExcept(betterproto2.Message):
3727
+ except_type: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
3728
+
3729
+ conditions: "list[QcAppTestConditions]" = betterproto2.field(2, betterproto2.TYPE_MESSAGE, repeated=True)
3730
+
3731
+
3732
+ default_message_pool.register_message("", "QCAppTestExcept", QcAppTestExcept)
3733
+
3734
+
3735
+ @dataclass(eq=False, repr=False)
3736
+ class RemoteResetReqT(betterproto2.Message):
3737
+ magic: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3738
+
3739
+ bizid: "int" = betterproto2.field(2, betterproto2.TYPE_INT64)
3740
+
3741
+ reset_mode: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3742
+
3743
+ force_reset: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3744
+
3745
+ account: "int" = betterproto2.field(5, betterproto2.TYPE_INT64)
3746
+
3747
+
3748
+ default_message_pool.register_message("", "remote_reset_req_t", RemoteResetReqT)
3749
+
3750
+
3751
+ @dataclass(eq=False, repr=False)
3752
+ class RemoteResetRspT(betterproto2.Message):
3753
+ magic: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3754
+
3755
+ bizid: "int" = betterproto2.field(2, betterproto2.TYPE_INT64)
3756
+
3757
+ result: "CommandResult" = betterproto2.field(3, betterproto2.TYPE_ENUM, default_factory=lambda: CommandResult(0))
3758
+
3759
+
3760
+ default_message_pool.register_message("", "remote_reset_rsp_t", RemoteResetRspT)
3761
+
3762
+
3763
+ @dataclass(eq=False, repr=False)
3764
+ class ReportInfoCfg(betterproto2.Message):
3765
+ act: "RptAct" = betterproto2.field(1, betterproto2.TYPE_ENUM, default_factory=lambda: RptAct(0))
3766
+
3767
+ timeout: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3768
+
3769
+ period: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3770
+
3771
+ no_change_period: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3772
+
3773
+ count: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3774
+
3775
+ sub: "list[RptInfoType]" = betterproto2.field(6, betterproto2.TYPE_ENUM, repeated=True)
3776
+
3777
+
3778
+ default_message_pool.register_message("", "report_info_cfg", ReportInfoCfg)
3779
+
3780
+
3781
+ @dataclass(eq=False, repr=False)
3782
+ class ReportInfoData(betterproto2.Message):
3783
+ connect: "RptConnectStatus | None" = betterproto2.field(1, betterproto2.TYPE_MESSAGE, optional=True)
3784
+
3785
+ dev: "RptDevStatus | None" = betterproto2.field(2, betterproto2.TYPE_MESSAGE, optional=True)
3786
+
3787
+ rtk: "RptRtk | None" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, optional=True)
3788
+
3789
+ locations: "list[RptDevLocation]" = betterproto2.field(4, betterproto2.TYPE_MESSAGE, repeated=True)
3790
+
3791
+ work: "RptWork | None" = betterproto2.field(5, betterproto2.TYPE_MESSAGE, optional=True)
3792
+
3793
+ fw_info: "DeviceFwInfo | None" = betterproto2.field(6, betterproto2.TYPE_MESSAGE, optional=True)
3794
+
3795
+ maintain: "RptMaintain | None" = betterproto2.field(7, betterproto2.TYPE_MESSAGE, optional=True)
3796
+
3797
+ vision_point_info: "list[VisionPointInfoMsg]" = betterproto2.field(8, betterproto2.TYPE_MESSAGE, repeated=True)
3798
+
3799
+ vio_to_app_info: "VioToAppInfoMsg | None" = betterproto2.field(9, betterproto2.TYPE_MESSAGE, optional=True)
3800
+
3801
+ vision_statistic_info: "VisionStatisticInfoMsg | None" = betterproto2.field(
3802
+ 10, betterproto2.TYPE_MESSAGE, optional=True
3803
+ )
3804
+
3805
+ basestation_info: "RptBasestationInfo | None" = betterproto2.field(11, betterproto2.TYPE_MESSAGE, optional=True)
3806
+
3807
+ cutter_work_mode_info: "RptCutterRpm | None" = betterproto2.field(12, betterproto2.TYPE_MESSAGE, optional=True)
3808
+
3809
+
3810
+ default_message_pool.register_message("", "report_info_data", ReportInfoData)
3811
+
3812
+
3813
+ @dataclass(eq=False, repr=False)
3814
+ class ReportInfoT(betterproto2.Message):
3815
+ dev_status: "DevStatueT | None" = betterproto2.field(1, betterproto2.TYPE_MESSAGE, optional=True)
3816
+
3817
+
3818
+ default_message_pool.register_message("", "report_info_t", ReportInfoT)
3819
+
3820
+
3821
+ @dataclass(eq=False, repr=False)
3822
+ class RequestBasestationInfoT(betterproto2.Message):
3823
+ request_type: "int" = betterproto2.field(1, betterproto2.TYPE_UINT32)
3824
+
3825
+
3826
+ default_message_pool.register_message("", "request_basestation_info_t", RequestBasestationInfoT)
3827
+
3828
+
3829
+ @dataclass(eq=False, repr=False)
3830
+ class ResponseBasestationInfoT(betterproto2.Message):
3831
+ system_status: "int" = betterproto2.field(1, betterproto2.TYPE_UINT64)
3832
+
3833
+ app_connect_type: "int" = betterproto2.field(2, betterproto2.TYPE_UINT32)
3834
+
3835
+ ble_rssi: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3836
+
3837
+ wifi_rssi: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3838
+
3839
+ sats_num: "int" = betterproto2.field(5, betterproto2.TYPE_UINT64)
3840
+
3841
+ lora_scan: "int" = betterproto2.field(6, betterproto2.TYPE_INT64)
3842
+
3843
+ lora_channel: "int" = betterproto2.field(7, betterproto2.TYPE_INT64)
3844
+
3845
+ lora_locid: "int" = betterproto2.field(8, betterproto2.TYPE_INT64)
3846
+
3847
+ lora_netid: "int" = betterproto2.field(9, betterproto2.TYPE_INT64)
3848
+
3849
+ rtk_status: "int" = betterproto2.field(10, betterproto2.TYPE_UINT64)
3850
+
3851
+ lowpower_status: "int" = betterproto2.field(11, betterproto2.TYPE_INT32)
3852
+
3853
+ mqtt_rtk_status: "int" = betterproto2.field(12, betterproto2.TYPE_INT32)
3854
+
3855
+ rtk_channel: "int" = betterproto2.field(13, betterproto2.TYPE_INT32)
3856
+
3857
+ rtk_switch: "int" = betterproto2.field(14, betterproto2.TYPE_INT32)
3858
+
3859
+ score_info: "BaseScore | None" = betterproto2.field(15, betterproto2.TYPE_MESSAGE, optional=True)
3860
+
3861
+
3862
+ default_message_pool.register_message("", "response_basestation_info_t", ResponseBasestationInfoT)
3863
+
3864
+
3865
+ @dataclass(eq=False, repr=False)
3866
+ class ResponseSetModeT(betterproto2.Message):
3867
+ statue: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3868
+
3869
+ set_work_mode: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3870
+
3871
+ cur_work_mode: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3872
+
3873
+ start_work_time: "int" = betterproto2.field(4, betterproto2.TYPE_INT64)
3874
+
3875
+ end_work_time: "int" = betterproto2.field(5, betterproto2.TYPE_INT64)
3876
+
3877
+ interruptflag: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
3878
+
3879
+ cur_work_time: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
3880
+
3881
+
3882
+ default_message_pool.register_message("", "response_set_mode_t", ResponseSetModeT)
3883
+
3884
+
3885
+ @dataclass(eq=False, repr=False)
3886
+ class RptBasestationInfo(betterproto2.Message):
3887
+ ver_major: "int" = betterproto2.field(1, betterproto2.TYPE_UINT32)
3888
+
3889
+ ver_minor: "int" = betterproto2.field(2, betterproto2.TYPE_UINT32)
3890
+
3891
+ ver_patch: "int" = betterproto2.field(3, betterproto2.TYPE_UINT32)
3892
+
3893
+ ver_build: "int" = betterproto2.field(4, betterproto2.TYPE_UINT32)
3894
+
3895
+ basestation_status: "int" = betterproto2.field(5, betterproto2.TYPE_UINT32)
3896
+
3897
+ connect_status_since_poweron: "int" = betterproto2.field(6, betterproto2.TYPE_UINT32)
3898
+
3899
+
3900
+ default_message_pool.register_message("", "rpt_basestation_info", RptBasestationInfo)
3901
+
3902
+
3903
+ @dataclass(eq=False, repr=False)
3904
+ class RptConnectStatus(betterproto2.Message):
3905
+ connect_type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3906
+
3907
+ ble_rssi: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3908
+
3909
+ wifi_rssi: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3910
+
3911
+ link_type: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3912
+
3913
+ mnet_rssi: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3914
+
3915
+ mnet_inet: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
3916
+
3917
+ used_net: "NetUsedType" = betterproto2.field(7, betterproto2.TYPE_ENUM, default_factory=lambda: NetUsedType(0))
3918
+
3919
+ mnet_cfg: "MnetCfg | None" = betterproto2.field(8, betterproto2.TYPE_MESSAGE, optional=True)
3920
+
3921
+ dev_net_speed: "NetSpeed | None" = betterproto2.field(9, betterproto2.TYPE_MESSAGE, optional=True)
3922
+
3923
+ iot_wifi_report: "bool" = betterproto2.field(10, betterproto2.TYPE_BOOL)
3924
+
3925
+ iot_con_status: "int" = betterproto2.field(11, betterproto2.TYPE_INT32)
3926
+
3927
+ wifi_con_status: "int" = betterproto2.field(12, betterproto2.TYPE_INT32)
3928
+
3929
+ wifi_is_available: "int" = betterproto2.field(13, betterproto2.TYPE_INT32)
3930
+
3931
+
3932
+ default_message_pool.register_message("", "rpt_connect_status", RptConnectStatus)
3933
+
3934
+
3935
+ @dataclass(eq=False, repr=False)
3936
+ class RptCutterRpm(betterproto2.Message):
3937
+ current_cutter_mode: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3938
+
3939
+ current_cutter_rpm: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3940
+
3941
+
3942
+ default_message_pool.register_message("", "rpt_cutter_rpm", RptCutterRpm)
3943
+
3944
+
3945
+ @dataclass(eq=False, repr=False)
3946
+ class RptDevLocation(betterproto2.Message):
3947
+ real_pos_x: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3948
+
3949
+ real_pos_y: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3950
+
3951
+ real_toward: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3952
+
3953
+ pos_type: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3954
+
3955
+ zone_hash: "int" = betterproto2.field(5, betterproto2.TYPE_INT64)
3956
+
3957
+ bol_hash: "int" = betterproto2.field(6, betterproto2.TYPE_INT64)
3958
+
3959
+
3960
+ default_message_pool.register_message("", "rpt_dev_location", RptDevLocation)
3961
+
3962
+
3963
+ @dataclass(eq=False, repr=False)
3964
+ class RptDevStatus(betterproto2.Message):
3965
+ sys_status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3966
+
3967
+ charge_state: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
3968
+
3969
+ battery_val: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
3970
+
3971
+ sensor_status: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
3972
+
3973
+ last_status: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
3974
+
3975
+ sys_time_stamp: "int" = betterproto2.field(6, betterproto2.TYPE_INT64)
3976
+
3977
+ vslam_status: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
3978
+
3979
+ mnet_info: "MnetInfo | None" = betterproto2.field(8, betterproto2.TYPE_MESSAGE, optional=True)
3980
+
3981
+ vio_survival_info: "VioSurvivalInfoT | None" = betterproto2.field(9, betterproto2.TYPE_MESSAGE, optional=True)
3982
+
3983
+ collector_status: "CollectorStatusT | None" = betterproto2.field(10, betterproto2.TYPE_MESSAGE, optional=True)
3984
+
3985
+ lock_state: "LockStateT | None" = betterproto2.field(11, betterproto2.TYPE_MESSAGE, optional=True)
3986
+
3987
+ self_check_status: "int" = betterproto2.field(12, betterproto2.TYPE_UINT32)
3988
+
3989
+ fpv_info: "FpvToAppInfoT | None" = betterproto2.field(13, betterproto2.TYPE_MESSAGE, optional=True)
3990
+
3991
+
3992
+ default_message_pool.register_message("", "rpt_dev_status", RptDevStatus)
3993
+
3994
+
3995
+ @dataclass(eq=False, repr=False)
3996
+ class RptLora(betterproto2.Message):
3997
+ pair_code_scan: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
3998
+
3999
+ pair_code_channel: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4000
+
4001
+ pair_code_locid: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4002
+
4003
+ pair_code_netid: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4004
+
4005
+ lora_connection_status: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4006
+
4007
+
4008
+ default_message_pool.register_message("", "rpt_lora", RptLora)
4009
+
4010
+
4011
+ @dataclass(eq=False, repr=False)
4012
+ class RptMaintain(betterproto2.Message):
4013
+ mileage: "int" = betterproto2.field(1, betterproto2.TYPE_INT64)
4014
+
4015
+ work_time: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4016
+
4017
+ bat_cycles: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4018
+
4019
+ blade_used_time: "BladeUsed | None" = betterproto2.field(4, betterproto2.TYPE_MESSAGE, optional=True)
4020
+
4021
+
4022
+ default_message_pool.register_message("", "rpt_maintain", RptMaintain)
4023
+
4024
+
4025
+ @dataclass(eq=False, repr=False)
4026
+ class RptRtk(betterproto2.Message):
4027
+ status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4028
+
4029
+ pos_level: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4030
+
4031
+ gps_stars: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4032
+
4033
+ age: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4034
+
4035
+ lat_std: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4036
+
4037
+ lon_std: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
4038
+
4039
+ l2_stars: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
4040
+
4041
+ dis_status: "int" = betterproto2.field(8, betterproto2.TYPE_INT64)
4042
+
4043
+ top4_total_mean: "int" = betterproto2.field(9, betterproto2.TYPE_INT64)
4044
+
4045
+ co_view_stars: "int" = betterproto2.field(10, betterproto2.TYPE_INT32)
4046
+
4047
+ reset: "int" = betterproto2.field(11, betterproto2.TYPE_INT32)
4048
+
4049
+ lora_info: "RptLora | None" = betterproto2.field(12, betterproto2.TYPE_MESSAGE, optional=True)
4050
+
4051
+ mqtt_rtk_info: "MqttRtkConnect | None" = betterproto2.field(13, betterproto2.TYPE_MESSAGE, optional=True)
4052
+
4053
+ score_info: "PosScore | None" = betterproto2.field(14, betterproto2.TYPE_MESSAGE, optional=True)
4054
+
4055
+
4056
+ default_message_pool.register_message("", "rpt_rtk", RptRtk)
4057
+
4058
+
4059
+ @dataclass(eq=False, repr=False)
4060
+ class RptWork(betterproto2.Message):
4061
+ plan: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4062
+
4063
+ path_hash: "int" = betterproto2.field(2, betterproto2.TYPE_INT64)
4064
+
4065
+ progress: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4066
+
4067
+ area: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4068
+
4069
+ bp_info: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4070
+
4071
+ bp_hash: "int" = betterproto2.field(6, betterproto2.TYPE_INT64)
4072
+
4073
+ bp_pos_x: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
4074
+
4075
+ bp_pos_y: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
4076
+
4077
+ real_path_num: "int" = betterproto2.field(9, betterproto2.TYPE_INT64)
4078
+
4079
+ path_pos_x: "int" = betterproto2.field(10, betterproto2.TYPE_INT32)
4080
+
4081
+ path_pos_y: "int" = betterproto2.field(11, betterproto2.TYPE_INT32)
4082
+
4083
+ ub_zone_hash: "int" = betterproto2.field(12, betterproto2.TYPE_INT64)
4084
+
4085
+ ub_path_hash: "int" = betterproto2.field(13, betterproto2.TYPE_INT64)
4086
+
4087
+ init_cfg_hash: "int" = betterproto2.field(14, betterproto2.TYPE_INT64)
4088
+
4089
+ ub_ecode_hash: "int" = betterproto2.field(15, betterproto2.TYPE_INT64)
4090
+
4091
+ nav_run_mode: "int" = betterproto2.field(16, betterproto2.TYPE_INT32)
4092
+
4093
+ test_mode_status: "int" = betterproto2.field(17, betterproto2.TYPE_INT64)
4094
+
4095
+ man_run_speed: "int" = betterproto2.field(18, betterproto2.TYPE_INT32)
4096
+
4097
+ nav_edit_status: "int" = betterproto2.field(19, betterproto2.TYPE_INT32)
4098
+
4099
+ knife_height: "int" = betterproto2.field(20, betterproto2.TYPE_INT32)
4100
+
4101
+ nav_heading_state: "NavHeadingStateT | None" = betterproto2.field(21, betterproto2.TYPE_MESSAGE, optional=True)
4102
+
4103
+ cutter_offset: "float" = betterproto2.field(22, betterproto2.TYPE_FLOAT)
4104
+
4105
+ cutter_width: "float" = betterproto2.field(23, betterproto2.TYPE_FLOAT)
4106
+
4107
+
4108
+ default_message_pool.register_message("", "rpt_work", RptWork)
4109
+
4110
+
4111
+ @dataclass(eq=False, repr=False)
4112
+ class RtkCfgReqAckT(betterproto2.Message):
4113
+ cmd_length: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4114
+
4115
+ cmd_response: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
4116
+
4117
+
4118
+ default_message_pool.register_message("", "rtk_cfg_req_ack_t", RtkCfgReqAckT)
4119
+
4120
+
4121
+ @dataclass(eq=False, repr=False)
4122
+ class RtkCfgReqT(betterproto2.Message):
4123
+ cmd_length: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4124
+
4125
+ cmd_req: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
4126
+
4127
+
4128
+ default_message_pool.register_message("", "rtk_cfg_req_t", RtkCfgReqT)
4129
+
4130
+
4131
+ @dataclass(eq=False, repr=False)
4132
+ class RtkSysMaskQueryAckT(betterproto2.Message):
4133
+ sat_system: "int" = betterproto2.field(1, betterproto2.TYPE_UINT32)
4134
+
4135
+ system_mask_bits: "list[int]" = betterproto2.field(2, betterproto2.TYPE_UINT32, repeated=True)
4136
+
4137
+
4138
+ default_message_pool.register_message("", "rtk_sys_mask_query_ack_t", RtkSysMaskQueryAckT)
4139
+
4140
+
4141
+ @dataclass(eq=False, repr=False)
4142
+ class RtkSysMaskQueryT(betterproto2.Message):
4143
+ sat_system: "int" = betterproto2.field(1, betterproto2.TYPE_UINT32)
4144
+
4145
+
4146
+ default_message_pool.register_message("", "rtk_sys_mask_query_t", RtkSysMaskQueryT)
4147
+
4148
+
4149
+ @dataclass(eq=False, repr=False)
4150
+ class SetPeripheralsT(betterproto2.Message):
4151
+ buzz_enable: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4152
+
4153
+
4154
+ default_message_pool.register_message("", "set_peripherals_t", SetPeripheralsT)
4155
+
4156
+
4157
+ @dataclass(eq=False, repr=False)
4158
+ class SetDrvBleMtu(betterproto2.Message):
4159
+ mtu_count: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4160
+
4161
+
4162
+ default_message_pool.register_message("", "SetDrvBleMTU", SetDrvBleMtu)
4163
+
4164
+
4165
+ @dataclass(eq=False, repr=False)
4166
+ class SetHeadlamp(betterproto2.Message):
4167
+ set_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4168
+
4169
+ lamp_power_ctrl: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4170
+
4171
+ lamp_ctrl: "LampCtrlSta" = betterproto2.field(3, betterproto2.TYPE_ENUM, default_factory=lambda: LampCtrlSta(0))
4172
+
4173
+ ctrl_lamp_bright: "bool" = betterproto2.field(4, betterproto2.TYPE_BOOL)
4174
+
4175
+ lamp_bright: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4176
+
4177
+ lamp_manual_ctrl: "LampManualCtrlSta" = betterproto2.field(
4178
+ 6, betterproto2.TYPE_ENUM, default_factory=lambda: LampManualCtrlSta(0)
4179
+ )
4180
+
4181
+
4182
+ default_message_pool.register_message("", "SetHeadlamp", SetHeadlamp)
4183
+
4184
+
4185
+ @dataclass(eq=False, repr=False)
4186
+ class Setlamprsp(betterproto2.Message):
4187
+ set_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4188
+
4189
+ result: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4190
+
4191
+
4192
+ default_message_pool.register_message("", "Setlamprsp", Setlamprsp)
4193
+
4194
+
4195
+ @dataclass(eq=False, repr=False)
4196
+ class SetMnetCfgReq(betterproto2.Message):
4197
+ req_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4198
+
4199
+ cfg: "MnetCfg | None" = betterproto2.field(2, betterproto2.TYPE_MESSAGE, optional=True)
4200
+
4201
+
4202
+ default_message_pool.register_message("", "SetMnetCfgReq", SetMnetCfgReq)
4203
+
4204
+
4205
+ @dataclass(eq=False, repr=False)
4206
+ class SetMnetCfgRsp(betterproto2.Message):
4207
+ req_ids: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4208
+
4209
+ result: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4210
+
4211
+
4212
+ default_message_pool.register_message("", "SetMnetCfgRsp", SetMnetCfgRsp)
4213
+
4214
+
4215
+ @dataclass(eq=False, repr=False)
4216
+ class SimulationCmdData(betterproto2.Message):
4217
+ sub_cmd: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4218
+
4219
+ param_id: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4220
+
4221
+ param_value: "list[int]" = betterproto2.field(3, betterproto2.TYPE_INT32, repeated=True)
4222
+
4223
+
4224
+ default_message_pool.register_message("", "SimulationCmdData", SimulationCmdData)
4225
+
4226
+
4227
+ @dataclass(eq=False, repr=False)
4228
+ class SocMul(betterproto2.Message):
4229
+ """
4230
+
4231
+
4232
+ Oneofs:
4233
+ - SubMul:
4234
+ """
4235
+
4236
+ set_audio: "MulSetAudio | None" = betterproto2.field(1, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul")
4237
+
4238
+ audio_cfg: "MulAudioCfg | None" = betterproto2.field(2, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul")
4239
+
4240
+ set_video: "MulSetVideo | None" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul")
4241
+
4242
+ set_video_ack: "MulSetVideoAck | None" = betterproto2.field(
4243
+ 4, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul"
4244
+ )
4245
+
4246
+ set_wiper: "MulSetWiper | None" = betterproto2.field(5, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul")
4247
+
4248
+ set_wiper_ack: "MulSetWiperAck | None" = betterproto2.field(
4249
+ 6, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul"
4250
+ )
4251
+
4252
+ get_lamp: "GetHeadlamp | None" = betterproto2.field(7, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul")
4253
+
4254
+ set_lamp: "SetHeadlamp | None" = betterproto2.field(8, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul")
4255
+
4256
+ set_lamp_rsp: "Setlamprsp | None" = betterproto2.field(9, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul")
4257
+
4258
+ get_lamp_rsp: "Getlamprsp | None" = betterproto2.field(10, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul")
4259
+
4260
+ req_encode: "MulSetEncode | None" = betterproto2.field(11, betterproto2.TYPE_MESSAGE, optional=True, group="SubMul")
4261
+
4262
+
4263
+ default_message_pool.register_message("", "SocMul", SocMul)
4264
+
4265
+
4266
+ @dataclass(eq=False, repr=False)
4267
+ class SpecialModeT(betterproto2.Message):
4268
+ stair_mode: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4269
+
4270
+ violent_mode: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4271
+
4272
+ berthing_mode: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4273
+
4274
+
4275
+ default_message_pool.register_message("", "special_mode_t", SpecialModeT)
4276
+
4277
+
4278
+ @dataclass(eq=False, repr=False)
4279
+ class SvgMessageAckT(betterproto2.Message):
4280
+ pver: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4281
+
4282
+ sub_cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4283
+
4284
+ total_frame: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4285
+
4286
+ current_frame: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4287
+
4288
+ data_hash: "int" = betterproto2.field(5, betterproto2.TYPE_FIXED64)
4289
+
4290
+ paternal_hash_a: "int" = betterproto2.field(6, betterproto2.TYPE_FIXED64)
4291
+
4292
+ type: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
4293
+
4294
+ result: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
4295
+
4296
+ svg_message: "SvgMessageT | None" = betterproto2.field(9, betterproto2.TYPE_MESSAGE, optional=True)
4297
+
4298
+
4299
+ default_message_pool.register_message("", "svg_message_ack_t", SvgMessageAckT)
4300
+
4301
+
4302
+ @dataclass(eq=False, repr=False)
4303
+ class SvgMessageT(betterproto2.Message):
4304
+ x_move: "float" = betterproto2.field(1, betterproto2.TYPE_DOUBLE)
4305
+
4306
+ y_move: "float" = betterproto2.field(2, betterproto2.TYPE_DOUBLE)
4307
+
4308
+ scale: "float" = betterproto2.field(3, betterproto2.TYPE_DOUBLE)
4309
+
4310
+ rotate: "float" = betterproto2.field(4, betterproto2.TYPE_DOUBLE)
4311
+
4312
+ base_width_m: "float" = betterproto2.field(5, betterproto2.TYPE_DOUBLE)
4313
+
4314
+ base_height_m: "float" = betterproto2.field(6, betterproto2.TYPE_DOUBLE)
4315
+
4316
+ base_width_pix: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
4317
+
4318
+ base_height_pix: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
4319
+
4320
+ svg_file_name: "str" = betterproto2.field(9, betterproto2.TYPE_STRING)
4321
+
4322
+ svg_file_data: "str" = betterproto2.field(10, betterproto2.TYPE_STRING)
4323
+
4324
+ name_count: "int" = betterproto2.field(11, betterproto2.TYPE_INT32)
4325
+
4326
+ data_count: "int" = betterproto2.field(12, betterproto2.TYPE_INT32)
4327
+
4328
+ hide_svg: "bool" = betterproto2.field(13, betterproto2.TYPE_BOOL)
4329
+
4330
+
4331
+ default_message_pool.register_message("", "svg_message_t", SvgMessageT)
4332
+
4333
+
4334
+ @dataclass(eq=False, repr=False)
4335
+ class SysBatUp(betterproto2.Message):
4336
+ bat_val: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4337
+
4338
+
4339
+ default_message_pool.register_message("", "SysBatUp", SysBatUp)
4340
+
4341
+
4342
+ @dataclass(eq=False, repr=False)
4343
+ class SysBoardType(betterproto2.Message):
4344
+ board_type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4345
+
4346
+
4347
+ default_message_pool.register_message("", "SysBoardType", SysBoardType)
4348
+
4349
+
4350
+ @dataclass(eq=False, repr=False)
4351
+ class SysBorder(betterproto2.Message):
4352
+ borderval: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4353
+
4354
+
4355
+ default_message_pool.register_message("", "SysBorder", SysBorder)
4356
+
4357
+
4358
+ @dataclass(eq=False, repr=False)
4359
+ class SysCommCmd(betterproto2.Message):
4360
+ rw: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4361
+
4362
+ id: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4363
+
4364
+ context: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4365
+
4366
+
4367
+ default_message_pool.register_message("", "SysCommCmd", SysCommCmd)
4368
+
4369
+
4370
+ @dataclass(eq=False, repr=False)
4371
+ class SysDelJobPlan(betterproto2.Message):
4372
+ device_id: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
4373
+
4374
+ plan_id: "str" = betterproto2.field(2, betterproto2.TYPE_STRING)
4375
+
4376
+
4377
+ default_message_pool.register_message("", "SysDelJobPlan", SysDelJobPlan)
4378
+
4379
+
4380
+ @dataclass(eq=False, repr=False)
4381
+ class SysDevErrCode(betterproto2.Message):
4382
+ error_code: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4383
+
4384
+
4385
+ default_message_pool.register_message("", "SysDevErrCode", SysDevErrCode)
4386
+
4387
+
4388
+ @dataclass(eq=False, repr=False)
4389
+ class SysErrorCode(betterproto2.Message):
4390
+ code_no: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4391
+
4392
+
4393
+ default_message_pool.register_message("", "SysErrorCode", SysErrorCode)
4394
+
4395
+
4396
+ @dataclass(eq=False, repr=False)
4397
+ class SysJobPlan(betterproto2.Message):
4398
+ job_id: "int" = betterproto2.field(1, betterproto2.TYPE_INT64)
4399
+
4400
+ job_mode: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4401
+
4402
+ rain_tactics: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4403
+
4404
+ knife_height: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4405
+
4406
+
4407
+ default_message_pool.register_message("", "SysJobPlan", SysJobPlan)
4408
+
4409
+
4410
+ @dataclass(eq=False, repr=False)
4411
+ class SysJobPlanTime(betterproto2.Message):
4412
+ plan_id: "int" = betterproto2.field(1, betterproto2.TYPE_INT64)
4413
+
4414
+ start_job_time: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4415
+
4416
+ end_job_time: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4417
+
4418
+ time_in_day: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4419
+
4420
+ job_plan_mode: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4421
+
4422
+ job_plan_enable: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
4423
+
4424
+ week_day: "list[int]" = betterproto2.field(7, betterproto2.TYPE_INT32, repeated=True)
4425
+
4426
+ time_in_week_day: "list[int]" = betterproto2.field(8, betterproto2.TYPE_INT32, repeated=True)
4427
+
4428
+ every_day: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
4429
+
4430
+ job_plan: "SysJobPlan | None" = betterproto2.field(10, betterproto2.TYPE_MESSAGE, optional=True)
4431
+
4432
+
4433
+ default_message_pool.register_message("", "SysJobPlanTime", SysJobPlanTime)
4434
+
4435
+
4436
+ @dataclass(eq=False, repr=False)
4437
+ class SysKnifeControl(betterproto2.Message):
4438
+ knife_status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4439
+
4440
+ knife_height: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4441
+
4442
+
4443
+ default_message_pool.register_message("", "SysKnifeControl", SysKnifeControl)
4444
+
4445
+
4446
+ @dataclass(eq=False, repr=False)
4447
+ class SysMowInfo(betterproto2.Message):
4448
+ device_state: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4449
+
4450
+ bat_val: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4451
+
4452
+ knife_height: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4453
+
4454
+ rt_kstatus: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4455
+
4456
+ rt_kstars: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4457
+
4458
+
4459
+ default_message_pool.register_message("", "SysMowInfo", SysMowInfo)
4460
+
4461
+
4462
+ @dataclass(eq=False, repr=False)
4463
+ class SysOffChipFlash(betterproto2.Message):
4464
+ op: "Operation" = betterproto2.field(1, betterproto2.TYPE_ENUM, default_factory=lambda: Operation(0))
4465
+
4466
+ id: "OffPartId" = betterproto2.field(2, betterproto2.TYPE_ENUM, default_factory=lambda: OffPartId(0))
4467
+
4468
+ start_addr: "int" = betterproto2.field(3, betterproto2.TYPE_UINT32)
4469
+
4470
+ offset: "int" = betterproto2.field(4, betterproto2.TYPE_UINT32)
4471
+
4472
+ length: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4473
+
4474
+ data: "bytes" = betterproto2.field(6, betterproto2.TYPE_BYTES)
4475
+
4476
+ code: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
4477
+
4478
+ msg: "str" = betterproto2.field(8, betterproto2.TYPE_STRING)
4479
+
4480
+
4481
+ default_message_pool.register_message("", "SysOffChipFlash", SysOffChipFlash)
4482
+
4483
+
4484
+ @dataclass(eq=False, repr=False)
4485
+ class SysOptiLineAck(betterproto2.Message):
4486
+ respones_cmd: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4487
+
4488
+ current_frame: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4489
+
4490
+
4491
+ default_message_pool.register_message("", "SysOptiLineAck", SysOptiLineAck)
4492
+
4493
+
4494
+ @dataclass(eq=False, repr=False)
4495
+ class SysPlanJobStatus(betterproto2.Message):
4496
+ planjob_status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4497
+
4498
+
4499
+ default_message_pool.register_message("", "SysPlanJobStatus", SysPlanJobStatus)
4500
+
4501
+
4502
+ @dataclass(eq=False, repr=False)
4503
+ class SysResetBladeUsedTimeStatus(betterproto2.Message):
4504
+ reset_blade_used_time_status: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4505
+
4506
+
4507
+ default_message_pool.register_message("", "SysResetBladeUsedTimeStatus", SysResetBladeUsedTimeStatus)
4508
+
4509
+
4510
+ @dataclass(eq=False, repr=False)
4511
+ class SysResetSystemStatus(betterproto2.Message):
4512
+ reset_staus: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4513
+
4514
+
4515
+ default_message_pool.register_message("", "SysResetSystemStatus", SysResetSystemStatus)
4516
+
4517
+
4518
+ @dataclass(eq=False, repr=False)
4519
+ class SysSetDateTime(betterproto2.Message):
4520
+ year: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4521
+
4522
+ month: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4523
+
4524
+ date: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4525
+
4526
+ week: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4527
+
4528
+ hours: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4529
+
4530
+ minutes: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
4531
+
4532
+ seconds: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
4533
+
4534
+ time_zone: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
4535
+
4536
+ daylight: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
4537
+
4538
+
4539
+ default_message_pool.register_message("", "SysSetDateTime", SysSetDateTime)
4540
+
4541
+
4542
+ @dataclass(eq=False, repr=False)
4543
+ class SysSetTimeZone(betterproto2.Message):
4544
+ time_stamp: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4545
+
4546
+ time_area: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4547
+
4548
+
4549
+ default_message_pool.register_message("", "SysSetTimeZone", SysSetTimeZone)
4550
+
4551
+
4552
+ @dataclass(eq=False, repr=False)
4553
+ class SysSwVersion(betterproto2.Message):
4554
+ board_type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4555
+
4556
+ version_len: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4557
+
4558
+
4559
+ default_message_pool.register_message("", "SysSwVersion", SysSwVersion)
4560
+
4561
+
4562
+ @dataclass(eq=False, repr=False)
4563
+ class SystemRapidStateTunnelMsg(betterproto2.Message):
4564
+ rapid_state_data: "list[int]" = betterproto2.field(1, betterproto2.TYPE_INT64, repeated=True)
4565
+
4566
+ vision_point_info: "list[VisionPointInfoMsg]" = betterproto2.field(2, betterproto2.TYPE_MESSAGE, repeated=True)
4567
+
4568
+ vio_to_app_info: "VioToAppInfoMsg | None" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, optional=True)
4569
+
4570
+ vision_statistic_info: "VisionStatisticInfoMsg | None" = betterproto2.field(
4571
+ 4, betterproto2.TYPE_MESSAGE, optional=True
4572
+ )
4573
+
4574
+
4575
+ default_message_pool.register_message("", "systemRapidStateTunnel_msg", SystemRapidStateTunnelMsg)
4576
+
4577
+
4578
+ @dataclass(eq=False, repr=False)
4579
+ class SystemTardStateTunnelMsg(betterproto2.Message):
4580
+ tard_state_data: "list[int]" = betterproto2.field(1, betterproto2.TYPE_INT64, repeated=True)
4581
+
4582
+
4583
+ default_message_pool.register_message("", "systemTardStateTunnel_msg", SystemTardStateTunnelMsg)
4584
+
4585
+
4586
+ @dataclass(eq=False, repr=False)
4587
+ class SystemTmpCycleTxMsg(betterproto2.Message):
4588
+ cycle_tx_data: "list[int]" = betterproto2.field(1, betterproto2.TYPE_INT64, repeated=True)
4589
+
4590
+
4591
+ default_message_pool.register_message("", "systemTmpCycleTx_msg", SystemTmpCycleTxMsg)
4592
+
4593
+
4594
+ @dataclass(eq=False, repr=False)
4595
+ class SystemUpdateBufMsg(betterproto2.Message):
4596
+ update_buf_data: "list[int]" = betterproto2.field(1, betterproto2.TYPE_INT64, repeated=True)
4597
+
4598
+
4599
+ default_message_pool.register_message("", "systemUpdateBuf_msg", SystemUpdateBufMsg)
4600
+
4601
+
4602
+ @dataclass(eq=False, repr=False)
4603
+ class SysUploadFileProgress(betterproto2.Message):
4604
+ biz_id: "str" = betterproto2.field(1, betterproto2.TYPE_STRING)
4605
+
4606
+ result: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4607
+
4608
+ progress: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4609
+
4610
+
4611
+ default_message_pool.register_message("", "SysUploadFileProgress", SysUploadFileProgress)
4612
+
4613
+
4614
+ @dataclass(eq=False, repr=False)
4615
+ class SysWorkState(betterproto2.Message):
4616
+ device_state: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4617
+
4618
+ charge_state: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4619
+
4620
+ cm_hash: "int" = betterproto2.field(3, betterproto2.TYPE_INT64)
4621
+
4622
+ path_hash: "int" = betterproto2.field(4, betterproto2.TYPE_INT64)
4623
+
4624
+
4625
+ default_message_pool.register_message("", "SysWorkState", SysWorkState)
4626
+
4627
+
4628
+ @dataclass(eq=False, repr=False)
4629
+ class TimeCtrlLight(betterproto2.Message):
4630
+ operate: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4631
+
4632
+ enable: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4633
+
4634
+ start_hour: "int" = betterproto2.field(3, betterproto2.TYPE_INT32)
4635
+
4636
+ start_min: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4637
+
4638
+ end_hour: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4639
+
4640
+ end_min: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
4641
+
4642
+ action: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
4643
+
4644
+
4645
+ default_message_pool.register_message("", "TimeCtrlLight", TimeCtrlLight)
4646
+
4647
+
4648
+ @dataclass(eq=False, repr=False)
4649
+ class UplinkT(betterproto2.Message):
4650
+ pkg_seq: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4651
+
4652
+ status: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4653
+
4654
+
4655
+ default_message_pool.register_message("", "uplink_t", UplinkT)
4656
+
4657
+
4658
+ @dataclass(eq=False, repr=False)
4659
+ class UserSetBladeUsedWarnTime(betterproto2.Message):
4660
+ blade_used_warn_time: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4661
+
4662
+
4663
+ default_message_pool.register_message("", "user_set_blade_used_warn_time", UserSetBladeUsedWarnTime)
4664
+
4665
+
4666
+ @dataclass(eq=False, repr=False)
4667
+ class VioSurvivalInfoT(betterproto2.Message):
4668
+ vio_survival_distance: "float" = betterproto2.field(1, betterproto2.TYPE_FLOAT)
4669
+
4670
+
4671
+ default_message_pool.register_message("", "vio_survival_info_t", VioSurvivalInfoT)
4672
+
4673
+
4674
+ @dataclass(eq=False, repr=False)
4675
+ class VioToAppInfoMsg(betterproto2.Message):
4676
+ x: "float" = betterproto2.field(1, betterproto2.TYPE_DOUBLE)
4677
+
4678
+ y: "float" = betterproto2.field(2, betterproto2.TYPE_DOUBLE)
4679
+
4680
+ heading: "float" = betterproto2.field(3, betterproto2.TYPE_DOUBLE)
4681
+
4682
+ vio_state: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4683
+
4684
+ brightness: "int" = betterproto2.field(5, betterproto2.TYPE_INT32)
4685
+
4686
+ detect_feature_num: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
4687
+
4688
+ track_feature_num: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
4689
+
4690
+
4691
+ default_message_pool.register_message("", "vio_to_app_info_msg", VioToAppInfoMsg)
4692
+
4693
+
4694
+ @dataclass(eq=False, repr=False)
4695
+ class VisionCtrlMsg(betterproto2.Message):
4696
+ type: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4697
+
4698
+ cmd: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4699
+
4700
+
4701
+ default_message_pool.register_message("", "vision_ctrl_msg", VisionCtrlMsg)
4702
+
4703
+
4704
+ @dataclass(eq=False, repr=False)
4705
+ class VisionPointInfoMsg(betterproto2.Message):
4706
+ label: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4707
+
4708
+ num: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4709
+
4710
+ vision_point: "list[VisionPointMsg]" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, repeated=True)
4711
+
4712
+
4713
+ default_message_pool.register_message("", "vision_point_info_msg", VisionPointInfoMsg)
4714
+
4715
+
4716
+ @dataclass(eq=False, repr=False)
4717
+ class VisionPointMsg(betterproto2.Message):
4718
+ x: "float" = betterproto2.field(1, betterproto2.TYPE_FLOAT)
4719
+
4720
+ y: "float" = betterproto2.field(2, betterproto2.TYPE_FLOAT)
4721
+
4722
+ z: "float" = betterproto2.field(3, betterproto2.TYPE_FLOAT)
4723
+
4724
+
4725
+ default_message_pool.register_message("", "vision_point_msg", VisionPointMsg)
4726
+
4727
+
4728
+ @dataclass(eq=False, repr=False)
4729
+ class VisionStatisticInfoMsg(betterproto2.Message):
4730
+ timestamp: "float" = betterproto2.field(1, betterproto2.TYPE_DOUBLE)
4731
+
4732
+ num: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4733
+
4734
+ vision_statistics: "list[VisionStatisticMsg]" = betterproto2.field(3, betterproto2.TYPE_MESSAGE, repeated=True)
4735
+
4736
+
4737
+ default_message_pool.register_message("", "vision_statistic_info_msg", VisionStatisticInfoMsg)
4738
+
4739
+
4740
+ @dataclass(eq=False, repr=False)
4741
+ class VisionStatisticMsg(betterproto2.Message):
4742
+ mean: "float" = betterproto2.field(1, betterproto2.TYPE_FLOAT)
4743
+
4744
+ var: "float" = betterproto2.field(2, betterproto2.TYPE_FLOAT)
4745
+
4746
+
4747
+ default_message_pool.register_message("", "vision_statistic_msg", VisionStatisticMsg)
4748
+
4749
+
4750
+ @dataclass(eq=False, repr=False)
4751
+ class WifiIotStatusReport(betterproto2.Message):
4752
+ wifi_connected: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
4753
+
4754
+ iot_connected: "bool" = betterproto2.field(2, betterproto2.TYPE_BOOL)
4755
+
4756
+ productkey: "str" = betterproto2.field(3, betterproto2.TYPE_STRING)
4757
+
4758
+ devicename: "str" = betterproto2.field(4, betterproto2.TYPE_STRING)
4759
+
4760
+
4761
+ default_message_pool.register_message("", "WifiIotStatusReport", WifiIotStatusReport)
4762
+
4763
+
4764
+ @dataclass(eq=False, repr=False)
4765
+ class WorkModeT(betterproto2.Message):
4766
+ work_mode: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4767
+
4768
+
4769
+ default_message_pool.register_message("", "work_mode_t", WorkModeT)
4770
+
4771
+
4772
+ @dataclass(eq=False, repr=False)
4773
+ class WorkReportCmdData(betterproto2.Message):
4774
+ sub_cmd: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4775
+
4776
+ get_info_num: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4777
+
4778
+
4779
+ default_message_pool.register_message("", "WorkReportCmdData", WorkReportCmdData)
4780
+
4781
+
4782
+ @dataclass(eq=False, repr=False)
4783
+ class WorkReportInfoAck(betterproto2.Message):
4784
+ interrupt_flag: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
4785
+
4786
+ start_work_time: "int" = betterproto2.field(2, betterproto2.TYPE_INT64)
4787
+
4788
+ end_work_time: "int" = betterproto2.field(3, betterproto2.TYPE_INT64)
4789
+
4790
+ work_time_used: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4791
+
4792
+ work_ares: "float" = betterproto2.field(5, betterproto2.TYPE_DOUBLE)
4793
+
4794
+ work_progress: "int" = betterproto2.field(6, betterproto2.TYPE_INT32)
4795
+
4796
+ height_of_knife: "int" = betterproto2.field(7, betterproto2.TYPE_INT32)
4797
+
4798
+ work_type: "int" = betterproto2.field(8, betterproto2.TYPE_INT32)
4799
+
4800
+ work_result: "int" = betterproto2.field(9, betterproto2.TYPE_INT32)
4801
+
4802
+ total_ack_num: "int" = betterproto2.field(10, betterproto2.TYPE_INT32)
4803
+
4804
+ current_ack_num: "int" = betterproto2.field(11, betterproto2.TYPE_INT32)
4805
+
4806
+ job_content: "int" = betterproto2.field(12, betterproto2.TYPE_INT32)
4807
+
4808
+
4809
+ default_message_pool.register_message("", "WorkReportInfoAck", WorkReportInfoAck)
4810
+
4811
+
4812
+ @dataclass(eq=False, repr=False)
4813
+ class WorkReportUpdateAck(betterproto2.Message):
4814
+ update_flag: "bool" = betterproto2.field(1, betterproto2.TYPE_BOOL)
4815
+
4816
+ info_num: "int" = betterproto2.field(2, betterproto2.TYPE_INT32)
4817
+
4818
+
4819
+ default_message_pool.register_message("", "WorkReportUpdateAck", WorkReportUpdateAck)
4820
+
4821
+
4822
+ @dataclass(eq=False, repr=False)
4823
+ class WorkReportUpdateCmd(betterproto2.Message):
4824
+ sub_cmd: "int" = betterproto2.field(1, betterproto2.TYPE_INT32)
4825
+
4826
+
4827
+ default_message_pool.register_message("", "WorkReportUpdateCmd", WorkReportUpdateCmd)
4828
+
4829
+
4830
+ @dataclass(eq=False, repr=False)
4831
+ class ZoneStartPrecentT(betterproto2.Message):
4832
+ data_hash: "int" = betterproto2.field(1, betterproto2.TYPE_FIXED64)
4833
+
4834
+ x: "float" = betterproto2.field(2, betterproto2.TYPE_FLOAT)
4835
+
4836
+ y: "float" = betterproto2.field(3, betterproto2.TYPE_FLOAT)
4837
+
4838
+ index: "int" = betterproto2.field(4, betterproto2.TYPE_INT32)
4839
+
4840
+
4841
+ default_message_pool.register_message("", "zone_start_precent_t", ZoneStartPrecentT)