@kvaser/canking-api 7.2.0 → 7.3.0

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.
Files changed (862) hide show
  1. package/dist/ElectronAPIFake.js +1 -1
  2. package/dist/ElectronAPIFake.mjs +11 -10
  3. package/dist/controls/CanChannelSelectControl.d.ts +4 -4
  4. package/dist/controls/CanIdentifierControl.d.ts +78 -54
  5. package/dist/controls/CanKingDataProvider.d.ts +31 -2
  6. package/dist/controls/CheckboxControl.d.ts +2 -2
  7. package/dist/controls/ColumnItemControl.d.ts +1 -1
  8. package/dist/controls/ContextMenu.d.ts +2 -2
  9. package/dist/controls/DropdownButton.d.ts +3 -3
  10. package/dist/controls/DropdownPanel.d.ts +1 -1
  11. package/dist/controls/FormControlRow.d.ts +1 -1
  12. package/dist/controls/InlineEditor.d.ts +2 -2
  13. package/dist/controls/LinChannelSelectControl.d.ts +3 -3
  14. package/dist/controls/LinIdentifierControl.d.ts +76 -53
  15. package/dist/controls/LocalizedStrings.d.ts +1 -0
  16. package/dist/controls/NumberRangeControl.d.ts +11 -11
  17. package/dist/controls/RadioControl.d.ts +1 -1
  18. package/dist/controls/RadioGroupControl.d.ts +2 -2
  19. package/dist/controls/SectionControl.d.ts +2 -2
  20. package/dist/controls/SelectControl.d.ts +2 -2
  21. package/dist/controls/SelectSignalDialog.d.ts +2 -1
  22. package/dist/controls/SelectSignalsControl.d.ts +11 -0
  23. package/dist/controls/TableControl.d.ts +1 -1
  24. package/dist/controls/TextControl.d.ts +16 -6
  25. package/dist/controls/ToolbarControl.d.ts +2 -2
  26. package/dist/controls/ValidateableTextControl.d.ts +6 -6
  27. package/dist/controls/index.d.ts +2 -2
  28. package/dist/controls.js +1 -1
  29. package/dist/controls.mjs +2012 -1855
  30. package/dist/grpc.js +1 -1
  31. package/dist/grpc.mjs +125 -111
  32. package/dist/hooks/index.d.ts +37 -1
  33. package/dist/hooks.js +1 -1
  34. package/dist/hooks.mjs +26 -20
  35. package/dist/icons/index.d.ts +3 -0
  36. package/dist/icons.js +1 -1
  37. package/dist/icons.mjs +29 -4
  38. package/dist/index.js +1 -1
  39. package/dist/index.mjs +498 -313
  40. package/dist/measurement_settings.js +1 -1
  41. package/dist/measurement_settings.mjs +799 -699
  42. package/dist/models/DataBuffer.d.ts +18 -15
  43. package/dist/models/ElectronAPIFake.d.ts +2 -1
  44. package/dist/models.js +1 -1
  45. package/dist/models.mjs +206 -200
  46. package/dist/protos/app_params.d.ts +13 -0
  47. package/dist/protos/frame_params.d.ts +17 -1
  48. package/dist/protos/measurement_params.d.ts +17 -1
  49. package/dist/protos/measurement_service.d.ts +36 -8
  50. package/dist/protos/measurement_settings.d.ts +1 -0
  51. package/dist/protos/signal_params.d.ts +3 -3
  52. package/dist/status_params.js +1 -1
  53. package/dist/status_params.mjs +567 -410
  54. package/doc/assets/hierarchy.js +1 -1
  55. package/doc/assets/main.js +5 -5
  56. package/doc/assets/navigation.js +1 -1
  57. package/doc/assets/search.js +1 -1
  58. package/doc/assets/style.css +254 -231
  59. package/doc/enums/models.AccessMode.html +9 -9
  60. package/doc/enums/models.AppEvent.html +6 -6
  61. package/doc/enums/models.CanChannelCap.html +44 -44
  62. package/doc/enums/models.CanFrameFlag.html +27 -27
  63. package/doc/enums/models.CanMessageFilterType.html +6 -6
  64. package/doc/enums/models.CanMode.html +7 -7
  65. package/doc/enums/models.DeviceEvent.html +6 -6
  66. package/doc/enums/models.FileConflictAction.html +7 -7
  67. package/doc/enums/models.FileType.html +7 -7
  68. package/doc/enums/models.LinFrameFlag.html +12 -12
  69. package/doc/enums/models.LogFileFormat.html +46 -46
  70. package/doc/enums/models.LogLevel.html +17 -17
  71. package/doc/enums/models.LogReplayState.html +6 -6
  72. package/doc/enums/models.LoggerState.html +7 -7
  73. package/doc/enums/models.MeasurementEvent.html +12 -12
  74. package/doc/enums/models.Protocols.html +9 -9
  75. package/doc/enums/models.ServiceExtensionType.html +8 -0
  76. package/doc/enums/models.SignalEncoding.html +5 -5
  77. package/doc/enums/models.SignalType.html +12 -12
  78. package/doc/enums/models.SignalValueTriggerOperator.html +13 -13
  79. package/doc/enums/models.StatusLevel.html +7 -7
  80. package/doc/enums/models.TriggerOperator.html +6 -6
  81. package/doc/functions/controls.CanChannelSelectControl.html +2 -2
  82. package/doc/functions/controls.CanIdentifierControl.html +2 -2
  83. package/doc/functions/controls.CanIdentifierFrameControl.html +2 -2
  84. package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -2
  85. package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -2
  86. package/doc/functions/controls.CanKingDataProvider.html +5 -5
  87. package/doc/functions/controls.CheckboxControl.html +2 -2
  88. package/doc/functions/controls.ColumnItemControl.html +2 -2
  89. package/doc/functions/controls.ContextMenu.html +2 -2
  90. package/doc/functions/controls.DropdownButton.html +2 -2
  91. package/doc/functions/controls.DropdownButtonTextItems.html +2 -2
  92. package/doc/functions/controls.DropdownPanel.html +2 -2
  93. package/doc/functions/controls.FormControlRow.html +2 -2
  94. package/doc/functions/controls.InlineEditor.html +2 -2
  95. package/doc/functions/controls.LinChannelSelectControl.html +2 -2
  96. package/doc/functions/controls.LinIdentifierControl.html +2 -2
  97. package/doc/functions/controls.LinIdentifierFrameControl.html +2 -2
  98. package/doc/functions/controls.LinIdentifierGeneratorControl.html +2 -2
  99. package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +2 -2
  100. package/doc/functions/controls.NumberRangeControl.html +2 -2
  101. package/doc/functions/controls.RadioControl.html +2 -2
  102. package/doc/functions/controls.RadioGroupControl.html +2 -2
  103. package/doc/functions/controls.SectionControl.html +2 -2
  104. package/doc/functions/controls.SelectControl.html +2 -2
  105. package/doc/functions/controls.SelectMessageDialog.html +2 -2
  106. package/doc/functions/controls.SelectSignalDialog.html +2 -2
  107. package/doc/functions/controls.TableControl.html +3 -3
  108. package/doc/functions/controls.TextControl.html +2 -2
  109. package/doc/functions/controls.ToolbarControl.html +2 -2
  110. package/doc/functions/controls.ValidateableTextControl.html +2 -2
  111. package/doc/functions/controls.useColumnItem.html +3 -3
  112. package/doc/functions/controls.useColumnItems.html +3 -3
  113. package/doc/functions/controls.useMessageDatabases.html +2 -2
  114. package/doc/functions/hooks.useDevices.html +3 -3
  115. package/doc/functions/hooks.useFixedPositionModeMeasurementData.html +4 -0
  116. package/doc/functions/hooks.useIsOnline.html +3 -3
  117. package/doc/functions/hooks.useLanguage.html +3 -3
  118. package/doc/functions/hooks.useLocalizedStrings.html +3 -3
  119. package/doc/functions/hooks.useLogMessages.html +3 -3
  120. package/doc/functions/hooks.useMaxDataBytes.html +2 -2
  121. package/doc/functions/hooks.useMeasurementSetup.html +3 -3
  122. package/doc/functions/hooks.useMeasurementStatus.html +3 -3
  123. package/doc/functions/hooks.useMessageData.html +4 -0
  124. package/doc/functions/hooks.useMessageLogFileFormats.html +3 -3
  125. package/doc/functions/hooks.useNewMeasurementData.html +4 -3
  126. package/doc/functions/hooks.useNodeStatus.html +3 -3
  127. package/doc/functions/hooks.useNumericRadix.html +3 -3
  128. package/doc/functions/hooks.useOnlineStatus.html +3 -3
  129. package/doc/functions/hooks.useOverallStatusLevel.html +3 -3
  130. package/doc/functions/hooks.useProjectData.html +5 -5
  131. package/doc/functions/hooks.useRecentProjectFiles.html +2 -2
  132. package/doc/functions/hooks.useRunningPeriodicTransmissions.html +3 -3
  133. package/doc/functions/hooks.useScrollModeMeasurementData.html +4 -0
  134. package/doc/functions/hooks.useSessionData.html +5 -5
  135. package/doc/functions/hooks.useSignalData.html +4 -0
  136. package/doc/functions/hooks.useSignalLogFileFormats.html +2 -2
  137. package/doc/functions/hooks.useUserSettings.html +3 -3
  138. package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -2
  139. package/doc/functions/ipc.addDataProcessor.html +3 -3
  140. package/doc/functions/ipc.addSource.html +3 -3
  141. package/doc/functions/ipc.addTarget.html +3 -3
  142. package/doc/functions/ipc.clearLinMessage.html +3 -3
  143. package/doc/functions/ipc.connectNodes.html +3 -3
  144. package/doc/functions/ipc.deleteDataProcessor.html +3 -3
  145. package/doc/functions/ipc.deleteSource.html +3 -3
  146. package/doc/functions/ipc.deleteTarget.html +3 -3
  147. package/doc/functions/ipc.disableNode.html +3 -3
  148. package/doc/functions/ipc.disconnectNodes.html +3 -3
  149. package/doc/functions/ipc.enableNode.html +3 -3
  150. package/doc/functions/ipc.getFrameDefinitions.html +3 -3
  151. package/doc/functions/ipc.getLogger.html +3 -3
  152. package/doc/functions/ipc.getMessageLogFileFormats.html +3 -3
  153. package/doc/functions/ipc.getSignalLogFileFormats.html +3 -3
  154. package/doc/functions/ipc.requestLinMessage.html +3 -3
  155. package/doc/functions/ipc.sendCanMessage.html +3 -3
  156. package/doc/functions/ipc.sendMessage.html +3 -3
  157. package/doc/functions/ipc.showMessageBox.html +3 -3
  158. package/doc/functions/ipc.showQuestionBox.html +3 -3
  159. package/doc/functions/ipc.startLogReplay.html +3 -3
  160. package/doc/functions/ipc.startMeasurement.html +2 -2
  161. package/doc/functions/ipc.startPeriodicTransmission.html +3 -3
  162. package/doc/functions/ipc.stopLogReplay.html +3 -3
  163. package/doc/functions/ipc.stopMeasurement.html +2 -2
  164. package/doc/functions/ipc.stopPeriodicTransmission.html +3 -3
  165. package/doc/functions/ipc.updateDataProcessor.html +3 -3
  166. package/doc/functions/ipc.updateLinMessage.html +3 -3
  167. package/doc/functions/ipc.updatePeriodicTransmission.html +3 -3
  168. package/doc/functions/ipc.updateSource.html +3 -3
  169. package/doc/functions/ipc.updateTarget.html +3 -3
  170. package/doc/hierarchy.html +1 -1
  171. package/doc/index.html +6 -6
  172. package/doc/interfaces/controls.ButtonGroupProps.html +10 -10
  173. package/doc/interfaces/controls.ButtonProps.html +22 -22
  174. package/doc/interfaces/controls.CanChannelSelectControlProps.html +20 -20
  175. package/doc/interfaces/controls.CanIdentifierControlProps.html +45 -37
  176. package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +31 -33
  177. package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +39 -33
  178. package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +31 -25
  179. package/doc/interfaces/controls.CheckboxControlProps.html +17 -17
  180. package/doc/interfaces/controls.ContextMenuProps.html +9 -9
  181. package/doc/interfaces/controls.DropdownButtonChildrenProps.html +4 -4
  182. package/doc/interfaces/controls.DropdownButtonProps.html +20 -20
  183. package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +9 -9
  184. package/doc/interfaces/controls.DropdownPanelProps.html +20 -20
  185. package/doc/interfaces/controls.FormControlRowProps.html +8 -8
  186. package/doc/interfaces/controls.ILocalizedStrings.html +2 -3
  187. package/doc/interfaces/controls.IMessageDatabase.html +2 -4
  188. package/doc/interfaces/controls.InlineEditorProps.html +13 -13
  189. package/doc/interfaces/controls.LabelProps.html +6 -6
  190. package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -20
  191. package/doc/interfaces/controls.LinIdentifierControlProps.html +42 -35
  192. package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +31 -33
  193. package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +37 -31
  194. package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +31 -25
  195. package/doc/interfaces/controls.NumberRangeControlProps.html +38 -38
  196. package/doc/interfaces/controls.RadioControlProps.html +14 -14
  197. package/doc/interfaces/controls.RadioGroupControlProps.html +9 -9
  198. package/doc/interfaces/controls.SectionControlProps.html +17 -17
  199. package/doc/interfaces/controls.SelectControlProps.html +31 -31
  200. package/doc/interfaces/controls.SelectMessageDialogProps.html +2 -8
  201. package/doc/interfaces/controls.SelectSignalDialogProps.html +2 -12
  202. package/doc/interfaces/controls.TableColumn.html +12 -12
  203. package/doc/interfaces/controls.TableControlProps.html +30 -30
  204. package/doc/interfaces/controls.TextControlProps.html +41 -41
  205. package/doc/interfaces/controls.ToggleButtonGroupProps.html +17 -17
  206. package/doc/interfaces/controls.ToggleButtonProps.html +14 -14
  207. package/doc/interfaces/controls.ToolbarControlProps.html +18 -18
  208. package/doc/interfaces/controls.ValidateableTextControlProps.html +54 -54
  209. package/doc/interfaces/controls.toolbarItem.html +12 -12
  210. package/doc/interfaces/hooks.ISignalData.html +2 -0
  211. package/doc/interfaces/ipc.ILogger.html +2 -8
  212. package/doc/interfaces/models.AboutInformation.html +8 -8
  213. package/doc/interfaces/models.ActivateLicenseRequest.html +8 -8
  214. package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +2 -4
  215. package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +2 -4
  216. package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +8 -10
  217. package/doc/interfaces/models.AddOrUpdateSourceRequest.html +4 -6
  218. package/doc/interfaces/models.AddOrUpdateTargetRequest.html +4 -6
  219. package/doc/interfaces/models.ApiPreferences.html +10 -10
  220. package/doc/interfaces/models.AppEventArgs.html +6 -6
  221. package/doc/interfaces/models.BaseNodeProperties.html +2 -8
  222. package/doc/interfaces/models.BusStatus.html +2 -17
  223. package/doc/interfaces/models.CanBusParamLimits.html +2 -7
  224. package/doc/interfaces/models.CanBusParams.html +2 -8
  225. package/doc/interfaces/models.CanBusSpeedInfo.html +14 -14
  226. package/doc/interfaces/models.CanChannelCapacity.html +4 -7
  227. package/doc/interfaces/models.CanChannelConfiguration.html +16 -16
  228. package/doc/interfaces/models.CanFDBusSpeedCombination.html +2 -4
  229. package/doc/interfaces/models.CanFDBusSpeedInfo.html +10 -10
  230. package/doc/interfaces/models.CanFrameFlags.html +2 -3
  231. package/doc/interfaces/models.CanMessageFilterSettings.html +2 -5
  232. package/doc/interfaces/models.Channel.html +2 -7
  233. package/doc/interfaces/models.ChannelSettings.html +20 -20
  234. package/doc/interfaces/models.ClearLinMessageRequest.html +6 -7
  235. package/doc/interfaces/models.ConnectNodesRequest.html +2 -5
  236. package/doc/interfaces/models.DataProcessingStatus.html +2 -6
  237. package/doc/interfaces/models.DataProcessorNodeProperties.html +2 -8
  238. package/doc/interfaces/models.DatabaseFiles.html +6 -6
  239. package/doc/interfaces/models.DatabasesSettings.html +2 -3
  240. package/doc/interfaces/models.Device.html +2 -9
  241. package/doc/interfaces/models.DeviceEventArgs.html +2 -4
  242. package/doc/interfaces/models.DisconnectNodesRequest.html +2 -5
  243. package/doc/interfaces/models.Empty.html +2 -2
  244. package/doc/interfaces/models.ErrorStatus.html +4 -4
  245. package/doc/interfaces/models.FixedPosFrameIdentifier.html +14 -0
  246. package/doc/interfaces/models.Frame.html +30 -30
  247. package/doc/interfaces/models.FrameDefinition.html +14 -14
  248. package/doc/interfaces/models.FramePropertyValue.html +2 -4
  249. package/doc/interfaces/models.FrameReceivedTrigger.html +6 -6
  250. package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +2 -7
  251. package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +6 -6
  252. package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +2 -6
  253. package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +4 -4
  254. package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +4 -5
  255. package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +4 -4
  256. package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +2 -5
  257. package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +4 -4
  258. package/doc/interfaces/models.GetDataFramesBeforeTimestampRequest.html +6 -0
  259. package/doc/interfaces/models.GetDataProcessorResponse.html +2 -3
  260. package/doc/interfaces/models.GetDevicesRequest.html +2 -4
  261. package/doc/interfaces/models.GetDevicesResponse.html +2 -3
  262. package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +4 -5
  263. package/doc/interfaces/models.GetLicensesResponse.html +4 -4
  264. package/doc/interfaces/models.GetLogFileFormatsRequest.html +8 -9
  265. package/doc/interfaces/models.GetLogFileFormatsResponse.html +10 -10
  266. package/doc/interfaces/models.GetLogLevelResponse.html +4 -4
  267. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +4 -5
  268. package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +4 -4
  269. package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +6 -6
  270. package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +16 -14
  271. package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +6 -7
  272. package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +4 -4
  273. package/doc/interfaces/models.GetSourceResponse.html +2 -3
  274. package/doc/interfaces/models.GetTargetResponse.html +2 -3
  275. package/doc/interfaces/models.ILogFileFormat.html +2 -6
  276. package/doc/interfaces/models.IProject.html +2 -6
  277. package/doc/interfaces/models.IUserSettings.html +2 -17
  278. package/doc/interfaces/models.IWorkspaceComponentPaneData.html +2 -4
  279. package/doc/interfaces/models.IWorkspaceContainerPaneData.html +2 -5
  280. package/doc/interfaces/models.IWorkspaceData.html +2 -5
  281. package/doc/interfaces/models.IWorkspacePaneData.html +2 -5
  282. package/doc/interfaces/models.IdentifierRequest.html +2 -4
  283. package/doc/interfaces/models.IdentifiersRequest.html +2 -4
  284. package/doc/interfaces/models.InstallServiceExtensionRequest.html +8 -8
  285. package/doc/interfaces/models.InterpreterSettings.html +4 -4
  286. package/doc/interfaces/models.J1939InterpreterSettings.html +2 -2
  287. package/doc/interfaces/models.LicenseInformation.html +18 -18
  288. package/doc/interfaces/models.Licenses.html +4 -4
  289. package/doc/interfaces/models.LinChannelConfiguration.html +14 -14
  290. package/doc/interfaces/models.LinFrameFlags.html +2 -3
  291. package/doc/interfaces/models.LogMessage.html +12 -12
  292. package/doc/interfaces/models.LogMessages.html +4 -4
  293. package/doc/interfaces/models.LogReplaySettings.html +26 -26
  294. package/doc/interfaces/models.LogReplayStatus.html +2 -3
  295. package/doc/interfaces/models.LoggerStatus.html +2 -3
  296. package/doc/interfaces/models.MeasurementEventArgs.html +2 -6
  297. package/doc/interfaces/models.MeasurementSetup.html +2 -6
  298. package/doc/interfaces/models.MessageLoggerSettings.html +44 -44
  299. package/doc/interfaces/models.NodeStatus.html +18 -18
  300. package/doc/interfaces/models.NodeStatuses.html +2 -3
  301. package/doc/interfaces/models.OnlineStatus.html +2 -3
  302. package/doc/interfaces/models.PeriodicTransmissionSettings.html +36 -36
  303. package/doc/interfaces/models.RequestLinMessageRequest.html +6 -7
  304. package/doc/interfaces/models.ScheduleTable.html +8 -8
  305. package/doc/interfaces/models.ScheduleTableEntry.html +6 -6
  306. package/doc/interfaces/models.SendLinWakeupFrameRequest.html +8 -9
  307. package/doc/interfaces/models.SendMessageRequest.html +2 -5
  308. package/doc/interfaces/models.ServiceExtensionSettings.html +2 -4
  309. package/doc/interfaces/models.SetLogLevelRequest.html +6 -6
  310. package/doc/interfaces/models.SetMeasurementSetupRequest.html +2 -4
  311. package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +8 -9
  312. package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +6 -6
  313. package/doc/interfaces/models.SignalDefinition.html +2 -18
  314. package/doc/interfaces/models.SignalFilterSettings.html +4 -4
  315. package/doc/interfaces/models.SignalLoggerSettings.html +56 -56
  316. package/doc/interfaces/models.SignalValue.html +2 -7
  317. package/doc/interfaces/models.SignalValueTrigger.html +16 -16
  318. package/doc/interfaces/models.SourceNodeProperties.html +2 -7
  319. package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +4 -5
  320. package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +2 -3
  321. package/doc/interfaces/models.SubscribeForDataRequest.html +4 -0
  322. package/doc/interfaces/models.TargetNodeProperties.html +2 -6
  323. package/doc/interfaces/models.TriggerSettings.html +8 -8
  324. package/doc/interfaces/models.UninstallServiceExtensionRequest.html +6 -6
  325. package/doc/interfaces/models.UpdateLinMessageRequest.html +6 -7
  326. package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +6 -7
  327. package/doc/interfaces/models.WriteFrame.html +10 -10
  328. package/doc/modules/controls.html +3 -3
  329. package/doc/modules/hooks.html +3 -3
  330. package/doc/modules/icons.html +2 -2
  331. package/doc/modules/ipc.html +2 -2
  332. package/doc/modules/models.html +2 -2
  333. package/doc/modules.html +1 -1
  334. package/doc/types/controls.ContextMenuOption.html +10 -6
  335. package/doc/types/controls.SelectOption.html +6 -4
  336. package/doc/types/controls.StringsMap.html +2 -2
  337. package/doc/types/controls.canIdentifierGeneratorType.html +2 -2
  338. package/doc/types/controls.canIdentifierType.html +2 -2
  339. package/doc/types/controls.linIdentifierGeneratorType.html +2 -2
  340. package/doc/variables/controls.FillBox.html +3 -0
  341. package/doc/variables/controls.OneLineButton.html +2 -0
  342. package/doc/variables/controls.SizedBox.html +3 -0
  343. package/doc/variables/controls.TabsPanel.html +2 -0
  344. package/doc/variables/models.defaultUserSettings.html +2 -2
  345. package/doc_md/README.md +189 -0
  346. package/doc_md/assets/favicon.png +0 -0
  347. package/doc_md/controls/README.md +156 -0
  348. package/doc_md/controls/functions/CanChannelSelectControl.md +25 -0
  349. package/doc_md/controls/functions/CanIdentifierControl.md +25 -0
  350. package/doc_md/controls/functions/CanIdentifierFrameControl.md +25 -0
  351. package/doc_md/controls/functions/CanIdentifierGeneratorControl.md +25 -0
  352. package/doc_md/controls/functions/CanIdentifierGeneratorSettingsControl.md +26 -0
  353. package/doc_md/controls/functions/CanKingDataProvider.md +47 -0
  354. package/doc_md/controls/functions/CheckboxControl.md +25 -0
  355. package/doc_md/controls/functions/ColumnItemControl.md +21 -0
  356. package/doc_md/controls/functions/ContextMenu.md +25 -0
  357. package/doc_md/controls/functions/DropdownButton.md +25 -0
  358. package/doc_md/controls/functions/DropdownButtonTextItems.md +25 -0
  359. package/doc_md/controls/functions/DropdownPanel.md +25 -0
  360. package/doc_md/controls/functions/FormControlRow.md +25 -0
  361. package/doc_md/controls/functions/InlineEditor.md +25 -0
  362. package/doc_md/controls/functions/LinChannelSelectControl.md +25 -0
  363. package/doc_md/controls/functions/LinIdentifierControl.md +25 -0
  364. package/doc_md/controls/functions/LinIdentifierFrameControl.md +25 -0
  365. package/doc_md/controls/functions/LinIdentifierGeneratorControl.md +25 -0
  366. package/doc_md/controls/functions/LinIdentifierGeneratorSettingsControl.md +26 -0
  367. package/doc_md/controls/functions/NumberRangeControl.md +25 -0
  368. package/doc_md/controls/functions/RadioControl.md +25 -0
  369. package/doc_md/controls/functions/RadioGroupControl.md +25 -0
  370. package/doc_md/controls/functions/SectionControl.md +25 -0
  371. package/doc_md/controls/functions/SelectControl.md +25 -0
  372. package/doc_md/controls/functions/SelectMessageDialog.md +21 -0
  373. package/doc_md/controls/functions/SelectSignalDialog.md +21 -0
  374. package/doc_md/controls/functions/TableControl.md +31 -0
  375. package/doc_md/controls/functions/TextControl.md +25 -0
  376. package/doc_md/controls/functions/ToolbarControl.md +25 -0
  377. package/doc_md/controls/functions/ValidateableTextControl.md +25 -0
  378. package/doc_md/controls/functions/useColumnItem.md +17 -0
  379. package/doc_md/controls/functions/useColumnItems.md +25 -0
  380. package/doc_md/controls/functions/useMessageDatabases.md +21 -0
  381. package/doc_md/controls/interfaces/ButtonGroupProps.md +41 -0
  382. package/doc_md/controls/interfaces/ButtonProps.md +93 -0
  383. package/doc_md/controls/interfaces/CanChannelSelectControlProps.md +103 -0
  384. package/doc_md/controls/interfaces/CanIdentifierControlProps.md +214 -0
  385. package/doc_md/controls/interfaces/CanIdentifierFrameControlProps.md +143 -0
  386. package/doc_md/controls/interfaces/CanIdentifierGeneratorControlProps.md +210 -0
  387. package/doc_md/controls/interfaces/CanIdentifierGeneratorSettingsControlProps.md +153 -0
  388. package/doc_md/controls/interfaces/CheckboxControlProps.md +77 -0
  389. package/doc_md/controls/interfaces/ContextMenuProps.md +45 -0
  390. package/doc_md/controls/interfaces/DropdownButtonChildrenProps.md +25 -0
  391. package/doc_md/controls/interfaces/DropdownButtonProps.md +81 -0
  392. package/doc_md/controls/interfaces/DropdownButtonTextItemsProps.md +70 -0
  393. package/doc_md/controls/interfaces/DropdownPanelProps.md +81 -0
  394. package/doc_md/controls/interfaces/FormControlRowProps.md +33 -0
  395. package/doc_md/controls/interfaces/ILocalizedStrings.md +9 -0
  396. package/doc_md/controls/interfaces/IMessageDatabase.md +9 -0
  397. package/doc_md/controls/interfaces/InlineEditorProps.md +61 -0
  398. package/doc_md/controls/interfaces/LabelProps.md +25 -0
  399. package/doc_md/controls/interfaces/LinChannelSelectControlProps.md +97 -0
  400. package/doc_md/controls/interfaces/LinIdentifierControlProps.md +194 -0
  401. package/doc_md/controls/interfaces/LinIdentifierFrameControlProps.md +143 -0
  402. package/doc_md/controls/interfaces/LinIdentifierGeneratorControlProps.md +198 -0
  403. package/doc_md/controls/interfaces/LinIdentifierGeneratorSettingsControlProps.md +153 -0
  404. package/doc_md/controls/interfaces/NumberRangeControlProps.md +253 -0
  405. package/doc_md/controls/interfaces/RadioControlProps.md +57 -0
  406. package/doc_md/controls/interfaces/RadioGroupControlProps.md +45 -0
  407. package/doc_md/controls/interfaces/SectionControlProps.md +77 -0
  408. package/doc_md/controls/interfaces/SelectControlProps.md +134 -0
  409. package/doc_md/controls/interfaces/SelectMessageDialogProps.md +9 -0
  410. package/doc_md/controls/interfaces/SelectSignalDialogProps.md +9 -0
  411. package/doc_md/controls/interfaces/TableColumn.md +65 -0
  412. package/doc_md/controls/interfaces/TableControlProps.md +157 -0
  413. package/doc_md/controls/interfaces/TextControlProps.md +177 -0
  414. package/doc_md/controls/interfaces/ToggleButtonGroupProps.md +77 -0
  415. package/doc_md/controls/interfaces/ToggleButtonProps.md +57 -0
  416. package/doc_md/controls/interfaces/ToolbarControlProps.md +73 -0
  417. package/doc_md/controls/interfaces/ValidateableTextControlProps.md +269 -0
  418. package/doc_md/controls/interfaces/toolbarItem.md +49 -0
  419. package/doc_md/controls/type-aliases/ContextMenuOption.md +43 -0
  420. package/doc_md/controls/type-aliases/SelectOption.md +27 -0
  421. package/doc_md/controls/type-aliases/StringsMap.md +15 -0
  422. package/doc_md/controls/type-aliases/canIdentifierGeneratorType.md +11 -0
  423. package/doc_md/controls/type-aliases/canIdentifierType.md +11 -0
  424. package/doc_md/controls/type-aliases/linIdentifierGeneratorType.md +11 -0
  425. package/doc_md/controls/variables/FillBox.md +12 -0
  426. package/doc_md/controls/variables/OneLineButton.md +11 -0
  427. package/doc_md/controls/variables/SizedBox.md +12 -0
  428. package/doc_md/controls/variables/TabsPanel.md +11 -0
  429. package/doc_md/hooks/README.md +53 -0
  430. package/doc_md/hooks/functions/useDevices.md +17 -0
  431. package/doc_md/hooks/functions/useFixedPositionModeMeasurementData.md +25 -0
  432. package/doc_md/hooks/functions/useIsOnline.md +17 -0
  433. package/doc_md/hooks/functions/useLanguage.md +17 -0
  434. package/doc_md/hooks/functions/useLocalizedStrings.md +17 -0
  435. package/doc_md/hooks/functions/useLogMessages.md +17 -0
  436. package/doc_md/hooks/functions/useMaxDataBytes.md +15 -0
  437. package/doc_md/hooks/functions/useMeasurementSetup.md +17 -0
  438. package/doc_md/hooks/functions/useMeasurementStatus.md +17 -0
  439. package/doc_md/hooks/functions/useMessageData.md +25 -0
  440. package/doc_md/hooks/functions/useMessageLogFileFormats.md +23 -0
  441. package/doc_md/hooks/functions/useNewMeasurementData.md +35 -0
  442. package/doc_md/hooks/functions/useNodeStatus.md +23 -0
  443. package/doc_md/hooks/functions/useNumericRadix.md +17 -0
  444. package/doc_md/hooks/functions/useOnlineStatus.md +17 -0
  445. package/doc_md/hooks/functions/useOverallStatusLevel.md +17 -0
  446. package/doc_md/hooks/functions/useProjectData.md +49 -0
  447. package/doc_md/hooks/functions/useRecentProjectFiles.md +15 -0
  448. package/doc_md/hooks/functions/useRunningPeriodicTransmissions.md +17 -0
  449. package/doc_md/hooks/functions/useScrollModeMeasurementData.md +25 -0
  450. package/doc_md/hooks/functions/useSessionData.md +49 -0
  451. package/doc_md/hooks/functions/useSignalData.md +25 -0
  452. package/doc_md/hooks/functions/useSignalLogFileFormats.md +15 -0
  453. package/doc_md/hooks/functions/useUserSettings.md +17 -0
  454. package/doc_md/hooks/functions/useWorkspacePaneWithId.md +21 -0
  455. package/doc_md/hooks/interfaces/ISignalData.md +9 -0
  456. package/doc_md/icons/README.md +9 -0
  457. package/doc_md/ipc/README.md +47 -0
  458. package/doc_md/ipc/functions/addDataProcessor.md +35 -0
  459. package/doc_md/ipc/functions/addSource.md +23 -0
  460. package/doc_md/ipc/functions/addTarget.md +23 -0
  461. package/doc_md/ipc/functions/clearLinMessage.md +29 -0
  462. package/doc_md/ipc/functions/connectNodes.md +29 -0
  463. package/doc_md/ipc/functions/deleteDataProcessor.md +23 -0
  464. package/doc_md/ipc/functions/deleteSource.md +23 -0
  465. package/doc_md/ipc/functions/deleteTarget.md +23 -0
  466. package/doc_md/ipc/functions/disableNode.md +23 -0
  467. package/doc_md/ipc/functions/disconnectNodes.md +29 -0
  468. package/doc_md/ipc/functions/enableNode.md +23 -0
  469. package/doc_md/ipc/functions/getFrameDefinitions.md +26 -0
  470. package/doc_md/ipc/functions/getLogger.md +25 -0
  471. package/doc_md/ipc/functions/getMessageLogFileFormats.md +17 -0
  472. package/doc_md/ipc/functions/getSignalLogFileFormats.md +17 -0
  473. package/doc_md/ipc/functions/requestLinMessage.md +30 -0
  474. package/doc_md/ipc/functions/sendCanMessage.md +41 -0
  475. package/doc_md/ipc/functions/sendMessage.md +29 -0
  476. package/doc_md/ipc/functions/showMessageBox.md +29 -0
  477. package/doc_md/ipc/functions/showQuestionBox.md +51 -0
  478. package/doc_md/ipc/functions/startLogReplay.md +23 -0
  479. package/doc_md/ipc/functions/startMeasurement.md +15 -0
  480. package/doc_md/ipc/functions/startPeriodicTransmission.md +25 -0
  481. package/doc_md/ipc/functions/stopLogReplay.md +23 -0
  482. package/doc_md/ipc/functions/stopMeasurement.md +15 -0
  483. package/doc_md/ipc/functions/stopPeriodicTransmission.md +23 -0
  484. package/doc_md/ipc/functions/updateDataProcessor.md +23 -0
  485. package/doc_md/ipc/functions/updateLinMessage.md +29 -0
  486. package/doc_md/ipc/functions/updatePeriodicTransmission.md +29 -0
  487. package/doc_md/ipc/functions/updateSource.md +23 -0
  488. package/doc_md/ipc/functions/updateTarget.md +23 -0
  489. package/doc_md/ipc/interfaces/ILogger.md +9 -0
  490. package/doc_md/models/README.md +157 -0
  491. package/doc_md/models/enumerations/AccessMode.md +49 -0
  492. package/doc_md/models/enumerations/AppEvent.md +29 -0
  493. package/doc_md/models/enumerations/CanChannelCap.md +181 -0
  494. package/doc_md/models/enumerations/CanFrameFlag.md +159 -0
  495. package/doc_md/models/enumerations/CanMessageFilterType.md +33 -0
  496. package/doc_md/models/enumerations/CanMode.md +39 -0
  497. package/doc_md/models/enumerations/DeviceEvent.md +29 -0
  498. package/doc_md/models/enumerations/FileConflictAction.md +39 -0
  499. package/doc_md/models/enumerations/FileType.md +39 -0
  500. package/doc_md/models/enumerations/LinFrameFlag.md +69 -0
  501. package/doc_md/models/enumerations/LogFileFormat.md +191 -0
  502. package/doc_md/models/enumerations/LogLevel.md +76 -0
  503. package/doc_md/models/enumerations/LogReplayState.md +33 -0
  504. package/doc_md/models/enumerations/LoggerState.md +39 -0
  505. package/doc_md/models/enumerations/MeasurementEvent.md +53 -0
  506. package/doc_md/models/enumerations/Protocols.md +39 -0
  507. package/doc_md/models/enumerations/ServiceExtensionType.md +37 -0
  508. package/doc_md/models/enumerations/SignalEncoding.md +27 -0
  509. package/doc_md/models/enumerations/SignalType.md +53 -0
  510. package/doc_md/models/enumerations/SignalValueTriggerOperator.md +75 -0
  511. package/doc_md/models/enumerations/StatusLevel.md +39 -0
  512. package/doc_md/models/enumerations/TriggerOperator.md +33 -0
  513. package/doc_md/models/interfaces/AboutInformation.md +33 -0
  514. package/doc_md/models/interfaces/ActivateLicenseRequest.md +33 -0
  515. package/doc_md/models/interfaces/AddAllConnectedCanChannelsRequest.md +9 -0
  516. package/doc_md/models/interfaces/AddAllConnectedLinChannelsRequest.md +9 -0
  517. package/doc_md/models/interfaces/AddOrUpdateDataProcessorRequest.md +35 -0
  518. package/doc_md/models/interfaces/AddOrUpdateSourceRequest.md +19 -0
  519. package/doc_md/models/interfaces/AddOrUpdateTargetRequest.md +19 -0
  520. package/doc_md/models/interfaces/ApiPreferences.md +41 -0
  521. package/doc_md/models/interfaces/AppEventArgs.md +25 -0
  522. package/doc_md/models/interfaces/BaseNodeProperties.md +9 -0
  523. package/doc_md/models/interfaces/BusStatus.md +9 -0
  524. package/doc_md/models/interfaces/CanBusParamLimits.md +9 -0
  525. package/doc_md/models/interfaces/CanBusParams.md +30 -0
  526. package/doc_md/models/interfaces/CanBusSpeedInfo.md +57 -0
  527. package/doc_md/models/interfaces/CanChannelCapacity.md +17 -0
  528. package/doc_md/models/interfaces/CanChannelConfiguration.md +65 -0
  529. package/doc_md/models/interfaces/CanFDBusSpeedCombination.md +9 -0
  530. package/doc_md/models/interfaces/CanFDBusSpeedInfo.md +41 -0
  531. package/doc_md/models/interfaces/CanFrameFlags.md +10 -0
  532. package/doc_md/models/interfaces/CanMessageFilterSettings.md +9 -0
  533. package/doc_md/models/interfaces/Channel.md +9 -0
  534. package/doc_md/models/interfaces/ChannelSettings.md +81 -0
  535. package/doc_md/models/interfaces/ClearLinMessageRequest.md +25 -0
  536. package/doc_md/models/interfaces/ConnectNodesRequest.md +9 -0
  537. package/doc_md/models/interfaces/DataProcessingStatus.md +9 -0
  538. package/doc_md/models/interfaces/DataProcessorNodeProperties.md +9 -0
  539. package/doc_md/models/interfaces/DatabaseFiles.md +25 -0
  540. package/doc_md/models/interfaces/DatabasesSettings.md +9 -0
  541. package/doc_md/models/interfaces/Device.md +9 -0
  542. package/doc_md/models/interfaces/DeviceEventArgs.md +9 -0
  543. package/doc_md/models/interfaces/DisconnectNodesRequest.md +9 -0
  544. package/doc_md/models/interfaces/Empty.md +17 -0
  545. package/doc_md/models/interfaces/ErrorStatus.md +17 -0
  546. package/doc_md/models/interfaces/FixedPosFrameIdentifier.md +57 -0
  547. package/doc_md/models/interfaces/Frame.md +125 -0
  548. package/doc_md/models/interfaces/FrameDefinition.md +57 -0
  549. package/doc_md/models/interfaces/FramePropertyValue.md +9 -0
  550. package/doc_md/models/interfaces/FrameReceivedTrigger.md +25 -0
  551. package/doc_md/models/interfaces/GetCanChannelBusSpeedsRequest.md +9 -0
  552. package/doc_md/models/interfaces/GetCanChannelBusSpeedsResponse.md +25 -0
  553. package/doc_md/models/interfaces/GetCanFdBusSpeedsRequest.md +9 -0
  554. package/doc_md/models/interfaces/GetCanFdBusSpeedsResponse.md +17 -0
  555. package/doc_md/models/interfaces/GetChannelsFromLogFileRequest.md +17 -0
  556. package/doc_md/models/interfaces/GetChannelsFromLogFileResponse.md +17 -0
  557. package/doc_md/models/interfaces/GetClassicCanBusSpeedsRequest.md +9 -0
  558. package/doc_md/models/interfaces/GetClassicCanBusSpeedsResponse.md +17 -0
  559. package/doc_md/models/interfaces/GetDataFramesBeforeTimestampRequest.md +25 -0
  560. package/doc_md/models/interfaces/GetDataProcessorResponse.md +9 -0
  561. package/doc_md/models/interfaces/GetDevicesRequest.md +9 -0
  562. package/doc_md/models/interfaces/GetDevicesResponse.md +9 -0
  563. package/doc_md/models/interfaces/GetFrameDefinitionsFromDatabaseFilesRequest.md +17 -0
  564. package/doc_md/models/interfaces/GetLicensesResponse.md +17 -0
  565. package/doc_md/models/interfaces/GetLogFileFormatsRequest.md +33 -0
  566. package/doc_md/models/interfaces/GetLogFileFormatsResponse.md +41 -0
  567. package/doc_md/models/interfaces/GetLogLevelResponse.md +17 -0
  568. package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesRequest.md +17 -0
  569. package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesResponse.md +17 -0
  570. package/doc_md/models/interfaces/GetServiceExtensionInfoRequest.md +27 -0
  571. package/doc_md/models/interfaces/GetServiceExtensionInfoResponse.md +65 -0
  572. package/doc_md/models/interfaces/GetSignalDataFromMessageDataRequest.md +25 -0
  573. package/doc_md/models/interfaces/GetSignalDataFromMessageDataResponse.md +17 -0
  574. package/doc_md/models/interfaces/GetSourceResponse.md +9 -0
  575. package/doc_md/models/interfaces/GetTargetResponse.md +9 -0
  576. package/doc_md/models/interfaces/ILogFileFormat.md +9 -0
  577. package/doc_md/models/interfaces/IProject.md +9 -0
  578. package/doc_md/models/interfaces/IUserSettings.md +9 -0
  579. package/doc_md/models/interfaces/IWorkspaceComponentPaneData.md +9 -0
  580. package/doc_md/models/interfaces/IWorkspaceContainerPaneData.md +9 -0
  581. package/doc_md/models/interfaces/IWorkspaceData.md +9 -0
  582. package/doc_md/models/interfaces/IWorkspacePaneData.md +9 -0
  583. package/doc_md/models/interfaces/IdentifierRequest.md +10 -0
  584. package/doc_md/models/interfaces/IdentifiersRequest.md +10 -0
  585. package/doc_md/models/interfaces/InstallServiceExtensionRequest.md +33 -0
  586. package/doc_md/models/interfaces/InterpreterSettings.md +17 -0
  587. package/doc_md/models/interfaces/J1939InterpreterSettings.md +9 -0
  588. package/doc_md/models/interfaces/LicenseInformation.md +73 -0
  589. package/doc_md/models/interfaces/Licenses.md +17 -0
  590. package/doc_md/models/interfaces/LinChannelConfiguration.md +57 -0
  591. package/doc_md/models/interfaces/LinFrameFlags.md +10 -0
  592. package/doc_md/models/interfaces/LogMessage.md +49 -0
  593. package/doc_md/models/interfaces/LogMessages.md +17 -0
  594. package/doc_md/models/interfaces/LogReplaySettings.md +109 -0
  595. package/doc_md/models/interfaces/LogReplayStatus.md +9 -0
  596. package/doc_md/models/interfaces/LoggerStatus.md +9 -0
  597. package/doc_md/models/interfaces/MeasurementEventArgs.md +9 -0
  598. package/doc_md/models/interfaces/MeasurementSetup.md +9 -0
  599. package/doc_md/models/interfaces/MessageLoggerSettings.md +177 -0
  600. package/doc_md/models/interfaces/NodeStatus.md +73 -0
  601. package/doc_md/models/interfaces/NodeStatuses.md +9 -0
  602. package/doc_md/models/interfaces/OnlineStatus.md +9 -0
  603. package/doc_md/models/interfaces/PeriodicTransmissionSettings.md +145 -0
  604. package/doc_md/models/interfaces/RequestLinMessageRequest.md +25 -0
  605. package/doc_md/models/interfaces/ScheduleTable.md +33 -0
  606. package/doc_md/models/interfaces/ScheduleTableEntry.md +25 -0
  607. package/doc_md/models/interfaces/SendLinWakeupFrameRequest.md +33 -0
  608. package/doc_md/models/interfaces/SendMessageRequest.md +9 -0
  609. package/doc_md/models/interfaces/ServiceExtensionSettings.md +9 -0
  610. package/doc_md/models/interfaces/SetLogLevelRequest.md +25 -0
  611. package/doc_md/models/interfaces/SetMeasurementSetupRequest.md +9 -0
  612. package/doc_md/models/interfaces/SetSignalDataToMessageDataRequest.md +33 -0
  613. package/doc_md/models/interfaces/SetSignalDataToMessageDataResponse.md +26 -0
  614. package/doc_md/models/interfaces/SignalDefinition.md +9 -0
  615. package/doc_md/models/interfaces/SignalFilterSettings.md +17 -0
  616. package/doc_md/models/interfaces/SignalLoggerSettings.md +225 -0
  617. package/doc_md/models/interfaces/SignalValue.md +9 -0
  618. package/doc_md/models/interfaces/SignalValueTrigger.md +65 -0
  619. package/doc_md/models/interfaces/SourceNodeProperties.md +9 -0
  620. package/doc_md/models/interfaces/StartPeriodicTransmissionRequest.md +17 -0
  621. package/doc_md/models/interfaces/StartPeriodicTransmissionResponse.md +9 -0
  622. package/doc_md/models/interfaces/SubscribeForDataRequest.md +17 -0
  623. package/doc_md/models/interfaces/TargetNodeProperties.md +9 -0
  624. package/doc_md/models/interfaces/TriggerSettings.md +33 -0
  625. package/doc_md/models/interfaces/UninstallServiceExtensionRequest.md +25 -0
  626. package/doc_md/models/interfaces/UpdateLinMessageRequest.md +26 -0
  627. package/doc_md/models/interfaces/UpdatePeriodicTransmissionRequest.md +25 -0
  628. package/doc_md/models/interfaces/WriteFrame.md +41 -0
  629. package/doc_md/models/variables/defaultUserSettings.md +11 -0
  630. package/doc_md/modules.md +13 -0
  631. package/package.json +5 -4
  632. package/dist/controls/SelectSignalControl.d.ts +0 -11
  633. package/doc/classes/controls.LocalizedStrings.html +0 -4
  634. package/doc/classes/models.DataBuffer.html +0 -32
  635. package/doc/classes/models.DataBufferView.html +0 -20
  636. package/doc/classes/models.Point.html +0 -14
  637. package/doc/enums/models.DecimalChar.html +0 -5
  638. package/doc/enums/models.Separator.html +0 -5
  639. package/doc/enums/models.TimeReference.html +0 -5
  640. package/doc/functions/controls.FillBox.html +0 -33
  641. package/doc/functions/controls.OneLineButton.html +0 -32
  642. package/doc/functions/controls.SelectSignalControl.html +0 -1
  643. package/doc/functions/controls.SizedBox.html +0 -33
  644. package/doc/functions/controls.TabsPanel.html +0 -32
  645. package/doc/functions/icons.AddIcon.html +0 -4
  646. package/doc/functions/icons.ArrowDownIcon.html +0 -4
  647. package/doc/functions/icons.ArrowLeftIcon.html +0 -4
  648. package/doc/functions/icons.ArrowRightIcon.html +0 -4
  649. package/doc/functions/icons.ArrowUpIcon.html +0 -4
  650. package/doc/functions/icons.BusIsOffIcon.html +0 -4
  651. package/doc/functions/icons.BusIsOnIcon.html +0 -4
  652. package/doc/functions/icons.CloseIcon.html +0 -4
  653. package/doc/functions/icons.ColumnSettingsIcon.html +0 -4
  654. package/doc/functions/icons.CopyIcon.html +0 -4
  655. package/doc/functions/icons.DarkModeIcon.html +0 -4
  656. package/doc/functions/icons.DeleteIcon.html +0 -4
  657. package/doc/functions/icons.DisableIcon.html +0 -4
  658. package/doc/functions/icons.EditIcon.html +0 -4
  659. package/doc/functions/icons.EnableIcon.html +0 -4
  660. package/doc/functions/icons.FilterIcon.html +0 -4
  661. package/doc/functions/icons.FixedPositionIcon.html +0 -4
  662. package/doc/functions/icons.LeaveFullScreenIcon.html +0 -4
  663. package/doc/functions/icons.LightModeIcon.html +0 -4
  664. package/doc/functions/icons.LineArrowDownIcon.html +0 -4
  665. package/doc/functions/icons.LineArrowUpIcon.html +0 -4
  666. package/doc/functions/icons.MaximizeWindowIcon.html +0 -4
  667. package/doc/functions/icons.MeasurementSetupIcon.html +0 -4
  668. package/doc/functions/icons.MoreHorizIcon.html +0 -4
  669. package/doc/functions/icons.MoreVertIcon.html +0 -4
  670. package/doc/functions/icons.NewIcon.html +0 -4
  671. package/doc/functions/icons.OpenExternallyIcon.html +0 -4
  672. package/doc/functions/icons.OpenIcon.html +0 -4
  673. package/doc/functions/icons.PauseIcon.html +0 -4
  674. package/doc/functions/icons.PlayIcon.html +0 -4
  675. package/doc/functions/icons.PlaySolidIcon.html +0 -4
  676. package/doc/functions/icons.SaveIcon.html +0 -4
  677. package/doc/functions/icons.SelectAllIcon.html +0 -4
  678. package/doc/functions/icons.ServiceIconActive.html +0 -4
  679. package/doc/functions/icons.ServiceIconInactive.html +0 -4
  680. package/doc/functions/icons.SettingsIcon.html +0 -4
  681. package/doc/functions/icons.StopIcon.html +0 -4
  682. package/doc/functions/icons.StopSolidIcon.html +0 -4
  683. package/doc/functions/icons.ToolsPanelHiddenIcon.html +0 -4
  684. package/doc/functions/icons.ToolsPanelVisibleIcon.html +0 -4
  685. package/doc/functions/icons.UnmaximizeWindowIcon.html +0 -4
  686. package/doc/functions/icons.WorkspacesIcon.html +0 -4
  687. package/doc/functions/models.accessModeFromJSON.html +0 -1
  688. package/doc/functions/models.accessModeToJSON.html +0 -1
  689. package/doc/functions/models.appEventFromJSON.html +0 -1
  690. package/doc/functions/models.appEventToJSON.html +0 -1
  691. package/doc/functions/models.canChannelCapFromJSON.html +0 -1
  692. package/doc/functions/models.canChannelCapToJSON.html +0 -1
  693. package/doc/functions/models.canFrameFlagFromJSON.html +0 -1
  694. package/doc/functions/models.canFrameFlagToJSON.html +0 -1
  695. package/doc/functions/models.canMessageFilterTypeFromJSON.html +0 -1
  696. package/doc/functions/models.canMessageFilterTypeToJSON.html +0 -1
  697. package/doc/functions/models.canModeFromJSON.html +0 -1
  698. package/doc/functions/models.canModeToJSON.html +0 -1
  699. package/doc/functions/models.createElectronApiFake.html +0 -4
  700. package/doc/functions/models.decimalCharFromJSON.html +0 -1
  701. package/doc/functions/models.decimalCharToJSON.html +0 -1
  702. package/doc/functions/models.decimalToFixed.html +0 -1
  703. package/doc/functions/models.decimalToHex.html +0 -1
  704. package/doc/functions/models.deviceEventFromJSON.html +0 -1
  705. package/doc/functions/models.deviceEventToJSON.html +0 -1
  706. package/doc/functions/models.fileConflictActionFromJSON.html +0 -1
  707. package/doc/functions/models.fileConflictActionToJSON.html +0 -1
  708. package/doc/functions/models.fileTypeFromJSON.html +0 -1
  709. package/doc/functions/models.fileTypeToJSON.html +0 -1
  710. package/doc/functions/models.linFrameFlagFromJSON.html +0 -1
  711. package/doc/functions/models.linFrameFlagToJSON.html +0 -1
  712. package/doc/functions/models.logFileFormatFromJSON.html +0 -1
  713. package/doc/functions/models.logFileFormatToJSON.html +0 -1
  714. package/doc/functions/models.logLevelFromJSON.html +0 -1
  715. package/doc/functions/models.logLevelToJSON.html +0 -1
  716. package/doc/functions/models.logReplayStateFromJSON.html +0 -1
  717. package/doc/functions/models.logReplayStateToJSON.html +0 -1
  718. package/doc/functions/models.loggerStateFromJSON.html +0 -1
  719. package/doc/functions/models.loggerStateToJSON.html +0 -1
  720. package/doc/functions/models.longToNumber.html +0 -1
  721. package/doc/functions/models.measurementEventFromJSON.html +0 -1
  722. package/doc/functions/models.measurementEventToJSON.html +0 -1
  723. package/doc/functions/models.protocolsFromJSON.html +0 -1
  724. package/doc/functions/models.protocolsToJSON.html +0 -1
  725. package/doc/functions/models.separatorFromJSON.html +0 -1
  726. package/doc/functions/models.separatorToJSON.html +0 -1
  727. package/doc/functions/models.signalEncodingFromJSON.html +0 -1
  728. package/doc/functions/models.signalEncodingToJSON.html +0 -1
  729. package/doc/functions/models.signalTypeFromJSON.html +0 -1
  730. package/doc/functions/models.signalTypeToJSON.html +0 -1
  731. package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +0 -1
  732. package/doc/functions/models.signalValueTriggerOperatorToJSON.html +0 -1
  733. package/doc/functions/models.statusLevelFromJSON.html +0 -1
  734. package/doc/functions/models.statusLevelToJSON.html +0 -1
  735. package/doc/functions/models.timeReferenceFromJSON.html +0 -1
  736. package/doc/functions/models.timeReferenceToJSON.html +0 -1
  737. package/doc/functions/models.triggerOperatorFromJSON.html +0 -1
  738. package/doc/functions/models.triggerOperatorToJSON.html +0 -1
  739. package/doc/interfaces/controls.ColumnItem.html +0 -3
  740. package/doc/interfaces/controls.ColumnItemControlProps.html +0 -4
  741. package/doc/interfaces/models.Devices.html +0 -2
  742. package/doc/interfaces/models.FrameDefinitions.html +0 -2
  743. package/doc/interfaces/models.Frame_PropertiesEntry.html +0 -3
  744. package/doc/interfaces/models.Frames.html +0 -2
  745. package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +0 -3
  746. package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +0 -3
  747. package/doc/interfaces/models.SignalDefinitions.html +0 -2
  748. package/doc/types/models.IReadOnlyDataBuffer.html +0 -1
  749. package/doc/types/models.themes.html +0 -1
  750. package/doc/variables/models.AboutInformation-1.html +0 -1
  751. package/doc/variables/models.ActivateLicenseRequest-1.html +0 -1
  752. package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +0 -1
  753. package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +0 -1
  754. package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +0 -1
  755. package/doc/variables/models.AddOrUpdateSourceRequest-1.html +0 -1
  756. package/doc/variables/models.AddOrUpdateTargetRequest-1.html +0 -1
  757. package/doc/variables/models.ApiPreferences-1.html +0 -1
  758. package/doc/variables/models.AppEventArgs-1.html +0 -1
  759. package/doc/variables/models.BaseNodeProperties-1.html +0 -1
  760. package/doc/variables/models.BusStatus-1.html +0 -1
  761. package/doc/variables/models.CanBusParamLimits-1.html +0 -1
  762. package/doc/variables/models.CanBusParams-1.html +0 -1
  763. package/doc/variables/models.CanBusSpeedInfo-1.html +0 -1
  764. package/doc/variables/models.CanChannelCapacity-1.html +0 -1
  765. package/doc/variables/models.CanChannelConfiguration-1.html +0 -1
  766. package/doc/variables/models.CanFDBusSpeedCombination-1.html +0 -1
  767. package/doc/variables/models.CanFDBusSpeedInfo-1.html +0 -1
  768. package/doc/variables/models.CanFrameFlags-1.html +0 -1
  769. package/doc/variables/models.CanMessageFilterSettings-1.html +0 -1
  770. package/doc/variables/models.Channel-1.html +0 -1
  771. package/doc/variables/models.ChannelSettings-1.html +0 -1
  772. package/doc/variables/models.ClearLinMessageRequest-1.html +0 -1
  773. package/doc/variables/models.ConnectNodesRequest-1.html +0 -1
  774. package/doc/variables/models.DataProcessingStatus-1.html +0 -1
  775. package/doc/variables/models.DataProcessorNodeProperties-1.html +0 -1
  776. package/doc/variables/models.DatabaseFiles-1.html +0 -1
  777. package/doc/variables/models.DatabasesSettings-1.html +0 -1
  778. package/doc/variables/models.Device-1.html +0 -1
  779. package/doc/variables/models.DeviceEventArgs-1.html +0 -1
  780. package/doc/variables/models.Devices-1.html +0 -1
  781. package/doc/variables/models.DisconnectNodesRequest-1.html +0 -1
  782. package/doc/variables/models.Empty-1.html +0 -1
  783. package/doc/variables/models.ErrorStatus-1.html +0 -1
  784. package/doc/variables/models.Frame-1.html +0 -1
  785. package/doc/variables/models.FrameDefinition-1.html +0 -1
  786. package/doc/variables/models.FrameDefinitions-1.html +0 -1
  787. package/doc/variables/models.FramePropertyValue-1.html +0 -1
  788. package/doc/variables/models.FrameReceivedTrigger-1.html +0 -1
  789. package/doc/variables/models.Frame_PropertiesEntry-1.html +0 -1
  790. package/doc/variables/models.Frames-1.html +0 -1
  791. package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +0 -1
  792. package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +0 -1
  793. package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +0 -1
  794. package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +0 -1
  795. package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +0 -1
  796. package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +0 -1
  797. package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +0 -1
  798. package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +0 -1
  799. package/doc/variables/models.GetDataProcessorResponse-1.html +0 -1
  800. package/doc/variables/models.GetDevicesRequest-1.html +0 -1
  801. package/doc/variables/models.GetDevicesResponse-1.html +0 -1
  802. package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +0 -1
  803. package/doc/variables/models.GetLicensesResponse-1.html +0 -1
  804. package/doc/variables/models.GetLogFileFormatsRequest-1.html +0 -1
  805. package/doc/variables/models.GetLogFileFormatsResponse-1.html +0 -1
  806. package/doc/variables/models.GetLogLevelResponse-1.html +0 -1
  807. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +0 -1
  808. package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +0 -1
  809. package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +0 -1
  810. package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +0 -1
  811. package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +0 -1
  812. package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +0 -1
  813. package/doc/variables/models.GetSourceResponse-1.html +0 -1
  814. package/doc/variables/models.GetTargetResponse-1.html +0 -1
  815. package/doc/variables/models.IdentifierRequest-1.html +0 -1
  816. package/doc/variables/models.IdentifiersRequest-1.html +0 -1
  817. package/doc/variables/models.InstallServiceExtensionRequest-1.html +0 -1
  818. package/doc/variables/models.InterpreterSettings-1.html +0 -1
  819. package/doc/variables/models.J1939InterpreterSettings-1.html +0 -1
  820. package/doc/variables/models.LicenseInformation-1.html +0 -1
  821. package/doc/variables/models.Licenses-1.html +0 -1
  822. package/doc/variables/models.LinChannelConfiguration-1.html +0 -1
  823. package/doc/variables/models.LinFrameFlags-1.html +0 -1
  824. package/doc/variables/models.LogMessage-1.html +0 -1
  825. package/doc/variables/models.LogMessages-1.html +0 -1
  826. package/doc/variables/models.LogReplaySettings-1.html +0 -1
  827. package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +0 -1
  828. package/doc/variables/models.LogReplayStatus-1.html +0 -1
  829. package/doc/variables/models.LoggerStatus-1.html +0 -1
  830. package/doc/variables/models.MeasurementEventArgs-1.html +0 -1
  831. package/doc/variables/models.MeasurementSetup-1.html +0 -1
  832. package/doc/variables/models.MessageLoggerSettings-1.html +0 -1
  833. package/doc/variables/models.NodeStatus-1.html +0 -1
  834. package/doc/variables/models.NodeStatuses-1.html +0 -1
  835. package/doc/variables/models.OnlineStatus-1.html +0 -1
  836. package/doc/variables/models.PeriodicTransmissionSettings-1.html +0 -1
  837. package/doc/variables/models.RequestLinMessageRequest-1.html +0 -1
  838. package/doc/variables/models.ScheduleTable-1.html +0 -1
  839. package/doc/variables/models.ScheduleTableEntry-1.html +0 -1
  840. package/doc/variables/models.SendLinWakeupFrameRequest-1.html +0 -1
  841. package/doc/variables/models.SendMessageRequest-1.html +0 -1
  842. package/doc/variables/models.ServiceExtensionSettings-1.html +0 -1
  843. package/doc/variables/models.SetLogLevelRequest-1.html +0 -1
  844. package/doc/variables/models.SetMeasurementSetupRequest-1.html +0 -1
  845. package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +0 -1
  846. package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +0 -1
  847. package/doc/variables/models.SignalDefinition-1.html +0 -1
  848. package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +0 -1
  849. package/doc/variables/models.SignalDefinitions-1.html +0 -1
  850. package/doc/variables/models.SignalFilterSettings-1.html +0 -1
  851. package/doc/variables/models.SignalLoggerSettings-1.html +0 -1
  852. package/doc/variables/models.SignalValue-1.html +0 -1
  853. package/doc/variables/models.SignalValueTrigger-1.html +0 -1
  854. package/doc/variables/models.SourceNodeProperties-1.html +0 -1
  855. package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +0 -1
  856. package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +0 -1
  857. package/doc/variables/models.TargetNodeProperties-1.html +0 -1
  858. package/doc/variables/models.TriggerSettings-1.html +0 -1
  859. package/doc/variables/models.UninstallServiceExtensionRequest-1.html +0 -1
  860. package/doc/variables/models.UpdateLinMessageRequest-1.html +0 -1
  861. package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +0 -1
  862. package/doc/variables/models.WriteFrame-1.html +0 -1
@@ -1,8 +1,8 @@
1
- import { type CallOptions, ChannelCredentials, Client, type ClientOptions, type ClientReadableStream, type ClientUnaryCall, type handleServerStreamingCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
1
+ import { type CallOptions, ChannelCredentials, Client, type ClientDuplexStream, type ClientOptions, type ClientReadableStream, type ClientUnaryCall, type handleBidiStreamingCall, type handleServerStreamingCall, type handleUnaryCall, Metadata, type ServiceError, type UntypedServiceImplementation } from "@grpc/grpc-js";
2
2
  import { ApiPreferences } from "./common_params";
3
3
  import { DatabaseFiles, FrameDefinitions, Frames } from "./frame_params";
4
4
  import { Empty } from "./google/protobuf/empty";
5
- import { AddAllConnectedCanChannelsRequest, AddAllConnectedLinChannelsRequest, AddOrUpdateDataProcessorRequest, AddOrUpdateSourceRequest, AddOrUpdateTargetRequest, ClearLinMessageRequest, ConnectNodesRequest, DisconnectNodesRequest, GetChannelsFromLogFileRequest, GetChannelsFromLogFileResponse, GetDataProcessorResponse, GetFrameDefinitionsFromDatabaseFilesRequest, GetLogFileFormatsRequest, GetLogFileFormatsResponse, GetScheduleTablesFromDatabaseFilesRequest, GetScheduleTablesFromDatabaseFilesResponse, GetSignalDataFromMessageDataRequest, GetSignalDataFromMessageDataResponse, GetSourceResponse, GetTargetResponse, IdentifierRequest, MeasurementEventArgs, OnlineStatus, RequestLinMessageRequest, SendLinWakeupFrameRequest, SendMessageRequest, SetMeasurementSetupRequest, SetSignalDataToMessageDataRequest, SetSignalDataToMessageDataResponse, StartPeriodicTransmissionRequest, StartPeriodicTransmissionResponse, UpdateLinMessageRequest, UpdatePeriodicTransmissionRequest } from "./measurement_params";
5
+ import { AddAllConnectedCanChannelsRequest, AddAllConnectedLinChannelsRequest, AddOrUpdateDataProcessorRequest, AddOrUpdateSourceRequest, AddOrUpdateTargetRequest, ClearLinMessageRequest, ConnectNodesRequest, DisconnectNodesRequest, GetChannelsFromLogFileRequest, GetChannelsFromLogFileResponse, GetDataFramesBeforeTimestampRequest, GetDataProcessorResponse, GetFrameDefinitionsFromDatabaseFilesRequest, GetLogFileFormatsRequest, GetLogFileFormatsResponse, GetScheduleTablesFromDatabaseFilesRequest, GetScheduleTablesFromDatabaseFilesResponse, GetSignalDataFromMessageDataRequest, GetSignalDataFromMessageDataResponse, GetSourceResponse, GetTargetResponse, IdentifierRequest, MeasurementEventArgs, OnlineStatus, RequestLinMessageRequest, SendLinWakeupFrameRequest, SendMessageRequest, SetMeasurementSetupRequest, SetSignalDataToMessageDataRequest, SetSignalDataToMessageDataResponse, StartPeriodicTransmissionRequest, StartPeriodicTransmissionResponse, SubscribeForDataRequest, UpdateLinMessageRequest, UpdatePeriodicTransmissionRequest } from "./measurement_params";
6
6
  import { MeasurementSetup } from "./measurement_settings";
7
7
  import { NodeStatuses } from "./status_params";
8
8
  /** The measurement service. This service is responsible for the measurement setup. */
@@ -29,10 +29,10 @@ export declare const MeasurementServiceService: {
29
29
  */
30
30
  readonly subscribeForData: {
31
31
  readonly path: "/measurementservice.MeasurementService/SubscribeForData";
32
- readonly requestStream: false;
32
+ readonly requestStream: true;
33
33
  readonly responseStream: true;
34
- readonly requestSerialize: (value: ApiPreferences) => Buffer;
35
- readonly requestDeserialize: (value: Buffer) => ApiPreferences;
34
+ readonly requestSerialize: (value: SubscribeForDataRequest) => Buffer;
35
+ readonly requestDeserialize: (value: Buffer) => SubscribeForDataRequest;
36
36
  readonly responseSerialize: (value: Frames) => Buffer;
37
37
  readonly responseDeserialize: (value: Buffer) => Frames;
38
38
  };
@@ -694,6 +694,20 @@ export declare const MeasurementServiceService: {
694
694
  readonly responseSerialize: (value: SetSignalDataToMessageDataResponse) => Buffer;
695
695
  readonly responseDeserialize: (value: Buffer) => SetSignalDataToMessageDataResponse;
696
696
  };
697
+ /**
698
+ * Gets data frames before a specific timestamp from the data buffer.
699
+ * @param request A request message with the timestamp and a max count.
700
+ * @returns A response message with data frames before the specified timestamp.
701
+ */
702
+ readonly getDataFramesBeforeTimestamp: {
703
+ readonly path: "/measurementservice.MeasurementService/GetDataFramesBeforeTimestamp";
704
+ readonly requestStream: false;
705
+ readonly responseStream: true;
706
+ readonly requestSerialize: (value: GetDataFramesBeforeTimestampRequest) => Buffer;
707
+ readonly requestDeserialize: (value: Buffer) => GetDataFramesBeforeTimestampRequest;
708
+ readonly responseSerialize: (value: Frames) => Buffer;
709
+ readonly responseDeserialize: (value: Buffer) => Frames;
710
+ };
697
711
  };
698
712
  export interface MeasurementServiceServer extends UntypedServiceImplementation {
699
713
  /**
@@ -707,7 +721,7 @@ export interface MeasurementServiceServer extends UntypedServiceImplementation {
707
721
  * @param request A request message with API preferences.
708
722
  * @returns A stream of Frames messages.
709
723
  */
710
- subscribeForData: handleServerStreamingCall<ApiPreferences, Frames>;
724
+ subscribeForData: handleBidiStreamingCall<SubscribeForDataRequest, Frames>;
711
725
  /**
712
726
  * Starts a subscription for measurement status.
713
727
  * @param request A request message with API preferences.
@@ -990,6 +1004,12 @@ export interface MeasurementServiceServer extends UntypedServiceImplementation {
990
1004
  * @returns A response message with message data and all updated signal values.
991
1005
  */
992
1006
  setSignalDataToMessageData: handleUnaryCall<SetSignalDataToMessageDataRequest, SetSignalDataToMessageDataResponse>;
1007
+ /**
1008
+ * Gets data frames before a specific timestamp from the data buffer.
1009
+ * @param request A request message with the timestamp and a max count.
1010
+ * @returns A response message with data frames before the specified timestamp.
1011
+ */
1012
+ getDataFramesBeforeTimestamp: handleServerStreamingCall<GetDataFramesBeforeTimestampRequest, Frames>;
993
1013
  }
994
1014
  export interface MeasurementServiceClient extends Client {
995
1015
  /**
@@ -1004,8 +1024,9 @@ export interface MeasurementServiceClient extends Client {
1004
1024
  * @param request A request message with API preferences.
1005
1025
  * @returns A stream of Frames messages.
1006
1026
  */
1007
- subscribeForData(request: ApiPreferences, options?: Partial<CallOptions>): ClientReadableStream<Frames>;
1008
- subscribeForData(request: ApiPreferences, metadata?: Metadata, options?: Partial<CallOptions>): ClientReadableStream<Frames>;
1027
+ subscribeForData(): ClientDuplexStream<SubscribeForDataRequest, Frames>;
1028
+ subscribeForData(options: Partial<CallOptions>): ClientDuplexStream<SubscribeForDataRequest, Frames>;
1029
+ subscribeForData(metadata: Metadata, options?: Partial<CallOptions>): ClientDuplexStream<SubscribeForDataRequest, Frames>;
1009
1030
  /**
1010
1031
  * Starts a subscription for measurement status.
1011
1032
  * @param request A request message with API preferences.
@@ -1381,6 +1402,13 @@ export interface MeasurementServiceClient extends Client {
1381
1402
  setSignalDataToMessageData(request: SetSignalDataToMessageDataRequest, callback: (error: ServiceError | null, response: SetSignalDataToMessageDataResponse) => void): ClientUnaryCall;
1382
1403
  setSignalDataToMessageData(request: SetSignalDataToMessageDataRequest, metadata: Metadata, callback: (error: ServiceError | null, response: SetSignalDataToMessageDataResponse) => void): ClientUnaryCall;
1383
1404
  setSignalDataToMessageData(request: SetSignalDataToMessageDataRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: SetSignalDataToMessageDataResponse) => void): ClientUnaryCall;
1405
+ /**
1406
+ * Gets data frames before a specific timestamp from the data buffer.
1407
+ * @param request A request message with the timestamp and a max count.
1408
+ * @returns A response message with data frames before the specified timestamp.
1409
+ */
1410
+ getDataFramesBeforeTimestamp(request: GetDataFramesBeforeTimestampRequest, options?: Partial<CallOptions>): ClientReadableStream<Frames>;
1411
+ getDataFramesBeforeTimestamp(request: GetDataFramesBeforeTimestampRequest, metadata?: Metadata, options?: Partial<CallOptions>): ClientReadableStream<Frames>;
1384
1412
  }
1385
1413
  export declare const MeasurementServiceClient: {
1386
1414
  new (address: string, credentials: ChannelCredentials, options?: Partial<ClientOptions>): MeasurementServiceClient;
@@ -473,6 +473,7 @@ export interface TargetNodeProperties {
473
473
  connectedNodes: string[];
474
474
  messageLoggerSettings?: MessageLoggerSettings | undefined;
475
475
  signalLoggerSettings?: SignalLoggerSettings | undefined;
476
+ extensionSettings?: ServiceExtensionSettings | undefined;
476
477
  }
477
478
  /** A message for defining a measurement setup. */
478
479
  export interface MeasurementSetup {
@@ -38,15 +38,15 @@ export interface SignalDefinition {
38
38
  minValue: number;
39
39
  maxValue: number;
40
40
  enumValues: {
41
- [key: string]: number;
41
+ [key: number]: string;
42
42
  };
43
43
  isMultiplexer: boolean;
44
44
  isMultiplexed: boolean;
45
45
  multiplexValue?: number | undefined;
46
46
  }
47
47
  export interface SignalDefinition_EnumValuesEntry {
48
- key: string;
49
- value: number;
48
+ key: number;
49
+ value: string;
50
50
  }
51
51
  export interface SignalDefinitions {
52
52
  items: SignalDefinition[];
@@ -1 +1 @@
1
- "use strict";const t=require("./measurement_settings.js"),f=require("long");function I(){return{}}const _e={encode(e,n=new t.BinaryWriter){return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=I();for(;r.pos<s;){const i=r.uint32();if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{}},toJSON(e){return{}},create(e){return _e.fromPartial(e??{})},fromPartial(e){return I()}};var Le=(e=>(e[e.PROJECT_FILE=0]="PROJECT_FILE",e[e.LOG_FILE=1]="LOG_FILE",e[e.CAN_DATABASES=2]="CAN_DATABASES",e[e.LIN_DATABASES=3]="LIN_DATABASES",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Le||{});function xn(e){switch(e){case 0:case"PROJECT_FILE":return 0;case 1:case"LOG_FILE":return 1;case 2:case"CAN_DATABASES":return 2;case 3:case"LIN_DATABASES":return 3;case-1:case"UNRECOGNIZED":default:return-1}}function Mn(e){switch(e){case 0:return"PROJECT_FILE";case 1:return"LOG_FILE";case 2:return"CAN_DATABASES";case 3:return"LIN_DATABASES";case-1:default:return"UNRECOGNIZED"}}var Je=(e=>(e[e.LOG_LEVEL_TRACE=0]="LOG_LEVEL_TRACE",e[e.LOG_LEVEL_DEBUG=1]="LOG_LEVEL_DEBUG",e[e.LOG_LEVEL_INFORMATION=2]="LOG_LEVEL_INFORMATION",e[e.LOG_LEVEL_WARNING=3]="LOG_LEVEL_WARNING",e[e.LOG_LEVEL_ERROR=4]="LOG_LEVEL_ERROR",e[e.LOG_LEVEL_CRITICAL=5]="LOG_LEVEL_CRITICAL",e[e.LOG_LEVEL_NONE=6]="LOG_LEVEL_NONE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Je||{});function h(e){switch(e){case 0:case"LOG_LEVEL_TRACE":return 0;case 1:case"LOG_LEVEL_DEBUG":return 1;case 2:case"LOG_LEVEL_INFORMATION":return 2;case 3:case"LOG_LEVEL_WARNING":return 3;case 4:case"LOG_LEVEL_ERROR":return 4;case 5:case"LOG_LEVEL_CRITICAL":return 5;case 6:case"LOG_LEVEL_NONE":return 6;case-1:case"UNRECOGNIZED":default:return-1}}function k(e){switch(e){case 0:return"LOG_LEVEL_TRACE";case 1:return"LOG_LEVEL_DEBUG";case 2:return"LOG_LEVEL_INFORMATION";case 3:return"LOG_LEVEL_WARNING";case 4:return"LOG_LEVEL_ERROR";case 5:return"LOG_LEVEL_CRITICAL";case 6:return"LOG_LEVEL_NONE";case-1:default:return"UNRECOGNIZED"}}var Be=(e=>(e[e.APP_EVENT_UNSPECIFIED=0]="APP_EVENT_UNSPECIFIED",e[e.APP_EVENT_LICENSE_INFO_CHANGED=1]="APP_EVENT_LICENSE_INFO_CHANGED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Be||{});function Ce(e){switch(e){case 0:case"APP_EVENT_UNSPECIFIED":return 0;case 1:case"APP_EVENT_LICENSE_INFO_CHANGED":return 1;case-1:case"UNRECOGNIZED":default:return-1}}function ve(e){switch(e){case 0:return"APP_EVENT_UNSPECIFIED";case 1:return"APP_EVENT_LICENSE_INFO_CHANGED";case-1:default:return"UNRECOGNIZED"}}function y(){return{preferences:void 0,logLevel:0}}const Ge={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.logLevel!==0&&n.uint32(16).int32(e.logLevel),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=y();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==16)break;a.logLevel=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,logLevel:u(e.logLevel)?h(e.logLevel):0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.logLevel!==0&&(n.logLevel=k(e.logLevel)),n},create(e){return Ge.fromPartial(e??{})},fromPartial(e){const n=y();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.logLevel=e.logLevel??0,n}};function _(){return{logLevel:0}}const Ve={encode(e,n=new t.BinaryWriter){return e.logLevel!==0&&n.uint32(8).int32(e.logLevel),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=_();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.logLevel=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{logLevel:u(e.logLevel)?h(e.logLevel):0}},toJSON(e){const n={};return e.logLevel!==0&&(n.logLevel=k(e.logLevel)),n},create(e){return Ve.fromPartial(e??{})},fromPartial(e){const n=_();return n.logLevel=e.logLevel??0,n}};function L(){return{time:f.ZERO,logLevel:0,eventId:0,categoryName:"",message:""}}const p={encode(e,n=new t.BinaryWriter){return e.time.equals(f.ZERO)||n.uint32(8).int64(e.time.toString()),e.logLevel!==0&&n.uint32(16).int32(e.logLevel),e.eventId!==0&&n.uint32(24).int32(e.eventId),e.categoryName!==""&&n.uint32(34).string(e.categoryName),e.message!==""&&n.uint32(42).string(e.message),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=L();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.time=f.fromString(r.int64().toString());continue}case 2:{if(i!==16)break;a.logLevel=r.int32();continue}case 3:{if(i!==24)break;a.eventId=r.int32();continue}case 4:{if(i!==34)break;a.categoryName=r.string();continue}case 5:{if(i!==42)break;a.message=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{time:u(e.time)?f.fromValue(e.time):f.ZERO,logLevel:u(e.logLevel)?h(e.logLevel):0,eventId:u(e.eventId)?globalThis.Number(e.eventId):0,categoryName:u(e.categoryName)?globalThis.String(e.categoryName):"",message:u(e.message)?globalThis.String(e.message):""}},toJSON(e){const n={};return e.time.equals(f.ZERO)||(n.time=(e.time||f.ZERO).toString()),e.logLevel!==0&&(n.logLevel=k(e.logLevel)),e.eventId!==0&&(n.eventId=Math.round(e.eventId)),e.categoryName!==""&&(n.categoryName=e.categoryName),e.message!==""&&(n.message=e.message),n},create(e){return p.fromPartial(e??{})},fromPartial(e){const n=L();return n.time=e.time!==void 0&&e.time!==null?f.fromValue(e.time):f.ZERO,n.logLevel=e.logLevel??0,n.eventId=e.eventId??0,n.categoryName=e.categoryName??"",n.message=e.message??"",n}};function J(){return{items:[]}}const xe={encode(e,n=new t.BinaryWriter){for(const r of e.items)p.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=J();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.items.push(p.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{items:globalThis.Array.isArray(e==null?void 0:e.items)?e.items.map(n=>p.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.items)!=null&&r.length&&(n.items=e.items.map(s=>p.toJSON(s))),n},create(e){return xe.fromPartial(e??{})},fromPartial(e){var r;const n=J();return n.items=((r=e.items)==null?void 0:r.map(s=>p.fromPartial(s)))||[],n}};function B(){return{licenseKey:"",productId:"",productName:"",productVersion:"",instanceId:"",instanceName:"",expirationDate:f.ZERO,isValid:!1}}const l={encode(e,n=new t.BinaryWriter){return e.licenseKey!==""&&n.uint32(10).string(e.licenseKey),e.productId!==""&&n.uint32(18).string(e.productId),e.productName!==""&&n.uint32(26).string(e.productName),e.productVersion!==""&&n.uint32(34).string(e.productVersion),e.instanceId!==""&&n.uint32(42).string(e.instanceId),e.instanceName!==""&&n.uint32(50).string(e.instanceName),e.expirationDate.equals(f.ZERO)||n.uint32(56).int64(e.expirationDate.toString()),e.isValid!==!1&&n.uint32(64).bool(e.isValid),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=B();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.licenseKey=r.string();continue}case 2:{if(i!==18)break;a.productId=r.string();continue}case 3:{if(i!==26)break;a.productName=r.string();continue}case 4:{if(i!==34)break;a.productVersion=r.string();continue}case 5:{if(i!==42)break;a.instanceId=r.string();continue}case 6:{if(i!==50)break;a.instanceName=r.string();continue}case 7:{if(i!==56)break;a.expirationDate=f.fromString(r.int64().toString());continue}case 8:{if(i!==64)break;a.isValid=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{licenseKey:u(e.licenseKey)?globalThis.String(e.licenseKey):"",productId:u(e.productId)?globalThis.String(e.productId):"",productName:u(e.productName)?globalThis.String(e.productName):"",productVersion:u(e.productVersion)?globalThis.String(e.productVersion):"",instanceId:u(e.instanceId)?globalThis.String(e.instanceId):"",instanceName:u(e.instanceName)?globalThis.String(e.instanceName):"",expirationDate:u(e.expirationDate)?f.fromValue(e.expirationDate):f.ZERO,isValid:u(e.isValid)?globalThis.Boolean(e.isValid):!1}},toJSON(e){const n={};return e.licenseKey!==""&&(n.licenseKey=e.licenseKey),e.productId!==""&&(n.productId=e.productId),e.productName!==""&&(n.productName=e.productName),e.productVersion!==""&&(n.productVersion=e.productVersion),e.instanceId!==""&&(n.instanceId=e.instanceId),e.instanceName!==""&&(n.instanceName=e.instanceName),e.expirationDate.equals(f.ZERO)||(n.expirationDate=(e.expirationDate||f.ZERO).toString()),e.isValid!==!1&&(n.isValid=e.isValid),n},create(e){return l.fromPartial(e??{})},fromPartial(e){const n=B();return n.licenseKey=e.licenseKey??"",n.productId=e.productId??"",n.productName=e.productName??"",n.productVersion=e.productVersion??"",n.instanceId=e.instanceId??"",n.instanceName=e.instanceName??"",n.expirationDate=e.expirationDate!==void 0&&e.expirationDate!==null?f.fromValue(e.expirationDate):f.ZERO,n.isValid=e.isValid??!1,n}};function C(){return{items:[]}}const S={encode(e,n=new t.BinaryWriter){for(const r of e.items)l.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=C();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.items.push(l.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{items:globalThis.Array.isArray(e==null?void 0:e.items)?e.items.map(n=>l.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.items)!=null&&r.length&&(n.items=e.items.map(s=>l.toJSON(s))),n},create(e){return S.fromPartial(e??{})},fromPartial(e){var r;const n=C();return n.items=((r=e.items)==null?void 0:r.map(s=>l.fromPartial(s)))||[],n}};function v(){return{eventType:0,licenses:void 0}}const Me={encode(e,n=new t.BinaryWriter){return e.eventType!==0&&n.uint32(8).int32(e.eventType),e.licenses!==void 0&&S.encode(e.licenses,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=v();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.eventType=r.int32();continue}case 2:{if(i!==18)break;a.licenses=S.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{eventType:u(e.eventType)?Ce(e.eventType):0,licenses:u(e.licenses)?S.fromJSON(e.licenses):void 0}},toJSON(e){const n={};return e.eventType!==0&&(n.eventType=ve(e.eventType)),e.licenses!==void 0&&(n.licenses=S.toJSON(e.licenses)),n},create(e){return Me.fromPartial(e??{})},fromPartial(e){const n=v();return n.eventType=e.eventType??0,n.licenses=e.licenses!==void 0&&e.licenses!==null?S.fromPartial(e.licenses):void 0,n}};function G(){return{preferences:void 0,filePath:"",replaceExisting:void 0}}const De={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.filePath!==""&&n.uint32(18).string(e.filePath),e.replaceExisting!==void 0&&n.uint32(24).bool(e.replaceExisting),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=G();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.filePath=r.string();continue}case 3:{if(i!==24)break;a.replaceExisting=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,filePath:u(e.filePath)?globalThis.String(e.filePath):"",replaceExisting:u(e.replaceExisting)?globalThis.Boolean(e.replaceExisting):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.filePath!==""&&(n.filePath=e.filePath),e.replaceExisting!==void 0&&(n.replaceExisting=e.replaceExisting),n},create(e){return De.fromPartial(e??{})},fromPartial(e){const n=G();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.filePath=e.filePath??"",n.replaceExisting=e.replaceExisting??void 0,n}};function V(){return{preferences:void 0,name:""}}const Fe={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.name!==""&&n.uint32(18).string(e.name),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=V();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.name=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,name:u(e.name)?globalThis.String(e.name):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.name!==""&&(n.name=e.name),n},create(e){return Fe.fromPartial(e??{})},fromPartial(e){const n=V();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.name=e.name??"",n}};function x(){return{preferences:void 0,filePathOrName:""}}const Ue={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.filePathOrName!==""&&n.uint32(18).string(e.filePathOrName),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=x();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.filePathOrName=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,filePathOrName:u(e.filePathOrName)?globalThis.String(e.filePathOrName):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.filePathOrName!==""&&(n.filePathOrName=e.filePathOrName),n},create(e){return Ue.fromPartial(e??{})},fromPartial(e){const n=x();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.filePathOrName=e.filePathOrName??"",n}};function M(){return{name:"",displayName:"",description:"",version:"",author:"",defaultConfig:""}}const qe={encode(e,n=new t.BinaryWriter){return e.name!==""&&n.uint32(10).string(e.name),e.displayName!==""&&n.uint32(18).string(e.displayName),e.description!==""&&n.uint32(26).string(e.description),e.version!==""&&n.uint32(34).string(e.version),e.author!==""&&n.uint32(42).string(e.author),e.defaultConfig!==""&&n.uint32(50).string(e.defaultConfig),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=M();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.name=r.string();continue}case 2:{if(i!==18)break;a.displayName=r.string();continue}case 3:{if(i!==26)break;a.description=r.string();continue}case 4:{if(i!==34)break;a.version=r.string();continue}case 5:{if(i!==42)break;a.author=r.string();continue}case 6:{if(i!==50)break;a.defaultConfig=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{name:u(e.name)?globalThis.String(e.name):"",displayName:u(e.displayName)?globalThis.String(e.displayName):"",description:u(e.description)?globalThis.String(e.description):"",version:u(e.version)?globalThis.String(e.version):"",author:u(e.author)?globalThis.String(e.author):"",defaultConfig:u(e.defaultConfig)?globalThis.String(e.defaultConfig):""}},toJSON(e){const n={};return e.name!==""&&(n.name=e.name),e.displayName!==""&&(n.displayName=e.displayName),e.description!==""&&(n.description=e.description),e.version!==""&&(n.version=e.version),e.author!==""&&(n.author=e.author),e.defaultConfig!==""&&(n.defaultConfig=e.defaultConfig),n},create(e){return qe.fromPartial(e??{})},fromPartial(e){const n=M();return n.name=e.name??"",n.displayName=e.displayName??"",n.description=e.description??"",n.version=e.version??"",n.author=e.author??"",n.defaultConfig=e.defaultConfig??"",n}};function D(){return{licenses:[]}}const we={encode(e,n=new t.BinaryWriter){for(const r of e.licenses)l.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=D();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.licenses.push(l.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{licenses:globalThis.Array.isArray(e==null?void 0:e.licenses)?e.licenses.map(n=>l.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.licenses)!=null&&r.length&&(n.licenses=e.licenses.map(s=>l.toJSON(s))),n},create(e){return we.fromPartial(e??{})},fromPartial(e){var r;const n=D();return n.licenses=((r=e.licenses)==null?void 0:r.map(s=>l.fromPartial(s)))||[],n}};function F(){return{preferences:void 0,licenseKey:"",productId:""}}const We={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.licenseKey!==""&&n.uint32(18).string(e.licenseKey),e.productId!==""&&n.uint32(26).string(e.productId),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=F();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.licenseKey=r.string();continue}case 3:{if(i!==26)break;a.productId=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,licenseKey:u(e.licenseKey)?globalThis.String(e.licenseKey):"",productId:u(e.productId)?globalThis.String(e.productId):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.licenseKey!==""&&(n.licenseKey=e.licenseKey),e.productId!==""&&(n.productId=e.productId),n},create(e){return We.fromPartial(e??{})},fromPartial(e){const n=F();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.licenseKey=e.licenseKey??"",n.productId=e.productId??"",n}};function U(){return{apiVersion:"",serviceVersion:"",canlibVersion:""}}const Ze={encode(e,n=new t.BinaryWriter){return e.apiVersion!==""&&n.uint32(10).string(e.apiVersion),e.serviceVersion!==""&&n.uint32(18).string(e.serviceVersion),e.canlibVersion!==""&&n.uint32(26).string(e.canlibVersion),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=U();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.apiVersion=r.string();continue}case 2:{if(i!==18)break;a.serviceVersion=r.string();continue}case 3:{if(i!==26)break;a.canlibVersion=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{apiVersion:u(e.apiVersion)?globalThis.String(e.apiVersion):"",serviceVersion:u(e.serviceVersion)?globalThis.String(e.serviceVersion):"",canlibVersion:u(e.canlibVersion)?globalThis.String(e.canlibVersion):""}},toJSON(e){const n={};return e.apiVersion!==""&&(n.apiVersion=e.apiVersion),e.serviceVersion!==""&&(n.serviceVersion=e.serviceVersion),e.canlibVersion!==""&&(n.canlibVersion=e.canlibVersion),n},create(e){return Ze.fromPartial(e??{})},fromPartial(e){const n=U();return n.apiVersion=e.apiVersion??"",n.serviceVersion=e.serviceVersion??"",n.canlibVersion=e.canlibVersion??"",n}};function u(e){return e!=null}var Ke=(e=>(e[e.MEASUREMENT_EVENT_UNSPECIFIED=0]="MEASUREMENT_EVENT_UNSPECIFIED",e[e.MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED=1]="MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED",e[e.MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED=2]="MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED",e[e.MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED=3]="MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED",e[e.MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED=4]="MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Ke||{});function Qe(e){switch(e){case 0:case"MEASUREMENT_EVENT_UNSPECIFIED":return 0;case 1:case"MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED":return 1;case 2:case"MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED":return 2;case 3:case"MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED":return 3;case 4:case"MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED":return 4;case-1:case"UNRECOGNIZED":default:return-1}}function He(e){switch(e){case 0:return"MEASUREMENT_EVENT_UNSPECIFIED";case 1:return"MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED";case 2:return"MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED";case 3:return"MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED";case 4:return"MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED";case-1:default:return"UNRECOGNIZED"}}function q(){return{preferences:void 0,setup:void 0}}const Ye={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.setup!==void 0&&t.MeasurementSetup.encode(e.setup,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=q();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.setup=t.MeasurementSetup.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,setup:o(e.setup)?t.MeasurementSetup.fromJSON(e.setup):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.setup!==void 0&&(n.setup=t.MeasurementSetup.toJSON(e.setup)),n},create(e){return Ye.fromPartial(e??{})},fromPartial(e){const n=q();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.setup=e.setup!==void 0&&e.setup!==null?t.MeasurementSetup.fromPartial(e.setup):void 0,n}};function w(){return{preferences:void 0,configuration:void 0}}const $e={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.configuration!==void 0&&t.CanChannelConfiguration.encode(e.configuration,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=w();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.configuration=t.CanChannelConfiguration.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,configuration:o(e.configuration)?t.CanChannelConfiguration.fromJSON(e.configuration):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.configuration!==void 0&&(n.configuration=t.CanChannelConfiguration.toJSON(e.configuration)),n},create(e){return $e.fromPartial(e??{})},fromPartial(e){const n=w();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.configuration=e.configuration!==void 0&&e.configuration!==null?t.CanChannelConfiguration.fromPartial(e.configuration):void 0,n}};function W(){return{preferences:void 0,configuration:void 0}}const ze={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.configuration!==void 0&&t.LinChannelConfiguration.encode(e.configuration,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=W();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.configuration=t.LinChannelConfiguration.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,configuration:o(e.configuration)?t.LinChannelConfiguration.fromJSON(e.configuration):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.configuration!==void 0&&(n.configuration=t.LinChannelConfiguration.toJSON(e.configuration)),n},create(e){return ze.fromPartial(e??{})},fromPartial(e){const n=W();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.configuration=e.configuration!==void 0&&e.configuration!==null?t.LinChannelConfiguration.fromPartial(e.configuration):void 0,n}};function Z(){return{preferences:void 0,source:void 0,replaceAllProperties:!1}}const Xe={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.source!==void 0&&t.SourceNodeProperties.encode(e.source,n.uint32(18).fork()).join(),e.replaceAllProperties!==!1&&n.uint32(24).bool(e.replaceAllProperties),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Z();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.source=t.SourceNodeProperties.decode(r,r.uint32());continue}case 3:{if(i!==24)break;a.replaceAllProperties=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,source:o(e.source)?t.SourceNodeProperties.fromJSON(e.source):void 0,replaceAllProperties:o(e.replaceAllProperties)?globalThis.Boolean(e.replaceAllProperties):!1}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.source!==void 0&&(n.source=t.SourceNodeProperties.toJSON(e.source)),e.replaceAllProperties!==!1&&(n.replaceAllProperties=e.replaceAllProperties),n},create(e){return Xe.fromPartial(e??{})},fromPartial(e){const n=Z();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.source=e.source!==void 0&&e.source!==null?t.SourceNodeProperties.fromPartial(e.source):void 0,n.replaceAllProperties=e.replaceAllProperties??!1,n}};function K(){return{source:void 0}}const be={encode(e,n=new t.BinaryWriter){return e.source!==void 0&&t.SourceNodeProperties.encode(e.source,n.uint32(10).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=K();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.source=t.SourceNodeProperties.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{source:o(e.source)?t.SourceNodeProperties.fromJSON(e.source):void 0}},toJSON(e){const n={};return e.source!==void 0&&(n.source=t.SourceNodeProperties.toJSON(e.source)),n},create(e){return be.fromPartial(e??{})},fromPartial(e){const n=K();return n.source=e.source!==void 0&&e.source!==null?t.SourceNodeProperties.fromPartial(e.source):void 0,n}};function Q(){return{preferences:void 0,dataProcessor:void 0,previousNode:"",nextNode:"",replaceAllProperties:!1}}const je={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.dataProcessor!==void 0&&t.DataProcessorNodeProperties.encode(e.dataProcessor,n.uint32(18).fork()).join(),e.previousNode!==""&&n.uint32(26).string(e.previousNode),e.nextNode!==""&&n.uint32(34).string(e.nextNode),e.replaceAllProperties!==!1&&n.uint32(40).bool(e.replaceAllProperties),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Q();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.dataProcessor=t.DataProcessorNodeProperties.decode(r,r.uint32());continue}case 3:{if(i!==26)break;a.previousNode=r.string();continue}case 4:{if(i!==34)break;a.nextNode=r.string();continue}case 5:{if(i!==40)break;a.replaceAllProperties=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,dataProcessor:o(e.dataProcessor)?t.DataProcessorNodeProperties.fromJSON(e.dataProcessor):void 0,previousNode:o(e.previousNode)?globalThis.String(e.previousNode):"",nextNode:o(e.nextNode)?globalThis.String(e.nextNode):"",replaceAllProperties:o(e.replaceAllProperties)?globalThis.Boolean(e.replaceAllProperties):!1}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.dataProcessor!==void 0&&(n.dataProcessor=t.DataProcessorNodeProperties.toJSON(e.dataProcessor)),e.previousNode!==""&&(n.previousNode=e.previousNode),e.nextNode!==""&&(n.nextNode=e.nextNode),e.replaceAllProperties!==!1&&(n.replaceAllProperties=e.replaceAllProperties),n},create(e){return je.fromPartial(e??{})},fromPartial(e){const n=Q();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.dataProcessor=e.dataProcessor!==void 0&&e.dataProcessor!==null?t.DataProcessorNodeProperties.fromPartial(e.dataProcessor):void 0,n.previousNode=e.previousNode??"",n.nextNode=e.nextNode??"",n.replaceAllProperties=e.replaceAllProperties??!1,n}};function H(){return{dataProcessor:void 0}}const en={encode(e,n=new t.BinaryWriter){return e.dataProcessor!==void 0&&t.DataProcessorNodeProperties.encode(e.dataProcessor,n.uint32(10).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=H();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.dataProcessor=t.DataProcessorNodeProperties.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{dataProcessor:o(e.dataProcessor)?t.DataProcessorNodeProperties.fromJSON(e.dataProcessor):void 0}},toJSON(e){const n={};return e.dataProcessor!==void 0&&(n.dataProcessor=t.DataProcessorNodeProperties.toJSON(e.dataProcessor)),n},create(e){return en.fromPartial(e??{})},fromPartial(e){const n=H();return n.dataProcessor=e.dataProcessor!==void 0&&e.dataProcessor!==null?t.DataProcessorNodeProperties.fromPartial(e.dataProcessor):void 0,n}};function Y(){return{preferences:void 0,target:void 0,replaceAllProperties:!1}}const nn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.target!==void 0&&t.TargetNodeProperties.encode(e.target,n.uint32(18).fork()).join(),e.replaceAllProperties!==!1&&n.uint32(24).bool(e.replaceAllProperties),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Y();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.target=t.TargetNodeProperties.decode(r,r.uint32());continue}case 3:{if(i!==24)break;a.replaceAllProperties=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,target:o(e.target)?t.TargetNodeProperties.fromJSON(e.target):void 0,replaceAllProperties:o(e.replaceAllProperties)?globalThis.Boolean(e.replaceAllProperties):!1}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.target!==void 0&&(n.target=t.TargetNodeProperties.toJSON(e.target)),e.replaceAllProperties!==!1&&(n.replaceAllProperties=e.replaceAllProperties),n},create(e){return nn.fromPartial(e??{})},fromPartial(e){const n=Y();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.target=e.target!==void 0&&e.target!==null?t.TargetNodeProperties.fromPartial(e.target):void 0,n.replaceAllProperties=e.replaceAllProperties??!1,n}};function $(){return{target:void 0}}const rn={encode(e,n=new t.BinaryWriter){return e.target!==void 0&&t.TargetNodeProperties.encode(e.target,n.uint32(10).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=$();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.target=t.TargetNodeProperties.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{target:o(e.target)?t.TargetNodeProperties.fromJSON(e.target):void 0}},toJSON(e){const n={};return e.target!==void 0&&(n.target=t.TargetNodeProperties.toJSON(e.target)),n},create(e){return rn.fromPartial(e??{})},fromPartial(e){const n=$();return n.target=e.target!==void 0&&e.target!==null?t.TargetNodeProperties.fromPartial(e.target):void 0,n}};function z(){return{preferences:void 0,startNode:"",endNode:""}}const tn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.startNode!==""&&n.uint32(18).string(e.startNode),e.endNode!==""&&n.uint32(26).string(e.endNode),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=z();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.startNode=r.string();continue}case 3:{if(i!==26)break;a.endNode=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,startNode:o(e.startNode)?globalThis.String(e.startNode):"",endNode:o(e.endNode)?globalThis.String(e.endNode):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.startNode!==""&&(n.startNode=e.startNode),e.endNode!==""&&(n.endNode=e.endNode),n},create(e){return tn.fromPartial(e??{})},fromPartial(e){const n=z();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.startNode=e.startNode??"",n.endNode=e.endNode??"",n}};function X(){return{preferences:void 0,startNode:"",endNode:""}}const an={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.startNode!==""&&n.uint32(18).string(e.startNode),e.endNode!==""&&n.uint32(26).string(e.endNode),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=X();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.startNode=r.string();continue}case 3:{if(i!==26)break;a.endNode=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,startNode:o(e.startNode)?globalThis.String(e.startNode):"",endNode:o(e.endNode)?globalThis.String(e.endNode):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.startNode!==""&&(n.startNode=e.startNode),e.endNode!==""&&(n.endNode=e.endNode),n},create(e){return an.fromPartial(e??{})},fromPartial(e){const n=X();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.startNode=e.startNode??"",n.endNode=e.endNode??"",n}};function b(){return{preferences:void 0,identifier:""}}const sn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.identifier!==""&&n.uint32(18).string(e.identifier),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=b();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.identifier=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,identifier:o(e.identifier)?globalThis.String(e.identifier):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.identifier!==""&&(n.identifier=e.identifier),n},create(e){return sn.fromPartial(e??{})},fromPartial(e){const n=b();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.identifier=e.identifier??"",n}};function j(){return{preferences:void 0,identifiers:[]}}const on={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join();for(const r of e.identifiers)n.uint32(18).string(r);return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=j();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.identifiers.push(r.string());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,identifiers:globalThis.Array.isArray(e==null?void 0:e.identifiers)?e.identifiers.map(n=>globalThis.String(n)):[]}},toJSON(e){var r;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),(r=e.identifiers)!=null&&r.length&&(n.identifiers=e.identifiers),n},create(e){return on.fromPartial(e??{})},fromPartial(e){var r;const n=j();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.identifiers=((r=e.identifiers)==null?void 0:r.map(s=>s))||[],n}};function ee(){return{preferences:void 0,channelIdentifier:"",frame:void 0}}const fn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.frame!==void 0&&t.WriteFrame.encode(e.frame,n.uint32(26).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ee();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==26)break;a.frame=t.WriteFrame.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",frame:o(e.frame)?t.WriteFrame.fromJSON(e.frame):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.frame!==void 0&&(n.frame=t.WriteFrame.toJSON(e.frame)),n},create(e){return fn.fromPartial(e??{})},fromPartial(e){const n=ee();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.frame=e.frame!==void 0&&e.frame!==null?t.WriteFrame.fromPartial(e.frame):void 0,n}};function ne(){return{preferences:void 0,channelIdentifier:"",count:0,interval:0}}const un={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.count!==0&&n.uint32(24).int32(e.count),e.interval!==0&&n.uint32(32).int32(e.interval),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ne();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==24)break;a.count=r.int32();continue}case 4:{if(i!==32)break;a.interval=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",count:o(e.count)?globalThis.Number(e.count):0,interval:o(e.interval)?globalThis.Number(e.interval):0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.count!==0&&(n.count=Math.round(e.count)),e.interval!==0&&(n.interval=Math.round(e.interval)),n},create(e){return un.fromPartial(e??{})},fromPartial(e){const n=ne();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.count=e.count??0,n.interval=e.interval??0,n}};function re(){return{preferences:void 0,channelIdentifier:"",frameId:0}}const dn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.frameId!==0&&n.uint32(24).int32(e.frameId),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=re();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==24)break;a.frameId=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",frameId:o(e.frameId)?globalThis.Number(e.frameId):0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.frameId!==0&&(n.frameId=Math.round(e.frameId)),n},create(e){return dn.fromPartial(e??{})},fromPartial(e){const n=re();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.frameId=e.frameId??0,n}};function ie(){return{preferences:void 0,channelIdentifier:"",frame:void 0}}const cn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.frame!==void 0&&t.WriteFrame.encode(e.frame,n.uint32(26).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ie();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==26)break;a.frame=t.WriteFrame.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",frame:o(e.frame)?t.WriteFrame.fromJSON(e.frame):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.frame!==void 0&&(n.frame=t.WriteFrame.toJSON(e.frame)),n},create(e){return cn.fromPartial(e??{})},fromPartial(e){const n=ie();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.frame=e.frame!==void 0&&e.frame!==null?t.WriteFrame.fromPartial(e.frame):void 0,n}};function te(){return{preferences:void 0,channelIdentifier:"",frameId:0}}const ln={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.frameId!==0&&n.uint32(24).int32(e.frameId),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=te();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==24)break;a.frameId=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",frameId:o(e.frameId)?globalThis.Number(e.frameId):0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.frameId!==0&&(n.frameId=Math.round(e.frameId)),n},create(e){return ln.fromPartial(e??{})},fromPartial(e){const n=te();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.frameId=e.frameId??0,n}};function ae(){return{preferences:void 0,settings:void 0}}const pn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.settings!==void 0&&t.PeriodicTransmissionSettings.encode(e.settings,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ae();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.settings=t.PeriodicTransmissionSettings.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,settings:o(e.settings)?t.PeriodicTransmissionSettings.fromJSON(e.settings):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.settings!==void 0&&(n.settings=t.PeriodicTransmissionSettings.toJSON(e.settings)),n},create(e){return pn.fromPartial(e??{})},fromPartial(e){const n=ae();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.settings=e.settings!==void 0&&e.settings!==null?t.PeriodicTransmissionSettings.fromPartial(e.settings):void 0,n}};function se(){return{preferences:void 0,settings:void 0,identifier:""}}const Sn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.settings!==void 0&&t.PeriodicTransmissionSettings.encode(e.settings,n.uint32(18).fork()).join(),e.identifier!==""&&n.uint32(26).string(e.identifier),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=se();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.settings=t.PeriodicTransmissionSettings.decode(r,r.uint32());continue}case 3:{if(i!==26)break;a.identifier=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,settings:o(e.settings)?t.PeriodicTransmissionSettings.fromJSON(e.settings):void 0,identifier:o(e.identifier)?globalThis.String(e.identifier):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.settings!==void 0&&(n.settings=t.PeriodicTransmissionSettings.toJSON(e.settings)),e.identifier!==""&&(n.identifier=e.identifier),n},create(e){return Sn.fromPartial(e??{})},fromPartial(e){const n=se();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.settings=e.settings!==void 0&&e.settings!==null?t.PeriodicTransmissionSettings.fromPartial(e.settings):void 0,n.identifier=e.identifier??"",n}};function oe(){return{periodicTransmissionIdentifier:""}}const Nn={encode(e,n=new t.BinaryWriter){return e.periodicTransmissionIdentifier!==""&&n.uint32(10).string(e.periodicTransmissionIdentifier),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=oe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.periodicTransmissionIdentifier=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{periodicTransmissionIdentifier:o(e.periodicTransmissionIdentifier)?globalThis.String(e.periodicTransmissionIdentifier):""}},toJSON(e){const n={};return e.periodicTransmissionIdentifier!==""&&(n.periodicTransmissionIdentifier=e.periodicTransmissionIdentifier),n},create(e){return Nn.fromPartial(e??{})},fromPartial(e){const n=oe();return n.periodicTransmissionIdentifier=e.periodicTransmissionIdentifier??"",n}};function fe(){return{isOnline:!1}}const N={encode(e,n=new t.BinaryWriter){return e.isOnline!==!1&&n.uint32(8).bool(e.isOnline),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=fe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.isOnline=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{isOnline:o(e.isOnline)?globalThis.Boolean(e.isOnline):!1}},toJSON(e){const n={};return e.isOnline!==!1&&(n.isOnline=e.isOnline),n},create(e){return N.fromPartial(e??{})},fromPartial(e){const n=fe();return n.isOnline=e.isOnline??!1,n}};function ue(){return{eventType:0,identifier:void 0,measurementSetup:void 0,onlineStatus:void 0}}const En={encode(e,n=new t.BinaryWriter){return e.eventType!==0&&n.uint32(8).int32(e.eventType),e.identifier!==void 0&&n.uint32(18).string(e.identifier),e.measurementSetup!==void 0&&t.MeasurementSetup.encode(e.measurementSetup,n.uint32(26).fork()).join(),e.onlineStatus!==void 0&&N.encode(e.onlineStatus,n.uint32(34).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ue();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.eventType=r.int32();continue}case 2:{if(i!==18)break;a.identifier=r.string();continue}case 3:{if(i!==26)break;a.measurementSetup=t.MeasurementSetup.decode(r,r.uint32());continue}case 4:{if(i!==34)break;a.onlineStatus=N.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{eventType:o(e.eventType)?Qe(e.eventType):0,identifier:o(e.identifier)?globalThis.String(e.identifier):void 0,measurementSetup:o(e.measurementSetup)?t.MeasurementSetup.fromJSON(e.measurementSetup):void 0,onlineStatus:o(e.onlineStatus)?N.fromJSON(e.onlineStatus):void 0}},toJSON(e){const n={};return e.eventType!==0&&(n.eventType=He(e.eventType)),e.identifier!==void 0&&(n.identifier=e.identifier),e.measurementSetup!==void 0&&(n.measurementSetup=t.MeasurementSetup.toJSON(e.measurementSetup)),e.onlineStatus!==void 0&&(n.onlineStatus=N.toJSON(e.onlineStatus)),n},create(e){return En.fromPartial(e??{})},fromPartial(e){const n=ue();return n.eventType=e.eventType??0,n.identifier=e.identifier??void 0,n.measurementSetup=e.measurementSetup!==void 0&&e.measurementSetup!==null?t.MeasurementSetup.fromPartial(e.measurementSetup):void 0,n.onlineStatus=e.onlineStatus!==void 0&&e.onlineStatus!==null?N.fromPartial(e.onlineStatus):void 0,n}};function de(){return{preferences:void 0,messageLog:!1,signalLog:!1,readSupport:!1}}const Pn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.messageLog!==!1&&n.uint32(16).bool(e.messageLog),e.signalLog!==!1&&n.uint32(24).bool(e.signalLog),e.readSupport!==!1&&n.uint32(32).bool(e.readSupport),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=de();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==16)break;a.messageLog=r.bool();continue}case 3:{if(i!==24)break;a.signalLog=r.bool();continue}case 4:{if(i!==32)break;a.readSupport=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,messageLog:o(e.messageLog)?globalThis.Boolean(e.messageLog):!1,signalLog:o(e.signalLog)?globalThis.Boolean(e.signalLog):!1,readSupport:o(e.readSupport)?globalThis.Boolean(e.readSupport):!1}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.messageLog!==!1&&(n.messageLog=e.messageLog),e.signalLog!==!1&&(n.signalLog=e.signalLog),e.readSupport!==!1&&(n.readSupport=e.readSupport),n},create(e){return Pn.fromPartial(e??{})},fromPartial(e){const n=de();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.messageLog=e.messageLog??!1,n.signalLog=e.signalLog??!1,n.readSupport=e.readSupport??!1,n}};function ce(){return{formats:[],names:[],extensions:[],descriptions:[]}}const mn={encode(e,n=new t.BinaryWriter){n.uint32(10).fork();for(const r of e.formats)n.int32(r);n.join();for(const r of e.names)n.uint32(18).string(r);for(const r of e.extensions)n.uint32(26).string(r);for(const r of e.descriptions)n.uint32(34).string(r);return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ce();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i===8){a.formats.push(r.int32());continue}if(i===10){const c=r.uint32()+r.pos;for(;r.pos<c;)a.formats.push(r.int32());continue}break}case 2:{if(i!==18)break;a.names.push(r.string());continue}case 3:{if(i!==26)break;a.extensions.push(r.string());continue}case 4:{if(i!==34)break;a.descriptions.push(r.string());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{formats:globalThis.Array.isArray(e==null?void 0:e.formats)?e.formats.map(n=>t.logFileFormatFromJSON(n)):[],names:globalThis.Array.isArray(e==null?void 0:e.names)?e.names.map(n=>globalThis.String(n)):[],extensions:globalThis.Array.isArray(e==null?void 0:e.extensions)?e.extensions.map(n=>globalThis.String(n)):[],descriptions:globalThis.Array.isArray(e==null?void 0:e.descriptions)?e.descriptions.map(n=>globalThis.String(n)):[]}},toJSON(e){var r,s,a,i;const n={};return(r=e.formats)!=null&&r.length&&(n.formats=e.formats.map(c=>t.logFileFormatToJSON(c))),(s=e.names)!=null&&s.length&&(n.names=e.names),(a=e.extensions)!=null&&a.length&&(n.extensions=e.extensions),(i=e.descriptions)!=null&&i.length&&(n.descriptions=e.descriptions),n},create(e){return mn.fromPartial(e??{})},fromPartial(e){var r,s,a,i;const n=ce();return n.formats=((r=e.formats)==null?void 0:r.map(c=>c))||[],n.names=((s=e.names)==null?void 0:s.map(c=>c))||[],n.extensions=((a=e.extensions)==null?void 0:a.map(c=>c))||[],n.descriptions=((i=e.descriptions)==null?void 0:i.map(c=>c))||[],n}};function le(){return{preferences:void 0,logFile:""}}const On={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.logFile!==""&&n.uint32(18).string(e.logFile),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=le();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.logFile=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,logFile:o(e.logFile)?globalThis.String(e.logFile):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.logFile!==""&&(n.logFile=e.logFile),n},create(e){return On.fromPartial(e??{})},fromPartial(e){const n=le();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.logFile=e.logFile??"",n}};function pe(){return{channels:[]}}const Tn={encode(e,n=new t.BinaryWriter){n.uint32(10).fork();for(const r of e.channels)n.int32(r);return n.join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=pe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i===8){a.channels.push(r.int32());continue}if(i===10){const c=r.uint32()+r.pos;for(;r.pos<c;)a.channels.push(r.int32());continue}break}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{channels:globalThis.Array.isArray(e==null?void 0:e.channels)?e.channels.map(n=>globalThis.Number(n)):[]}},toJSON(e){var r;const n={};return(r=e.channels)!=null&&r.length&&(n.channels=e.channels.map(s=>Math.round(s))),n},create(e){return Tn.fromPartial(e??{})},fromPartial(e){var r;const n=pe();return n.channels=((r=e.channels)==null?void 0:r.map(s=>s))||[],n}};function Se(){return{preferences:void 0,files:[]}}const Rn={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join();for(const r of e.files)n.uint32(18).string(r);return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Se();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.files.push(r.string());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,files:globalThis.Array.isArray(e==null?void 0:e.files)?e.files.map(n=>globalThis.String(n)):[]}},toJSON(e){var r;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),(r=e.files)!=null&&r.length&&(n.files=e.files),n},create(e){return Rn.fromPartial(e??{})},fromPartial(e){var r;const n=Se();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.files=((r=e.files)==null?void 0:r.map(s=>s))||[],n}};function Ne(){return{preferences:void 0,files:[]}}const An={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join();for(const r of e.files)n.uint32(18).string(r);return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Ne();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.files.push(r.string());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,files:globalThis.Array.isArray(e==null?void 0:e.files)?e.files.map(n=>globalThis.String(n)):[]}},toJSON(e){var r;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),(r=e.files)!=null&&r.length&&(n.files=e.files),n},create(e){return An.fromPartial(e??{})},fromPartial(e){var r;const n=Ne();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.files=((r=e.files)==null?void 0:r.map(s=>s))||[],n}};function Ee(){return{tables:[]}}const gn={encode(e,n=new t.BinaryWriter){for(const r of e.tables)t.ScheduleTable.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Ee();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.tables.push(t.ScheduleTable.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{tables:globalThis.Array.isArray(e==null?void 0:e.tables)?e.tables.map(n=>t.ScheduleTable.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.tables)!=null&&r.length&&(n.tables=e.tables.map(s=>t.ScheduleTable.toJSON(s))),n},create(e){return gn.fromPartial(e??{})},fromPartial(e){var r;const n=Ee();return n.tables=((r=e.tables)==null?void 0:r.map(s=>t.ScheduleTable.fromPartial(s)))||[],n}};function Pe(){return{preferences:void 0,messageQualifiedName:"",data:[]}}const hn={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.messageQualifiedName!==""&&n.uint32(18).string(e.messageQualifiedName),n.uint32(26).fork();for(const r of e.data)n.uint32(r);return n.join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Pe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.messageQualifiedName=r.string();continue}case 3:{if(i===24){a.data.push(r.uint32());continue}if(i===26){const c=r.uint32()+r.pos;for(;r.pos<c;)a.data.push(r.uint32());continue}break}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,messageQualifiedName:o(e.messageQualifiedName)?globalThis.String(e.messageQualifiedName):"",data:globalThis.Array.isArray(e==null?void 0:e.data)?e.data.map(n=>globalThis.Number(n)):[]}},toJSON(e){var r;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.messageQualifiedName!==""&&(n.messageQualifiedName=e.messageQualifiedName),(r=e.data)!=null&&r.length&&(n.data=e.data.map(s=>Math.round(s))),n},create(e){return hn.fromPartial(e??{})},fromPartial(e){var r;const n=Pe();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.messageQualifiedName=e.messageQualifiedName??"",n.data=((r=e.data)==null?void 0:r.map(s=>s))||[],n}};function me(){return{signalValues:[]}}const kn={encode(e,n=new t.BinaryWriter){for(const r of e.signalValues)t.SignalValue.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=me();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.signalValues.push(t.SignalValue.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{signalValues:globalThis.Array.isArray(e==null?void 0:e.signalValues)?e.signalValues.map(n=>t.SignalValue.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.signalValues)!=null&&r.length&&(n.signalValues=e.signalValues.map(s=>t.SignalValue.toJSON(s))),n},create(e){return kn.fromPartial(e??{})},fromPartial(e){var r;const n=me();return n.signalValues=((r=e.signalValues)==null?void 0:r.map(s=>t.SignalValue.fromPartial(s)))||[],n}};function Oe(){return{preferences:void 0,messageQualifiedName:"",data:[],signalValues:[]}}const In={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.messageQualifiedName!==""&&n.uint32(18).string(e.messageQualifiedName),n.uint32(26).fork();for(const r of e.data)n.uint32(r);n.join();for(const r of e.signalValues)t.SignalValue.encode(r,n.uint32(34).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Oe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.messageQualifiedName=r.string();continue}case 3:{if(i===24){a.data.push(r.uint32());continue}if(i===26){const c=r.uint32()+r.pos;for(;r.pos<c;)a.data.push(r.uint32());continue}break}case 4:{if(i!==34)break;a.signalValues.push(t.SignalValue.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,messageQualifiedName:o(e.messageQualifiedName)?globalThis.String(e.messageQualifiedName):"",data:globalThis.Array.isArray(e==null?void 0:e.data)?e.data.map(n=>globalThis.Number(n)):[],signalValues:globalThis.Array.isArray(e==null?void 0:e.signalValues)?e.signalValues.map(n=>t.SignalValue.fromJSON(n)):[]}},toJSON(e){var r,s;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.messageQualifiedName!==""&&(n.messageQualifiedName=e.messageQualifiedName),(r=e.data)!=null&&r.length&&(n.data=e.data.map(a=>Math.round(a))),(s=e.signalValues)!=null&&s.length&&(n.signalValues=e.signalValues.map(a=>t.SignalValue.toJSON(a))),n},create(e){return In.fromPartial(e??{})},fromPartial(e){var r,s;const n=Oe();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.messageQualifiedName=e.messageQualifiedName??"",n.data=((r=e.data)==null?void 0:r.map(a=>a))||[],n.signalValues=((s=e.signalValues)==null?void 0:s.map(a=>t.SignalValue.fromPartial(a)))||[],n}};function Te(){return{signalValues:[],data:[]}}const yn={encode(e,n=new t.BinaryWriter){for(const r of e.signalValues)t.SignalValue.encode(r,n.uint32(10).fork()).join();n.uint32(18).fork();for(const r of e.data)n.uint32(r);return n.join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Te();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.signalValues.push(t.SignalValue.decode(r,r.uint32()));continue}case 2:{if(i===16){a.data.push(r.uint32());continue}if(i===18){const c=r.uint32()+r.pos;for(;r.pos<c;)a.data.push(r.uint32());continue}break}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{signalValues:globalThis.Array.isArray(e==null?void 0:e.signalValues)?e.signalValues.map(n=>t.SignalValue.fromJSON(n)):[],data:globalThis.Array.isArray(e==null?void 0:e.data)?e.data.map(n=>globalThis.Number(n)):[]}},toJSON(e){var r,s;const n={};return(r=e.signalValues)!=null&&r.length&&(n.signalValues=e.signalValues.map(a=>t.SignalValue.toJSON(a))),(s=e.data)!=null&&s.length&&(n.data=e.data.map(a=>Math.round(a))),n},create(e){return yn.fromPartial(e??{})},fromPartial(e){var r,s;const n=Te();return n.signalValues=((r=e.signalValues)==null?void 0:r.map(a=>t.SignalValue.fromPartial(a)))||[],n.data=((s=e.data)==null?void 0:s.map(a=>a))||[],n}};function o(e){return e!=null}var _n=(e=>(e[e.STATUS_LEVEL_NONE=0]="STATUS_LEVEL_NONE",e[e.STATUS_LEVEL_OK=1]="STATUS_LEVEL_OK",e[e.STATUS_LEVEL_WARNING=2]="STATUS_LEVEL_WARNING",e[e.STATUS_LEVEL_ERROR=3]="STATUS_LEVEL_ERROR",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(_n||{});function A(e){switch(e){case 0:case"STATUS_LEVEL_NONE":return 0;case 1:case"STATUS_LEVEL_OK":return 1;case 2:case"STATUS_LEVEL_WARNING":return 2;case 3:case"STATUS_LEVEL_ERROR":return 3;case-1:case"UNRECOGNIZED":default:return-1}}function g(e){switch(e){case 0:return"STATUS_LEVEL_NONE";case 1:return"STATUS_LEVEL_OK";case 2:return"STATUS_LEVEL_WARNING";case 3:return"STATUS_LEVEL_ERROR";case-1:default:return"UNRECOGNIZED"}}var Ln=(e=>(e[e.LOG_REPLAY_STATE_UNSPECIFIED=0]="LOG_REPLAY_STATE_UNSPECIFIED",e[e.LOG_REPLAY_STATE_STARTED=1]="LOG_REPLAY_STATE_STARTED",e[e.LOG_REPLAY_STATE_STOPPED=2]="LOG_REPLAY_STATE_STOPPED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Ln||{});function Jn(e){switch(e){case 0:case"LOG_REPLAY_STATE_UNSPECIFIED":return 0;case 1:case"LOG_REPLAY_STATE_STARTED":return 1;case 2:case"LOG_REPLAY_STATE_STOPPED":return 2;case-1:case"UNRECOGNIZED":default:return-1}}function Bn(e){switch(e){case 0:return"LOG_REPLAY_STATE_UNSPECIFIED";case 1:return"LOG_REPLAY_STATE_STARTED";case 2:return"LOG_REPLAY_STATE_STOPPED";case-1:default:return"UNRECOGNIZED"}}var Cn=(e=>(e[e.MESSAGE_LOGGER_STATE_UNSPECIFIED=0]="MESSAGE_LOGGER_STATE_UNSPECIFIED",e[e.MESSAGE_LOGGER_STATE_PRESTART=1]="MESSAGE_LOGGER_STATE_PRESTART",e[e.MESSAGE_LOGGER_STATE_STARTED=2]="MESSAGE_LOGGER_STATE_STARTED",e[e.MESSAGE_LOGGER_STATE_STOPPED=3]="MESSAGE_LOGGER_STATE_STOPPED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Cn||{});function vn(e){switch(e){case 0:case"MESSAGE_LOGGER_STATE_UNSPECIFIED":return 0;case 1:case"MESSAGE_LOGGER_STATE_PRESTART":return 1;case 2:case"MESSAGE_LOGGER_STATE_STARTED":return 2;case 3:case"MESSAGE_LOGGER_STATE_STOPPED":return 3;case-1:case"UNRECOGNIZED":default:return-1}}function Gn(e){switch(e){case 0:return"MESSAGE_LOGGER_STATE_UNSPECIFIED";case 1:return"MESSAGE_LOGGER_STATE_PRESTART";case 2:return"MESSAGE_LOGGER_STATE_STARTED";case 3:return"MESSAGE_LOGGER_STATE_STOPPED";case-1:default:return"UNRECOGNIZED"}}function Re(){return{rxMessageCounter:0,rxMessagesPerSecond:0,txMessageCounter:0,txMessagesPerSecond:0,errorFrameCounter:0,errorFramesPerSecond:0,overrunCounter:0,overrunsPerSecond:0,rxErrorCounter:0,txErrorCounter:0,overrunErrorCounter:0,busOnStatus:0,errorStatus:0,overrunStatus:0,busLoad:0}}const E={encode(e,n=new t.BinaryWriter){return e.rxMessageCounter!==0&&n.uint32(8).int32(e.rxMessageCounter),e.rxMessagesPerSecond!==0&&n.uint32(16).int32(e.rxMessagesPerSecond),e.txMessageCounter!==0&&n.uint32(24).int32(e.txMessageCounter),e.txMessagesPerSecond!==0&&n.uint32(32).int32(e.txMessagesPerSecond),e.errorFrameCounter!==0&&n.uint32(40).int32(e.errorFrameCounter),e.errorFramesPerSecond!==0&&n.uint32(48).int32(e.errorFramesPerSecond),e.overrunCounter!==0&&n.uint32(56).int32(e.overrunCounter),e.overrunsPerSecond!==0&&n.uint32(64).int32(e.overrunsPerSecond),e.rxErrorCounter!==0&&n.uint32(72).int32(e.rxErrorCounter),e.txErrorCounter!==0&&n.uint32(80).int32(e.txErrorCounter),e.overrunErrorCounter!==0&&n.uint32(88).int32(e.overrunErrorCounter),e.busOnStatus!==0&&n.uint32(96).int32(e.busOnStatus),e.errorStatus!==0&&n.uint32(104).int32(e.errorStatus),e.overrunStatus!==0&&n.uint32(112).int32(e.overrunStatus),e.busLoad!==0&&n.uint32(120).int32(e.busLoad),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Re();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.rxMessageCounter=r.int32();continue}case 2:{if(i!==16)break;a.rxMessagesPerSecond=r.int32();continue}case 3:{if(i!==24)break;a.txMessageCounter=r.int32();continue}case 4:{if(i!==32)break;a.txMessagesPerSecond=r.int32();continue}case 5:{if(i!==40)break;a.errorFrameCounter=r.int32();continue}case 6:{if(i!==48)break;a.errorFramesPerSecond=r.int32();continue}case 7:{if(i!==56)break;a.overrunCounter=r.int32();continue}case 8:{if(i!==64)break;a.overrunsPerSecond=r.int32();continue}case 9:{if(i!==72)break;a.rxErrorCounter=r.int32();continue}case 10:{if(i!==80)break;a.txErrorCounter=r.int32();continue}case 11:{if(i!==88)break;a.overrunErrorCounter=r.int32();continue}case 12:{if(i!==96)break;a.busOnStatus=r.int32();continue}case 13:{if(i!==104)break;a.errorStatus=r.int32();continue}case 14:{if(i!==112)break;a.overrunStatus=r.int32();continue}case 15:{if(i!==120)break;a.busLoad=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{rxMessageCounter:d(e.rxMessageCounter)?globalThis.Number(e.rxMessageCounter):0,rxMessagesPerSecond:d(e.rxMessagesPerSecond)?globalThis.Number(e.rxMessagesPerSecond):0,txMessageCounter:d(e.txMessageCounter)?globalThis.Number(e.txMessageCounter):0,txMessagesPerSecond:d(e.txMessagesPerSecond)?globalThis.Number(e.txMessagesPerSecond):0,errorFrameCounter:d(e.errorFrameCounter)?globalThis.Number(e.errorFrameCounter):0,errorFramesPerSecond:d(e.errorFramesPerSecond)?globalThis.Number(e.errorFramesPerSecond):0,overrunCounter:d(e.overrunCounter)?globalThis.Number(e.overrunCounter):0,overrunsPerSecond:d(e.overrunsPerSecond)?globalThis.Number(e.overrunsPerSecond):0,rxErrorCounter:d(e.rxErrorCounter)?globalThis.Number(e.rxErrorCounter):0,txErrorCounter:d(e.txErrorCounter)?globalThis.Number(e.txErrorCounter):0,overrunErrorCounter:d(e.overrunErrorCounter)?globalThis.Number(e.overrunErrorCounter):0,busOnStatus:d(e.busOnStatus)?A(e.busOnStatus):0,errorStatus:d(e.errorStatus)?A(e.errorStatus):0,overrunStatus:d(e.overrunStatus)?A(e.overrunStatus):0,busLoad:d(e.busLoad)?globalThis.Number(e.busLoad):0}},toJSON(e){const n={};return e.rxMessageCounter!==0&&(n.rxMessageCounter=Math.round(e.rxMessageCounter)),e.rxMessagesPerSecond!==0&&(n.rxMessagesPerSecond=Math.round(e.rxMessagesPerSecond)),e.txMessageCounter!==0&&(n.txMessageCounter=Math.round(e.txMessageCounter)),e.txMessagesPerSecond!==0&&(n.txMessagesPerSecond=Math.round(e.txMessagesPerSecond)),e.errorFrameCounter!==0&&(n.errorFrameCounter=Math.round(e.errorFrameCounter)),e.errorFramesPerSecond!==0&&(n.errorFramesPerSecond=Math.round(e.errorFramesPerSecond)),e.overrunCounter!==0&&(n.overrunCounter=Math.round(e.overrunCounter)),e.overrunsPerSecond!==0&&(n.overrunsPerSecond=Math.round(e.overrunsPerSecond)),e.rxErrorCounter!==0&&(n.rxErrorCounter=Math.round(e.rxErrorCounter)),e.txErrorCounter!==0&&(n.txErrorCounter=Math.round(e.txErrorCounter)),e.overrunErrorCounter!==0&&(n.overrunErrorCounter=Math.round(e.overrunErrorCounter)),e.busOnStatus!==0&&(n.busOnStatus=g(e.busOnStatus)),e.errorStatus!==0&&(n.errorStatus=g(e.errorStatus)),e.overrunStatus!==0&&(n.overrunStatus=g(e.overrunStatus)),e.busLoad!==0&&(n.busLoad=Math.round(e.busLoad)),n},create(e){return E.fromPartial(e??{})},fromPartial(e){const n=Re();return n.rxMessageCounter=e.rxMessageCounter??0,n.rxMessagesPerSecond=e.rxMessagesPerSecond??0,n.txMessageCounter=e.txMessageCounter??0,n.txMessagesPerSecond=e.txMessagesPerSecond??0,n.errorFrameCounter=e.errorFrameCounter??0,n.errorFramesPerSecond=e.errorFramesPerSecond??0,n.overrunCounter=e.overrunCounter??0,n.overrunsPerSecond=e.overrunsPerSecond??0,n.rxErrorCounter=e.rxErrorCounter??0,n.txErrorCounter=e.txErrorCounter??0,n.overrunErrorCounter=e.overrunErrorCounter??0,n.busOnStatus=e.busOnStatus??0,n.errorStatus=e.errorStatus??0,n.overrunStatus=e.overrunStatus??0,n.busLoad=e.busLoad??0,n}};function Ae(){return{errorCounter:0,lastExecutionTime:f.ZERO,minExecutionTime:f.ZERO,maxExecutionTime:f.ZERO}}const P={encode(e,n=new t.BinaryWriter){return e.errorCounter!==0&&n.uint32(8).int32(e.errorCounter),e.lastExecutionTime.equals(f.ZERO)||n.uint32(16).int64(e.lastExecutionTime.toString()),e.minExecutionTime.equals(f.ZERO)||n.uint32(24).int64(e.minExecutionTime.toString()),e.maxExecutionTime.equals(f.ZERO)||n.uint32(32).int64(e.maxExecutionTime.toString()),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Ae();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.errorCounter=r.int32();continue}case 2:{if(i!==16)break;a.lastExecutionTime=f.fromString(r.int64().toString());continue}case 3:{if(i!==24)break;a.minExecutionTime=f.fromString(r.int64().toString());continue}case 4:{if(i!==32)break;a.maxExecutionTime=f.fromString(r.int64().toString());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{errorCounter:d(e.errorCounter)?globalThis.Number(e.errorCounter):0,lastExecutionTime:d(e.lastExecutionTime)?f.fromValue(e.lastExecutionTime):f.ZERO,minExecutionTime:d(e.minExecutionTime)?f.fromValue(e.minExecutionTime):f.ZERO,maxExecutionTime:d(e.maxExecutionTime)?f.fromValue(e.maxExecutionTime):f.ZERO}},toJSON(e){const n={};return e.errorCounter!==0&&(n.errorCounter=Math.round(e.errorCounter)),e.lastExecutionTime.equals(f.ZERO)||(n.lastExecutionTime=(e.lastExecutionTime||f.ZERO).toString()),e.minExecutionTime.equals(f.ZERO)||(n.minExecutionTime=(e.minExecutionTime||f.ZERO).toString()),e.maxExecutionTime.equals(f.ZERO)||(n.maxExecutionTime=(e.maxExecutionTime||f.ZERO).toString()),n},create(e){return P.fromPartial(e??{})},fromPartial(e){const n=Ae();return n.errorCounter=e.errorCounter??0,n.lastExecutionTime=e.lastExecutionTime!==void 0&&e.lastExecutionTime!==null?f.fromValue(e.lastExecutionTime):f.ZERO,n.minExecutionTime=e.minExecutionTime!==void 0&&e.minExecutionTime!==null?f.fromValue(e.minExecutionTime):f.ZERO,n.maxExecutionTime=e.maxExecutionTime!==void 0&&e.maxExecutionTime!==null?f.fromValue(e.maxExecutionTime):f.ZERO,n}};function ge(){return{state:0}}const m={encode(e,n=new t.BinaryWriter){return e.state!==0&&n.uint32(8).int32(e.state),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ge();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.state=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{state:d(e.state)?Jn(e.state):0}},toJSON(e){const n={};return e.state!==0&&(n.state=Bn(e.state)),n},create(e){return m.fromPartial(e??{})},fromPartial(e){const n=ge();return n.state=e.state??0,n}};function he(){return{state:0}}const O={encode(e,n=new t.BinaryWriter){return e.state!==0&&n.uint32(8).int32(e.state),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=he();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.state=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{state:d(e.state)?vn(e.state):0}},toJSON(e){const n={};return e.state!==0&&(n.state=Gn(e.state)),n},create(e){return O.fromPartial(e??{})},fromPartial(e){const n=he();return n.state=e.state??0,n}};function ke(){return{errors:""}}const T={encode(e,n=new t.BinaryWriter){return e.errors!==""&&n.uint32(10).string(e.errors),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ke();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.errors=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{errors:d(e.errors)?globalThis.String(e.errors):""}},toJSON(e){const n={};return e.errors!==""&&(n.errors=e.errors),n},create(e){return T.fromPartial(e??{})},fromPartial(e){const n=ke();return n.errors=e.errors??"",n}};function Ie(){return{nodeId:"",nodeName:"",streamId:"",busStatus:void 0,dataProcessingStatus:void 0,logReplayStatus:void 0,loggerStatus:void 0,errorStatus:void 0}}const R={encode(e,n=new t.BinaryWriter){return e.nodeId!==""&&n.uint32(10).string(e.nodeId),e.nodeName!==""&&n.uint32(18).string(e.nodeName),e.streamId!==""&&n.uint32(26).string(e.streamId),e.busStatus!==void 0&&E.encode(e.busStatus,n.uint32(34).fork()).join(),e.dataProcessingStatus!==void 0&&P.encode(e.dataProcessingStatus,n.uint32(42).fork()).join(),e.logReplayStatus!==void 0&&m.encode(e.logReplayStatus,n.uint32(50).fork()).join(),e.loggerStatus!==void 0&&O.encode(e.loggerStatus,n.uint32(58).fork()).join(),e.errorStatus!==void 0&&T.encode(e.errorStatus,n.uint32(66).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Ie();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.nodeId=r.string();continue}case 2:{if(i!==18)break;a.nodeName=r.string();continue}case 3:{if(i!==26)break;a.streamId=r.string();continue}case 4:{if(i!==34)break;a.busStatus=E.decode(r,r.uint32());continue}case 5:{if(i!==42)break;a.dataProcessingStatus=P.decode(r,r.uint32());continue}case 6:{if(i!==50)break;a.logReplayStatus=m.decode(r,r.uint32());continue}case 7:{if(i!==58)break;a.loggerStatus=O.decode(r,r.uint32());continue}case 8:{if(i!==66)break;a.errorStatus=T.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{nodeId:d(e.nodeId)?globalThis.String(e.nodeId):"",nodeName:d(e.nodeName)?globalThis.String(e.nodeName):"",streamId:d(e.streamId)?globalThis.String(e.streamId):"",busStatus:d(e.busStatus)?E.fromJSON(e.busStatus):void 0,dataProcessingStatus:d(e.dataProcessingStatus)?P.fromJSON(e.dataProcessingStatus):void 0,logReplayStatus:d(e.logReplayStatus)?m.fromJSON(e.logReplayStatus):void 0,loggerStatus:d(e.loggerStatus)?O.fromJSON(e.loggerStatus):void 0,errorStatus:d(e.errorStatus)?T.fromJSON(e.errorStatus):void 0}},toJSON(e){const n={};return e.nodeId!==""&&(n.nodeId=e.nodeId),e.nodeName!==""&&(n.nodeName=e.nodeName),e.streamId!==""&&(n.streamId=e.streamId),e.busStatus!==void 0&&(n.busStatus=E.toJSON(e.busStatus)),e.dataProcessingStatus!==void 0&&(n.dataProcessingStatus=P.toJSON(e.dataProcessingStatus)),e.logReplayStatus!==void 0&&(n.logReplayStatus=m.toJSON(e.logReplayStatus)),e.loggerStatus!==void 0&&(n.loggerStatus=O.toJSON(e.loggerStatus)),e.errorStatus!==void 0&&(n.errorStatus=T.toJSON(e.errorStatus)),n},create(e){return R.fromPartial(e??{})},fromPartial(e){const n=Ie();return n.nodeId=e.nodeId??"",n.nodeName=e.nodeName??"",n.streamId=e.streamId??"",n.busStatus=e.busStatus!==void 0&&e.busStatus!==null?E.fromPartial(e.busStatus):void 0,n.dataProcessingStatus=e.dataProcessingStatus!==void 0&&e.dataProcessingStatus!==null?P.fromPartial(e.dataProcessingStatus):void 0,n.logReplayStatus=e.logReplayStatus!==void 0&&e.logReplayStatus!==null?m.fromPartial(e.logReplayStatus):void 0,n.loggerStatus=e.loggerStatus!==void 0&&e.loggerStatus!==null?O.fromPartial(e.loggerStatus):void 0,n.errorStatus=e.errorStatus!==void 0&&e.errorStatus!==null?T.fromPartial(e.errorStatus):void 0,n}};function ye(){return{items:[]}}const Vn={encode(e,n=new t.BinaryWriter){for(const r of e.items)R.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ye();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.items.push(R.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{items:globalThis.Array.isArray(e==null?void 0:e.items)?e.items.map(n=>R.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.items)!=null&&r.length&&(n.items=e.items.map(s=>R.toJSON(s))),n},create(e){return Vn.fromPartial(e??{})},fromPartial(e){var r;const n=ye();return n.items=((r=e.items)==null?void 0:r.map(s=>R.fromPartial(s)))||[],n}};function d(e){return e!=null}exports.AboutInformation=Ze;exports.ActivateLicenseRequest=We;exports.AddAllConnectedCanChannelsRequest=$e;exports.AddAllConnectedLinChannelsRequest=ze;exports.AddOrUpdateDataProcessorRequest=je;exports.AddOrUpdateSourceRequest=Xe;exports.AddOrUpdateTargetRequest=nn;exports.AppEvent=Be;exports.AppEventArgs=Me;exports.BusStatus=E;exports.ClearLinMessageRequest=ln;exports.ConnectNodesRequest=tn;exports.DataProcessingStatus=P;exports.DisconnectNodesRequest=an;exports.Empty=_e;exports.ErrorStatus=T;exports.FileType=Le;exports.GetChannelsFromLogFileRequest=On;exports.GetChannelsFromLogFileResponse=Tn;exports.GetDataProcessorResponse=en;exports.GetFrameDefinitionsFromDatabaseFilesRequest=Rn;exports.GetLicensesResponse=we;exports.GetLogFileFormatsRequest=Pn;exports.GetLogFileFormatsResponse=mn;exports.GetLogLevelResponse=Ve;exports.GetScheduleTablesFromDatabaseFilesRequest=An;exports.GetScheduleTablesFromDatabaseFilesResponse=gn;exports.GetServiceExtensionInfoRequest=Ue;exports.GetServiceExtensionInfoResponse=qe;exports.GetSignalDataFromMessageDataRequest=hn;exports.GetSignalDataFromMessageDataResponse=kn;exports.GetSourceResponse=be;exports.GetTargetResponse=rn;exports.IdentifierRequest=sn;exports.IdentifiersRequest=on;exports.InstallServiceExtensionRequest=De;exports.LicenseInformation=l;exports.Licenses=S;exports.LogLevel=Je;exports.LogMessage=p;exports.LogMessages=xe;exports.LogReplayState=Ln;exports.LogReplayStatus=m;exports.LoggerState=Cn;exports.LoggerStatus=O;exports.MeasurementEvent=Ke;exports.MeasurementEventArgs=En;exports.NodeStatus=R;exports.NodeStatuses=Vn;exports.OnlineStatus=N;exports.RequestLinMessageRequest=dn;exports.SendLinWakeupFrameRequest=un;exports.SendMessageRequest=fn;exports.SetLogLevelRequest=Ge;exports.SetMeasurementSetupRequest=Ye;exports.SetSignalDataToMessageDataRequest=In;exports.SetSignalDataToMessageDataResponse=yn;exports.StartPeriodicTransmissionRequest=pn;exports.StartPeriodicTransmissionResponse=Nn;exports.StatusLevel=_n;exports.UninstallServiceExtensionRequest=Fe;exports.UpdateLinMessageRequest=cn;exports.UpdatePeriodicTransmissionRequest=Sn;exports.appEventFromJSON=Ce;exports.appEventToJSON=ve;exports.fileTypeFromJSON=xn;exports.fileTypeToJSON=Mn;exports.logLevelFromJSON=h;exports.logLevelToJSON=k;exports.logReplayStateFromJSON=Jn;exports.logReplayStateToJSON=Bn;exports.loggerStateFromJSON=vn;exports.loggerStateToJSON=Gn;exports.measurementEventFromJSON=Qe;exports.measurementEventToJSON=He;exports.statusLevelFromJSON=A;exports.statusLevelToJSON=g;
1
+ "use strict";const t=require("./measurement_settings.js"),f=require("long");function k(){return{}}const Le={encode(e,n=new t.BinaryWriter){return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=k();for(;r.pos<s;){const i=r.uint32();if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{}},toJSON(e){return{}},create(e){return Le.fromPartial(e??{})},fromPartial(e){return k()}};var Je=(e=>(e[e.PROJECT_FILE=0]="PROJECT_FILE",e[e.LOG_FILE=1]="LOG_FILE",e[e.CAN_DATABASES=2]="CAN_DATABASES",e[e.LIN_DATABASES=3]="LIN_DATABASES",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Je||{});function Wn(e){switch(e){case 0:case"PROJECT_FILE":return 0;case 1:case"LOG_FILE":return 1;case 2:case"CAN_DATABASES":return 2;case 3:case"LIN_DATABASES":return 3;case-1:case"UNRECOGNIZED":default:return-1}}function Zn(e){switch(e){case 0:return"PROJECT_FILE";case 1:return"LOG_FILE";case 2:return"CAN_DATABASES";case 3:return"LIN_DATABASES";case-1:default:return"UNRECOGNIZED"}}var Be=(e=>(e[e.LOG_LEVEL_TRACE=0]="LOG_LEVEL_TRACE",e[e.LOG_LEVEL_DEBUG=1]="LOG_LEVEL_DEBUG",e[e.LOG_LEVEL_INFORMATION=2]="LOG_LEVEL_INFORMATION",e[e.LOG_LEVEL_WARNING=3]="LOG_LEVEL_WARNING",e[e.LOG_LEVEL_ERROR=4]="LOG_LEVEL_ERROR",e[e.LOG_LEVEL_CRITICAL=5]="LOG_LEVEL_CRITICAL",e[e.LOG_LEVEL_NONE=6]="LOG_LEVEL_NONE",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Be||{});function h(e){switch(e){case 0:case"LOG_LEVEL_TRACE":return 0;case 1:case"LOG_LEVEL_DEBUG":return 1;case 2:case"LOG_LEVEL_INFORMATION":return 2;case 3:case"LOG_LEVEL_WARNING":return 3;case 4:case"LOG_LEVEL_ERROR":return 4;case 5:case"LOG_LEVEL_CRITICAL":return 5;case 6:case"LOG_LEVEL_NONE":return 6;case-1:case"UNRECOGNIZED":default:return-1}}function I(e){switch(e){case 0:return"LOG_LEVEL_TRACE";case 1:return"LOG_LEVEL_DEBUG";case 2:return"LOG_LEVEL_INFORMATION";case 3:return"LOG_LEVEL_WARNING";case 4:return"LOG_LEVEL_ERROR";case 5:return"LOG_LEVEL_CRITICAL";case 6:return"LOG_LEVEL_NONE";case-1:default:return"UNRECOGNIZED"}}var xe=(e=>(e[e.APP_EVENT_UNSPECIFIED=0]="APP_EVENT_UNSPECIFIED",e[e.APP_EVENT_LICENSE_INFO_CHANGED=1]="APP_EVENT_LICENSE_INFO_CHANGED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(xe||{});function Ge(e){switch(e){case 0:case"APP_EVENT_UNSPECIFIED":return 0;case 1:case"APP_EVENT_LICENSE_INFO_CHANGED":return 1;case-1:case"UNRECOGNIZED":default:return-1}}function Ve(e){switch(e){case 0:return"APP_EVENT_UNSPECIFIED";case 1:return"APP_EVENT_LICENSE_INFO_CHANGED";case-1:default:return"UNRECOGNIZED"}}var ve=(e=>(e[e.SERVICE_EXTENSION_TYPE_UNSPECIFIED=0]="SERVICE_EXTENSION_TYPE_UNSPECIFIED",e[e.SERVICE_EXTENSION_TYPE_DATA_PROCESSOR=1]="SERVICE_EXTENSION_TYPE_DATA_PROCESSOR",e[e.SERVICE_EXTENSION_TYPE_DATA_TARGET=2]="SERVICE_EXTENSION_TYPE_DATA_TARGET",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(ve||{});function De(e){switch(e){case 0:case"SERVICE_EXTENSION_TYPE_UNSPECIFIED":return 0;case 1:case"SERVICE_EXTENSION_TYPE_DATA_PROCESSOR":return 1;case 2:case"SERVICE_EXTENSION_TYPE_DATA_TARGET":return 2;case-1:case"UNRECOGNIZED":default:return-1}}function Me(e){switch(e){case 0:return"SERVICE_EXTENSION_TYPE_UNSPECIFIED";case 1:return"SERVICE_EXTENSION_TYPE_DATA_PROCESSOR";case 2:return"SERVICE_EXTENSION_TYPE_DATA_TARGET";case-1:default:return"UNRECOGNIZED"}}function _(){return{preferences:void 0,logLevel:0}}const Fe={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.logLevel!==0&&n.uint32(16).int32(e.logLevel),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=_();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==16)break;a.logLevel=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,logLevel:u(e.logLevel)?h(e.logLevel):0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.logLevel!==0&&(n.logLevel=I(e.logLevel)),n},create(e){return Fe.fromPartial(e??{})},fromPartial(e){const n=_();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.logLevel=e.logLevel??0,n}};function y(){return{logLevel:0}}const Ue={encode(e,n=new t.BinaryWriter){return e.logLevel!==0&&n.uint32(8).int32(e.logLevel),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=y();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.logLevel=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{logLevel:u(e.logLevel)?h(e.logLevel):0}},toJSON(e){const n={};return e.logLevel!==0&&(n.logLevel=I(e.logLevel)),n},create(e){return Ue.fromPartial(e??{})},fromPartial(e){const n=y();return n.logLevel=e.logLevel??0,n}};function C(){return{time:f.ZERO,logLevel:0,eventId:0,categoryName:"",message:""}}const p={encode(e,n=new t.BinaryWriter){return e.time.equals(f.ZERO)||n.uint32(8).int64(e.time.toString()),e.logLevel!==0&&n.uint32(16).int32(e.logLevel),e.eventId!==0&&n.uint32(24).int32(e.eventId),e.categoryName!==""&&n.uint32(34).string(e.categoryName),e.message!==""&&n.uint32(42).string(e.message),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=C();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.time=f.fromString(r.int64().toString());continue}case 2:{if(i!==16)break;a.logLevel=r.int32();continue}case 3:{if(i!==24)break;a.eventId=r.int32();continue}case 4:{if(i!==34)break;a.categoryName=r.string();continue}case 5:{if(i!==42)break;a.message=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{time:u(e.time)?f.fromValue(e.time):f.ZERO,logLevel:u(e.logLevel)?h(e.logLevel):0,eventId:u(e.eventId)?globalThis.Number(e.eventId):0,categoryName:u(e.categoryName)?globalThis.String(e.categoryName):"",message:u(e.message)?globalThis.String(e.message):""}},toJSON(e){const n={};return e.time.equals(f.ZERO)||(n.time=(e.time||f.ZERO).toString()),e.logLevel!==0&&(n.logLevel=I(e.logLevel)),e.eventId!==0&&(n.eventId=Math.round(e.eventId)),e.categoryName!==""&&(n.categoryName=e.categoryName),e.message!==""&&(n.message=e.message),n},create(e){return p.fromPartial(e??{})},fromPartial(e){const n=C();return n.time=e.time!==void 0&&e.time!==null?f.fromValue(e.time):f.ZERO,n.logLevel=e.logLevel??0,n.eventId=e.eventId??0,n.categoryName=e.categoryName??"",n.message=e.message??"",n}};function L(){return{items:[]}}const qe={encode(e,n=new t.BinaryWriter){for(const r of e.items)p.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=L();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.items.push(p.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{items:globalThis.Array.isArray(e==null?void 0:e.items)?e.items.map(n=>p.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.items)!=null&&r.length&&(n.items=e.items.map(s=>p.toJSON(s))),n},create(e){return qe.fromPartial(e??{})},fromPartial(e){var r;const n=L();return n.items=((r=e.items)==null?void 0:r.map(s=>p.fromPartial(s)))||[],n}};function J(){return{licenseKey:"",productId:"",productName:"",productVersion:"",instanceId:"",instanceName:"",expirationDate:f.ZERO,isValid:!1}}const l={encode(e,n=new t.BinaryWriter){return e.licenseKey!==""&&n.uint32(10).string(e.licenseKey),e.productId!==""&&n.uint32(18).string(e.productId),e.productName!==""&&n.uint32(26).string(e.productName),e.productVersion!==""&&n.uint32(34).string(e.productVersion),e.instanceId!==""&&n.uint32(42).string(e.instanceId),e.instanceName!==""&&n.uint32(50).string(e.instanceName),e.expirationDate.equals(f.ZERO)||n.uint32(56).int64(e.expirationDate.toString()),e.isValid!==!1&&n.uint32(64).bool(e.isValid),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=J();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.licenseKey=r.string();continue}case 2:{if(i!==18)break;a.productId=r.string();continue}case 3:{if(i!==26)break;a.productName=r.string();continue}case 4:{if(i!==34)break;a.productVersion=r.string();continue}case 5:{if(i!==42)break;a.instanceId=r.string();continue}case 6:{if(i!==50)break;a.instanceName=r.string();continue}case 7:{if(i!==56)break;a.expirationDate=f.fromString(r.int64().toString());continue}case 8:{if(i!==64)break;a.isValid=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{licenseKey:u(e.licenseKey)?globalThis.String(e.licenseKey):"",productId:u(e.productId)?globalThis.String(e.productId):"",productName:u(e.productName)?globalThis.String(e.productName):"",productVersion:u(e.productVersion)?globalThis.String(e.productVersion):"",instanceId:u(e.instanceId)?globalThis.String(e.instanceId):"",instanceName:u(e.instanceName)?globalThis.String(e.instanceName):"",expirationDate:u(e.expirationDate)?f.fromValue(e.expirationDate):f.ZERO,isValid:u(e.isValid)?globalThis.Boolean(e.isValid):!1}},toJSON(e){const n={};return e.licenseKey!==""&&(n.licenseKey=e.licenseKey),e.productId!==""&&(n.productId=e.productId),e.productName!==""&&(n.productName=e.productName),e.productVersion!==""&&(n.productVersion=e.productVersion),e.instanceId!==""&&(n.instanceId=e.instanceId),e.instanceName!==""&&(n.instanceName=e.instanceName),e.expirationDate.equals(f.ZERO)||(n.expirationDate=(e.expirationDate||f.ZERO).toString()),e.isValid!==!1&&(n.isValid=e.isValid),n},create(e){return l.fromPartial(e??{})},fromPartial(e){const n=J();return n.licenseKey=e.licenseKey??"",n.productId=e.productId??"",n.productName=e.productName??"",n.productVersion=e.productVersion??"",n.instanceId=e.instanceId??"",n.instanceName=e.instanceName??"",n.expirationDate=e.expirationDate!==void 0&&e.expirationDate!==null?f.fromValue(e.expirationDate):f.ZERO,n.isValid=e.isValid??!1,n}};function B(){return{items:[]}}const S={encode(e,n=new t.BinaryWriter){for(const r of e.items)l.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=B();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.items.push(l.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{items:globalThis.Array.isArray(e==null?void 0:e.items)?e.items.map(n=>l.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.items)!=null&&r.length&&(n.items=e.items.map(s=>l.toJSON(s))),n},create(e){return S.fromPartial(e??{})},fromPartial(e){var r;const n=B();return n.items=((r=e.items)==null?void 0:r.map(s=>l.fromPartial(s)))||[],n}};function x(){return{eventType:0,licenses:void 0}}const we={encode(e,n=new t.BinaryWriter){return e.eventType!==0&&n.uint32(8).int32(e.eventType),e.licenses!==void 0&&S.encode(e.licenses,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=x();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.eventType=r.int32();continue}case 2:{if(i!==18)break;a.licenses=S.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{eventType:u(e.eventType)?Ge(e.eventType):0,licenses:u(e.licenses)?S.fromJSON(e.licenses):void 0}},toJSON(e){const n={};return e.eventType!==0&&(n.eventType=Ve(e.eventType)),e.licenses!==void 0&&(n.licenses=S.toJSON(e.licenses)),n},create(e){return we.fromPartial(e??{})},fromPartial(e){const n=x();return n.eventType=e.eventType??0,n.licenses=e.licenses!==void 0&&e.licenses!==null?S.fromPartial(e.licenses):void 0,n}};function G(){return{preferences:void 0,filePath:"",replaceExisting:void 0}}const We={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.filePath!==""&&n.uint32(18).string(e.filePath),e.replaceExisting!==void 0&&n.uint32(24).bool(e.replaceExisting),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=G();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.filePath=r.string();continue}case 3:{if(i!==24)break;a.replaceExisting=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,filePath:u(e.filePath)?globalThis.String(e.filePath):"",replaceExisting:u(e.replaceExisting)?globalThis.Boolean(e.replaceExisting):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.filePath!==""&&(n.filePath=e.filePath),e.replaceExisting!==void 0&&(n.replaceExisting=e.replaceExisting),n},create(e){return We.fromPartial(e??{})},fromPartial(e){const n=G();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.filePath=e.filePath??"",n.replaceExisting=e.replaceExisting??void 0,n}};function V(){return{preferences:void 0,name:""}}const Ze={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.name!==""&&n.uint32(18).string(e.name),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=V();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.name=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,name:u(e.name)?globalThis.String(e.name):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.name!==""&&(n.name=e.name),n},create(e){return Ze.fromPartial(e??{})},fromPartial(e){const n=V();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.name=e.name??"",n}};function v(){return{preferences:void 0,filePathOrName:""}}const Ke={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.filePathOrName!==""&&n.uint32(18).string(e.filePathOrName),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=v();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.filePathOrName=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,filePathOrName:u(e.filePathOrName)?globalThis.String(e.filePathOrName):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.filePathOrName!==""&&(n.filePathOrName=e.filePathOrName),n},create(e){return Ke.fromPartial(e??{})},fromPartial(e){const n=v();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.filePathOrName=e.filePathOrName??"",n}};function D(){return{name:"",displayName:"",description:"",version:"",author:"",defaultConfig:"",extensionType:0}}const Qe={encode(e,n=new t.BinaryWriter){return e.name!==""&&n.uint32(10).string(e.name),e.displayName!==""&&n.uint32(18).string(e.displayName),e.description!==""&&n.uint32(26).string(e.description),e.version!==""&&n.uint32(34).string(e.version),e.author!==""&&n.uint32(42).string(e.author),e.defaultConfig!==""&&n.uint32(50).string(e.defaultConfig),e.extensionType!==0&&n.uint32(56).int32(e.extensionType),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=D();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.name=r.string();continue}case 2:{if(i!==18)break;a.displayName=r.string();continue}case 3:{if(i!==26)break;a.description=r.string();continue}case 4:{if(i!==34)break;a.version=r.string();continue}case 5:{if(i!==42)break;a.author=r.string();continue}case 6:{if(i!==50)break;a.defaultConfig=r.string();continue}case 7:{if(i!==56)break;a.extensionType=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{name:u(e.name)?globalThis.String(e.name):"",displayName:u(e.displayName)?globalThis.String(e.displayName):"",description:u(e.description)?globalThis.String(e.description):"",version:u(e.version)?globalThis.String(e.version):"",author:u(e.author)?globalThis.String(e.author):"",defaultConfig:u(e.defaultConfig)?globalThis.String(e.defaultConfig):"",extensionType:u(e.extensionType)?De(e.extensionType):0}},toJSON(e){const n={};return e.name!==""&&(n.name=e.name),e.displayName!==""&&(n.displayName=e.displayName),e.description!==""&&(n.description=e.description),e.version!==""&&(n.version=e.version),e.author!==""&&(n.author=e.author),e.defaultConfig!==""&&(n.defaultConfig=e.defaultConfig),e.extensionType!==0&&(n.extensionType=Me(e.extensionType)),n},create(e){return Qe.fromPartial(e??{})},fromPartial(e){const n=D();return n.name=e.name??"",n.displayName=e.displayName??"",n.description=e.description??"",n.version=e.version??"",n.author=e.author??"",n.defaultConfig=e.defaultConfig??"",n.extensionType=e.extensionType??0,n}};function M(){return{licenses:[]}}const Ye={encode(e,n=new t.BinaryWriter){for(const r of e.licenses)l.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=M();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.licenses.push(l.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{licenses:globalThis.Array.isArray(e==null?void 0:e.licenses)?e.licenses.map(n=>l.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.licenses)!=null&&r.length&&(n.licenses=e.licenses.map(s=>l.toJSON(s))),n},create(e){return Ye.fromPartial(e??{})},fromPartial(e){var r;const n=M();return n.licenses=((r=e.licenses)==null?void 0:r.map(s=>l.fromPartial(s)))||[],n}};function F(){return{preferences:void 0,licenseKey:"",productId:""}}const He={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.licenseKey!==""&&n.uint32(18).string(e.licenseKey),e.productId!==""&&n.uint32(26).string(e.productId),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=F();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.licenseKey=r.string();continue}case 3:{if(i!==26)break;a.productId=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:u(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,licenseKey:u(e.licenseKey)?globalThis.String(e.licenseKey):"",productId:u(e.productId)?globalThis.String(e.productId):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.licenseKey!==""&&(n.licenseKey=e.licenseKey),e.productId!==""&&(n.productId=e.productId),n},create(e){return He.fromPartial(e??{})},fromPartial(e){const n=F();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.licenseKey=e.licenseKey??"",n.productId=e.productId??"",n}};function U(){return{apiVersion:"",serviceVersion:"",canlibVersion:""}}const Xe={encode(e,n=new t.BinaryWriter){return e.apiVersion!==""&&n.uint32(10).string(e.apiVersion),e.serviceVersion!==""&&n.uint32(18).string(e.serviceVersion),e.canlibVersion!==""&&n.uint32(26).string(e.canlibVersion),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=U();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.apiVersion=r.string();continue}case 2:{if(i!==18)break;a.serviceVersion=r.string();continue}case 3:{if(i!==26)break;a.canlibVersion=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{apiVersion:u(e.apiVersion)?globalThis.String(e.apiVersion):"",serviceVersion:u(e.serviceVersion)?globalThis.String(e.serviceVersion):"",canlibVersion:u(e.canlibVersion)?globalThis.String(e.canlibVersion):""}},toJSON(e){const n={};return e.apiVersion!==""&&(n.apiVersion=e.apiVersion),e.serviceVersion!==""&&(n.serviceVersion=e.serviceVersion),e.canlibVersion!==""&&(n.canlibVersion=e.canlibVersion),n},create(e){return Xe.fromPartial(e??{})},fromPartial(e){const n=U();return n.apiVersion=e.apiVersion??"",n.serviceVersion=e.serviceVersion??"",n.canlibVersion=e.canlibVersion??"",n}};function u(e){return e!=null}var $e=(e=>(e[e.MEASUREMENT_EVENT_UNSPECIFIED=0]="MEASUREMENT_EVENT_UNSPECIFIED",e[e.MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED=1]="MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED",e[e.MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED=2]="MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED",e[e.MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED=3]="MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED",e[e.MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED=4]="MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))($e||{});function ze(e){switch(e){case 0:case"MEASUREMENT_EVENT_UNSPECIFIED":return 0;case 1:case"MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED":return 1;case 2:case"MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED":return 2;case 3:case"MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED":return 3;case 4:case"MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED":return 4;case-1:case"UNRECOGNIZED":default:return-1}}function be(e){switch(e){case 0:return"MEASUREMENT_EVENT_UNSPECIFIED";case 1:return"MEASUREMENT_EVENT_MEASUREMENT_SETUP_CHANGED";case 2:return"MEASUREMENT_EVENT_ONLINE_STATUS_CHANGED";case 3:return"MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STARTED";case 4:return"MEASUREMENT_EVENT_PERIODIC_TRANSMISSION_STOPPED";case-1:default:return"UNRECOGNIZED"}}function q(){return{preferences:void 0,setup:void 0}}const je={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.setup!==void 0&&t.MeasurementSetup.encode(e.setup,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=q();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.setup=t.MeasurementSetup.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,setup:o(e.setup)?t.MeasurementSetup.fromJSON(e.setup):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.setup!==void 0&&(n.setup=t.MeasurementSetup.toJSON(e.setup)),n},create(e){return je.fromPartial(e??{})},fromPartial(e){const n=q();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.setup=e.setup!==void 0&&e.setup!==null?t.MeasurementSetup.fromPartial(e.setup):void 0,n}};function w(){return{preferences:void 0,configuration:void 0}}const en={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.configuration!==void 0&&t.CanChannelConfiguration.encode(e.configuration,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=w();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.configuration=t.CanChannelConfiguration.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,configuration:o(e.configuration)?t.CanChannelConfiguration.fromJSON(e.configuration):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.configuration!==void 0&&(n.configuration=t.CanChannelConfiguration.toJSON(e.configuration)),n},create(e){return en.fromPartial(e??{})},fromPartial(e){const n=w();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.configuration=e.configuration!==void 0&&e.configuration!==null?t.CanChannelConfiguration.fromPartial(e.configuration):void 0,n}};function W(){return{preferences:void 0,configuration:void 0}}const nn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.configuration!==void 0&&t.LinChannelConfiguration.encode(e.configuration,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=W();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.configuration=t.LinChannelConfiguration.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,configuration:o(e.configuration)?t.LinChannelConfiguration.fromJSON(e.configuration):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.configuration!==void 0&&(n.configuration=t.LinChannelConfiguration.toJSON(e.configuration)),n},create(e){return nn.fromPartial(e??{})},fromPartial(e){const n=W();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.configuration=e.configuration!==void 0&&e.configuration!==null?t.LinChannelConfiguration.fromPartial(e.configuration):void 0,n}};function Z(){return{preferences:void 0,source:void 0,replaceAllProperties:!1}}const rn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.source!==void 0&&t.SourceNodeProperties.encode(e.source,n.uint32(18).fork()).join(),e.replaceAllProperties!==!1&&n.uint32(24).bool(e.replaceAllProperties),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Z();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.source=t.SourceNodeProperties.decode(r,r.uint32());continue}case 3:{if(i!==24)break;a.replaceAllProperties=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,source:o(e.source)?t.SourceNodeProperties.fromJSON(e.source):void 0,replaceAllProperties:o(e.replaceAllProperties)?globalThis.Boolean(e.replaceAllProperties):!1}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.source!==void 0&&(n.source=t.SourceNodeProperties.toJSON(e.source)),e.replaceAllProperties!==!1&&(n.replaceAllProperties=e.replaceAllProperties),n},create(e){return rn.fromPartial(e??{})},fromPartial(e){const n=Z();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.source=e.source!==void 0&&e.source!==null?t.SourceNodeProperties.fromPartial(e.source):void 0,n.replaceAllProperties=e.replaceAllProperties??!1,n}};function K(){return{source:void 0}}const tn={encode(e,n=new t.BinaryWriter){return e.source!==void 0&&t.SourceNodeProperties.encode(e.source,n.uint32(10).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=K();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.source=t.SourceNodeProperties.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{source:o(e.source)?t.SourceNodeProperties.fromJSON(e.source):void 0}},toJSON(e){const n={};return e.source!==void 0&&(n.source=t.SourceNodeProperties.toJSON(e.source)),n},create(e){return tn.fromPartial(e??{})},fromPartial(e){const n=K();return n.source=e.source!==void 0&&e.source!==null?t.SourceNodeProperties.fromPartial(e.source):void 0,n}};function Q(){return{preferences:void 0,dataProcessor:void 0,previousNode:"",nextNode:"",replaceAllProperties:!1}}const an={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.dataProcessor!==void 0&&t.DataProcessorNodeProperties.encode(e.dataProcessor,n.uint32(18).fork()).join(),e.previousNode!==""&&n.uint32(26).string(e.previousNode),e.nextNode!==""&&n.uint32(34).string(e.nextNode),e.replaceAllProperties!==!1&&n.uint32(40).bool(e.replaceAllProperties),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Q();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.dataProcessor=t.DataProcessorNodeProperties.decode(r,r.uint32());continue}case 3:{if(i!==26)break;a.previousNode=r.string();continue}case 4:{if(i!==34)break;a.nextNode=r.string();continue}case 5:{if(i!==40)break;a.replaceAllProperties=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,dataProcessor:o(e.dataProcessor)?t.DataProcessorNodeProperties.fromJSON(e.dataProcessor):void 0,previousNode:o(e.previousNode)?globalThis.String(e.previousNode):"",nextNode:o(e.nextNode)?globalThis.String(e.nextNode):"",replaceAllProperties:o(e.replaceAllProperties)?globalThis.Boolean(e.replaceAllProperties):!1}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.dataProcessor!==void 0&&(n.dataProcessor=t.DataProcessorNodeProperties.toJSON(e.dataProcessor)),e.previousNode!==""&&(n.previousNode=e.previousNode),e.nextNode!==""&&(n.nextNode=e.nextNode),e.replaceAllProperties!==!1&&(n.replaceAllProperties=e.replaceAllProperties),n},create(e){return an.fromPartial(e??{})},fromPartial(e){const n=Q();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.dataProcessor=e.dataProcessor!==void 0&&e.dataProcessor!==null?t.DataProcessorNodeProperties.fromPartial(e.dataProcessor):void 0,n.previousNode=e.previousNode??"",n.nextNode=e.nextNode??"",n.replaceAllProperties=e.replaceAllProperties??!1,n}};function Y(){return{dataProcessor:void 0}}const sn={encode(e,n=new t.BinaryWriter){return e.dataProcessor!==void 0&&t.DataProcessorNodeProperties.encode(e.dataProcessor,n.uint32(10).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Y();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.dataProcessor=t.DataProcessorNodeProperties.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{dataProcessor:o(e.dataProcessor)?t.DataProcessorNodeProperties.fromJSON(e.dataProcessor):void 0}},toJSON(e){const n={};return e.dataProcessor!==void 0&&(n.dataProcessor=t.DataProcessorNodeProperties.toJSON(e.dataProcessor)),n},create(e){return sn.fromPartial(e??{})},fromPartial(e){const n=Y();return n.dataProcessor=e.dataProcessor!==void 0&&e.dataProcessor!==null?t.DataProcessorNodeProperties.fromPartial(e.dataProcessor):void 0,n}};function H(){return{preferences:void 0,target:void 0,replaceAllProperties:!1}}const on={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.target!==void 0&&t.TargetNodeProperties.encode(e.target,n.uint32(18).fork()).join(),e.replaceAllProperties!==!1&&n.uint32(24).bool(e.replaceAllProperties),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=H();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.target=t.TargetNodeProperties.decode(r,r.uint32());continue}case 3:{if(i!==24)break;a.replaceAllProperties=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,target:o(e.target)?t.TargetNodeProperties.fromJSON(e.target):void 0,replaceAllProperties:o(e.replaceAllProperties)?globalThis.Boolean(e.replaceAllProperties):!1}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.target!==void 0&&(n.target=t.TargetNodeProperties.toJSON(e.target)),e.replaceAllProperties!==!1&&(n.replaceAllProperties=e.replaceAllProperties),n},create(e){return on.fromPartial(e??{})},fromPartial(e){const n=H();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.target=e.target!==void 0&&e.target!==null?t.TargetNodeProperties.fromPartial(e.target):void 0,n.replaceAllProperties=e.replaceAllProperties??!1,n}};function X(){return{target:void 0}}const fn={encode(e,n=new t.BinaryWriter){return e.target!==void 0&&t.TargetNodeProperties.encode(e.target,n.uint32(10).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=X();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.target=t.TargetNodeProperties.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{target:o(e.target)?t.TargetNodeProperties.fromJSON(e.target):void 0}},toJSON(e){const n={};return e.target!==void 0&&(n.target=t.TargetNodeProperties.toJSON(e.target)),n},create(e){return fn.fromPartial(e??{})},fromPartial(e){const n=X();return n.target=e.target!==void 0&&e.target!==null?t.TargetNodeProperties.fromPartial(e.target):void 0,n}};function $(){return{preferences:void 0,startNode:"",endNode:""}}const un={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.startNode!==""&&n.uint32(18).string(e.startNode),e.endNode!==""&&n.uint32(26).string(e.endNode),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=$();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.startNode=r.string();continue}case 3:{if(i!==26)break;a.endNode=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,startNode:o(e.startNode)?globalThis.String(e.startNode):"",endNode:o(e.endNode)?globalThis.String(e.endNode):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.startNode!==""&&(n.startNode=e.startNode),e.endNode!==""&&(n.endNode=e.endNode),n},create(e){return un.fromPartial(e??{})},fromPartial(e){const n=$();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.startNode=e.startNode??"",n.endNode=e.endNode??"",n}};function z(){return{preferences:void 0,startNode:"",endNode:""}}const dn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.startNode!==""&&n.uint32(18).string(e.startNode),e.endNode!==""&&n.uint32(26).string(e.endNode),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=z();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.startNode=r.string();continue}case 3:{if(i!==26)break;a.endNode=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,startNode:o(e.startNode)?globalThis.String(e.startNode):"",endNode:o(e.endNode)?globalThis.String(e.endNode):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.startNode!==""&&(n.startNode=e.startNode),e.endNode!==""&&(n.endNode=e.endNode),n},create(e){return dn.fromPartial(e??{})},fromPartial(e){const n=z();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.startNode=e.startNode??"",n.endNode=e.endNode??"",n}};function b(){return{preferences:void 0,identifier:""}}const cn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.identifier!==""&&n.uint32(18).string(e.identifier),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=b();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.identifier=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,identifier:o(e.identifier)?globalThis.String(e.identifier):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.identifier!==""&&(n.identifier=e.identifier),n},create(e){return cn.fromPartial(e??{})},fromPartial(e){const n=b();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.identifier=e.identifier??"",n}};function j(){return{preferences:void 0,identifiers:[]}}const ln={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join();for(const r of e.identifiers)n.uint32(18).string(r);return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=j();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.identifiers.push(r.string());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,identifiers:globalThis.Array.isArray(e==null?void 0:e.identifiers)?e.identifiers.map(n=>globalThis.String(n)):[]}},toJSON(e){var r;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),(r=e.identifiers)!=null&&r.length&&(n.identifiers=e.identifiers),n},create(e){return ln.fromPartial(e??{})},fromPartial(e){var r;const n=j();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.identifiers=((r=e.identifiers)==null?void 0:r.map(s=>s))||[],n}};function ee(){return{preferences:void 0,channelIdentifier:"",frame:void 0}}const pn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.frame!==void 0&&t.WriteFrame.encode(e.frame,n.uint32(26).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ee();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==26)break;a.frame=t.WriteFrame.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",frame:o(e.frame)?t.WriteFrame.fromJSON(e.frame):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.frame!==void 0&&(n.frame=t.WriteFrame.toJSON(e.frame)),n},create(e){return pn.fromPartial(e??{})},fromPartial(e){const n=ee();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.frame=e.frame!==void 0&&e.frame!==null?t.WriteFrame.fromPartial(e.frame):void 0,n}};function ne(){return{preferences:void 0,channelIdentifier:"",count:0,interval:0}}const Sn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.count!==0&&n.uint32(24).int32(e.count),e.interval!==0&&n.uint32(32).int32(e.interval),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ne();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==24)break;a.count=r.int32();continue}case 4:{if(i!==32)break;a.interval=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",count:o(e.count)?globalThis.Number(e.count):0,interval:o(e.interval)?globalThis.Number(e.interval):0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.count!==0&&(n.count=Math.round(e.count)),e.interval!==0&&(n.interval=Math.round(e.interval)),n},create(e){return Sn.fromPartial(e??{})},fromPartial(e){const n=ne();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.count=e.count??0,n.interval=e.interval??0,n}};function re(){return{preferences:void 0,channelIdentifier:"",frameId:0}}const Nn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.frameId!==0&&n.uint32(24).int32(e.frameId),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=re();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==24)break;a.frameId=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",frameId:o(e.frameId)?globalThis.Number(e.frameId):0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.frameId!==0&&(n.frameId=Math.round(e.frameId)),n},create(e){return Nn.fromPartial(e??{})},fromPartial(e){const n=re();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.frameId=e.frameId??0,n}};function ie(){return{preferences:void 0,channelIdentifier:"",frame:void 0}}const En={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.frame!==void 0&&t.WriteFrame.encode(e.frame,n.uint32(26).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ie();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==26)break;a.frame=t.WriteFrame.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",frame:o(e.frame)?t.WriteFrame.fromJSON(e.frame):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.frame!==void 0&&(n.frame=t.WriteFrame.toJSON(e.frame)),n},create(e){return En.fromPartial(e??{})},fromPartial(e){const n=ie();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.frame=e.frame!==void 0&&e.frame!==null?t.WriteFrame.fromPartial(e.frame):void 0,n}};function te(){return{preferences:void 0,channelIdentifier:"",frameId:0}}const Pn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.channelIdentifier!==""&&n.uint32(18).string(e.channelIdentifier),e.frameId!==0&&n.uint32(24).int32(e.frameId),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=te();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.channelIdentifier=r.string();continue}case 3:{if(i!==24)break;a.frameId=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,channelIdentifier:o(e.channelIdentifier)?globalThis.String(e.channelIdentifier):"",frameId:o(e.frameId)?globalThis.Number(e.frameId):0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.channelIdentifier!==""&&(n.channelIdentifier=e.channelIdentifier),e.frameId!==0&&(n.frameId=Math.round(e.frameId)),n},create(e){return Pn.fromPartial(e??{})},fromPartial(e){const n=te();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.channelIdentifier=e.channelIdentifier??"",n.frameId=e.frameId??0,n}};function ae(){return{preferences:void 0,settings:void 0}}const mn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.settings!==void 0&&t.PeriodicTransmissionSettings.encode(e.settings,n.uint32(18).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ae();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.settings=t.PeriodicTransmissionSettings.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,settings:o(e.settings)?t.PeriodicTransmissionSettings.fromJSON(e.settings):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.settings!==void 0&&(n.settings=t.PeriodicTransmissionSettings.toJSON(e.settings)),n},create(e){return mn.fromPartial(e??{})},fromPartial(e){const n=ae();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.settings=e.settings!==void 0&&e.settings!==null?t.PeriodicTransmissionSettings.fromPartial(e.settings):void 0,n}};function se(){return{preferences:void 0,settings:void 0,identifier:""}}const On={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.settings!==void 0&&t.PeriodicTransmissionSettings.encode(e.settings,n.uint32(18).fork()).join(),e.identifier!==""&&n.uint32(26).string(e.identifier),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=se();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.settings=t.PeriodicTransmissionSettings.decode(r,r.uint32());continue}case 3:{if(i!==26)break;a.identifier=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,settings:o(e.settings)?t.PeriodicTransmissionSettings.fromJSON(e.settings):void 0,identifier:o(e.identifier)?globalThis.String(e.identifier):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.settings!==void 0&&(n.settings=t.PeriodicTransmissionSettings.toJSON(e.settings)),e.identifier!==""&&(n.identifier=e.identifier),n},create(e){return On.fromPartial(e??{})},fromPartial(e){const n=se();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.settings=e.settings!==void 0&&e.settings!==null?t.PeriodicTransmissionSettings.fromPartial(e.settings):void 0,n.identifier=e.identifier??"",n}};function oe(){return{periodicTransmissionIdentifier:""}}const Tn={encode(e,n=new t.BinaryWriter){return e.periodicTransmissionIdentifier!==""&&n.uint32(10).string(e.periodicTransmissionIdentifier),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=oe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.periodicTransmissionIdentifier=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{periodicTransmissionIdentifier:o(e.periodicTransmissionIdentifier)?globalThis.String(e.periodicTransmissionIdentifier):""}},toJSON(e){const n={};return e.periodicTransmissionIdentifier!==""&&(n.periodicTransmissionIdentifier=e.periodicTransmissionIdentifier),n},create(e){return Tn.fromPartial(e??{})},fromPartial(e){const n=oe();return n.periodicTransmissionIdentifier=e.periodicTransmissionIdentifier??"",n}};function fe(){return{isOnline:!1}}const N={encode(e,n=new t.BinaryWriter){return e.isOnline!==!1&&n.uint32(8).bool(e.isOnline),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=fe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.isOnline=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{isOnline:o(e.isOnline)?globalThis.Boolean(e.isOnline):!1}},toJSON(e){const n={};return e.isOnline!==!1&&(n.isOnline=e.isOnline),n},create(e){return N.fromPartial(e??{})},fromPartial(e){const n=fe();return n.isOnline=e.isOnline??!1,n}};function ue(){return{eventType:0,identifier:void 0,measurementSetup:void 0,onlineStatus:void 0}}const Rn={encode(e,n=new t.BinaryWriter){return e.eventType!==0&&n.uint32(8).int32(e.eventType),e.identifier!==void 0&&n.uint32(18).string(e.identifier),e.measurementSetup!==void 0&&t.MeasurementSetup.encode(e.measurementSetup,n.uint32(26).fork()).join(),e.onlineStatus!==void 0&&N.encode(e.onlineStatus,n.uint32(34).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ue();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.eventType=r.int32();continue}case 2:{if(i!==18)break;a.identifier=r.string();continue}case 3:{if(i!==26)break;a.measurementSetup=t.MeasurementSetup.decode(r,r.uint32());continue}case 4:{if(i!==34)break;a.onlineStatus=N.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{eventType:o(e.eventType)?ze(e.eventType):0,identifier:o(e.identifier)?globalThis.String(e.identifier):void 0,measurementSetup:o(e.measurementSetup)?t.MeasurementSetup.fromJSON(e.measurementSetup):void 0,onlineStatus:o(e.onlineStatus)?N.fromJSON(e.onlineStatus):void 0}},toJSON(e){const n={};return e.eventType!==0&&(n.eventType=be(e.eventType)),e.identifier!==void 0&&(n.identifier=e.identifier),e.measurementSetup!==void 0&&(n.measurementSetup=t.MeasurementSetup.toJSON(e.measurementSetup)),e.onlineStatus!==void 0&&(n.onlineStatus=N.toJSON(e.onlineStatus)),n},create(e){return Rn.fromPartial(e??{})},fromPartial(e){const n=ue();return n.eventType=e.eventType??0,n.identifier=e.identifier??void 0,n.measurementSetup=e.measurementSetup!==void 0&&e.measurementSetup!==null?t.MeasurementSetup.fromPartial(e.measurementSetup):void 0,n.onlineStatus=e.onlineStatus!==void 0&&e.onlineStatus!==null?N.fromPartial(e.onlineStatus):void 0,n}};function de(){return{preferences:void 0,messageLog:!1,signalLog:!1,readSupport:!1}}const An={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.messageLog!==!1&&n.uint32(16).bool(e.messageLog),e.signalLog!==!1&&n.uint32(24).bool(e.signalLog),e.readSupport!==!1&&n.uint32(32).bool(e.readSupport),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=de();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==16)break;a.messageLog=r.bool();continue}case 3:{if(i!==24)break;a.signalLog=r.bool();continue}case 4:{if(i!==32)break;a.readSupport=r.bool();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,messageLog:o(e.messageLog)?globalThis.Boolean(e.messageLog):!1,signalLog:o(e.signalLog)?globalThis.Boolean(e.signalLog):!1,readSupport:o(e.readSupport)?globalThis.Boolean(e.readSupport):!1}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.messageLog!==!1&&(n.messageLog=e.messageLog),e.signalLog!==!1&&(n.signalLog=e.signalLog),e.readSupport!==!1&&(n.readSupport=e.readSupport),n},create(e){return An.fromPartial(e??{})},fromPartial(e){const n=de();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.messageLog=e.messageLog??!1,n.signalLog=e.signalLog??!1,n.readSupport=e.readSupport??!1,n}};function ce(){return{formats:[],names:[],extensions:[],descriptions:[]}}const gn={encode(e,n=new t.BinaryWriter){n.uint32(10).fork();for(const r of e.formats)n.int32(r);n.join();for(const r of e.names)n.uint32(18).string(r);for(const r of e.extensions)n.uint32(26).string(r);for(const r of e.descriptions)n.uint32(34).string(r);return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ce();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i===8){a.formats.push(r.int32());continue}if(i===10){const c=r.uint32()+r.pos;for(;r.pos<c;)a.formats.push(r.int32());continue}break}case 2:{if(i!==18)break;a.names.push(r.string());continue}case 3:{if(i!==26)break;a.extensions.push(r.string());continue}case 4:{if(i!==34)break;a.descriptions.push(r.string());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{formats:globalThis.Array.isArray(e==null?void 0:e.formats)?e.formats.map(n=>t.logFileFormatFromJSON(n)):[],names:globalThis.Array.isArray(e==null?void 0:e.names)?e.names.map(n=>globalThis.String(n)):[],extensions:globalThis.Array.isArray(e==null?void 0:e.extensions)?e.extensions.map(n=>globalThis.String(n)):[],descriptions:globalThis.Array.isArray(e==null?void 0:e.descriptions)?e.descriptions.map(n=>globalThis.String(n)):[]}},toJSON(e){var r,s,a,i;const n={};return(r=e.formats)!=null&&r.length&&(n.formats=e.formats.map(c=>t.logFileFormatToJSON(c))),(s=e.names)!=null&&s.length&&(n.names=e.names),(a=e.extensions)!=null&&a.length&&(n.extensions=e.extensions),(i=e.descriptions)!=null&&i.length&&(n.descriptions=e.descriptions),n},create(e){return gn.fromPartial(e??{})},fromPartial(e){var r,s,a,i;const n=ce();return n.formats=((r=e.formats)==null?void 0:r.map(c=>c))||[],n.names=((s=e.names)==null?void 0:s.map(c=>c))||[],n.extensions=((a=e.extensions)==null?void 0:a.map(c=>c))||[],n.descriptions=((i=e.descriptions)==null?void 0:i.map(c=>c))||[],n}};function le(){return{preferences:void 0,logFile:""}}const hn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.logFile!==""&&n.uint32(18).string(e.logFile),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=le();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.logFile=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,logFile:o(e.logFile)?globalThis.String(e.logFile):""}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.logFile!==""&&(n.logFile=e.logFile),n},create(e){return hn.fromPartial(e??{})},fromPartial(e){const n=le();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.logFile=e.logFile??"",n}};function pe(){return{channels:[]}}const In={encode(e,n=new t.BinaryWriter){n.uint32(10).fork();for(const r of e.channels)n.int32(r);return n.join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=pe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i===8){a.channels.push(r.int32());continue}if(i===10){const c=r.uint32()+r.pos;for(;r.pos<c;)a.channels.push(r.int32());continue}break}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{channels:globalThis.Array.isArray(e==null?void 0:e.channels)?e.channels.map(n=>globalThis.Number(n)):[]}},toJSON(e){var r;const n={};return(r=e.channels)!=null&&r.length&&(n.channels=e.channels.map(s=>Math.round(s))),n},create(e){return In.fromPartial(e??{})},fromPartial(e){var r;const n=pe();return n.channels=((r=e.channels)==null?void 0:r.map(s=>s))||[],n}};function Se(){return{preferences:void 0,files:[]}}const kn={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join();for(const r of e.files)n.uint32(18).string(r);return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Se();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.files.push(r.string());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,files:globalThis.Array.isArray(e==null?void 0:e.files)?e.files.map(n=>globalThis.String(n)):[]}},toJSON(e){var r;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),(r=e.files)!=null&&r.length&&(n.files=e.files),n},create(e){return kn.fromPartial(e??{})},fromPartial(e){var r;const n=Se();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.files=((r=e.files)==null?void 0:r.map(s=>s))||[],n}};function Ne(){return{preferences:void 0,files:[]}}const _n={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join();for(const r of e.files)n.uint32(18).string(r);return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Ne();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.files.push(r.string());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,files:globalThis.Array.isArray(e==null?void 0:e.files)?e.files.map(n=>globalThis.String(n)):[]}},toJSON(e){var r;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),(r=e.files)!=null&&r.length&&(n.files=e.files),n},create(e){return _n.fromPartial(e??{})},fromPartial(e){var r;const n=Ne();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.files=((r=e.files)==null?void 0:r.map(s=>s))||[],n}};function Ee(){return{tables:[]}}const yn={encode(e,n=new t.BinaryWriter){for(const r of e.tables)t.ScheduleTable.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Ee();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.tables.push(t.ScheduleTable.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{tables:globalThis.Array.isArray(e==null?void 0:e.tables)?e.tables.map(n=>t.ScheduleTable.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.tables)!=null&&r.length&&(n.tables=e.tables.map(s=>t.ScheduleTable.toJSON(s))),n},create(e){return yn.fromPartial(e??{})},fromPartial(e){var r;const n=Ee();return n.tables=((r=e.tables)==null?void 0:r.map(s=>t.ScheduleTable.fromPartial(s)))||[],n}};function Pe(){return{preferences:void 0,messageQualifiedName:"",data:[]}}const Cn={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.messageQualifiedName!==""&&n.uint32(18).string(e.messageQualifiedName),n.uint32(26).fork();for(const r of e.data)n.uint32(r);return n.join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Pe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.messageQualifiedName=r.string();continue}case 3:{if(i===24){a.data.push(r.uint32());continue}if(i===26){const c=r.uint32()+r.pos;for(;r.pos<c;)a.data.push(r.uint32());continue}break}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,messageQualifiedName:o(e.messageQualifiedName)?globalThis.String(e.messageQualifiedName):"",data:globalThis.Array.isArray(e==null?void 0:e.data)?e.data.map(n=>globalThis.Number(n)):[]}},toJSON(e){var r;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.messageQualifiedName!==""&&(n.messageQualifiedName=e.messageQualifiedName),(r=e.data)!=null&&r.length&&(n.data=e.data.map(s=>Math.round(s))),n},create(e){return Cn.fromPartial(e??{})},fromPartial(e){var r;const n=Pe();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.messageQualifiedName=e.messageQualifiedName??"",n.data=((r=e.data)==null?void 0:r.map(s=>s))||[],n}};function me(){return{signalValues:[]}}const Ln={encode(e,n=new t.BinaryWriter){for(const r of e.signalValues)t.SignalValue.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=me();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.signalValues.push(t.SignalValue.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{signalValues:globalThis.Array.isArray(e==null?void 0:e.signalValues)?e.signalValues.map(n=>t.SignalValue.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.signalValues)!=null&&r.length&&(n.signalValues=e.signalValues.map(s=>t.SignalValue.toJSON(s))),n},create(e){return Ln.fromPartial(e??{})},fromPartial(e){var r;const n=me();return n.signalValues=((r=e.signalValues)==null?void 0:r.map(s=>t.SignalValue.fromPartial(s)))||[],n}};function Oe(){return{preferences:void 0,messageQualifiedName:"",data:[],signalValues:[]}}const Jn={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.messageQualifiedName!==""&&n.uint32(18).string(e.messageQualifiedName),n.uint32(26).fork();for(const r of e.data)n.uint32(r);n.join();for(const r of e.signalValues)t.SignalValue.encode(r,n.uint32(34).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Oe();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.messageQualifiedName=r.string();continue}case 3:{if(i===24){a.data.push(r.uint32());continue}if(i===26){const c=r.uint32()+r.pos;for(;r.pos<c;)a.data.push(r.uint32());continue}break}case 4:{if(i!==34)break;a.signalValues.push(t.SignalValue.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,messageQualifiedName:o(e.messageQualifiedName)?globalThis.String(e.messageQualifiedName):"",data:globalThis.Array.isArray(e==null?void 0:e.data)?e.data.map(n=>globalThis.Number(n)):[],signalValues:globalThis.Array.isArray(e==null?void 0:e.signalValues)?e.signalValues.map(n=>t.SignalValue.fromJSON(n)):[]}},toJSON(e){var r,s;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.messageQualifiedName!==""&&(n.messageQualifiedName=e.messageQualifiedName),(r=e.data)!=null&&r.length&&(n.data=e.data.map(a=>Math.round(a))),(s=e.signalValues)!=null&&s.length&&(n.signalValues=e.signalValues.map(a=>t.SignalValue.toJSON(a))),n},create(e){return Jn.fromPartial(e??{})},fromPartial(e){var r,s;const n=Oe();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.messageQualifiedName=e.messageQualifiedName??"",n.data=((r=e.data)==null?void 0:r.map(a=>a))||[],n.signalValues=((s=e.signalValues)==null?void 0:s.map(a=>t.SignalValue.fromPartial(a)))||[],n}};function Te(){return{signalValues:[],data:[]}}const Bn={encode(e,n=new t.BinaryWriter){for(const r of e.signalValues)t.SignalValue.encode(r,n.uint32(10).fork()).join();n.uint32(18).fork();for(const r of e.data)n.uint32(r);return n.join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Te();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.signalValues.push(t.SignalValue.decode(r,r.uint32()));continue}case 2:{if(i===16){a.data.push(r.uint32());continue}if(i===18){const c=r.uint32()+r.pos;for(;r.pos<c;)a.data.push(r.uint32());continue}break}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{signalValues:globalThis.Array.isArray(e==null?void 0:e.signalValues)?e.signalValues.map(n=>t.SignalValue.fromJSON(n)):[],data:globalThis.Array.isArray(e==null?void 0:e.data)?e.data.map(n=>globalThis.Number(n)):[]}},toJSON(e){var r,s;const n={};return(r=e.signalValues)!=null&&r.length&&(n.signalValues=e.signalValues.map(a=>t.SignalValue.toJSON(a))),(s=e.data)!=null&&s.length&&(n.data=e.data.map(a=>Math.round(a))),n},create(e){return Bn.fromPartial(e??{})},fromPartial(e){var r,s;const n=Te();return n.signalValues=((r=e.signalValues)==null?void 0:r.map(a=>t.SignalValue.fromPartial(a)))||[],n.data=((s=e.data)==null?void 0:s.map(a=>a))||[],n}};function Re(){return{preferences:void 0,timestamp:0,maxCount:void 0}}const xn={encode(e,n=new t.BinaryWriter){return e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join(),e.timestamp!==0&&n.uint32(17).double(e.timestamp),e.maxCount!==void 0&&n.uint32(24).uint32(e.maxCount),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Re();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==17)break;a.timestamp=r.double();continue}case 3:{if(i!==24)break;a.maxCount=r.uint32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,timestamp:o(e.timestamp)?globalThis.Number(e.timestamp):0,maxCount:o(e.maxCount)?globalThis.Number(e.maxCount):void 0}},toJSON(e){const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),e.timestamp!==0&&(n.timestamp=e.timestamp),e.maxCount!==void 0&&(n.maxCount=Math.round(e.maxCount)),n},create(e){return xn.fromPartial(e??{})},fromPartial(e){const n=Re();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.timestamp=e.timestamp??0,n.maxCount=e.maxCount??void 0,n}};function Ae(){return{preferences:void 0,frameIds:[]}}const Gn={encode(e,n=new t.BinaryWriter){e.preferences!==void 0&&t.ApiPreferences.encode(e.preferences,n.uint32(10).fork()).join();for(const r of e.frameIds)t.FixedPosFrameIdentifier.encode(r,n.uint32(18).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Ae();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.preferences=t.ApiPreferences.decode(r,r.uint32());continue}case 2:{if(i!==18)break;a.frameIds.push(t.FixedPosFrameIdentifier.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{preferences:o(e.preferences)?t.ApiPreferences.fromJSON(e.preferences):void 0,frameIds:globalThis.Array.isArray(e==null?void 0:e.frameIds)?e.frameIds.map(n=>t.FixedPosFrameIdentifier.fromJSON(n)):[]}},toJSON(e){var r;const n={};return e.preferences!==void 0&&(n.preferences=t.ApiPreferences.toJSON(e.preferences)),(r=e.frameIds)!=null&&r.length&&(n.frameIds=e.frameIds.map(s=>t.FixedPosFrameIdentifier.toJSON(s))),n},create(e){return Gn.fromPartial(e??{})},fromPartial(e){var r;const n=Ae();return n.preferences=e.preferences!==void 0&&e.preferences!==null?t.ApiPreferences.fromPartial(e.preferences):void 0,n.frameIds=((r=e.frameIds)==null?void 0:r.map(s=>t.FixedPosFrameIdentifier.fromPartial(s)))||[],n}};function o(e){return e!=null}var Vn=(e=>(e[e.STATUS_LEVEL_NONE=0]="STATUS_LEVEL_NONE",e[e.STATUS_LEVEL_OK=1]="STATUS_LEVEL_OK",e[e.STATUS_LEVEL_WARNING=2]="STATUS_LEVEL_WARNING",e[e.STATUS_LEVEL_ERROR=3]="STATUS_LEVEL_ERROR",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Vn||{});function A(e){switch(e){case 0:case"STATUS_LEVEL_NONE":return 0;case 1:case"STATUS_LEVEL_OK":return 1;case 2:case"STATUS_LEVEL_WARNING":return 2;case 3:case"STATUS_LEVEL_ERROR":return 3;case-1:case"UNRECOGNIZED":default:return-1}}function g(e){switch(e){case 0:return"STATUS_LEVEL_NONE";case 1:return"STATUS_LEVEL_OK";case 2:return"STATUS_LEVEL_WARNING";case 3:return"STATUS_LEVEL_ERROR";case-1:default:return"UNRECOGNIZED"}}var vn=(e=>(e[e.LOG_REPLAY_STATE_UNSPECIFIED=0]="LOG_REPLAY_STATE_UNSPECIFIED",e[e.LOG_REPLAY_STATE_STARTED=1]="LOG_REPLAY_STATE_STARTED",e[e.LOG_REPLAY_STATE_STOPPED=2]="LOG_REPLAY_STATE_STOPPED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(vn||{});function Dn(e){switch(e){case 0:case"LOG_REPLAY_STATE_UNSPECIFIED":return 0;case 1:case"LOG_REPLAY_STATE_STARTED":return 1;case 2:case"LOG_REPLAY_STATE_STOPPED":return 2;case-1:case"UNRECOGNIZED":default:return-1}}function Mn(e){switch(e){case 0:return"LOG_REPLAY_STATE_UNSPECIFIED";case 1:return"LOG_REPLAY_STATE_STARTED";case 2:return"LOG_REPLAY_STATE_STOPPED";case-1:default:return"UNRECOGNIZED"}}var Fn=(e=>(e[e.MESSAGE_LOGGER_STATE_UNSPECIFIED=0]="MESSAGE_LOGGER_STATE_UNSPECIFIED",e[e.MESSAGE_LOGGER_STATE_PRESTART=1]="MESSAGE_LOGGER_STATE_PRESTART",e[e.MESSAGE_LOGGER_STATE_STARTED=2]="MESSAGE_LOGGER_STATE_STARTED",e[e.MESSAGE_LOGGER_STATE_STOPPED=3]="MESSAGE_LOGGER_STATE_STOPPED",e[e.UNRECOGNIZED=-1]="UNRECOGNIZED",e))(Fn||{});function Un(e){switch(e){case 0:case"MESSAGE_LOGGER_STATE_UNSPECIFIED":return 0;case 1:case"MESSAGE_LOGGER_STATE_PRESTART":return 1;case 2:case"MESSAGE_LOGGER_STATE_STARTED":return 2;case 3:case"MESSAGE_LOGGER_STATE_STOPPED":return 3;case-1:case"UNRECOGNIZED":default:return-1}}function qn(e){switch(e){case 0:return"MESSAGE_LOGGER_STATE_UNSPECIFIED";case 1:return"MESSAGE_LOGGER_STATE_PRESTART";case 2:return"MESSAGE_LOGGER_STATE_STARTED";case 3:return"MESSAGE_LOGGER_STATE_STOPPED";case-1:default:return"UNRECOGNIZED"}}function ge(){return{rxMessageCounter:0,rxMessagesPerSecond:0,txMessageCounter:0,txMessagesPerSecond:0,errorFrameCounter:0,errorFramesPerSecond:0,overrunCounter:0,overrunsPerSecond:0,rxErrorCounter:0,txErrorCounter:0,overrunErrorCounter:0,busOnStatus:0,errorStatus:0,overrunStatus:0,busLoad:0}}const E={encode(e,n=new t.BinaryWriter){return e.rxMessageCounter!==0&&n.uint32(8).int32(e.rxMessageCounter),e.rxMessagesPerSecond!==0&&n.uint32(16).int32(e.rxMessagesPerSecond),e.txMessageCounter!==0&&n.uint32(24).int32(e.txMessageCounter),e.txMessagesPerSecond!==0&&n.uint32(32).int32(e.txMessagesPerSecond),e.errorFrameCounter!==0&&n.uint32(40).int32(e.errorFrameCounter),e.errorFramesPerSecond!==0&&n.uint32(48).int32(e.errorFramesPerSecond),e.overrunCounter!==0&&n.uint32(56).int32(e.overrunCounter),e.overrunsPerSecond!==0&&n.uint32(64).int32(e.overrunsPerSecond),e.rxErrorCounter!==0&&n.uint32(72).int32(e.rxErrorCounter),e.txErrorCounter!==0&&n.uint32(80).int32(e.txErrorCounter),e.overrunErrorCounter!==0&&n.uint32(88).int32(e.overrunErrorCounter),e.busOnStatus!==0&&n.uint32(96).int32(e.busOnStatus),e.errorStatus!==0&&n.uint32(104).int32(e.errorStatus),e.overrunStatus!==0&&n.uint32(112).int32(e.overrunStatus),e.busLoad!==0&&n.uint32(120).int32(e.busLoad),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ge();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.rxMessageCounter=r.int32();continue}case 2:{if(i!==16)break;a.rxMessagesPerSecond=r.int32();continue}case 3:{if(i!==24)break;a.txMessageCounter=r.int32();continue}case 4:{if(i!==32)break;a.txMessagesPerSecond=r.int32();continue}case 5:{if(i!==40)break;a.errorFrameCounter=r.int32();continue}case 6:{if(i!==48)break;a.errorFramesPerSecond=r.int32();continue}case 7:{if(i!==56)break;a.overrunCounter=r.int32();continue}case 8:{if(i!==64)break;a.overrunsPerSecond=r.int32();continue}case 9:{if(i!==72)break;a.rxErrorCounter=r.int32();continue}case 10:{if(i!==80)break;a.txErrorCounter=r.int32();continue}case 11:{if(i!==88)break;a.overrunErrorCounter=r.int32();continue}case 12:{if(i!==96)break;a.busOnStatus=r.int32();continue}case 13:{if(i!==104)break;a.errorStatus=r.int32();continue}case 14:{if(i!==112)break;a.overrunStatus=r.int32();continue}case 15:{if(i!==120)break;a.busLoad=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{rxMessageCounter:d(e.rxMessageCounter)?globalThis.Number(e.rxMessageCounter):0,rxMessagesPerSecond:d(e.rxMessagesPerSecond)?globalThis.Number(e.rxMessagesPerSecond):0,txMessageCounter:d(e.txMessageCounter)?globalThis.Number(e.txMessageCounter):0,txMessagesPerSecond:d(e.txMessagesPerSecond)?globalThis.Number(e.txMessagesPerSecond):0,errorFrameCounter:d(e.errorFrameCounter)?globalThis.Number(e.errorFrameCounter):0,errorFramesPerSecond:d(e.errorFramesPerSecond)?globalThis.Number(e.errorFramesPerSecond):0,overrunCounter:d(e.overrunCounter)?globalThis.Number(e.overrunCounter):0,overrunsPerSecond:d(e.overrunsPerSecond)?globalThis.Number(e.overrunsPerSecond):0,rxErrorCounter:d(e.rxErrorCounter)?globalThis.Number(e.rxErrorCounter):0,txErrorCounter:d(e.txErrorCounter)?globalThis.Number(e.txErrorCounter):0,overrunErrorCounter:d(e.overrunErrorCounter)?globalThis.Number(e.overrunErrorCounter):0,busOnStatus:d(e.busOnStatus)?A(e.busOnStatus):0,errorStatus:d(e.errorStatus)?A(e.errorStatus):0,overrunStatus:d(e.overrunStatus)?A(e.overrunStatus):0,busLoad:d(e.busLoad)?globalThis.Number(e.busLoad):0}},toJSON(e){const n={};return e.rxMessageCounter!==0&&(n.rxMessageCounter=Math.round(e.rxMessageCounter)),e.rxMessagesPerSecond!==0&&(n.rxMessagesPerSecond=Math.round(e.rxMessagesPerSecond)),e.txMessageCounter!==0&&(n.txMessageCounter=Math.round(e.txMessageCounter)),e.txMessagesPerSecond!==0&&(n.txMessagesPerSecond=Math.round(e.txMessagesPerSecond)),e.errorFrameCounter!==0&&(n.errorFrameCounter=Math.round(e.errorFrameCounter)),e.errorFramesPerSecond!==0&&(n.errorFramesPerSecond=Math.round(e.errorFramesPerSecond)),e.overrunCounter!==0&&(n.overrunCounter=Math.round(e.overrunCounter)),e.overrunsPerSecond!==0&&(n.overrunsPerSecond=Math.round(e.overrunsPerSecond)),e.rxErrorCounter!==0&&(n.rxErrorCounter=Math.round(e.rxErrorCounter)),e.txErrorCounter!==0&&(n.txErrorCounter=Math.round(e.txErrorCounter)),e.overrunErrorCounter!==0&&(n.overrunErrorCounter=Math.round(e.overrunErrorCounter)),e.busOnStatus!==0&&(n.busOnStatus=g(e.busOnStatus)),e.errorStatus!==0&&(n.errorStatus=g(e.errorStatus)),e.overrunStatus!==0&&(n.overrunStatus=g(e.overrunStatus)),e.busLoad!==0&&(n.busLoad=Math.round(e.busLoad)),n},create(e){return E.fromPartial(e??{})},fromPartial(e){const n=ge();return n.rxMessageCounter=e.rxMessageCounter??0,n.rxMessagesPerSecond=e.rxMessagesPerSecond??0,n.txMessageCounter=e.txMessageCounter??0,n.txMessagesPerSecond=e.txMessagesPerSecond??0,n.errorFrameCounter=e.errorFrameCounter??0,n.errorFramesPerSecond=e.errorFramesPerSecond??0,n.overrunCounter=e.overrunCounter??0,n.overrunsPerSecond=e.overrunsPerSecond??0,n.rxErrorCounter=e.rxErrorCounter??0,n.txErrorCounter=e.txErrorCounter??0,n.overrunErrorCounter=e.overrunErrorCounter??0,n.busOnStatus=e.busOnStatus??0,n.errorStatus=e.errorStatus??0,n.overrunStatus=e.overrunStatus??0,n.busLoad=e.busLoad??0,n}};function he(){return{errorCounter:0,lastExecutionTime:f.ZERO,minExecutionTime:f.ZERO,maxExecutionTime:f.ZERO}}const P={encode(e,n=new t.BinaryWriter){return e.errorCounter!==0&&n.uint32(8).int32(e.errorCounter),e.lastExecutionTime.equals(f.ZERO)||n.uint32(16).int64(e.lastExecutionTime.toString()),e.minExecutionTime.equals(f.ZERO)||n.uint32(24).int64(e.minExecutionTime.toString()),e.maxExecutionTime.equals(f.ZERO)||n.uint32(32).int64(e.maxExecutionTime.toString()),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=he();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.errorCounter=r.int32();continue}case 2:{if(i!==16)break;a.lastExecutionTime=f.fromString(r.int64().toString());continue}case 3:{if(i!==24)break;a.minExecutionTime=f.fromString(r.int64().toString());continue}case 4:{if(i!==32)break;a.maxExecutionTime=f.fromString(r.int64().toString());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{errorCounter:d(e.errorCounter)?globalThis.Number(e.errorCounter):0,lastExecutionTime:d(e.lastExecutionTime)?f.fromValue(e.lastExecutionTime):f.ZERO,minExecutionTime:d(e.minExecutionTime)?f.fromValue(e.minExecutionTime):f.ZERO,maxExecutionTime:d(e.maxExecutionTime)?f.fromValue(e.maxExecutionTime):f.ZERO}},toJSON(e){const n={};return e.errorCounter!==0&&(n.errorCounter=Math.round(e.errorCounter)),e.lastExecutionTime.equals(f.ZERO)||(n.lastExecutionTime=(e.lastExecutionTime||f.ZERO).toString()),e.minExecutionTime.equals(f.ZERO)||(n.minExecutionTime=(e.minExecutionTime||f.ZERO).toString()),e.maxExecutionTime.equals(f.ZERO)||(n.maxExecutionTime=(e.maxExecutionTime||f.ZERO).toString()),n},create(e){return P.fromPartial(e??{})},fromPartial(e){const n=he();return n.errorCounter=e.errorCounter??0,n.lastExecutionTime=e.lastExecutionTime!==void 0&&e.lastExecutionTime!==null?f.fromValue(e.lastExecutionTime):f.ZERO,n.minExecutionTime=e.minExecutionTime!==void 0&&e.minExecutionTime!==null?f.fromValue(e.minExecutionTime):f.ZERO,n.maxExecutionTime=e.maxExecutionTime!==void 0&&e.maxExecutionTime!==null?f.fromValue(e.maxExecutionTime):f.ZERO,n}};function Ie(){return{state:0}}const m={encode(e,n=new t.BinaryWriter){return e.state!==0&&n.uint32(8).int32(e.state),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Ie();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.state=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{state:d(e.state)?Dn(e.state):0}},toJSON(e){const n={};return e.state!==0&&(n.state=Mn(e.state)),n},create(e){return m.fromPartial(e??{})},fromPartial(e){const n=Ie();return n.state=e.state??0,n}};function ke(){return{state:0}}const O={encode(e,n=new t.BinaryWriter){return e.state!==0&&n.uint32(8).int32(e.state),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ke();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==8)break;a.state=r.int32();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{state:d(e.state)?Un(e.state):0}},toJSON(e){const n={};return e.state!==0&&(n.state=qn(e.state)),n},create(e){return O.fromPartial(e??{})},fromPartial(e){const n=ke();return n.state=e.state??0,n}};function _e(){return{errors:""}}const T={encode(e,n=new t.BinaryWriter){return e.errors!==""&&n.uint32(10).string(e.errors),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=_e();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.errors=r.string();continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{errors:d(e.errors)?globalThis.String(e.errors):""}},toJSON(e){const n={};return e.errors!==""&&(n.errors=e.errors),n},create(e){return T.fromPartial(e??{})},fromPartial(e){const n=_e();return n.errors=e.errors??"",n}};function ye(){return{nodeId:"",nodeName:"",streamId:"",busStatus:void 0,dataProcessingStatus:void 0,logReplayStatus:void 0,loggerStatus:void 0,errorStatus:void 0}}const R={encode(e,n=new t.BinaryWriter){return e.nodeId!==""&&n.uint32(10).string(e.nodeId),e.nodeName!==""&&n.uint32(18).string(e.nodeName),e.streamId!==""&&n.uint32(26).string(e.streamId),e.busStatus!==void 0&&E.encode(e.busStatus,n.uint32(34).fork()).join(),e.dataProcessingStatus!==void 0&&P.encode(e.dataProcessingStatus,n.uint32(42).fork()).join(),e.logReplayStatus!==void 0&&m.encode(e.logReplayStatus,n.uint32(50).fork()).join(),e.loggerStatus!==void 0&&O.encode(e.loggerStatus,n.uint32(58).fork()).join(),e.errorStatus!==void 0&&T.encode(e.errorStatus,n.uint32(66).fork()).join(),n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=ye();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.nodeId=r.string();continue}case 2:{if(i!==18)break;a.nodeName=r.string();continue}case 3:{if(i!==26)break;a.streamId=r.string();continue}case 4:{if(i!==34)break;a.busStatus=E.decode(r,r.uint32());continue}case 5:{if(i!==42)break;a.dataProcessingStatus=P.decode(r,r.uint32());continue}case 6:{if(i!==50)break;a.logReplayStatus=m.decode(r,r.uint32());continue}case 7:{if(i!==58)break;a.loggerStatus=O.decode(r,r.uint32());continue}case 8:{if(i!==66)break;a.errorStatus=T.decode(r,r.uint32());continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{nodeId:d(e.nodeId)?globalThis.String(e.nodeId):"",nodeName:d(e.nodeName)?globalThis.String(e.nodeName):"",streamId:d(e.streamId)?globalThis.String(e.streamId):"",busStatus:d(e.busStatus)?E.fromJSON(e.busStatus):void 0,dataProcessingStatus:d(e.dataProcessingStatus)?P.fromJSON(e.dataProcessingStatus):void 0,logReplayStatus:d(e.logReplayStatus)?m.fromJSON(e.logReplayStatus):void 0,loggerStatus:d(e.loggerStatus)?O.fromJSON(e.loggerStatus):void 0,errorStatus:d(e.errorStatus)?T.fromJSON(e.errorStatus):void 0}},toJSON(e){const n={};return e.nodeId!==""&&(n.nodeId=e.nodeId),e.nodeName!==""&&(n.nodeName=e.nodeName),e.streamId!==""&&(n.streamId=e.streamId),e.busStatus!==void 0&&(n.busStatus=E.toJSON(e.busStatus)),e.dataProcessingStatus!==void 0&&(n.dataProcessingStatus=P.toJSON(e.dataProcessingStatus)),e.logReplayStatus!==void 0&&(n.logReplayStatus=m.toJSON(e.logReplayStatus)),e.loggerStatus!==void 0&&(n.loggerStatus=O.toJSON(e.loggerStatus)),e.errorStatus!==void 0&&(n.errorStatus=T.toJSON(e.errorStatus)),n},create(e){return R.fromPartial(e??{})},fromPartial(e){const n=ye();return n.nodeId=e.nodeId??"",n.nodeName=e.nodeName??"",n.streamId=e.streamId??"",n.busStatus=e.busStatus!==void 0&&e.busStatus!==null?E.fromPartial(e.busStatus):void 0,n.dataProcessingStatus=e.dataProcessingStatus!==void 0&&e.dataProcessingStatus!==null?P.fromPartial(e.dataProcessingStatus):void 0,n.logReplayStatus=e.logReplayStatus!==void 0&&e.logReplayStatus!==null?m.fromPartial(e.logReplayStatus):void 0,n.loggerStatus=e.loggerStatus!==void 0&&e.loggerStatus!==null?O.fromPartial(e.loggerStatus):void 0,n.errorStatus=e.errorStatus!==void 0&&e.errorStatus!==null?T.fromPartial(e.errorStatus):void 0,n}};function Ce(){return{items:[]}}const wn={encode(e,n=new t.BinaryWriter){for(const r of e.items)R.encode(r,n.uint32(10).fork()).join();return n},decode(e,n){const r=e instanceof t.BinaryReader?e:new t.BinaryReader(e);let s=n===void 0?r.len:r.pos+n;const a=Ce();for(;r.pos<s;){const i=r.uint32();switch(i>>>3){case 1:{if(i!==10)break;a.items.push(R.decode(r,r.uint32()));continue}}if((i&7)===4||i===0)break;r.skip(i&7)}return a},fromJSON(e){return{items:globalThis.Array.isArray(e==null?void 0:e.items)?e.items.map(n=>R.fromJSON(n)):[]}},toJSON(e){var r;const n={};return(r=e.items)!=null&&r.length&&(n.items=e.items.map(s=>R.toJSON(s))),n},create(e){return wn.fromPartial(e??{})},fromPartial(e){var r;const n=Ce();return n.items=((r=e.items)==null?void 0:r.map(s=>R.fromPartial(s)))||[],n}};function d(e){return e!=null}exports.AboutInformation=Xe;exports.ActivateLicenseRequest=He;exports.AddAllConnectedCanChannelsRequest=en;exports.AddAllConnectedLinChannelsRequest=nn;exports.AddOrUpdateDataProcessorRequest=an;exports.AddOrUpdateSourceRequest=rn;exports.AddOrUpdateTargetRequest=on;exports.AppEvent=xe;exports.AppEventArgs=we;exports.BusStatus=E;exports.ClearLinMessageRequest=Pn;exports.ConnectNodesRequest=un;exports.DataProcessingStatus=P;exports.DisconnectNodesRequest=dn;exports.Empty=Le;exports.ErrorStatus=T;exports.FileType=Je;exports.GetChannelsFromLogFileRequest=hn;exports.GetChannelsFromLogFileResponse=In;exports.GetDataFramesBeforeTimestampRequest=xn;exports.GetDataProcessorResponse=sn;exports.GetFrameDefinitionsFromDatabaseFilesRequest=kn;exports.GetLicensesResponse=Ye;exports.GetLogFileFormatsRequest=An;exports.GetLogFileFormatsResponse=gn;exports.GetLogLevelResponse=Ue;exports.GetScheduleTablesFromDatabaseFilesRequest=_n;exports.GetScheduleTablesFromDatabaseFilesResponse=yn;exports.GetServiceExtensionInfoRequest=Ke;exports.GetServiceExtensionInfoResponse=Qe;exports.GetSignalDataFromMessageDataRequest=Cn;exports.GetSignalDataFromMessageDataResponse=Ln;exports.GetSourceResponse=tn;exports.GetTargetResponse=fn;exports.IdentifierRequest=cn;exports.IdentifiersRequest=ln;exports.InstallServiceExtensionRequest=We;exports.LicenseInformation=l;exports.Licenses=S;exports.LogLevel=Be;exports.LogMessage=p;exports.LogMessages=qe;exports.LogReplayState=vn;exports.LogReplayStatus=m;exports.LoggerState=Fn;exports.LoggerStatus=O;exports.MeasurementEvent=$e;exports.MeasurementEventArgs=Rn;exports.NodeStatus=R;exports.NodeStatuses=wn;exports.OnlineStatus=N;exports.RequestLinMessageRequest=Nn;exports.SendLinWakeupFrameRequest=Sn;exports.SendMessageRequest=pn;exports.ServiceExtensionType=ve;exports.SetLogLevelRequest=Fe;exports.SetMeasurementSetupRequest=je;exports.SetSignalDataToMessageDataRequest=Jn;exports.SetSignalDataToMessageDataResponse=Bn;exports.StartPeriodicTransmissionRequest=mn;exports.StartPeriodicTransmissionResponse=Tn;exports.StatusLevel=Vn;exports.SubscribeForDataRequest=Gn;exports.UninstallServiceExtensionRequest=Ze;exports.UpdateLinMessageRequest=En;exports.UpdatePeriodicTransmissionRequest=On;exports.appEventFromJSON=Ge;exports.appEventToJSON=Ve;exports.fileTypeFromJSON=Wn;exports.fileTypeToJSON=Zn;exports.logLevelFromJSON=h;exports.logLevelToJSON=I;exports.logReplayStateFromJSON=Dn;exports.logReplayStateToJSON=Mn;exports.loggerStateFromJSON=Un;exports.loggerStateToJSON=qn;exports.measurementEventFromJSON=ze;exports.measurementEventToJSON=be;exports.serviceExtensionTypeFromJSON=De;exports.serviceExtensionTypeToJSON=Me;exports.statusLevelFromJSON=A;exports.statusLevelToJSON=g;