@kvaser/canking-api 7.2.1 → 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.
- package/dist/ElectronAPIFake.js +1 -1
- package/dist/ElectronAPIFake.mjs +11 -10
- package/dist/controls/CanChannelSelectControl.d.ts +4 -4
- package/dist/controls/CanIdentifierControl.d.ts +78 -54
- package/dist/controls/CanKingDataProvider.d.ts +31 -2
- package/dist/controls/CheckboxControl.d.ts +2 -2
- package/dist/controls/ColumnItemControl.d.ts +1 -1
- package/dist/controls/ContextMenu.d.ts +2 -2
- package/dist/controls/DropdownButton.d.ts +3 -3
- package/dist/controls/DropdownPanel.d.ts +1 -1
- package/dist/controls/FormControlRow.d.ts +1 -1
- package/dist/controls/InlineEditor.d.ts +2 -2
- package/dist/controls/LinChannelSelectControl.d.ts +3 -3
- package/dist/controls/LinIdentifierControl.d.ts +76 -53
- package/dist/controls/LocalizedStrings.d.ts +1 -0
- package/dist/controls/NumberRangeControl.d.ts +11 -11
- package/dist/controls/RadioControl.d.ts +1 -1
- package/dist/controls/RadioGroupControl.d.ts +2 -2
- package/dist/controls/SectionControl.d.ts +2 -2
- package/dist/controls/SelectControl.d.ts +2 -2
- package/dist/controls/SelectSignalDialog.d.ts +2 -1
- package/dist/controls/SelectSignalsControl.d.ts +11 -0
- package/dist/controls/TableControl.d.ts +1 -1
- package/dist/controls/TextControl.d.ts +16 -6
- package/dist/controls/ToolbarControl.d.ts +2 -2
- package/dist/controls/ValidateableTextControl.d.ts +6 -6
- package/dist/controls/index.d.ts +2 -2
- package/dist/controls.js +1 -1
- package/dist/controls.mjs +2012 -1855
- package/dist/grpc.js +1 -1
- package/dist/grpc.mjs +125 -111
- package/dist/hooks/index.d.ts +37 -1
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +26 -20
- package/dist/icons/index.d.ts +3 -0
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +29 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +498 -313
- package/dist/measurement_settings.js +1 -1
- package/dist/measurement_settings.mjs +784 -684
- package/dist/models/DataBuffer.d.ts +18 -15
- package/dist/models/ElectronAPIFake.d.ts +2 -1
- package/dist/models.js +1 -1
- package/dist/models.mjs +206 -200
- package/dist/protos/app_params.d.ts +13 -0
- package/dist/protos/frame_params.d.ts +16 -0
- package/dist/protos/measurement_params.d.ts +17 -1
- package/dist/protos/measurement_service.d.ts +36 -8
- package/dist/protos/measurement_settings.d.ts +1 -0
- package/dist/status_params.js +1 -1
- package/dist/status_params.mjs +567 -410
- package/doc/assets/hierarchy.js +1 -1
- package/doc/assets/main.js +5 -5
- package/doc/assets/navigation.js +1 -1
- package/doc/assets/search.js +1 -1
- package/doc/assets/style.css +254 -231
- package/doc/enums/models.AccessMode.html +9 -9
- package/doc/enums/models.AppEvent.html +6 -6
- package/doc/enums/models.CanChannelCap.html +44 -44
- package/doc/enums/models.CanFrameFlag.html +27 -27
- package/doc/enums/models.CanMessageFilterType.html +6 -6
- package/doc/enums/models.CanMode.html +7 -7
- package/doc/enums/models.DeviceEvent.html +6 -6
- package/doc/enums/models.FileConflictAction.html +7 -7
- package/doc/enums/models.FileType.html +7 -7
- package/doc/enums/models.LinFrameFlag.html +12 -12
- package/doc/enums/models.LogFileFormat.html +46 -46
- package/doc/enums/models.LogLevel.html +17 -17
- package/doc/enums/models.LogReplayState.html +6 -6
- package/doc/enums/models.LoggerState.html +7 -7
- package/doc/enums/models.MeasurementEvent.html +12 -12
- package/doc/enums/models.Protocols.html +9 -9
- package/doc/enums/models.ServiceExtensionType.html +8 -0
- package/doc/enums/models.SignalEncoding.html +5 -5
- package/doc/enums/models.SignalType.html +12 -12
- package/doc/enums/models.SignalValueTriggerOperator.html +13 -13
- package/doc/enums/models.StatusLevel.html +7 -7
- package/doc/enums/models.TriggerOperator.html +6 -6
- package/doc/functions/controls.CanChannelSelectControl.html +2 -2
- package/doc/functions/controls.CanIdentifierControl.html +2 -2
- package/doc/functions/controls.CanIdentifierFrameControl.html +2 -2
- package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -2
- package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -2
- package/doc/functions/controls.CanKingDataProvider.html +5 -5
- package/doc/functions/controls.CheckboxControl.html +2 -2
- package/doc/functions/controls.ColumnItemControl.html +2 -2
- package/doc/functions/controls.ContextMenu.html +2 -2
- package/doc/functions/controls.DropdownButton.html +2 -2
- package/doc/functions/controls.DropdownButtonTextItems.html +2 -2
- package/doc/functions/controls.DropdownPanel.html +2 -2
- package/doc/functions/controls.FormControlRow.html +2 -2
- package/doc/functions/controls.InlineEditor.html +2 -2
- package/doc/functions/controls.LinChannelSelectControl.html +2 -2
- package/doc/functions/controls.LinIdentifierControl.html +2 -2
- package/doc/functions/controls.LinIdentifierFrameControl.html +2 -2
- package/doc/functions/controls.LinIdentifierGeneratorControl.html +2 -2
- package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +2 -2
- package/doc/functions/controls.NumberRangeControl.html +2 -2
- package/doc/functions/controls.RadioControl.html +2 -2
- package/doc/functions/controls.RadioGroupControl.html +2 -2
- package/doc/functions/controls.SectionControl.html +2 -2
- package/doc/functions/controls.SelectControl.html +2 -2
- package/doc/functions/controls.SelectMessageDialog.html +2 -2
- package/doc/functions/controls.SelectSignalDialog.html +2 -2
- package/doc/functions/controls.TableControl.html +3 -3
- package/doc/functions/controls.TextControl.html +2 -2
- package/doc/functions/controls.ToolbarControl.html +2 -2
- package/doc/functions/controls.ValidateableTextControl.html +2 -2
- package/doc/functions/controls.useColumnItem.html +3 -3
- package/doc/functions/controls.useColumnItems.html +3 -3
- package/doc/functions/controls.useMessageDatabases.html +2 -2
- package/doc/functions/hooks.useDevices.html +3 -3
- package/doc/functions/hooks.useFixedPositionModeMeasurementData.html +4 -0
- package/doc/functions/hooks.useIsOnline.html +3 -3
- package/doc/functions/hooks.useLanguage.html +3 -3
- package/doc/functions/hooks.useLocalizedStrings.html +3 -3
- package/doc/functions/hooks.useLogMessages.html +3 -3
- package/doc/functions/hooks.useMaxDataBytes.html +2 -2
- package/doc/functions/hooks.useMeasurementSetup.html +3 -3
- package/doc/functions/hooks.useMeasurementStatus.html +3 -3
- package/doc/functions/hooks.useMessageData.html +4 -0
- package/doc/functions/hooks.useMessageLogFileFormats.html +3 -3
- package/doc/functions/hooks.useNewMeasurementData.html +4 -3
- package/doc/functions/hooks.useNodeStatus.html +3 -3
- package/doc/functions/hooks.useNumericRadix.html +3 -3
- package/doc/functions/hooks.useOnlineStatus.html +3 -3
- package/doc/functions/hooks.useOverallStatusLevel.html +3 -3
- package/doc/functions/hooks.useProjectData.html +5 -5
- package/doc/functions/hooks.useRecentProjectFiles.html +2 -2
- package/doc/functions/hooks.useRunningPeriodicTransmissions.html +3 -3
- package/doc/functions/hooks.useScrollModeMeasurementData.html +4 -0
- package/doc/functions/hooks.useSessionData.html +5 -5
- package/doc/functions/hooks.useSignalData.html +4 -0
- package/doc/functions/hooks.useSignalLogFileFormats.html +2 -2
- package/doc/functions/hooks.useUserSettings.html +3 -3
- package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -2
- package/doc/functions/ipc.addDataProcessor.html +3 -3
- package/doc/functions/ipc.addSource.html +3 -3
- package/doc/functions/ipc.addTarget.html +3 -3
- package/doc/functions/ipc.clearLinMessage.html +3 -3
- package/doc/functions/ipc.connectNodes.html +3 -3
- package/doc/functions/ipc.deleteDataProcessor.html +3 -3
- package/doc/functions/ipc.deleteSource.html +3 -3
- package/doc/functions/ipc.deleteTarget.html +3 -3
- package/doc/functions/ipc.disableNode.html +3 -3
- package/doc/functions/ipc.disconnectNodes.html +3 -3
- package/doc/functions/ipc.enableNode.html +3 -3
- package/doc/functions/ipc.getFrameDefinitions.html +3 -3
- package/doc/functions/ipc.getLogger.html +3 -3
- package/doc/functions/ipc.getMessageLogFileFormats.html +3 -3
- package/doc/functions/ipc.getSignalLogFileFormats.html +3 -3
- package/doc/functions/ipc.requestLinMessage.html +3 -3
- package/doc/functions/ipc.sendCanMessage.html +3 -3
- package/doc/functions/ipc.sendMessage.html +3 -3
- package/doc/functions/ipc.showMessageBox.html +3 -3
- package/doc/functions/ipc.showQuestionBox.html +3 -3
- package/doc/functions/ipc.startLogReplay.html +3 -3
- package/doc/functions/ipc.startMeasurement.html +2 -2
- package/doc/functions/ipc.startPeriodicTransmission.html +3 -3
- package/doc/functions/ipc.stopLogReplay.html +3 -3
- package/doc/functions/ipc.stopMeasurement.html +2 -2
- package/doc/functions/ipc.stopPeriodicTransmission.html +3 -3
- package/doc/functions/ipc.updateDataProcessor.html +3 -3
- package/doc/functions/ipc.updateLinMessage.html +3 -3
- package/doc/functions/ipc.updatePeriodicTransmission.html +3 -3
- package/doc/functions/ipc.updateSource.html +3 -3
- package/doc/functions/ipc.updateTarget.html +3 -3
- package/doc/hierarchy.html +1 -1
- package/doc/index.html +6 -6
- package/doc/interfaces/controls.ButtonGroupProps.html +10 -10
- package/doc/interfaces/controls.ButtonProps.html +22 -22
- package/doc/interfaces/controls.CanChannelSelectControlProps.html +20 -20
- package/doc/interfaces/controls.CanIdentifierControlProps.html +45 -37
- package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +31 -33
- package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +39 -33
- package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +31 -25
- package/doc/interfaces/controls.CheckboxControlProps.html +17 -17
- package/doc/interfaces/controls.ContextMenuProps.html +9 -9
- package/doc/interfaces/controls.DropdownButtonChildrenProps.html +4 -4
- package/doc/interfaces/controls.DropdownButtonProps.html +20 -20
- package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +9 -9
- package/doc/interfaces/controls.DropdownPanelProps.html +20 -20
- package/doc/interfaces/controls.FormControlRowProps.html +8 -8
- package/doc/interfaces/controls.ILocalizedStrings.html +2 -3
- package/doc/interfaces/controls.IMessageDatabase.html +2 -4
- package/doc/interfaces/controls.InlineEditorProps.html +13 -13
- package/doc/interfaces/controls.LabelProps.html +6 -6
- package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -20
- package/doc/interfaces/controls.LinIdentifierControlProps.html +42 -35
- package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +31 -33
- package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +37 -31
- package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +31 -25
- package/doc/interfaces/controls.NumberRangeControlProps.html +38 -38
- package/doc/interfaces/controls.RadioControlProps.html +14 -14
- package/doc/interfaces/controls.RadioGroupControlProps.html +9 -9
- package/doc/interfaces/controls.SectionControlProps.html +17 -17
- package/doc/interfaces/controls.SelectControlProps.html +31 -31
- package/doc/interfaces/controls.SelectMessageDialogProps.html +2 -8
- package/doc/interfaces/controls.SelectSignalDialogProps.html +2 -12
- package/doc/interfaces/controls.TableColumn.html +12 -12
- package/doc/interfaces/controls.TableControlProps.html +30 -30
- package/doc/interfaces/controls.TextControlProps.html +41 -41
- package/doc/interfaces/controls.ToggleButtonGroupProps.html +17 -17
- package/doc/interfaces/controls.ToggleButtonProps.html +14 -14
- package/doc/interfaces/controls.ToolbarControlProps.html +18 -18
- package/doc/interfaces/controls.ValidateableTextControlProps.html +54 -54
- package/doc/interfaces/controls.toolbarItem.html +12 -12
- package/doc/interfaces/hooks.ISignalData.html +2 -0
- package/doc/interfaces/ipc.ILogger.html +2 -8
- package/doc/interfaces/models.AboutInformation.html +8 -8
- package/doc/interfaces/models.ActivateLicenseRequest.html +8 -8
- package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +2 -4
- package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +2 -4
- package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +8 -10
- package/doc/interfaces/models.AddOrUpdateSourceRequest.html +4 -6
- package/doc/interfaces/models.AddOrUpdateTargetRequest.html +4 -6
- package/doc/interfaces/models.ApiPreferences.html +10 -10
- package/doc/interfaces/models.AppEventArgs.html +6 -6
- package/doc/interfaces/models.BaseNodeProperties.html +2 -8
- package/doc/interfaces/models.BusStatus.html +2 -17
- package/doc/interfaces/models.CanBusParamLimits.html +2 -7
- package/doc/interfaces/models.CanBusParams.html +2 -8
- package/doc/interfaces/models.CanBusSpeedInfo.html +14 -14
- package/doc/interfaces/models.CanChannelCapacity.html +4 -7
- package/doc/interfaces/models.CanChannelConfiguration.html +16 -16
- package/doc/interfaces/models.CanFDBusSpeedCombination.html +2 -4
- package/doc/interfaces/models.CanFDBusSpeedInfo.html +10 -10
- package/doc/interfaces/models.CanFrameFlags.html +2 -3
- package/doc/interfaces/models.CanMessageFilterSettings.html +2 -5
- package/doc/interfaces/models.Channel.html +2 -7
- package/doc/interfaces/models.ChannelSettings.html +20 -20
- package/doc/interfaces/models.ClearLinMessageRequest.html +6 -7
- package/doc/interfaces/models.ConnectNodesRequest.html +2 -5
- package/doc/interfaces/models.DataProcessingStatus.html +2 -6
- package/doc/interfaces/models.DataProcessorNodeProperties.html +2 -8
- package/doc/interfaces/models.DatabaseFiles.html +6 -6
- package/doc/interfaces/models.DatabasesSettings.html +2 -3
- package/doc/interfaces/models.Device.html +2 -9
- package/doc/interfaces/models.DeviceEventArgs.html +2 -4
- package/doc/interfaces/models.DisconnectNodesRequest.html +2 -5
- package/doc/interfaces/models.Empty.html +2 -2
- package/doc/interfaces/models.ErrorStatus.html +4 -4
- package/doc/interfaces/models.FixedPosFrameIdentifier.html +14 -0
- package/doc/interfaces/models.Frame.html +30 -30
- package/doc/interfaces/models.FrameDefinition.html +14 -14
- package/doc/interfaces/models.FramePropertyValue.html +2 -4
- package/doc/interfaces/models.FrameReceivedTrigger.html +6 -6
- package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +2 -7
- package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +6 -6
- package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +2 -6
- package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +4 -4
- package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +4 -5
- package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +4 -4
- package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +2 -5
- package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +4 -4
- package/doc/interfaces/models.GetDataFramesBeforeTimestampRequest.html +6 -0
- package/doc/interfaces/models.GetDataProcessorResponse.html +2 -3
- package/doc/interfaces/models.GetDevicesRequest.html +2 -4
- package/doc/interfaces/models.GetDevicesResponse.html +2 -3
- package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +4 -5
- package/doc/interfaces/models.GetLicensesResponse.html +4 -4
- package/doc/interfaces/models.GetLogFileFormatsRequest.html +8 -9
- package/doc/interfaces/models.GetLogFileFormatsResponse.html +10 -10
- package/doc/interfaces/models.GetLogLevelResponse.html +4 -4
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +4 -5
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +4 -4
- package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +6 -6
- package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +16 -14
- package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +6 -7
- package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +4 -4
- package/doc/interfaces/models.GetSourceResponse.html +2 -3
- package/doc/interfaces/models.GetTargetResponse.html +2 -3
- package/doc/interfaces/models.ILogFileFormat.html +2 -6
- package/doc/interfaces/models.IProject.html +2 -6
- package/doc/interfaces/models.IUserSettings.html +2 -17
- package/doc/interfaces/models.IWorkspaceComponentPaneData.html +2 -4
- package/doc/interfaces/models.IWorkspaceContainerPaneData.html +2 -5
- package/doc/interfaces/models.IWorkspaceData.html +2 -5
- package/doc/interfaces/models.IWorkspacePaneData.html +2 -5
- package/doc/interfaces/models.IdentifierRequest.html +2 -4
- package/doc/interfaces/models.IdentifiersRequest.html +2 -4
- package/doc/interfaces/models.InstallServiceExtensionRequest.html +8 -8
- package/doc/interfaces/models.InterpreterSettings.html +4 -4
- package/doc/interfaces/models.J1939InterpreterSettings.html +2 -2
- package/doc/interfaces/models.LicenseInformation.html +18 -18
- package/doc/interfaces/models.Licenses.html +4 -4
- package/doc/interfaces/models.LinChannelConfiguration.html +14 -14
- package/doc/interfaces/models.LinFrameFlags.html +2 -3
- package/doc/interfaces/models.LogMessage.html +12 -12
- package/doc/interfaces/models.LogMessages.html +4 -4
- package/doc/interfaces/models.LogReplaySettings.html +26 -26
- package/doc/interfaces/models.LogReplayStatus.html +2 -3
- package/doc/interfaces/models.LoggerStatus.html +2 -3
- package/doc/interfaces/models.MeasurementEventArgs.html +2 -6
- package/doc/interfaces/models.MeasurementSetup.html +2 -6
- package/doc/interfaces/models.MessageLoggerSettings.html +44 -44
- package/doc/interfaces/models.NodeStatus.html +18 -18
- package/doc/interfaces/models.NodeStatuses.html +2 -3
- package/doc/interfaces/models.OnlineStatus.html +2 -3
- package/doc/interfaces/models.PeriodicTransmissionSettings.html +36 -36
- package/doc/interfaces/models.RequestLinMessageRequest.html +6 -7
- package/doc/interfaces/models.ScheduleTable.html +8 -8
- package/doc/interfaces/models.ScheduleTableEntry.html +6 -6
- package/doc/interfaces/models.SendLinWakeupFrameRequest.html +8 -9
- package/doc/interfaces/models.SendMessageRequest.html +2 -5
- package/doc/interfaces/models.ServiceExtensionSettings.html +2 -4
- package/doc/interfaces/models.SetLogLevelRequest.html +6 -6
- package/doc/interfaces/models.SetMeasurementSetupRequest.html +2 -4
- package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +8 -9
- package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +6 -6
- package/doc/interfaces/models.SignalDefinition.html +2 -18
- package/doc/interfaces/models.SignalFilterSettings.html +4 -4
- package/doc/interfaces/models.SignalLoggerSettings.html +56 -56
- package/doc/interfaces/models.SignalValue.html +2 -7
- package/doc/interfaces/models.SignalValueTrigger.html +16 -16
- package/doc/interfaces/models.SourceNodeProperties.html +2 -7
- package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +4 -5
- package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +2 -3
- package/doc/interfaces/models.SubscribeForDataRequest.html +4 -0
- package/doc/interfaces/models.TargetNodeProperties.html +2 -6
- package/doc/interfaces/models.TriggerSettings.html +8 -8
- package/doc/interfaces/models.UninstallServiceExtensionRequest.html +6 -6
- package/doc/interfaces/models.UpdateLinMessageRequest.html +6 -7
- package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +6 -7
- package/doc/interfaces/models.WriteFrame.html +10 -10
- package/doc/modules/controls.html +3 -3
- package/doc/modules/hooks.html +3 -3
- package/doc/modules/icons.html +2 -2
- package/doc/modules/ipc.html +2 -2
- package/doc/modules/models.html +2 -2
- package/doc/modules.html +1 -1
- package/doc/types/controls.ContextMenuOption.html +10 -6
- package/doc/types/controls.SelectOption.html +6 -4
- package/doc/types/controls.StringsMap.html +2 -2
- package/doc/types/controls.canIdentifierGeneratorType.html +2 -2
- package/doc/types/controls.canIdentifierType.html +2 -2
- package/doc/types/controls.linIdentifierGeneratorType.html +2 -2
- package/doc/variables/controls.FillBox.html +3 -0
- package/doc/variables/controls.OneLineButton.html +2 -0
- package/doc/variables/controls.SizedBox.html +3 -0
- package/doc/variables/controls.TabsPanel.html +2 -0
- package/doc/variables/models.defaultUserSettings.html +2 -2
- package/doc_md/README.md +189 -0
- package/doc_md/assets/favicon.png +0 -0
- package/doc_md/controls/README.md +156 -0
- package/doc_md/controls/functions/CanChannelSelectControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierFrameControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierGeneratorControl.md +25 -0
- package/doc_md/controls/functions/CanIdentifierGeneratorSettingsControl.md +26 -0
- package/doc_md/controls/functions/CanKingDataProvider.md +47 -0
- package/doc_md/controls/functions/CheckboxControl.md +25 -0
- package/doc_md/controls/functions/ColumnItemControl.md +21 -0
- package/doc_md/controls/functions/ContextMenu.md +25 -0
- package/doc_md/controls/functions/DropdownButton.md +25 -0
- package/doc_md/controls/functions/DropdownButtonTextItems.md +25 -0
- package/doc_md/controls/functions/DropdownPanel.md +25 -0
- package/doc_md/controls/functions/FormControlRow.md +25 -0
- package/doc_md/controls/functions/InlineEditor.md +25 -0
- package/doc_md/controls/functions/LinChannelSelectControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierFrameControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierGeneratorControl.md +25 -0
- package/doc_md/controls/functions/LinIdentifierGeneratorSettingsControl.md +26 -0
- package/doc_md/controls/functions/NumberRangeControl.md +25 -0
- package/doc_md/controls/functions/RadioControl.md +25 -0
- package/doc_md/controls/functions/RadioGroupControl.md +25 -0
- package/doc_md/controls/functions/SectionControl.md +25 -0
- package/doc_md/controls/functions/SelectControl.md +25 -0
- package/doc_md/controls/functions/SelectMessageDialog.md +21 -0
- package/doc_md/controls/functions/SelectSignalDialog.md +21 -0
- package/doc_md/controls/functions/TableControl.md +31 -0
- package/doc_md/controls/functions/TextControl.md +25 -0
- package/doc_md/controls/functions/ToolbarControl.md +25 -0
- package/doc_md/controls/functions/ValidateableTextControl.md +25 -0
- package/doc_md/controls/functions/useColumnItem.md +17 -0
- package/doc_md/controls/functions/useColumnItems.md +25 -0
- package/doc_md/controls/functions/useMessageDatabases.md +21 -0
- package/doc_md/controls/interfaces/ButtonGroupProps.md +41 -0
- package/doc_md/controls/interfaces/ButtonProps.md +93 -0
- package/doc_md/controls/interfaces/CanChannelSelectControlProps.md +103 -0
- package/doc_md/controls/interfaces/CanIdentifierControlProps.md +214 -0
- package/doc_md/controls/interfaces/CanIdentifierFrameControlProps.md +143 -0
- package/doc_md/controls/interfaces/CanIdentifierGeneratorControlProps.md +210 -0
- package/doc_md/controls/interfaces/CanIdentifierGeneratorSettingsControlProps.md +153 -0
- package/doc_md/controls/interfaces/CheckboxControlProps.md +77 -0
- package/doc_md/controls/interfaces/ContextMenuProps.md +45 -0
- package/doc_md/controls/interfaces/DropdownButtonChildrenProps.md +25 -0
- package/doc_md/controls/interfaces/DropdownButtonProps.md +81 -0
- package/doc_md/controls/interfaces/DropdownButtonTextItemsProps.md +70 -0
- package/doc_md/controls/interfaces/DropdownPanelProps.md +81 -0
- package/doc_md/controls/interfaces/FormControlRowProps.md +33 -0
- package/doc_md/controls/interfaces/ILocalizedStrings.md +9 -0
- package/doc_md/controls/interfaces/IMessageDatabase.md +9 -0
- package/doc_md/controls/interfaces/InlineEditorProps.md +61 -0
- package/doc_md/controls/interfaces/LabelProps.md +25 -0
- package/doc_md/controls/interfaces/LinChannelSelectControlProps.md +97 -0
- package/doc_md/controls/interfaces/LinIdentifierControlProps.md +194 -0
- package/doc_md/controls/interfaces/LinIdentifierFrameControlProps.md +143 -0
- package/doc_md/controls/interfaces/LinIdentifierGeneratorControlProps.md +198 -0
- package/doc_md/controls/interfaces/LinIdentifierGeneratorSettingsControlProps.md +153 -0
- package/doc_md/controls/interfaces/NumberRangeControlProps.md +253 -0
- package/doc_md/controls/interfaces/RadioControlProps.md +57 -0
- package/doc_md/controls/interfaces/RadioGroupControlProps.md +45 -0
- package/doc_md/controls/interfaces/SectionControlProps.md +77 -0
- package/doc_md/controls/interfaces/SelectControlProps.md +134 -0
- package/doc_md/controls/interfaces/SelectMessageDialogProps.md +9 -0
- package/doc_md/controls/interfaces/SelectSignalDialogProps.md +9 -0
- package/doc_md/controls/interfaces/TableColumn.md +65 -0
- package/doc_md/controls/interfaces/TableControlProps.md +157 -0
- package/doc_md/controls/interfaces/TextControlProps.md +177 -0
- package/doc_md/controls/interfaces/ToggleButtonGroupProps.md +77 -0
- package/doc_md/controls/interfaces/ToggleButtonProps.md +57 -0
- package/doc_md/controls/interfaces/ToolbarControlProps.md +73 -0
- package/doc_md/controls/interfaces/ValidateableTextControlProps.md +269 -0
- package/doc_md/controls/interfaces/toolbarItem.md +49 -0
- package/doc_md/controls/type-aliases/ContextMenuOption.md +43 -0
- package/doc_md/controls/type-aliases/SelectOption.md +27 -0
- package/doc_md/controls/type-aliases/StringsMap.md +15 -0
- package/doc_md/controls/type-aliases/canIdentifierGeneratorType.md +11 -0
- package/doc_md/controls/type-aliases/canIdentifierType.md +11 -0
- package/doc_md/controls/type-aliases/linIdentifierGeneratorType.md +11 -0
- package/doc_md/controls/variables/FillBox.md +12 -0
- package/doc_md/controls/variables/OneLineButton.md +11 -0
- package/doc_md/controls/variables/SizedBox.md +12 -0
- package/doc_md/controls/variables/TabsPanel.md +11 -0
- package/doc_md/hooks/README.md +53 -0
- package/doc_md/hooks/functions/useDevices.md +17 -0
- package/doc_md/hooks/functions/useFixedPositionModeMeasurementData.md +25 -0
- package/doc_md/hooks/functions/useIsOnline.md +17 -0
- package/doc_md/hooks/functions/useLanguage.md +17 -0
- package/doc_md/hooks/functions/useLocalizedStrings.md +17 -0
- package/doc_md/hooks/functions/useLogMessages.md +17 -0
- package/doc_md/hooks/functions/useMaxDataBytes.md +15 -0
- package/doc_md/hooks/functions/useMeasurementSetup.md +17 -0
- package/doc_md/hooks/functions/useMeasurementStatus.md +17 -0
- package/doc_md/hooks/functions/useMessageData.md +25 -0
- package/doc_md/hooks/functions/useMessageLogFileFormats.md +23 -0
- package/doc_md/hooks/functions/useNewMeasurementData.md +35 -0
- package/doc_md/hooks/functions/useNodeStatus.md +23 -0
- package/doc_md/hooks/functions/useNumericRadix.md +17 -0
- package/doc_md/hooks/functions/useOnlineStatus.md +17 -0
- package/doc_md/hooks/functions/useOverallStatusLevel.md +17 -0
- package/doc_md/hooks/functions/useProjectData.md +49 -0
- package/doc_md/hooks/functions/useRecentProjectFiles.md +15 -0
- package/doc_md/hooks/functions/useRunningPeriodicTransmissions.md +17 -0
- package/doc_md/hooks/functions/useScrollModeMeasurementData.md +25 -0
- package/doc_md/hooks/functions/useSessionData.md +49 -0
- package/doc_md/hooks/functions/useSignalData.md +25 -0
- package/doc_md/hooks/functions/useSignalLogFileFormats.md +15 -0
- package/doc_md/hooks/functions/useUserSettings.md +17 -0
- package/doc_md/hooks/functions/useWorkspacePaneWithId.md +21 -0
- package/doc_md/hooks/interfaces/ISignalData.md +9 -0
- package/doc_md/icons/README.md +9 -0
- package/doc_md/ipc/README.md +47 -0
- package/doc_md/ipc/functions/addDataProcessor.md +35 -0
- package/doc_md/ipc/functions/addSource.md +23 -0
- package/doc_md/ipc/functions/addTarget.md +23 -0
- package/doc_md/ipc/functions/clearLinMessage.md +29 -0
- package/doc_md/ipc/functions/connectNodes.md +29 -0
- package/doc_md/ipc/functions/deleteDataProcessor.md +23 -0
- package/doc_md/ipc/functions/deleteSource.md +23 -0
- package/doc_md/ipc/functions/deleteTarget.md +23 -0
- package/doc_md/ipc/functions/disableNode.md +23 -0
- package/doc_md/ipc/functions/disconnectNodes.md +29 -0
- package/doc_md/ipc/functions/enableNode.md +23 -0
- package/doc_md/ipc/functions/getFrameDefinitions.md +26 -0
- package/doc_md/ipc/functions/getLogger.md +25 -0
- package/doc_md/ipc/functions/getMessageLogFileFormats.md +17 -0
- package/doc_md/ipc/functions/getSignalLogFileFormats.md +17 -0
- package/doc_md/ipc/functions/requestLinMessage.md +30 -0
- package/doc_md/ipc/functions/sendCanMessage.md +41 -0
- package/doc_md/ipc/functions/sendMessage.md +29 -0
- package/doc_md/ipc/functions/showMessageBox.md +29 -0
- package/doc_md/ipc/functions/showQuestionBox.md +51 -0
- package/doc_md/ipc/functions/startLogReplay.md +23 -0
- package/doc_md/ipc/functions/startMeasurement.md +15 -0
- package/doc_md/ipc/functions/startPeriodicTransmission.md +25 -0
- package/doc_md/ipc/functions/stopLogReplay.md +23 -0
- package/doc_md/ipc/functions/stopMeasurement.md +15 -0
- package/doc_md/ipc/functions/stopPeriodicTransmission.md +23 -0
- package/doc_md/ipc/functions/updateDataProcessor.md +23 -0
- package/doc_md/ipc/functions/updateLinMessage.md +29 -0
- package/doc_md/ipc/functions/updatePeriodicTransmission.md +29 -0
- package/doc_md/ipc/functions/updateSource.md +23 -0
- package/doc_md/ipc/functions/updateTarget.md +23 -0
- package/doc_md/ipc/interfaces/ILogger.md +9 -0
- package/doc_md/models/README.md +157 -0
- package/doc_md/models/enumerations/AccessMode.md +49 -0
- package/doc_md/models/enumerations/AppEvent.md +29 -0
- package/doc_md/models/enumerations/CanChannelCap.md +181 -0
- package/doc_md/models/enumerations/CanFrameFlag.md +159 -0
- package/doc_md/models/enumerations/CanMessageFilterType.md +33 -0
- package/doc_md/models/enumerations/CanMode.md +39 -0
- package/doc_md/models/enumerations/DeviceEvent.md +29 -0
- package/doc_md/models/enumerations/FileConflictAction.md +39 -0
- package/doc_md/models/enumerations/FileType.md +39 -0
- package/doc_md/models/enumerations/LinFrameFlag.md +69 -0
- package/doc_md/models/enumerations/LogFileFormat.md +191 -0
- package/doc_md/models/enumerations/LogLevel.md +76 -0
- package/doc_md/models/enumerations/LogReplayState.md +33 -0
- package/doc_md/models/enumerations/LoggerState.md +39 -0
- package/doc_md/models/enumerations/MeasurementEvent.md +53 -0
- package/doc_md/models/enumerations/Protocols.md +39 -0
- package/doc_md/models/enumerations/ServiceExtensionType.md +37 -0
- package/doc_md/models/enumerations/SignalEncoding.md +27 -0
- package/doc_md/models/enumerations/SignalType.md +53 -0
- package/doc_md/models/enumerations/SignalValueTriggerOperator.md +75 -0
- package/doc_md/models/enumerations/StatusLevel.md +39 -0
- package/doc_md/models/enumerations/TriggerOperator.md +33 -0
- package/doc_md/models/interfaces/AboutInformation.md +33 -0
- package/doc_md/models/interfaces/ActivateLicenseRequest.md +33 -0
- package/doc_md/models/interfaces/AddAllConnectedCanChannelsRequest.md +9 -0
- package/doc_md/models/interfaces/AddAllConnectedLinChannelsRequest.md +9 -0
- package/doc_md/models/interfaces/AddOrUpdateDataProcessorRequest.md +35 -0
- package/doc_md/models/interfaces/AddOrUpdateSourceRequest.md +19 -0
- package/doc_md/models/interfaces/AddOrUpdateTargetRequest.md +19 -0
- package/doc_md/models/interfaces/ApiPreferences.md +41 -0
- package/doc_md/models/interfaces/AppEventArgs.md +25 -0
- package/doc_md/models/interfaces/BaseNodeProperties.md +9 -0
- package/doc_md/models/interfaces/BusStatus.md +9 -0
- package/doc_md/models/interfaces/CanBusParamLimits.md +9 -0
- package/doc_md/models/interfaces/CanBusParams.md +30 -0
- package/doc_md/models/interfaces/CanBusSpeedInfo.md +57 -0
- package/doc_md/models/interfaces/CanChannelCapacity.md +17 -0
- package/doc_md/models/interfaces/CanChannelConfiguration.md +65 -0
- package/doc_md/models/interfaces/CanFDBusSpeedCombination.md +9 -0
- package/doc_md/models/interfaces/CanFDBusSpeedInfo.md +41 -0
- package/doc_md/models/interfaces/CanFrameFlags.md +10 -0
- package/doc_md/models/interfaces/CanMessageFilterSettings.md +9 -0
- package/doc_md/models/interfaces/Channel.md +9 -0
- package/doc_md/models/interfaces/ChannelSettings.md +81 -0
- package/doc_md/models/interfaces/ClearLinMessageRequest.md +25 -0
- package/doc_md/models/interfaces/ConnectNodesRequest.md +9 -0
- package/doc_md/models/interfaces/DataProcessingStatus.md +9 -0
- package/doc_md/models/interfaces/DataProcessorNodeProperties.md +9 -0
- package/doc_md/models/interfaces/DatabaseFiles.md +25 -0
- package/doc_md/models/interfaces/DatabasesSettings.md +9 -0
- package/doc_md/models/interfaces/Device.md +9 -0
- package/doc_md/models/interfaces/DeviceEventArgs.md +9 -0
- package/doc_md/models/interfaces/DisconnectNodesRequest.md +9 -0
- package/doc_md/models/interfaces/Empty.md +17 -0
- package/doc_md/models/interfaces/ErrorStatus.md +17 -0
- package/doc_md/models/interfaces/FixedPosFrameIdentifier.md +57 -0
- package/doc_md/models/interfaces/Frame.md +125 -0
- package/doc_md/models/interfaces/FrameDefinition.md +57 -0
- package/doc_md/models/interfaces/FramePropertyValue.md +9 -0
- package/doc_md/models/interfaces/FrameReceivedTrigger.md +25 -0
- package/doc_md/models/interfaces/GetCanChannelBusSpeedsRequest.md +9 -0
- package/doc_md/models/interfaces/GetCanChannelBusSpeedsResponse.md +25 -0
- package/doc_md/models/interfaces/GetCanFdBusSpeedsRequest.md +9 -0
- package/doc_md/models/interfaces/GetCanFdBusSpeedsResponse.md +17 -0
- package/doc_md/models/interfaces/GetChannelsFromLogFileRequest.md +17 -0
- package/doc_md/models/interfaces/GetChannelsFromLogFileResponse.md +17 -0
- package/doc_md/models/interfaces/GetClassicCanBusSpeedsRequest.md +9 -0
- package/doc_md/models/interfaces/GetClassicCanBusSpeedsResponse.md +17 -0
- package/doc_md/models/interfaces/GetDataFramesBeforeTimestampRequest.md +25 -0
- package/doc_md/models/interfaces/GetDataProcessorResponse.md +9 -0
- package/doc_md/models/interfaces/GetDevicesRequest.md +9 -0
- package/doc_md/models/interfaces/GetDevicesResponse.md +9 -0
- package/doc_md/models/interfaces/GetFrameDefinitionsFromDatabaseFilesRequest.md +17 -0
- package/doc_md/models/interfaces/GetLicensesResponse.md +17 -0
- package/doc_md/models/interfaces/GetLogFileFormatsRequest.md +33 -0
- package/doc_md/models/interfaces/GetLogFileFormatsResponse.md +41 -0
- package/doc_md/models/interfaces/GetLogLevelResponse.md +17 -0
- package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesRequest.md +17 -0
- package/doc_md/models/interfaces/GetScheduleTablesFromDatabaseFilesResponse.md +17 -0
- package/doc_md/models/interfaces/GetServiceExtensionInfoRequest.md +27 -0
- package/doc_md/models/interfaces/GetServiceExtensionInfoResponse.md +65 -0
- package/doc_md/models/interfaces/GetSignalDataFromMessageDataRequest.md +25 -0
- package/doc_md/models/interfaces/GetSignalDataFromMessageDataResponse.md +17 -0
- package/doc_md/models/interfaces/GetSourceResponse.md +9 -0
- package/doc_md/models/interfaces/GetTargetResponse.md +9 -0
- package/doc_md/models/interfaces/ILogFileFormat.md +9 -0
- package/doc_md/models/interfaces/IProject.md +9 -0
- package/doc_md/models/interfaces/IUserSettings.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceComponentPaneData.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceContainerPaneData.md +9 -0
- package/doc_md/models/interfaces/IWorkspaceData.md +9 -0
- package/doc_md/models/interfaces/IWorkspacePaneData.md +9 -0
- package/doc_md/models/interfaces/IdentifierRequest.md +10 -0
- package/doc_md/models/interfaces/IdentifiersRequest.md +10 -0
- package/doc_md/models/interfaces/InstallServiceExtensionRequest.md +33 -0
- package/doc_md/models/interfaces/InterpreterSettings.md +17 -0
- package/doc_md/models/interfaces/J1939InterpreterSettings.md +9 -0
- package/doc_md/models/interfaces/LicenseInformation.md +73 -0
- package/doc_md/models/interfaces/Licenses.md +17 -0
- package/doc_md/models/interfaces/LinChannelConfiguration.md +57 -0
- package/doc_md/models/interfaces/LinFrameFlags.md +10 -0
- package/doc_md/models/interfaces/LogMessage.md +49 -0
- package/doc_md/models/interfaces/LogMessages.md +17 -0
- package/doc_md/models/interfaces/LogReplaySettings.md +109 -0
- package/doc_md/models/interfaces/LogReplayStatus.md +9 -0
- package/doc_md/models/interfaces/LoggerStatus.md +9 -0
- package/doc_md/models/interfaces/MeasurementEventArgs.md +9 -0
- package/doc_md/models/interfaces/MeasurementSetup.md +9 -0
- package/doc_md/models/interfaces/MessageLoggerSettings.md +177 -0
- package/doc_md/models/interfaces/NodeStatus.md +73 -0
- package/doc_md/models/interfaces/NodeStatuses.md +9 -0
- package/doc_md/models/interfaces/OnlineStatus.md +9 -0
- package/doc_md/models/interfaces/PeriodicTransmissionSettings.md +145 -0
- package/doc_md/models/interfaces/RequestLinMessageRequest.md +25 -0
- package/doc_md/models/interfaces/ScheduleTable.md +33 -0
- package/doc_md/models/interfaces/ScheduleTableEntry.md +25 -0
- package/doc_md/models/interfaces/SendLinWakeupFrameRequest.md +33 -0
- package/doc_md/models/interfaces/SendMessageRequest.md +9 -0
- package/doc_md/models/interfaces/ServiceExtensionSettings.md +9 -0
- package/doc_md/models/interfaces/SetLogLevelRequest.md +25 -0
- package/doc_md/models/interfaces/SetMeasurementSetupRequest.md +9 -0
- package/doc_md/models/interfaces/SetSignalDataToMessageDataRequest.md +33 -0
- package/doc_md/models/interfaces/SetSignalDataToMessageDataResponse.md +26 -0
- package/doc_md/models/interfaces/SignalDefinition.md +9 -0
- package/doc_md/models/interfaces/SignalFilterSettings.md +17 -0
- package/doc_md/models/interfaces/SignalLoggerSettings.md +225 -0
- package/doc_md/models/interfaces/SignalValue.md +9 -0
- package/doc_md/models/interfaces/SignalValueTrigger.md +65 -0
- package/doc_md/models/interfaces/SourceNodeProperties.md +9 -0
- package/doc_md/models/interfaces/StartPeriodicTransmissionRequest.md +17 -0
- package/doc_md/models/interfaces/StartPeriodicTransmissionResponse.md +9 -0
- package/doc_md/models/interfaces/SubscribeForDataRequest.md +17 -0
- package/doc_md/models/interfaces/TargetNodeProperties.md +9 -0
- package/doc_md/models/interfaces/TriggerSettings.md +33 -0
- package/doc_md/models/interfaces/UninstallServiceExtensionRequest.md +25 -0
- package/doc_md/models/interfaces/UpdateLinMessageRequest.md +26 -0
- package/doc_md/models/interfaces/UpdatePeriodicTransmissionRequest.md +25 -0
- package/doc_md/models/interfaces/WriteFrame.md +41 -0
- package/doc_md/models/variables/defaultUserSettings.md +11 -0
- package/doc_md/modules.md +13 -0
- package/package.json +5 -4
- package/dist/controls/SelectSignalControl.d.ts +0 -11
- package/doc/classes/controls.LocalizedStrings.html +0 -4
- package/doc/classes/models.DataBuffer.html +0 -32
- package/doc/classes/models.DataBufferView.html +0 -20
- package/doc/classes/models.Point.html +0 -14
- package/doc/enums/models.DecimalChar.html +0 -5
- package/doc/enums/models.Separator.html +0 -5
- package/doc/enums/models.TimeReference.html +0 -5
- package/doc/functions/controls.FillBox.html +0 -33
- package/doc/functions/controls.OneLineButton.html +0 -32
- package/doc/functions/controls.SelectSignalControl.html +0 -1
- package/doc/functions/controls.SizedBox.html +0 -33
- package/doc/functions/controls.TabsPanel.html +0 -32
- package/doc/functions/icons.AddIcon.html +0 -4
- package/doc/functions/icons.ArrowDownIcon.html +0 -4
- package/doc/functions/icons.ArrowLeftIcon.html +0 -4
- package/doc/functions/icons.ArrowRightIcon.html +0 -4
- package/doc/functions/icons.ArrowUpIcon.html +0 -4
- package/doc/functions/icons.BusIsOffIcon.html +0 -4
- package/doc/functions/icons.BusIsOnIcon.html +0 -4
- package/doc/functions/icons.CloseIcon.html +0 -4
- package/doc/functions/icons.ColumnSettingsIcon.html +0 -4
- package/doc/functions/icons.CopyIcon.html +0 -4
- package/doc/functions/icons.DarkModeIcon.html +0 -4
- package/doc/functions/icons.DeleteIcon.html +0 -4
- package/doc/functions/icons.DisableIcon.html +0 -4
- package/doc/functions/icons.EditIcon.html +0 -4
- package/doc/functions/icons.EnableIcon.html +0 -4
- package/doc/functions/icons.FilterIcon.html +0 -4
- package/doc/functions/icons.FixedPositionIcon.html +0 -4
- package/doc/functions/icons.LeaveFullScreenIcon.html +0 -4
- package/doc/functions/icons.LightModeIcon.html +0 -4
- package/doc/functions/icons.LineArrowDownIcon.html +0 -4
- package/doc/functions/icons.LineArrowUpIcon.html +0 -4
- package/doc/functions/icons.MaximizeWindowIcon.html +0 -4
- package/doc/functions/icons.MeasurementSetupIcon.html +0 -4
- package/doc/functions/icons.MoreHorizIcon.html +0 -4
- package/doc/functions/icons.MoreVertIcon.html +0 -4
- package/doc/functions/icons.NewIcon.html +0 -4
- package/doc/functions/icons.OpenExternallyIcon.html +0 -4
- package/doc/functions/icons.OpenIcon.html +0 -4
- package/doc/functions/icons.PauseIcon.html +0 -4
- package/doc/functions/icons.PlayIcon.html +0 -4
- package/doc/functions/icons.PlaySolidIcon.html +0 -4
- package/doc/functions/icons.SaveIcon.html +0 -4
- package/doc/functions/icons.SelectAllIcon.html +0 -4
- package/doc/functions/icons.ServiceIconActive.html +0 -4
- package/doc/functions/icons.ServiceIconInactive.html +0 -4
- package/doc/functions/icons.SettingsIcon.html +0 -4
- package/doc/functions/icons.StopIcon.html +0 -4
- package/doc/functions/icons.StopSolidIcon.html +0 -4
- package/doc/functions/icons.ToolsPanelHiddenIcon.html +0 -4
- package/doc/functions/icons.ToolsPanelVisibleIcon.html +0 -4
- package/doc/functions/icons.UnmaximizeWindowIcon.html +0 -4
- package/doc/functions/icons.WorkspacesIcon.html +0 -4
- package/doc/functions/models.accessModeFromJSON.html +0 -1
- package/doc/functions/models.accessModeToJSON.html +0 -1
- package/doc/functions/models.appEventFromJSON.html +0 -1
- package/doc/functions/models.appEventToJSON.html +0 -1
- package/doc/functions/models.canChannelCapFromJSON.html +0 -1
- package/doc/functions/models.canChannelCapToJSON.html +0 -1
- package/doc/functions/models.canFrameFlagFromJSON.html +0 -1
- package/doc/functions/models.canFrameFlagToJSON.html +0 -1
- package/doc/functions/models.canMessageFilterTypeFromJSON.html +0 -1
- package/doc/functions/models.canMessageFilterTypeToJSON.html +0 -1
- package/doc/functions/models.canModeFromJSON.html +0 -1
- package/doc/functions/models.canModeToJSON.html +0 -1
- package/doc/functions/models.createElectronApiFake.html +0 -4
- package/doc/functions/models.decimalCharFromJSON.html +0 -1
- package/doc/functions/models.decimalCharToJSON.html +0 -1
- package/doc/functions/models.decimalToFixed.html +0 -1
- package/doc/functions/models.decimalToHex.html +0 -1
- package/doc/functions/models.deviceEventFromJSON.html +0 -1
- package/doc/functions/models.deviceEventToJSON.html +0 -1
- package/doc/functions/models.fileConflictActionFromJSON.html +0 -1
- package/doc/functions/models.fileConflictActionToJSON.html +0 -1
- package/doc/functions/models.fileTypeFromJSON.html +0 -1
- package/doc/functions/models.fileTypeToJSON.html +0 -1
- package/doc/functions/models.linFrameFlagFromJSON.html +0 -1
- package/doc/functions/models.linFrameFlagToJSON.html +0 -1
- package/doc/functions/models.logFileFormatFromJSON.html +0 -1
- package/doc/functions/models.logFileFormatToJSON.html +0 -1
- package/doc/functions/models.logLevelFromJSON.html +0 -1
- package/doc/functions/models.logLevelToJSON.html +0 -1
- package/doc/functions/models.logReplayStateFromJSON.html +0 -1
- package/doc/functions/models.logReplayStateToJSON.html +0 -1
- package/doc/functions/models.loggerStateFromJSON.html +0 -1
- package/doc/functions/models.loggerStateToJSON.html +0 -1
- package/doc/functions/models.longToNumber.html +0 -1
- package/doc/functions/models.measurementEventFromJSON.html +0 -1
- package/doc/functions/models.measurementEventToJSON.html +0 -1
- package/doc/functions/models.protocolsFromJSON.html +0 -1
- package/doc/functions/models.protocolsToJSON.html +0 -1
- package/doc/functions/models.separatorFromJSON.html +0 -1
- package/doc/functions/models.separatorToJSON.html +0 -1
- package/doc/functions/models.signalEncodingFromJSON.html +0 -1
- package/doc/functions/models.signalEncodingToJSON.html +0 -1
- package/doc/functions/models.signalTypeFromJSON.html +0 -1
- package/doc/functions/models.signalTypeToJSON.html +0 -1
- package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +0 -1
- package/doc/functions/models.signalValueTriggerOperatorToJSON.html +0 -1
- package/doc/functions/models.statusLevelFromJSON.html +0 -1
- package/doc/functions/models.statusLevelToJSON.html +0 -1
- package/doc/functions/models.timeReferenceFromJSON.html +0 -1
- package/doc/functions/models.timeReferenceToJSON.html +0 -1
- package/doc/functions/models.triggerOperatorFromJSON.html +0 -1
- package/doc/functions/models.triggerOperatorToJSON.html +0 -1
- package/doc/interfaces/controls.ColumnItem.html +0 -3
- package/doc/interfaces/controls.ColumnItemControlProps.html +0 -4
- package/doc/interfaces/models.Devices.html +0 -2
- package/doc/interfaces/models.FrameDefinitions.html +0 -2
- package/doc/interfaces/models.Frame_PropertiesEntry.html +0 -3
- package/doc/interfaces/models.Frames.html +0 -2
- package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +0 -3
- package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +0 -3
- package/doc/interfaces/models.SignalDefinitions.html +0 -2
- package/doc/types/models.IReadOnlyDataBuffer.html +0 -1
- package/doc/types/models.themes.html +0 -1
- package/doc/variables/models.AboutInformation-1.html +0 -1
- package/doc/variables/models.ActivateLicenseRequest-1.html +0 -1
- package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +0 -1
- package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateSourceRequest-1.html +0 -1
- package/doc/variables/models.AddOrUpdateTargetRequest-1.html +0 -1
- package/doc/variables/models.ApiPreferences-1.html +0 -1
- package/doc/variables/models.AppEventArgs-1.html +0 -1
- package/doc/variables/models.BaseNodeProperties-1.html +0 -1
- package/doc/variables/models.BusStatus-1.html +0 -1
- package/doc/variables/models.CanBusParamLimits-1.html +0 -1
- package/doc/variables/models.CanBusParams-1.html +0 -1
- package/doc/variables/models.CanBusSpeedInfo-1.html +0 -1
- package/doc/variables/models.CanChannelCapacity-1.html +0 -1
- package/doc/variables/models.CanChannelConfiguration-1.html +0 -1
- package/doc/variables/models.CanFDBusSpeedCombination-1.html +0 -1
- package/doc/variables/models.CanFDBusSpeedInfo-1.html +0 -1
- package/doc/variables/models.CanFrameFlags-1.html +0 -1
- package/doc/variables/models.CanMessageFilterSettings-1.html +0 -1
- package/doc/variables/models.Channel-1.html +0 -1
- package/doc/variables/models.ChannelSettings-1.html +0 -1
- package/doc/variables/models.ClearLinMessageRequest-1.html +0 -1
- package/doc/variables/models.ConnectNodesRequest-1.html +0 -1
- package/doc/variables/models.DataProcessingStatus-1.html +0 -1
- package/doc/variables/models.DataProcessorNodeProperties-1.html +0 -1
- package/doc/variables/models.DatabaseFiles-1.html +0 -1
- package/doc/variables/models.DatabasesSettings-1.html +0 -1
- package/doc/variables/models.Device-1.html +0 -1
- package/doc/variables/models.DeviceEventArgs-1.html +0 -1
- package/doc/variables/models.Devices-1.html +0 -1
- package/doc/variables/models.DisconnectNodesRequest-1.html +0 -1
- package/doc/variables/models.Empty-1.html +0 -1
- package/doc/variables/models.ErrorStatus-1.html +0 -1
- package/doc/variables/models.Frame-1.html +0 -1
- package/doc/variables/models.FrameDefinition-1.html +0 -1
- package/doc/variables/models.FrameDefinitions-1.html +0 -1
- package/doc/variables/models.FramePropertyValue-1.html +0 -1
- package/doc/variables/models.FrameReceivedTrigger-1.html +0 -1
- package/doc/variables/models.Frame_PropertiesEntry-1.html +0 -1
- package/doc/variables/models.Frames-1.html +0 -1
- package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +0 -1
- package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +0 -1
- package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +0 -1
- package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +0 -1
- package/doc/variables/models.GetDataProcessorResponse-1.html +0 -1
- package/doc/variables/models.GetDevicesRequest-1.html +0 -1
- package/doc/variables/models.GetDevicesResponse-1.html +0 -1
- package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +0 -1
- package/doc/variables/models.GetLicensesResponse-1.html +0 -1
- package/doc/variables/models.GetLogFileFormatsRequest-1.html +0 -1
- package/doc/variables/models.GetLogFileFormatsResponse-1.html +0 -1
- package/doc/variables/models.GetLogLevelResponse-1.html +0 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +0 -1
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +0 -1
- package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +0 -1
- package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +0 -1
- package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +0 -1
- package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +0 -1
- package/doc/variables/models.GetSourceResponse-1.html +0 -1
- package/doc/variables/models.GetTargetResponse-1.html +0 -1
- package/doc/variables/models.IdentifierRequest-1.html +0 -1
- package/doc/variables/models.IdentifiersRequest-1.html +0 -1
- package/doc/variables/models.InstallServiceExtensionRequest-1.html +0 -1
- package/doc/variables/models.InterpreterSettings-1.html +0 -1
- package/doc/variables/models.J1939InterpreterSettings-1.html +0 -1
- package/doc/variables/models.LicenseInformation-1.html +0 -1
- package/doc/variables/models.Licenses-1.html +0 -1
- package/doc/variables/models.LinChannelConfiguration-1.html +0 -1
- package/doc/variables/models.LinFrameFlags-1.html +0 -1
- package/doc/variables/models.LogMessage-1.html +0 -1
- package/doc/variables/models.LogMessages-1.html +0 -1
- package/doc/variables/models.LogReplaySettings-1.html +0 -1
- package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +0 -1
- package/doc/variables/models.LogReplayStatus-1.html +0 -1
- package/doc/variables/models.LoggerStatus-1.html +0 -1
- package/doc/variables/models.MeasurementEventArgs-1.html +0 -1
- package/doc/variables/models.MeasurementSetup-1.html +0 -1
- package/doc/variables/models.MessageLoggerSettings-1.html +0 -1
- package/doc/variables/models.NodeStatus-1.html +0 -1
- package/doc/variables/models.NodeStatuses-1.html +0 -1
- package/doc/variables/models.OnlineStatus-1.html +0 -1
- package/doc/variables/models.PeriodicTransmissionSettings-1.html +0 -1
- package/doc/variables/models.RequestLinMessageRequest-1.html +0 -1
- package/doc/variables/models.ScheduleTable-1.html +0 -1
- package/doc/variables/models.ScheduleTableEntry-1.html +0 -1
- package/doc/variables/models.SendLinWakeupFrameRequest-1.html +0 -1
- package/doc/variables/models.SendMessageRequest-1.html +0 -1
- package/doc/variables/models.ServiceExtensionSettings-1.html +0 -1
- package/doc/variables/models.SetLogLevelRequest-1.html +0 -1
- package/doc/variables/models.SetMeasurementSetupRequest-1.html +0 -1
- package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +0 -1
- package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +0 -1
- package/doc/variables/models.SignalDefinition-1.html +0 -1
- package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +0 -1
- package/doc/variables/models.SignalDefinitions-1.html +0 -1
- package/doc/variables/models.SignalFilterSettings-1.html +0 -1
- package/doc/variables/models.SignalLoggerSettings-1.html +0 -1
- package/doc/variables/models.SignalValue-1.html +0 -1
- package/doc/variables/models.SignalValueTrigger-1.html +0 -1
- package/doc/variables/models.SourceNodeProperties-1.html +0 -1
- package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +0 -1
- package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +0 -1
- package/doc/variables/models.TargetNodeProperties-1.html +0 -1
- package/doc/variables/models.TriggerSettings-1.html +0 -1
- package/doc/variables/models.UninstallServiceExtensionRequest-1.html +0 -1
- package/doc/variables/models.UpdateLinMessageRequest-1.html +0 -1
- package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +0 -1
- package/doc/variables/models.WriteFrame-1.html +0 -1
|
@@ -15,17 +15,17 @@ function Vn() {
|
|
|
15
15
|
}
|
|
16
16
|
throw new Error("invalid varint");
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function ue(e, n, i) {
|
|
19
19
|
for (let r = 0; r < 28; r = r + 7) {
|
|
20
|
-
const d = e >>> r, N = !(!(d >>> 7) && n == 0),
|
|
21
|
-
if (i.push(
|
|
20
|
+
const d = e >>> r, N = !(!(d >>> 7) && n == 0), T = (N ? d | 128 : d) & 255;
|
|
21
|
+
if (i.push(T), !N)
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
24
|
const t = e >>> 28 & 15 | (n & 7) << 4, a = !!(n >> 3);
|
|
25
25
|
if (i.push((a ? t | 128 : t) & 255), !!a) {
|
|
26
26
|
for (let r = 3; r < 31; r = r + 7) {
|
|
27
|
-
const d = n >>> r, N = !!(d >>> 7),
|
|
28
|
-
if (i.push(
|
|
27
|
+
const d = n >>> r, N = !!(d >>> 7), T = (N ? d | 128 : d) & 255;
|
|
28
|
+
if (i.push(T), !N)
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
31
|
i.push(n >>> 31 & 1);
|
|
@@ -38,33 +38,33 @@ function Ne(e) {
|
|
|
38
38
|
const i = 1e6;
|
|
39
39
|
let t = 0, a = 0;
|
|
40
40
|
function r(d, N) {
|
|
41
|
-
const
|
|
42
|
-
a *= i, t = t * i +
|
|
41
|
+
const T = Number(e.slice(d, N));
|
|
42
|
+
a *= i, t = t * i + T, t >= re && (a = a + (t / re | 0), t = t % re);
|
|
43
43
|
}
|
|
44
|
-
return r(-24, -18), r(-18, -12), r(-12, -6), r(-6), n ?
|
|
44
|
+
return r(-24, -18), r(-18, -12), r(-12, -6), r(-6), n ? Cn(t, a) : ce(t, a);
|
|
45
45
|
}
|
|
46
46
|
function Un(e, n) {
|
|
47
47
|
let i = ce(e, n);
|
|
48
48
|
const t = i.hi & 2147483648;
|
|
49
|
-
t && (i =
|
|
50
|
-
const a =
|
|
49
|
+
t && (i = Cn(i.lo, i.hi));
|
|
50
|
+
const a = pn(i.lo, i.hi);
|
|
51
51
|
return t ? "-" + a : a;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
if ({ lo: e, hi: n } =
|
|
53
|
+
function pn(e, n) {
|
|
54
|
+
if ({ lo: e, hi: n } = Jn(e, n), n <= 2097151)
|
|
55
55
|
return String(re * n + e);
|
|
56
56
|
const i = e & 16777215, t = (e >>> 24 | n << 8) & 16777215, a = n >> 16 & 65535;
|
|
57
57
|
let r = i + t * 6777216 + a * 6710656, d = t + a * 8147497, N = a * 2;
|
|
58
|
-
const
|
|
59
|
-
return r >=
|
|
58
|
+
const T = 1e7;
|
|
59
|
+
return r >= T && (d += Math.floor(r / T), r %= T), d >= T && (N += Math.floor(d / T), d %= T), N.toString() + _e(d) + _e(r);
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Jn(e, n) {
|
|
62
62
|
return { lo: e >>> 0, hi: n >>> 0 };
|
|
63
63
|
}
|
|
64
64
|
function ce(e, n) {
|
|
65
65
|
return { lo: e | 0, hi: n | 0 };
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function Cn(e, n) {
|
|
68
68
|
return n = ~n, e ? e = ~e + 1 : n += 1, ce(e, n);
|
|
69
69
|
}
|
|
70
70
|
const _e = (e) => {
|
|
@@ -82,7 +82,7 @@ function Ee(e, n) {
|
|
|
82
82
|
n.push(1);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function wn() {
|
|
86
86
|
let e = this.buf[this.pos++], n = e & 127;
|
|
87
87
|
if (!(e & 128))
|
|
88
88
|
return this.assertBounds(), n;
|
|
@@ -99,8 +99,8 @@ function Jn() {
|
|
|
99
99
|
throw new Error("invalid varint");
|
|
100
100
|
return this.assertBounds(), n >>> 0;
|
|
101
101
|
}
|
|
102
|
-
const
|
|
103
|
-
function
|
|
102
|
+
const L = /* @__PURE__ */ Hn();
|
|
103
|
+
function Hn() {
|
|
104
104
|
const e = new DataView(new ArrayBuffer(8));
|
|
105
105
|
if (typeof BigInt == "function" && typeof e.getBigInt64 == "function" && typeof e.getBigUint64 == "function" && typeof e.setBigInt64 == "function" && typeof e.setBigUint64 == "function" && (typeof process != "object" || typeof process.env != "object" || process.env.BUF_BIGINT_DISABLE !== "1")) {
|
|
106
106
|
const i = BigInt("-9223372036854775808"), t = BigInt("9223372036854775807"), a = BigInt("0"), r = BigInt("18446744073709551615");
|
|
@@ -158,7 +158,7 @@ function wn() {
|
|
|
158
158
|
return Un(i, t);
|
|
159
159
|
},
|
|
160
160
|
uDec(i, t) {
|
|
161
|
-
return
|
|
161
|
+
return pn(i, t);
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
}
|
|
@@ -170,11 +170,11 @@ function Se(e) {
|
|
|
170
170
|
if (!/^[0-9]+$/.test(e))
|
|
171
171
|
throw new Error("invalid uint64: " + e);
|
|
172
172
|
}
|
|
173
|
-
const
|
|
174
|
-
function
|
|
175
|
-
if (globalThis[
|
|
173
|
+
const se = Symbol.for("@bufbuild/protobuf/text-encoding");
|
|
174
|
+
function Fn() {
|
|
175
|
+
if (globalThis[se] == null) {
|
|
176
176
|
const e = new globalThis.TextEncoder(), n = new globalThis.TextDecoder();
|
|
177
|
-
globalThis[
|
|
177
|
+
globalThis[se] = {
|
|
178
178
|
encodeUtf8(i) {
|
|
179
179
|
return e.encode(i);
|
|
180
180
|
},
|
|
@@ -190,15 +190,15 @@ function Cn() {
|
|
|
190
190
|
}
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
return globalThis[
|
|
193
|
+
return globalThis[se];
|
|
194
194
|
}
|
|
195
|
-
var
|
|
195
|
+
var g;
|
|
196
196
|
(function(e) {
|
|
197
197
|
e[e.Varint = 0] = "Varint", e[e.Bit64 = 1] = "Bit64", e[e.LengthDelimited = 2] = "LengthDelimited", e[e.StartGroup = 3] = "StartGroup", e[e.EndGroup = 4] = "EndGroup", e[e.Bit32 = 5] = "Bit32";
|
|
198
|
-
})(
|
|
199
|
-
const
|
|
198
|
+
})(g || (g = {}));
|
|
199
|
+
const zn = 34028234663852886e22, Qn = -34028234663852886e22, Xn = 4294967295, qn = 2147483647, Zn = -2147483648;
|
|
200
200
|
class o {
|
|
201
|
-
constructor(n =
|
|
201
|
+
constructor(n = Fn().encodeUtf8) {
|
|
202
202
|
this.encodeUtf8 = n, this.stack = [], this.chunks = [], this.buf = [];
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
@@ -286,7 +286,7 @@ class o {
|
|
|
286
286
|
* Write a `float` value, 32-bit floating point number.
|
|
287
287
|
*/
|
|
288
288
|
float(n) {
|
|
289
|
-
|
|
289
|
+
Yn(n);
|
|
290
290
|
let i = new Uint8Array(4);
|
|
291
291
|
return new DataView(i.buffer).setFloat32(0, n, !0), this.raw(i);
|
|
292
292
|
}
|
|
@@ -323,41 +323,41 @@ class o {
|
|
|
323
323
|
* Write a `fixed64` value, a signed, fixed-length 64-bit integer.
|
|
324
324
|
*/
|
|
325
325
|
sfixed64(n) {
|
|
326
|
-
let i = new Uint8Array(8), t = new DataView(i.buffer), a =
|
|
326
|
+
let i = new Uint8Array(8), t = new DataView(i.buffer), a = L.enc(n);
|
|
327
327
|
return t.setInt32(0, a.lo, !0), t.setInt32(4, a.hi, !0), this.raw(i);
|
|
328
328
|
}
|
|
329
329
|
/**
|
|
330
330
|
* Write a `fixed64` value, an unsigned, fixed-length 64 bit integer.
|
|
331
331
|
*/
|
|
332
332
|
fixed64(n) {
|
|
333
|
-
let i = new Uint8Array(8), t = new DataView(i.buffer), a =
|
|
333
|
+
let i = new Uint8Array(8), t = new DataView(i.buffer), a = L.uEnc(n);
|
|
334
334
|
return t.setInt32(0, a.lo, !0), t.setInt32(4, a.hi, !0), this.raw(i);
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
337
|
* Write a `int64` value, a signed 64-bit varint.
|
|
338
338
|
*/
|
|
339
339
|
int64(n) {
|
|
340
|
-
let i =
|
|
341
|
-
return
|
|
340
|
+
let i = L.enc(n);
|
|
341
|
+
return ue(i.lo, i.hi, this.buf), this;
|
|
342
342
|
}
|
|
343
343
|
/**
|
|
344
344
|
* Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint.
|
|
345
345
|
*/
|
|
346
346
|
sint64(n) {
|
|
347
|
-
let i =
|
|
348
|
-
return
|
|
347
|
+
let i = L.enc(n), t = i.hi >> 31, a = i.lo << 1 ^ t, r = (i.hi << 1 | i.lo >>> 31) ^ t;
|
|
348
|
+
return ue(a, r, this.buf), this;
|
|
349
349
|
}
|
|
350
350
|
/**
|
|
351
351
|
* Write a `uint64` value, an unsigned 64-bit varint.
|
|
352
352
|
*/
|
|
353
353
|
uint64(n) {
|
|
354
|
-
let i =
|
|
355
|
-
return
|
|
354
|
+
let i = L.uEnc(n);
|
|
355
|
+
return ue(i.lo, i.hi, this.buf), this;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
class
|
|
359
|
-
constructor(n, i =
|
|
360
|
-
this.decodeUtf8 = i, this.varint64 = Vn, this.uint32 =
|
|
358
|
+
class s {
|
|
359
|
+
constructor(n, i = Fn().decodeUtf8) {
|
|
360
|
+
this.decodeUtf8 = i, this.varint64 = Vn, this.uint32 = wn, this.buf = n, this.len = n.length, this.pos = 0, this.view = new DataView(n.buffer, n.byteOffset, n.byteLength);
|
|
361
361
|
}
|
|
362
362
|
/**
|
|
363
363
|
* Reads a tag - field number and wire type.
|
|
@@ -377,23 +377,23 @@ class u {
|
|
|
377
377
|
skip(n, i) {
|
|
378
378
|
let t = this.pos;
|
|
379
379
|
switch (n) {
|
|
380
|
-
case
|
|
380
|
+
case g.Varint:
|
|
381
381
|
for (; this.buf[this.pos++] & 128; )
|
|
382
382
|
;
|
|
383
383
|
break;
|
|
384
|
-
case
|
|
384
|
+
case g.Bit64:
|
|
385
385
|
this.pos += 4;
|
|
386
|
-
case
|
|
386
|
+
case g.Bit32:
|
|
387
387
|
this.pos += 4;
|
|
388
388
|
break;
|
|
389
|
-
case
|
|
389
|
+
case g.LengthDelimited:
|
|
390
390
|
let a = this.uint32();
|
|
391
391
|
this.pos += a;
|
|
392
392
|
break;
|
|
393
|
-
case
|
|
393
|
+
case g.StartGroup:
|
|
394
394
|
for (; ; ) {
|
|
395
395
|
const [r, d] = this.tag();
|
|
396
|
-
if (d ===
|
|
396
|
+
if (d === g.EndGroup) {
|
|
397
397
|
if (i !== void 0 && r !== i)
|
|
398
398
|
throw new Error("invalid end group tag");
|
|
399
399
|
break;
|
|
@@ -430,20 +430,20 @@ class u {
|
|
|
430
430
|
* Read a `int64` field, a signed 64-bit varint.
|
|
431
431
|
*/
|
|
432
432
|
int64() {
|
|
433
|
-
return
|
|
433
|
+
return L.dec(...this.varint64());
|
|
434
434
|
}
|
|
435
435
|
/**
|
|
436
436
|
* Read a `uint64` field, an unsigned 64-bit varint.
|
|
437
437
|
*/
|
|
438
438
|
uint64() {
|
|
439
|
-
return
|
|
439
|
+
return L.uDec(...this.varint64());
|
|
440
440
|
}
|
|
441
441
|
/**
|
|
442
442
|
* Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint.
|
|
443
443
|
*/
|
|
444
444
|
sint64() {
|
|
445
445
|
let [n, i] = this.varint64(), t = -(n & 1);
|
|
446
|
-
return n = (n >>> 1 | (i & 1) << 31) ^ t, i = i >>> 1 ^ t,
|
|
446
|
+
return n = (n >>> 1 | (i & 1) << 31) ^ t, i = i >>> 1 ^ t, L.dec(n, i);
|
|
447
447
|
}
|
|
448
448
|
/**
|
|
449
449
|
* Read a `bool` field, a variant.
|
|
@@ -468,13 +468,13 @@ class u {
|
|
|
468
468
|
* Read a `fixed64` field, an unsigned, fixed-length 64 bit integer.
|
|
469
469
|
*/
|
|
470
470
|
fixed64() {
|
|
471
|
-
return
|
|
471
|
+
return L.uDec(this.sfixed32(), this.sfixed32());
|
|
472
472
|
}
|
|
473
473
|
/**
|
|
474
474
|
* Read a `fixed64` field, a signed, fixed-length 64-bit integer.
|
|
475
475
|
*/
|
|
476
476
|
sfixed64() {
|
|
477
|
-
return
|
|
477
|
+
return L.dec(this.sfixed32(), this.sfixed32());
|
|
478
478
|
}
|
|
479
479
|
/**
|
|
480
480
|
* Read a `float` field, 32-bit floating point number.
|
|
@@ -507,7 +507,7 @@ function de(e) {
|
|
|
507
507
|
e = Number(e);
|
|
508
508
|
else if (typeof e != "number")
|
|
509
509
|
throw new Error("invalid int32: " + typeof e);
|
|
510
|
-
if (!Number.isInteger(e) || e >
|
|
510
|
+
if (!Number.isInteger(e) || e > qn || e < Zn)
|
|
511
511
|
throw new Error("invalid int32: " + e);
|
|
512
512
|
}
|
|
513
513
|
function Re(e) {
|
|
@@ -515,17 +515,17 @@ function Re(e) {
|
|
|
515
515
|
e = Number(e);
|
|
516
516
|
else if (typeof e != "number")
|
|
517
517
|
throw new Error("invalid uint32: " + typeof e);
|
|
518
|
-
if (!Number.isInteger(e) || e >
|
|
518
|
+
if (!Number.isInteger(e) || e > Xn || e < 0)
|
|
519
519
|
throw new Error("invalid uint32: " + e);
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Yn(e) {
|
|
522
522
|
if (typeof e == "string") {
|
|
523
523
|
const n = e;
|
|
524
524
|
if (e = Number(e), isNaN(e) && n !== "NaN")
|
|
525
525
|
throw new Error("invalid float32: " + n);
|
|
526
526
|
} else if (typeof e != "number")
|
|
527
527
|
throw new Error("invalid float32: " + typeof e);
|
|
528
|
-
if (Number.isFinite(e) && (e >
|
|
528
|
+
if (Number.isFinite(e) && (e > zn || e < Qn))
|
|
529
529
|
throw new Error("invalid float32: " + e);
|
|
530
530
|
}
|
|
531
531
|
function Oe() {
|
|
@@ -536,7 +536,7 @@ const E = {
|
|
|
536
536
|
return e.version !== "" && n.uint32(10).string(e.version), e.language !== "" && n.uint32(18).string(e.language), e.useHexNumericBase !== !1 && n.uint32(24).bool(e.useHexNumericBase), e.username !== "" && n.uint32(34).string(e.username), n;
|
|
537
537
|
},
|
|
538
538
|
decode(e, n) {
|
|
539
|
-
const i = e instanceof
|
|
539
|
+
const i = e instanceof s ? e : new s(e);
|
|
540
540
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
541
541
|
const a = Oe();
|
|
542
542
|
for (; i.pos < t; ) {
|
|
@@ -596,8 +596,8 @@ const E = {
|
|
|
596
596
|
function ie(e) {
|
|
597
597
|
return e != null;
|
|
598
598
|
}
|
|
599
|
-
var
|
|
600
|
-
function
|
|
599
|
+
var Kn = /* @__PURE__ */ ((e) => (e[e.CAN_CHANNEL_CAP_UNSPECIFIED = 0] = "CAN_CHANNEL_CAP_UNSPECIFIED", e[e.CAN_CHANNEL_CAP_EXTENDED_CAN = 1] = "CAN_CHANNEL_CAP_EXTENDED_CAN", e[e.CAN_CHANNEL_CAP_BUS_STATISTICS = 2] = "CAN_CHANNEL_CAP_BUS_STATISTICS", e[e.CAN_CHANNEL_CAP_ERROR_COUNTERS = 3] = "CAN_CHANNEL_CAP_ERROR_COUNTERS", e[e.CAN_CHANNEL_CAP_GENERATE_ERROR = 4] = "CAN_CHANNEL_CAP_GENERATE_ERROR", e[e.CAN_CHANNEL_CAP_GENERATE_OVERLOAD = 5] = "CAN_CHANNEL_CAP_GENERATE_OVERLOAD", e[e.CAN_CHANNEL_CAP_TXREQUEST = 6] = "CAN_CHANNEL_CAP_TXREQUEST", e[e.CAN_CHANNEL_CAP_TXACKNOWLEDGE = 7] = "CAN_CHANNEL_CAP_TXACKNOWLEDGE", e[e.CAN_CHANNEL_CAP_VIRTUAL = 8] = "CAN_CHANNEL_CAP_VIRTUAL", e[e.CAN_CHANNEL_CAP_SIMULATED = 9] = "CAN_CHANNEL_CAP_SIMULATED", e[e.CAN_CHANNEL_CAP_CAN_FD = 10] = "CAN_CHANNEL_CAP_CAN_FD", e[e.CAN_CHANNEL_CAP_CAN_FD_NONISO = 11] = "CAN_CHANNEL_CAP_CAN_FD_NONISO", e[e.CAN_CHANNEL_CAP_SILENT_MODE = 12] = "CAN_CHANNEL_CAP_SILENT_MODE", e[e.CAN_CHANNEL_CAP_SINGLE_SHOT = 13] = "CAN_CHANNEL_CAP_SINGLE_SHOT", e[e.CAN_CHANNEL_CAP_LOGGER = 14] = "CAN_CHANNEL_CAP_LOGGER", e[e.CAN_CHANNEL_CAP_REMOTE_ACCESS = 15] = "CAN_CHANNEL_CAP_REMOTE_ACCESS", e[e.CAN_CHANNEL_CAP_SCRIPT = 16] = "CAN_CHANNEL_CAP_SCRIPT", e[e.CAN_CHANNEL_CAP_LIN_HYBRID = 17] = "CAN_CHANNEL_CAP_LIN_HYBRID", e[e.CAN_CHANNEL_CAP_IO_API = 18] = "CAN_CHANNEL_CAP_IO_API", e[e.CAN_CHANNEL_CAP_CANTEGRITY = 19] = "CAN_CHANNEL_CAP_CANTEGRITY", e[e.CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ = 20] = "CAN_CHANNEL_CAP_EX_BUSPARAMS_TQ", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Kn || {});
|
|
600
|
+
function Wn(e) {
|
|
601
601
|
switch (e) {
|
|
602
602
|
case 0:
|
|
603
603
|
case "CAN_CHANNEL_CAP_UNSPECIFIED":
|
|
@@ -668,7 +668,7 @@ function Kn(e) {
|
|
|
668
668
|
return -1;
|
|
669
669
|
}
|
|
670
670
|
}
|
|
671
|
-
function
|
|
671
|
+
function $n(e) {
|
|
672
672
|
switch (e) {
|
|
673
673
|
case 0:
|
|
674
674
|
return "CAN_CHANNEL_CAP_UNSPECIFIED";
|
|
@@ -717,8 +717,8 @@ function Wn(e) {
|
|
|
717
717
|
return "UNRECOGNIZED";
|
|
718
718
|
}
|
|
719
719
|
}
|
|
720
|
-
var
|
|
721
|
-
function
|
|
720
|
+
var jn = /* @__PURE__ */ ((e) => (e[e.PROTOCOLS_UNSPECIFIED = 0] = "PROTOCOLS_UNSPECIFIED", e[e.PROTOCOLS_CAN = 1] = "PROTOCOLS_CAN", e[e.PROTOCOLS_LIN = 2] = "PROTOCOLS_LIN", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(jn || {});
|
|
721
|
+
function Mn(e) {
|
|
722
722
|
switch (e) {
|
|
723
723
|
case 0:
|
|
724
724
|
case "PROTOCOLS_UNSPECIFIED":
|
|
@@ -735,7 +735,7 @@ function Fn(e) {
|
|
|
735
735
|
return -1;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function Ln(e) {
|
|
739
739
|
switch (e) {
|
|
740
740
|
case 0:
|
|
741
741
|
return "PROTOCOLS_UNSPECIFIED";
|
|
@@ -748,8 +748,8 @@ function Mn(e) {
|
|
|
748
748
|
return "UNRECOGNIZED";
|
|
749
749
|
}
|
|
750
750
|
}
|
|
751
|
-
var
|
|
752
|
-
function
|
|
751
|
+
var ei = /* @__PURE__ */ ((e) => (e[e.DEVICE_EVENT_UNSPECIFIED = 0] = "DEVICE_EVENT_UNSPECIFIED", e[e.DEVICE_EVENT_DEVICES_CHANGED = 1] = "DEVICE_EVENT_DEVICES_CHANGED", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(ei || {});
|
|
752
|
+
function ni(e) {
|
|
753
753
|
switch (e) {
|
|
754
754
|
case 0:
|
|
755
755
|
case "DEVICE_EVENT_UNSPECIFIED":
|
|
@@ -763,7 +763,7 @@ function ei(e) {
|
|
|
763
763
|
return -1;
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
|
-
function
|
|
766
|
+
function ii(e) {
|
|
767
767
|
switch (e) {
|
|
768
768
|
case 0:
|
|
769
769
|
return "DEVICE_EVENT_UNSPECIFIED";
|
|
@@ -782,7 +782,7 @@ const l = {
|
|
|
782
782
|
return e.tq !== 0 && n.uint32(8).int32(e.tq), e.phase1 !== 0 && n.uint32(16).int32(e.phase1), e.phase2 !== 0 && n.uint32(24).int32(e.phase2), e.sjw !== 0 && n.uint32(32).int32(e.sjw), e.prop !== 0 && n.uint32(40).int32(e.prop), e.prescaler !== 0 && n.uint32(48).int32(e.prescaler), n;
|
|
783
783
|
},
|
|
784
784
|
decode(e, n) {
|
|
785
|
-
const i = e instanceof
|
|
785
|
+
const i = e instanceof s ? e : new s(e);
|
|
786
786
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
787
787
|
const a = Te();
|
|
788
788
|
for (; i.pos < t; ) {
|
|
@@ -853,7 +853,7 @@ const l = {
|
|
|
853
853
|
return n.tq = e.tq ?? 0, n.phase1 = e.phase1 ?? 0, n.phase2 = e.phase2 ?? 0, n.sjw = e.sjw ?? 0, n.prop = e.prop ?? 0, n.prescaler = e.prescaler ?? 0, n;
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
|
-
function
|
|
856
|
+
function me() {
|
|
857
857
|
return {
|
|
858
858
|
arbitrationMin: void 0,
|
|
859
859
|
arbitrationMax: void 0,
|
|
@@ -862,14 +862,14 @@ function he() {
|
|
|
862
862
|
isValid: !1
|
|
863
863
|
};
|
|
864
864
|
}
|
|
865
|
-
const
|
|
865
|
+
const b = {
|
|
866
866
|
encode(e, n = new o()) {
|
|
867
867
|
return e.arbitrationMin !== void 0 && l.encode(e.arbitrationMin, n.uint32(10).fork()).join(), e.arbitrationMax !== void 0 && l.encode(e.arbitrationMax, n.uint32(18).fork()).join(), e.dataMin !== void 0 && l.encode(e.dataMin, n.uint32(26).fork()).join(), e.dataMax !== void 0 && l.encode(e.dataMax, n.uint32(34).fork()).join(), e.isValid !== !1 && n.uint32(40).bool(e.isValid), n;
|
|
868
868
|
},
|
|
869
869
|
decode(e, n) {
|
|
870
|
-
const i = e instanceof
|
|
870
|
+
const i = e instanceof s ? e : new s(e);
|
|
871
871
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
872
|
-
const a =
|
|
872
|
+
const a = me();
|
|
873
873
|
for (; i.pos < t; ) {
|
|
874
874
|
const r = i.uint32();
|
|
875
875
|
switch (r >>> 3) {
|
|
@@ -924,14 +924,14 @@ const g = {
|
|
|
924
924
|
return e.arbitrationMin !== void 0 && (n.arbitrationMin = l.toJSON(e.arbitrationMin)), e.arbitrationMax !== void 0 && (n.arbitrationMax = l.toJSON(e.arbitrationMax)), e.dataMin !== void 0 && (n.dataMin = l.toJSON(e.dataMin)), e.dataMax !== void 0 && (n.dataMax = l.toJSON(e.dataMax)), e.isValid !== !1 && (n.isValid = e.isValid), n;
|
|
925
925
|
},
|
|
926
926
|
create(e) {
|
|
927
|
-
return
|
|
927
|
+
return b.fromPartial(e ?? {});
|
|
928
928
|
},
|
|
929
929
|
fromPartial(e) {
|
|
930
|
-
const n =
|
|
930
|
+
const n = me();
|
|
931
931
|
return n.arbitrationMin = e.arbitrationMin !== void 0 && e.arbitrationMin !== null ? l.fromPartial(e.arbitrationMin) : void 0, n.arbitrationMax = e.arbitrationMax !== void 0 && e.arbitrationMax !== null ? l.fromPartial(e.arbitrationMax) : void 0, n.dataMin = e.dataMin !== void 0 && e.dataMin !== null ? l.fromPartial(e.dataMin) : void 0, n.dataMax = e.dataMax !== void 0 && e.dataMax !== null ? l.fromPartial(e.dataMax) : void 0, n.isValid = e.isValid ?? !1, n;
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
|
-
function
|
|
934
|
+
function he() {
|
|
935
935
|
return { bitRate: 0, actualBitRate: 0, bitRateError: 0, samplePoint: 0, description: "", busParams: void 0 };
|
|
936
936
|
}
|
|
937
937
|
const h = {
|
|
@@ -939,9 +939,9 @@ const h = {
|
|
|
939
939
|
return e.bitRate !== 0 && n.uint32(8).int32(e.bitRate), e.actualBitRate !== 0 && n.uint32(16).int32(e.actualBitRate), e.bitRateError !== 0 && n.uint32(25).double(e.bitRateError), e.samplePoint !== 0 && n.uint32(33).double(e.samplePoint), e.description !== "" && n.uint32(42).string(e.description), e.busParams !== void 0 && l.encode(e.busParams, n.uint32(50).fork()).join(), n;
|
|
940
940
|
},
|
|
941
941
|
decode(e, n) {
|
|
942
|
-
const i = e instanceof
|
|
942
|
+
const i = e instanceof s ? e : new s(e);
|
|
943
943
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
944
|
-
const a =
|
|
944
|
+
const a = he();
|
|
945
945
|
for (; i.pos < t; ) {
|
|
946
946
|
const r = i.uint32();
|
|
947
947
|
switch (r >>> 3) {
|
|
@@ -1006,21 +1006,21 @@ const h = {
|
|
|
1006
1006
|
return h.fromPartial(e ?? {});
|
|
1007
1007
|
},
|
|
1008
1008
|
fromPartial(e) {
|
|
1009
|
-
const n =
|
|
1009
|
+
const n = he();
|
|
1010
1010
|
return n.bitRate = e.bitRate ?? 0, n.actualBitRate = e.actualBitRate ?? 0, n.bitRateError = e.bitRateError ?? 0, n.samplePoint = e.samplePoint ?? 0, n.description = e.description ?? "", n.busParams = e.busParams !== void 0 && e.busParams !== null ? l.fromPartial(e.busParams) : void 0, n;
|
|
1011
1011
|
}
|
|
1012
1012
|
};
|
|
1013
|
-
function
|
|
1013
|
+
function Ie() {
|
|
1014
1014
|
return { bitRate: 0, samplePoint: 0, description: "", busParams: void 0 };
|
|
1015
1015
|
}
|
|
1016
|
-
const
|
|
1016
|
+
const m = {
|
|
1017
1017
|
encode(e, n = new o()) {
|
|
1018
1018
|
return e.bitRate !== 0 && n.uint32(8).int32(e.bitRate), e.samplePoint !== 0 && n.uint32(17).double(e.samplePoint), e.description !== "" && n.uint32(26).string(e.description), e.busParams !== void 0 && l.encode(e.busParams, n.uint32(34).fork()).join(), n;
|
|
1019
1019
|
},
|
|
1020
1020
|
decode(e, n) {
|
|
1021
|
-
const i = e instanceof
|
|
1021
|
+
const i = e instanceof s ? e : new s(e);
|
|
1022
1022
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1023
|
-
const a =
|
|
1023
|
+
const a = Ie();
|
|
1024
1024
|
for (; i.pos < t; ) {
|
|
1025
1025
|
const r = i.uint32();
|
|
1026
1026
|
switch (r >>> 3) {
|
|
@@ -1068,10 +1068,10 @@ const T = {
|
|
|
1068
1068
|
return e.bitRate !== 0 && (n.bitRate = Math.round(e.bitRate)), e.samplePoint !== 0 && (n.samplePoint = e.samplePoint), e.description !== "" && (n.description = e.description), e.busParams !== void 0 && (n.busParams = l.toJSON(e.busParams)), n;
|
|
1069
1069
|
},
|
|
1070
1070
|
create(e) {
|
|
1071
|
-
return
|
|
1071
|
+
return m.fromPartial(e ?? {});
|
|
1072
1072
|
},
|
|
1073
1073
|
fromPartial(e) {
|
|
1074
|
-
const n =
|
|
1074
|
+
const n = Ie();
|
|
1075
1075
|
return n.bitRate = e.bitRate ?? 0, n.samplePoint = e.samplePoint ?? 0, n.description = e.description ?? "", n.busParams = e.busParams !== void 0 && e.busParams !== null ? l.fromPartial(e.busParams) : void 0, n;
|
|
1076
1076
|
}
|
|
1077
1077
|
};
|
|
@@ -1080,13 +1080,13 @@ function pe() {
|
|
|
1080
1080
|
}
|
|
1081
1081
|
const I = {
|
|
1082
1082
|
encode(e, n = new o()) {
|
|
1083
|
-
e.arbitrationBusSpeed !== void 0 &&
|
|
1083
|
+
e.arbitrationBusSpeed !== void 0 && m.encode(e.arbitrationBusSpeed, n.uint32(10).fork()).join();
|
|
1084
1084
|
for (const i of e.dataBusSpeeds)
|
|
1085
|
-
|
|
1085
|
+
m.encode(i, n.uint32(18).fork()).join();
|
|
1086
1086
|
return n;
|
|
1087
1087
|
},
|
|
1088
1088
|
decode(e, n) {
|
|
1089
|
-
const i = e instanceof
|
|
1089
|
+
const i = e instanceof s ? e : new s(e);
|
|
1090
1090
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1091
1091
|
const a = pe();
|
|
1092
1092
|
for (; i.pos < t; ) {
|
|
@@ -1095,13 +1095,13 @@ const I = {
|
|
|
1095
1095
|
case 1: {
|
|
1096
1096
|
if (r !== 10)
|
|
1097
1097
|
break;
|
|
1098
|
-
a.arbitrationBusSpeed =
|
|
1098
|
+
a.arbitrationBusSpeed = m.decode(i, i.uint32());
|
|
1099
1099
|
continue;
|
|
1100
1100
|
}
|
|
1101
1101
|
case 2: {
|
|
1102
1102
|
if (r !== 18)
|
|
1103
1103
|
break;
|
|
1104
|
-
a.dataBusSpeeds.push(
|
|
1104
|
+
a.dataBusSpeeds.push(m.decode(i, i.uint32()));
|
|
1105
1105
|
continue;
|
|
1106
1106
|
}
|
|
1107
1107
|
}
|
|
@@ -1113,14 +1113,14 @@ const I = {
|
|
|
1113
1113
|
},
|
|
1114
1114
|
fromJSON(e) {
|
|
1115
1115
|
return {
|
|
1116
|
-
arbitrationBusSpeed: f(e.arbitrationBusSpeed) ?
|
|
1117
|
-
dataBusSpeeds: globalThis.Array.isArray(e == null ? void 0 : e.dataBusSpeeds) ? e.dataBusSpeeds.map((n) =>
|
|
1116
|
+
arbitrationBusSpeed: f(e.arbitrationBusSpeed) ? m.fromJSON(e.arbitrationBusSpeed) : void 0,
|
|
1117
|
+
dataBusSpeeds: globalThis.Array.isArray(e == null ? void 0 : e.dataBusSpeeds) ? e.dataBusSpeeds.map((n) => m.fromJSON(n)) : []
|
|
1118
1118
|
};
|
|
1119
1119
|
},
|
|
1120
1120
|
toJSON(e) {
|
|
1121
1121
|
var i;
|
|
1122
1122
|
const n = {};
|
|
1123
|
-
return e.arbitrationBusSpeed !== void 0 && (n.arbitrationBusSpeed =
|
|
1123
|
+
return e.arbitrationBusSpeed !== void 0 && (n.arbitrationBusSpeed = m.toJSON(e.arbitrationBusSpeed)), (i = e.dataBusSpeeds) != null && i.length && (n.dataBusSpeeds = e.dataBusSpeeds.map((t) => m.toJSON(t))), n;
|
|
1124
1124
|
},
|
|
1125
1125
|
create(e) {
|
|
1126
1126
|
return I.fromPartial(e ?? {});
|
|
@@ -1128,21 +1128,21 @@ const I = {
|
|
|
1128
1128
|
fromPartial(e) {
|
|
1129
1129
|
var i;
|
|
1130
1130
|
const n = pe();
|
|
1131
|
-
return n.arbitrationBusSpeed = e.arbitrationBusSpeed !== void 0 && e.arbitrationBusSpeed !== null ?
|
|
1131
|
+
return n.arbitrationBusSpeed = e.arbitrationBusSpeed !== void 0 && e.arbitrationBusSpeed !== null ? m.fromPartial(e.arbitrationBusSpeed) : void 0, n.dataBusSpeeds = ((i = e.dataBusSpeeds) == null ? void 0 : i.map((t) => m.fromPartial(t))) || [], n;
|
|
1132
1132
|
}
|
|
1133
1133
|
};
|
|
1134
1134
|
function Ce() {
|
|
1135
1135
|
return { busParamLimits: void 0, channelCaps: [], maxBitRate: 0, clockFrequency: 0 };
|
|
1136
1136
|
}
|
|
1137
|
-
const
|
|
1137
|
+
const G = {
|
|
1138
1138
|
encode(e, n = new o()) {
|
|
1139
|
-
e.busParamLimits !== void 0 &&
|
|
1139
|
+
e.busParamLimits !== void 0 && b.encode(e.busParamLimits, n.uint32(10).fork()).join(), n.uint32(18).fork();
|
|
1140
1140
|
for (const i of e.channelCaps)
|
|
1141
1141
|
n.int32(i);
|
|
1142
1142
|
return n.join(), e.maxBitRate !== 0 && n.uint32(24).int32(e.maxBitRate), e.clockFrequency !== 0 && n.uint32(33).double(e.clockFrequency), n;
|
|
1143
1143
|
},
|
|
1144
1144
|
decode(e, n) {
|
|
1145
|
-
const i = e instanceof
|
|
1145
|
+
const i = e instanceof s ? e : new s(e);
|
|
1146
1146
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1147
1147
|
const a = Ce();
|
|
1148
1148
|
for (; i.pos < t; ) {
|
|
@@ -1151,7 +1151,7 @@ const b = {
|
|
|
1151
1151
|
case 1: {
|
|
1152
1152
|
if (r !== 10)
|
|
1153
1153
|
break;
|
|
1154
|
-
a.busParamLimits =
|
|
1154
|
+
a.busParamLimits = b.decode(i, i.uint32());
|
|
1155
1155
|
continue;
|
|
1156
1156
|
}
|
|
1157
1157
|
case 2: {
|
|
@@ -1188,8 +1188,8 @@ const b = {
|
|
|
1188
1188
|
},
|
|
1189
1189
|
fromJSON(e) {
|
|
1190
1190
|
return {
|
|
1191
|
-
busParamLimits: f(e.busParamLimits) ?
|
|
1192
|
-
channelCaps: globalThis.Array.isArray(e == null ? void 0 : e.channelCaps) ? e.channelCaps.map((n) =>
|
|
1191
|
+
busParamLimits: f(e.busParamLimits) ? b.fromJSON(e.busParamLimits) : void 0,
|
|
1192
|
+
channelCaps: globalThis.Array.isArray(e == null ? void 0 : e.channelCaps) ? e.channelCaps.map((n) => Wn(n)) : [],
|
|
1193
1193
|
maxBitRate: f(e.maxBitRate) ? globalThis.Number(e.maxBitRate) : 0,
|
|
1194
1194
|
clockFrequency: f(e.clockFrequency) ? globalThis.Number(e.clockFrequency) : 0
|
|
1195
1195
|
};
|
|
@@ -1197,29 +1197,29 @@ const b = {
|
|
|
1197
1197
|
toJSON(e) {
|
|
1198
1198
|
var i;
|
|
1199
1199
|
const n = {};
|
|
1200
|
-
return e.busParamLimits !== void 0 && (n.busParamLimits =
|
|
1200
|
+
return e.busParamLimits !== void 0 && (n.busParamLimits = b.toJSON(e.busParamLimits)), (i = e.channelCaps) != null && i.length && (n.channelCaps = e.channelCaps.map((t) => $n(t))), e.maxBitRate !== 0 && (n.maxBitRate = Math.round(e.maxBitRate)), e.clockFrequency !== 0 && (n.clockFrequency = e.clockFrequency), n;
|
|
1201
1201
|
},
|
|
1202
1202
|
create(e) {
|
|
1203
|
-
return
|
|
1203
|
+
return G.fromPartial(e ?? {});
|
|
1204
1204
|
},
|
|
1205
1205
|
fromPartial(e) {
|
|
1206
1206
|
var i;
|
|
1207
1207
|
const n = Ce();
|
|
1208
|
-
return n.busParamLimits = e.busParamLimits !== void 0 && e.busParamLimits !== null ?
|
|
1208
|
+
return n.busParamLimits = e.busParamLimits !== void 0 && e.busParamLimits !== null ? b.fromPartial(e.busParamLimits) : void 0, n.channelCaps = ((i = e.channelCaps) == null ? void 0 : i.map((t) => t)) || [], n.maxBitRate = e.maxBitRate ?? 0, n.clockFrequency = e.clockFrequency ?? 0, n;
|
|
1209
1209
|
}
|
|
1210
1210
|
};
|
|
1211
1211
|
function Fe() {
|
|
1212
1212
|
return { channelNumber: 0, channelNumberOnDevice: 0, name: "", protocols: [], canChannelCapacity: void 0 };
|
|
1213
1213
|
}
|
|
1214
|
-
const
|
|
1214
|
+
const k = {
|
|
1215
1215
|
encode(e, n = new o()) {
|
|
1216
1216
|
e.channelNumber !== 0 && n.uint32(8).int32(e.channelNumber), e.channelNumberOnDevice !== 0 && n.uint32(16).int32(e.channelNumberOnDevice), e.name !== "" && n.uint32(26).string(e.name), n.uint32(34).fork();
|
|
1217
1217
|
for (const i of e.protocols)
|
|
1218
1218
|
n.int32(i);
|
|
1219
|
-
return n.join(), e.canChannelCapacity !== void 0 &&
|
|
1219
|
+
return n.join(), e.canChannelCapacity !== void 0 && G.encode(e.canChannelCapacity, n.uint32(42).fork()).join(), n;
|
|
1220
1220
|
},
|
|
1221
1221
|
decode(e, n) {
|
|
1222
|
-
const i = e instanceof
|
|
1222
|
+
const i = e instanceof s ? e : new s(e);
|
|
1223
1223
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1224
1224
|
const a = Fe();
|
|
1225
1225
|
for (; i.pos < t; ) {
|
|
@@ -1259,7 +1259,7 @@ const G = {
|
|
|
1259
1259
|
case 5: {
|
|
1260
1260
|
if (r !== 42)
|
|
1261
1261
|
break;
|
|
1262
|
-
a.canChannelCapacity =
|
|
1262
|
+
a.canChannelCapacity = G.decode(i, i.uint32());
|
|
1263
1263
|
continue;
|
|
1264
1264
|
}
|
|
1265
1265
|
}
|
|
@@ -1274,39 +1274,39 @@ const G = {
|
|
|
1274
1274
|
channelNumber: f(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0,
|
|
1275
1275
|
channelNumberOnDevice: f(e.channelNumberOnDevice) ? globalThis.Number(e.channelNumberOnDevice) : 0,
|
|
1276
1276
|
name: f(e.name) ? globalThis.String(e.name) : "",
|
|
1277
|
-
protocols: globalThis.Array.isArray(e == null ? void 0 : e.protocols) ? e.protocols.map((n) =>
|
|
1278
|
-
canChannelCapacity: f(e.canChannelCapacity) ?
|
|
1277
|
+
protocols: globalThis.Array.isArray(e == null ? void 0 : e.protocols) ? e.protocols.map((n) => Mn(n)) : [],
|
|
1278
|
+
canChannelCapacity: f(e.canChannelCapacity) ? G.fromJSON(e.canChannelCapacity) : void 0
|
|
1279
1279
|
};
|
|
1280
1280
|
},
|
|
1281
1281
|
toJSON(e) {
|
|
1282
1282
|
var i;
|
|
1283
1283
|
const n = {};
|
|
1284
|
-
return e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), e.channelNumberOnDevice !== 0 && (n.channelNumberOnDevice = Math.round(e.channelNumberOnDevice)), e.name !== "" && (n.name = e.name), (i = e.protocols) != null && i.length && (n.protocols = e.protocols.map((t) =>
|
|
1284
|
+
return e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), e.channelNumberOnDevice !== 0 && (n.channelNumberOnDevice = Math.round(e.channelNumberOnDevice)), e.name !== "" && (n.name = e.name), (i = e.protocols) != null && i.length && (n.protocols = e.protocols.map((t) => Ln(t))), e.canChannelCapacity !== void 0 && (n.canChannelCapacity = G.toJSON(e.canChannelCapacity)), n;
|
|
1285
1285
|
},
|
|
1286
1286
|
create(e) {
|
|
1287
|
-
return
|
|
1287
|
+
return k.fromPartial(e ?? {});
|
|
1288
1288
|
},
|
|
1289
1289
|
fromPartial(e) {
|
|
1290
1290
|
var i;
|
|
1291
1291
|
const n = Fe();
|
|
1292
|
-
return n.channelNumber = e.channelNumber ?? 0, n.channelNumberOnDevice = e.channelNumberOnDevice ?? 0, n.name = e.name ?? "", n.protocols = ((i = e.protocols) == null ? void 0 : i.map((t) => t)) || [], n.canChannelCapacity = e.canChannelCapacity !== void 0 && e.canChannelCapacity !== null ?
|
|
1292
|
+
return n.channelNumber = e.channelNumber ?? 0, n.channelNumberOnDevice = e.channelNumberOnDevice ?? 0, n.name = e.name ?? "", n.protocols = ((i = e.protocols) == null ? void 0 : i.map((t) => t)) || [], n.canChannelCapacity = e.canChannelCapacity !== void 0 && e.canChannelCapacity !== null ? G.fromPartial(e.canChannelCapacity) : void 0, n;
|
|
1293
1293
|
}
|
|
1294
1294
|
};
|
|
1295
1295
|
function Me() {
|
|
1296
1296
|
return { cardType: 0, cardNumber: 0, productCode: "", serialNumber: "", name: "", protocols: [], channels: [] };
|
|
1297
1297
|
}
|
|
1298
|
-
const
|
|
1298
|
+
const p = {
|
|
1299
1299
|
encode(e, n = new o()) {
|
|
1300
1300
|
e.cardType !== 0 && n.uint32(8).int32(e.cardType), e.cardNumber !== 0 && n.uint32(16).int32(e.cardNumber), e.productCode !== "" && n.uint32(26).string(e.productCode), e.serialNumber !== "" && n.uint32(34).string(e.serialNumber), e.name !== "" && n.uint32(42).string(e.name), n.uint32(50).fork();
|
|
1301
1301
|
for (const i of e.protocols)
|
|
1302
1302
|
n.int32(i);
|
|
1303
1303
|
n.join();
|
|
1304
1304
|
for (const i of e.channels)
|
|
1305
|
-
|
|
1305
|
+
k.encode(i, n.uint32(58).fork()).join();
|
|
1306
1306
|
return n;
|
|
1307
1307
|
},
|
|
1308
1308
|
decode(e, n) {
|
|
1309
|
-
const i = e instanceof
|
|
1309
|
+
const i = e instanceof s ? e : new s(e);
|
|
1310
1310
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1311
1311
|
const a = Me();
|
|
1312
1312
|
for (; i.pos < t; ) {
|
|
@@ -1358,7 +1358,7 @@ const m = {
|
|
|
1358
1358
|
case 7: {
|
|
1359
1359
|
if (r !== 58)
|
|
1360
1360
|
break;
|
|
1361
|
-
a.channels.push(
|
|
1361
|
+
a.channels.push(k.decode(i, i.uint32()));
|
|
1362
1362
|
continue;
|
|
1363
1363
|
}
|
|
1364
1364
|
}
|
|
@@ -1375,35 +1375,35 @@ const m = {
|
|
|
1375
1375
|
productCode: f(e.productCode) ? globalThis.String(e.productCode) : "",
|
|
1376
1376
|
serialNumber: f(e.serialNumber) ? globalThis.String(e.serialNumber) : "",
|
|
1377
1377
|
name: f(e.name) ? globalThis.String(e.name) : "",
|
|
1378
|
-
protocols: globalThis.Array.isArray(e == null ? void 0 : e.protocols) ? e.protocols.map((n) =>
|
|
1379
|
-
channels: globalThis.Array.isArray(e == null ? void 0 : e.channels) ? e.channels.map((n) =>
|
|
1378
|
+
protocols: globalThis.Array.isArray(e == null ? void 0 : e.protocols) ? e.protocols.map((n) => Mn(n)) : [],
|
|
1379
|
+
channels: globalThis.Array.isArray(e == null ? void 0 : e.channels) ? e.channels.map((n) => k.fromJSON(n)) : []
|
|
1380
1380
|
};
|
|
1381
1381
|
},
|
|
1382
1382
|
toJSON(e) {
|
|
1383
1383
|
var i, t;
|
|
1384
1384
|
const n = {};
|
|
1385
|
-
return e.cardType !== 0 && (n.cardType = Math.round(e.cardType)), e.cardNumber !== 0 && (n.cardNumber = Math.round(e.cardNumber)), e.productCode !== "" && (n.productCode = e.productCode), e.serialNumber !== "" && (n.serialNumber = e.serialNumber), e.name !== "" && (n.name = e.name), (i = e.protocols) != null && i.length && (n.protocols = e.protocols.map((a) =>
|
|
1385
|
+
return e.cardType !== 0 && (n.cardType = Math.round(e.cardType)), e.cardNumber !== 0 && (n.cardNumber = Math.round(e.cardNumber)), e.productCode !== "" && (n.productCode = e.productCode), e.serialNumber !== "" && (n.serialNumber = e.serialNumber), e.name !== "" && (n.name = e.name), (i = e.protocols) != null && i.length && (n.protocols = e.protocols.map((a) => Ln(a))), (t = e.channels) != null && t.length && (n.channels = e.channels.map((a) => k.toJSON(a))), n;
|
|
1386
1386
|
},
|
|
1387
1387
|
create(e) {
|
|
1388
|
-
return
|
|
1388
|
+
return p.fromPartial(e ?? {});
|
|
1389
1389
|
},
|
|
1390
1390
|
fromPartial(e) {
|
|
1391
1391
|
var i, t;
|
|
1392
1392
|
const n = Me();
|
|
1393
|
-
return n.cardType = e.cardType ?? 0, n.cardNumber = e.cardNumber ?? 0, n.productCode = e.productCode ?? "", n.serialNumber = e.serialNumber ?? "", n.name = e.name ?? "", n.protocols = ((i = e.protocols) == null ? void 0 : i.map((a) => a)) || [], n.channels = ((t = e.channels) == null ? void 0 : t.map((a) =>
|
|
1393
|
+
return n.cardType = e.cardType ?? 0, n.cardNumber = e.cardNumber ?? 0, n.productCode = e.productCode ?? "", n.serialNumber = e.serialNumber ?? "", n.name = e.name ?? "", n.protocols = ((i = e.protocols) == null ? void 0 : i.map((a) => a)) || [], n.channels = ((t = e.channels) == null ? void 0 : t.map((a) => k.fromPartial(a))) || [], n;
|
|
1394
1394
|
}
|
|
1395
1395
|
};
|
|
1396
1396
|
function Le() {
|
|
1397
1397
|
return { items: [] };
|
|
1398
1398
|
}
|
|
1399
|
-
const
|
|
1399
|
+
const D = {
|
|
1400
1400
|
encode(e, n = new o()) {
|
|
1401
1401
|
for (const i of e.items)
|
|
1402
|
-
|
|
1402
|
+
p.encode(i, n.uint32(10).fork()).join();
|
|
1403
1403
|
return n;
|
|
1404
1404
|
},
|
|
1405
1405
|
decode(e, n) {
|
|
1406
|
-
const i = e instanceof
|
|
1406
|
+
const i = e instanceof s ? e : new s(e);
|
|
1407
1407
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1408
1408
|
const a = Le();
|
|
1409
1409
|
for (; i.pos < t; ) {
|
|
@@ -1412,7 +1412,7 @@ const k = {
|
|
|
1412
1412
|
case 1: {
|
|
1413
1413
|
if (r !== 10)
|
|
1414
1414
|
break;
|
|
1415
|
-
a.items.push(
|
|
1415
|
+
a.items.push(p.decode(i, i.uint32()));
|
|
1416
1416
|
continue;
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
@@ -1423,31 +1423,31 @@ const k = {
|
|
|
1423
1423
|
return a;
|
|
1424
1424
|
},
|
|
1425
1425
|
fromJSON(e) {
|
|
1426
|
-
return { items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) =>
|
|
1426
|
+
return { items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => p.fromJSON(n)) : [] };
|
|
1427
1427
|
},
|
|
1428
1428
|
toJSON(e) {
|
|
1429
1429
|
var i;
|
|
1430
1430
|
const n = {};
|
|
1431
|
-
return (i = e.items) != null && i.length && (n.items = e.items.map((t) =>
|
|
1431
|
+
return (i = e.items) != null && i.length && (n.items = e.items.map((t) => p.toJSON(t))), n;
|
|
1432
1432
|
},
|
|
1433
1433
|
create(e) {
|
|
1434
|
-
return
|
|
1434
|
+
return D.fromPartial(e ?? {});
|
|
1435
1435
|
},
|
|
1436
1436
|
fromPartial(e) {
|
|
1437
1437
|
var i;
|
|
1438
1438
|
const n = Le();
|
|
1439
|
-
return n.items = ((i = e.items) == null ? void 0 : i.map((t) =>
|
|
1439
|
+
return n.items = ((i = e.items) == null ? void 0 : i.map((t) => p.fromPartial(t))) || [], n;
|
|
1440
1440
|
}
|
|
1441
1441
|
};
|
|
1442
1442
|
function Pe() {
|
|
1443
1443
|
return { preferences: void 0, includeVirtual: !1 };
|
|
1444
1444
|
}
|
|
1445
|
-
const
|
|
1445
|
+
const ri = {
|
|
1446
1446
|
encode(e, n = new o()) {
|
|
1447
1447
|
return e.preferences !== void 0 && E.encode(e.preferences, n.uint32(10).fork()).join(), e.includeVirtual !== !1 && n.uint32(16).bool(e.includeVirtual), n;
|
|
1448
1448
|
},
|
|
1449
1449
|
decode(e, n) {
|
|
1450
|
-
const i = e instanceof
|
|
1450
|
+
const i = e instanceof s ? e : new s(e);
|
|
1451
1451
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1452
1452
|
const a = Pe();
|
|
1453
1453
|
for (; i.pos < t; ) {
|
|
@@ -1483,7 +1483,7 @@ const ii = {
|
|
|
1483
1483
|
return e.preferences !== void 0 && (n.preferences = E.toJSON(e.preferences)), e.includeVirtual !== !1 && (n.includeVirtual = e.includeVirtual), n;
|
|
1484
1484
|
},
|
|
1485
1485
|
create(e) {
|
|
1486
|
-
return
|
|
1486
|
+
return ri.fromPartial(e ?? {});
|
|
1487
1487
|
},
|
|
1488
1488
|
fromPartial(e) {
|
|
1489
1489
|
const n = Pe();
|
|
@@ -1493,14 +1493,14 @@ const ii = {
|
|
|
1493
1493
|
function ge() {
|
|
1494
1494
|
return { devices: [] };
|
|
1495
1495
|
}
|
|
1496
|
-
const
|
|
1496
|
+
const ai = {
|
|
1497
1497
|
encode(e, n = new o()) {
|
|
1498
1498
|
for (const i of e.devices)
|
|
1499
|
-
|
|
1499
|
+
p.encode(i, n.uint32(10).fork()).join();
|
|
1500
1500
|
return n;
|
|
1501
1501
|
},
|
|
1502
1502
|
decode(e, n) {
|
|
1503
|
-
const i = e instanceof
|
|
1503
|
+
const i = e instanceof s ? e : new s(e);
|
|
1504
1504
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1505
1505
|
const a = ge();
|
|
1506
1506
|
for (; i.pos < t; ) {
|
|
@@ -1509,7 +1509,7 @@ const ri = {
|
|
|
1509
1509
|
case 1: {
|
|
1510
1510
|
if (r !== 10)
|
|
1511
1511
|
break;
|
|
1512
|
-
a.devices.push(
|
|
1512
|
+
a.devices.push(p.decode(i, i.uint32()));
|
|
1513
1513
|
continue;
|
|
1514
1514
|
}
|
|
1515
1515
|
}
|
|
@@ -1521,21 +1521,21 @@ const ri = {
|
|
|
1521
1521
|
},
|
|
1522
1522
|
fromJSON(e) {
|
|
1523
1523
|
return {
|
|
1524
|
-
devices: globalThis.Array.isArray(e == null ? void 0 : e.devices) ? e.devices.map((n) =>
|
|
1524
|
+
devices: globalThis.Array.isArray(e == null ? void 0 : e.devices) ? e.devices.map((n) => p.fromJSON(n)) : []
|
|
1525
1525
|
};
|
|
1526
1526
|
},
|
|
1527
1527
|
toJSON(e) {
|
|
1528
1528
|
var i;
|
|
1529
1529
|
const n = {};
|
|
1530
|
-
return (i = e.devices) != null && i.length && (n.devices = e.devices.map((t) =>
|
|
1530
|
+
return (i = e.devices) != null && i.length && (n.devices = e.devices.map((t) => p.toJSON(t))), n;
|
|
1531
1531
|
},
|
|
1532
1532
|
create(e) {
|
|
1533
|
-
return
|
|
1533
|
+
return ai.fromPartial(e ?? {});
|
|
1534
1534
|
},
|
|
1535
1535
|
fromPartial(e) {
|
|
1536
1536
|
var i;
|
|
1537
1537
|
const n = ge();
|
|
1538
|
-
return n.devices = ((i = e.devices) == null ? void 0 : i.map((t) =>
|
|
1538
|
+
return n.devices = ((i = e.devices) == null ? void 0 : i.map((t) => p.fromPartial(t))) || [], n;
|
|
1539
1539
|
}
|
|
1540
1540
|
};
|
|
1541
1541
|
function be() {
|
|
@@ -1547,12 +1547,12 @@ function be() {
|
|
|
1547
1547
|
bitRateDataPhase: void 0
|
|
1548
1548
|
};
|
|
1549
1549
|
}
|
|
1550
|
-
const
|
|
1550
|
+
const ti = {
|
|
1551
1551
|
encode(e, n = new o()) {
|
|
1552
1552
|
return e.preferences !== void 0 && E.encode(e.preferences, n.uint32(10).fork()).join(), e.channelNumber !== 0 && n.uint32(16).int32(e.channelNumber), e.bitRate !== void 0 && n.uint32(24).int32(e.bitRate), e.bitRateArbitrationPhase !== void 0 && n.uint32(32).int32(e.bitRateArbitrationPhase), e.bitRateDataPhase !== void 0 && n.uint32(40).int32(e.bitRateDataPhase), n;
|
|
1553
1553
|
},
|
|
1554
1554
|
decode(e, n) {
|
|
1555
|
-
const i = e instanceof
|
|
1555
|
+
const i = e instanceof s ? e : new s(e);
|
|
1556
1556
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1557
1557
|
const a = be();
|
|
1558
1558
|
for (; i.pos < t; ) {
|
|
@@ -1609,7 +1609,7 @@ const ai = {
|
|
|
1609
1609
|
return e.preferences !== void 0 && (n.preferences = E.toJSON(e.preferences)), e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), e.bitRate !== void 0 && (n.bitRate = Math.round(e.bitRate)), e.bitRateArbitrationPhase !== void 0 && (n.bitRateArbitrationPhase = Math.round(e.bitRateArbitrationPhase)), e.bitRateDataPhase !== void 0 && (n.bitRateDataPhase = Math.round(e.bitRateDataPhase)), n;
|
|
1610
1610
|
},
|
|
1611
1611
|
create(e) {
|
|
1612
|
-
return
|
|
1612
|
+
return ti.fromPartial(e ?? {});
|
|
1613
1613
|
},
|
|
1614
1614
|
fromPartial(e) {
|
|
1615
1615
|
const n = be();
|
|
@@ -1619,7 +1619,7 @@ const ai = {
|
|
|
1619
1619
|
function Ge() {
|
|
1620
1620
|
return { availableBusSpeeds: [], availableBusSpeedsFd: [] };
|
|
1621
1621
|
}
|
|
1622
|
-
const
|
|
1622
|
+
const ui = {
|
|
1623
1623
|
encode(e, n = new o()) {
|
|
1624
1624
|
for (const i of e.availableBusSpeeds)
|
|
1625
1625
|
h.encode(i, n.uint32(10).fork()).join();
|
|
@@ -1628,7 +1628,7 @@ const ti = {
|
|
|
1628
1628
|
return n;
|
|
1629
1629
|
},
|
|
1630
1630
|
decode(e, n) {
|
|
1631
|
-
const i = e instanceof
|
|
1631
|
+
const i = e instanceof s ? e : new s(e);
|
|
1632
1632
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1633
1633
|
const a = Ge();
|
|
1634
1634
|
for (; i.pos < t; ) {
|
|
@@ -1665,7 +1665,7 @@ const ti = {
|
|
|
1665
1665
|
return (i = e.availableBusSpeeds) != null && i.length && (n.availableBusSpeeds = e.availableBusSpeeds.map((a) => h.toJSON(a))), (t = e.availableBusSpeedsFd) != null && t.length && (n.availableBusSpeedsFd = e.availableBusSpeedsFd.map((a) => I.toJSON(a))), n;
|
|
1666
1666
|
},
|
|
1667
1667
|
create(e) {
|
|
1668
|
-
return
|
|
1668
|
+
return ui.fromPartial(e ?? {});
|
|
1669
1669
|
},
|
|
1670
1670
|
fromPartial(e) {
|
|
1671
1671
|
var i, t;
|
|
@@ -1684,7 +1684,7 @@ const si = {
|
|
|
1684
1684
|
return n.join(), n;
|
|
1685
1685
|
},
|
|
1686
1686
|
decode(e, n) {
|
|
1687
|
-
const i = e instanceof
|
|
1687
|
+
const i = e instanceof s ? e : new s(e);
|
|
1688
1688
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1689
1689
|
const a = ke();
|
|
1690
1690
|
for (; i.pos < t; ) {
|
|
@@ -1746,14 +1746,14 @@ const si = {
|
|
|
1746
1746
|
function De() {
|
|
1747
1747
|
return { availableBusSpeeds: [] };
|
|
1748
1748
|
}
|
|
1749
|
-
const
|
|
1749
|
+
const di = {
|
|
1750
1750
|
encode(e, n = new o()) {
|
|
1751
1751
|
for (const i of e.availableBusSpeeds)
|
|
1752
1752
|
h.encode(i, n.uint32(10).fork()).join();
|
|
1753
1753
|
return n;
|
|
1754
1754
|
},
|
|
1755
1755
|
decode(e, n) {
|
|
1756
|
-
const i = e instanceof
|
|
1756
|
+
const i = e instanceof s ? e : new s(e);
|
|
1757
1757
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1758
1758
|
const a = De();
|
|
1759
1759
|
for (; i.pos < t; ) {
|
|
@@ -1783,7 +1783,7 @@ const ui = {
|
|
|
1783
1783
|
return (i = e.availableBusSpeeds) != null && i.length && (n.availableBusSpeeds = e.availableBusSpeeds.map((t) => h.toJSON(t))), n;
|
|
1784
1784
|
},
|
|
1785
1785
|
create(e) {
|
|
1786
|
-
return
|
|
1786
|
+
return di.fromPartial(e ?? {});
|
|
1787
1787
|
},
|
|
1788
1788
|
fromPartial(e) {
|
|
1789
1789
|
var i;
|
|
@@ -1794,7 +1794,7 @@ const ui = {
|
|
|
1794
1794
|
function Be() {
|
|
1795
1795
|
return { preferences: void 0, channelNumber: 0, bitRatesArbitrationPhase: [], bitRatesDataPhase: [] };
|
|
1796
1796
|
}
|
|
1797
|
-
const
|
|
1797
|
+
const oi = {
|
|
1798
1798
|
encode(e, n = new o()) {
|
|
1799
1799
|
e.preferences !== void 0 && E.encode(e.preferences, n.uint32(10).fork()).join(), e.channelNumber !== 0 && n.uint32(16).int32(e.channelNumber), n.uint32(26).fork();
|
|
1800
1800
|
for (const i of e.bitRatesArbitrationPhase)
|
|
@@ -1805,7 +1805,7 @@ const di = {
|
|
|
1805
1805
|
return n.join(), n;
|
|
1806
1806
|
},
|
|
1807
1807
|
decode(e, n) {
|
|
1808
|
-
const i = e instanceof
|
|
1808
|
+
const i = e instanceof s ? e : new s(e);
|
|
1809
1809
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1810
1810
|
const a = Be();
|
|
1811
1811
|
for (; i.pos < t; ) {
|
|
@@ -1870,7 +1870,7 @@ const di = {
|
|
|
1870
1870
|
return e.preferences !== void 0 && (n.preferences = E.toJSON(e.preferences)), e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), (i = e.bitRatesArbitrationPhase) != null && i.length && (n.bitRatesArbitrationPhase = e.bitRatesArbitrationPhase.map((a) => Math.round(a))), (t = e.bitRatesDataPhase) != null && t.length && (n.bitRatesDataPhase = e.bitRatesDataPhase.map((a) => Math.round(a))), n;
|
|
1871
1871
|
},
|
|
1872
1872
|
create(e) {
|
|
1873
|
-
return
|
|
1873
|
+
return oi.fromPartial(e ?? {});
|
|
1874
1874
|
},
|
|
1875
1875
|
fromPartial(e) {
|
|
1876
1876
|
var i, t;
|
|
@@ -1881,14 +1881,14 @@ const di = {
|
|
|
1881
1881
|
function ye() {
|
|
1882
1882
|
return { availableBusSpeedsFd: [] };
|
|
1883
1883
|
}
|
|
1884
|
-
const
|
|
1884
|
+
const fi = {
|
|
1885
1885
|
encode(e, n = new o()) {
|
|
1886
1886
|
for (const i of e.availableBusSpeedsFd)
|
|
1887
1887
|
I.encode(i, n.uint32(10).fork()).join();
|
|
1888
1888
|
return n;
|
|
1889
1889
|
},
|
|
1890
1890
|
decode(e, n) {
|
|
1891
|
-
const i = e instanceof
|
|
1891
|
+
const i = e instanceof s ? e : new s(e);
|
|
1892
1892
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1893
1893
|
const a = ye();
|
|
1894
1894
|
for (; i.pos < t; ) {
|
|
@@ -1918,7 +1918,7 @@ const oi = {
|
|
|
1918
1918
|
return (i = e.availableBusSpeedsFd) != null && i.length && (n.availableBusSpeedsFd = e.availableBusSpeedsFd.map((t) => I.toJSON(t))), n;
|
|
1919
1919
|
},
|
|
1920
1920
|
create(e) {
|
|
1921
|
-
return
|
|
1921
|
+
return fi.fromPartial(e ?? {});
|
|
1922
1922
|
},
|
|
1923
1923
|
fromPartial(e) {
|
|
1924
1924
|
var i;
|
|
@@ -1929,12 +1929,12 @@ const oi = {
|
|
|
1929
1929
|
function ve() {
|
|
1930
1930
|
return { eventType: 0, devices: void 0 };
|
|
1931
1931
|
}
|
|
1932
|
-
const
|
|
1932
|
+
const li = {
|
|
1933
1933
|
encode(e, n = new o()) {
|
|
1934
|
-
return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.devices !== void 0 &&
|
|
1934
|
+
return e.eventType !== 0 && n.uint32(8).int32(e.eventType), e.devices !== void 0 && D.encode(e.devices, n.uint32(18).fork()).join(), n;
|
|
1935
1935
|
},
|
|
1936
1936
|
decode(e, n) {
|
|
1937
|
-
const i = e instanceof
|
|
1937
|
+
const i = e instanceof s ? e : new s(e);
|
|
1938
1938
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
1939
1939
|
const a = ve();
|
|
1940
1940
|
for (; i.pos < t; ) {
|
|
@@ -1949,7 +1949,7 @@ const fi = {
|
|
|
1949
1949
|
case 2: {
|
|
1950
1950
|
if (r !== 18)
|
|
1951
1951
|
break;
|
|
1952
|
-
a.devices =
|
|
1952
|
+
a.devices = D.decode(i, i.uint32());
|
|
1953
1953
|
continue;
|
|
1954
1954
|
}
|
|
1955
1955
|
}
|
|
@@ -1961,27 +1961,27 @@ const fi = {
|
|
|
1961
1961
|
},
|
|
1962
1962
|
fromJSON(e) {
|
|
1963
1963
|
return {
|
|
1964
|
-
eventType: f(e.eventType) ?
|
|
1965
|
-
devices: f(e.devices) ?
|
|
1964
|
+
eventType: f(e.eventType) ? ni(e.eventType) : 0,
|
|
1965
|
+
devices: f(e.devices) ? D.fromJSON(e.devices) : void 0
|
|
1966
1966
|
};
|
|
1967
1967
|
},
|
|
1968
1968
|
toJSON(e) {
|
|
1969
1969
|
const n = {};
|
|
1970
|
-
return e.eventType !== 0 && (n.eventType =
|
|
1970
|
+
return e.eventType !== 0 && (n.eventType = ii(e.eventType)), e.devices !== void 0 && (n.devices = D.toJSON(e.devices)), n;
|
|
1971
1971
|
},
|
|
1972
1972
|
create(e) {
|
|
1973
|
-
return
|
|
1973
|
+
return li.fromPartial(e ?? {});
|
|
1974
1974
|
},
|
|
1975
1975
|
fromPartial(e) {
|
|
1976
1976
|
const n = ve();
|
|
1977
|
-
return n.eventType = e.eventType ?? 0, n.devices = e.devices !== void 0 && e.devices !== null ?
|
|
1977
|
+
return n.eventType = e.eventType ?? 0, n.devices = e.devices !== void 0 && e.devices !== null ? D.fromPartial(e.devices) : void 0, n;
|
|
1978
1978
|
}
|
|
1979
1979
|
};
|
|
1980
1980
|
function f(e) {
|
|
1981
1981
|
return e != null;
|
|
1982
1982
|
}
|
|
1983
|
-
var
|
|
1984
|
-
function
|
|
1983
|
+
var ci = /* @__PURE__ */ ((e) => (e[e.SIGNAL_ENCODING_INTEL = 0] = "SIGNAL_ENCODING_INTEL", e[e.SIGNAL_ENCODING_MOTOROLA = 1] = "SIGNAL_ENCODING_MOTOROLA", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(ci || {});
|
|
1984
|
+
function Ni(e) {
|
|
1985
1985
|
switch (e) {
|
|
1986
1986
|
case 0:
|
|
1987
1987
|
case "SIGNAL_ENCODING_INTEL":
|
|
@@ -1995,7 +1995,7 @@ function ci(e) {
|
|
|
1995
1995
|
return -1;
|
|
1996
1996
|
}
|
|
1997
1997
|
}
|
|
1998
|
-
function
|
|
1998
|
+
function _i(e) {
|
|
1999
1999
|
switch (e) {
|
|
2000
2000
|
case 0:
|
|
2001
2001
|
return "SIGNAL_ENCODING_INTEL";
|
|
@@ -2006,8 +2006,8 @@ function Ni(e) {
|
|
|
2006
2006
|
return "UNRECOGNIZED";
|
|
2007
2007
|
}
|
|
2008
2008
|
}
|
|
2009
|
-
var
|
|
2010
|
-
function
|
|
2009
|
+
var Ei = /* @__PURE__ */ ((e) => (e[e.SIGNAL_TYPE_INVALID = 0] = "SIGNAL_TYPE_INVALID", e[e.SIGNAL_TYPE_SIGNED = 1] = "SIGNAL_TYPE_SIGNED", e[e.SIGNAL_TYPE_UNSIGNED = 2] = "SIGNAL_TYPE_UNSIGNED", e[e.SIGNAL_TYPE_FLOAT = 3] = "SIGNAL_TYPE_FLOAT", e[e.SIGNAL_TYPE_DOUBLE = 4] = "SIGNAL_TYPE_DOUBLE", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Ei || {});
|
|
2010
|
+
function Ai(e) {
|
|
2011
2011
|
switch (e) {
|
|
2012
2012
|
case 0:
|
|
2013
2013
|
case "SIGNAL_TYPE_INVALID":
|
|
@@ -2030,7 +2030,7 @@ function Ei(e) {
|
|
|
2030
2030
|
return -1;
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
2033
|
-
function
|
|
2033
|
+
function Si(e) {
|
|
2034
2034
|
switch (e) {
|
|
2035
2035
|
case 0:
|
|
2036
2036
|
return "SIGNAL_TYPE_INVALID";
|
|
@@ -2047,7 +2047,7 @@ function Ai(e) {
|
|
|
2047
2047
|
return "UNRECOGNIZED";
|
|
2048
2048
|
}
|
|
2049
2049
|
}
|
|
2050
|
-
function
|
|
2050
|
+
function xe() {
|
|
2051
2051
|
return {
|
|
2052
2052
|
name: "",
|
|
2053
2053
|
qualifiedName: "",
|
|
@@ -2067,16 +2067,16 @@ function Ve() {
|
|
|
2067
2067
|
multiplexValue: void 0
|
|
2068
2068
|
};
|
|
2069
2069
|
}
|
|
2070
|
-
const
|
|
2070
|
+
const C = {
|
|
2071
2071
|
encode(e, n = new o()) {
|
|
2072
2072
|
return e.name !== "" && n.uint32(10).string(e.name), e.qualifiedName !== "" && n.uint32(18).string(e.qualifiedName), e.comment !== "" && n.uint32(26).string(e.comment), e.encoding !== 0 && n.uint32(32).int32(e.encoding), e.dataType !== 0 && n.uint32(40).int32(e.dataType), e.startbit !== 0 && n.uint32(48).int32(e.startbit), e.length !== 0 && n.uint32(56).int32(e.length), e.unit !== "" && n.uint32(66).string(e.unit), e.factor !== 0 && n.uint32(73).double(e.factor), e.offset !== 0 && n.uint32(81).double(e.offset), e.minValue !== 0 && n.uint32(89).double(e.minValue), e.maxValue !== 0 && n.uint32(97).double(e.maxValue), Object.entries(e.enumValues).forEach(([i, t]) => {
|
|
2073
2073
|
oe.encode({ key: i, value: t }, n.uint32(106).fork()).join();
|
|
2074
2074
|
}), e.isMultiplexer !== !1 && n.uint32(112).bool(e.isMultiplexer), e.isMultiplexed !== !1 && n.uint32(120).bool(e.isMultiplexed), e.multiplexValue !== void 0 && n.uint32(128).int32(e.multiplexValue), n;
|
|
2075
2075
|
},
|
|
2076
2076
|
decode(e, n) {
|
|
2077
|
-
const i = e instanceof
|
|
2077
|
+
const i = e instanceof s ? e : new s(e);
|
|
2078
2078
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
2079
|
-
const a =
|
|
2079
|
+
const a = xe();
|
|
2080
2080
|
for (; i.pos < t; ) {
|
|
2081
2081
|
const r = i.uint32();
|
|
2082
2082
|
switch (r >>> 3) {
|
|
@@ -2186,27 +2186,27 @@ const p = {
|
|
|
2186
2186
|
},
|
|
2187
2187
|
fromJSON(e) {
|
|
2188
2188
|
return {
|
|
2189
|
-
name:
|
|
2190
|
-
qualifiedName:
|
|
2191
|
-
comment:
|
|
2192
|
-
encoding:
|
|
2193
|
-
dataType:
|
|
2194
|
-
startbit:
|
|
2195
|
-
length:
|
|
2196
|
-
unit:
|
|
2197
|
-
factor:
|
|
2198
|
-
offset:
|
|
2199
|
-
minValue:
|
|
2200
|
-
maxValue:
|
|
2201
|
-
enumValues:
|
|
2202
|
-
isMultiplexer:
|
|
2203
|
-
isMultiplexed:
|
|
2204
|
-
multiplexValue:
|
|
2189
|
+
name: S(e.name) ? globalThis.String(e.name) : "",
|
|
2190
|
+
qualifiedName: S(e.qualifiedName) ? globalThis.String(e.qualifiedName) : "",
|
|
2191
|
+
comment: S(e.comment) ? globalThis.String(e.comment) : "",
|
|
2192
|
+
encoding: S(e.encoding) ? Ni(e.encoding) : 0,
|
|
2193
|
+
dataType: S(e.dataType) ? Ai(e.dataType) : 0,
|
|
2194
|
+
startbit: S(e.startbit) ? globalThis.Number(e.startbit) : 0,
|
|
2195
|
+
length: S(e.length) ? globalThis.Number(e.length) : 0,
|
|
2196
|
+
unit: S(e.unit) ? globalThis.String(e.unit) : "",
|
|
2197
|
+
factor: S(e.factor) ? globalThis.Number(e.factor) : 0,
|
|
2198
|
+
offset: S(e.offset) ? globalThis.Number(e.offset) : 0,
|
|
2199
|
+
minValue: S(e.minValue) ? globalThis.Number(e.minValue) : 0,
|
|
2200
|
+
maxValue: S(e.maxValue) ? globalThis.Number(e.maxValue) : 0,
|
|
2201
|
+
enumValues: Oi(e.enumValues) ? Object.entries(e.enumValues).reduce((n, [i, t]) => (n[globalThis.Number(i)] = String(t), n), {}) : {},
|
|
2202
|
+
isMultiplexer: S(e.isMultiplexer) ? globalThis.Boolean(e.isMultiplexer) : !1,
|
|
2203
|
+
isMultiplexed: S(e.isMultiplexed) ? globalThis.Boolean(e.isMultiplexed) : !1,
|
|
2204
|
+
multiplexValue: S(e.multiplexValue) ? globalThis.Number(e.multiplexValue) : void 0
|
|
2205
2205
|
};
|
|
2206
2206
|
},
|
|
2207
2207
|
toJSON(e) {
|
|
2208
2208
|
const n = {};
|
|
2209
|
-
if (e.name !== "" && (n.name = e.name), e.qualifiedName !== "" && (n.qualifiedName = e.qualifiedName), e.comment !== "" && (n.comment = e.comment), e.encoding !== 0 && (n.encoding =
|
|
2209
|
+
if (e.name !== "" && (n.name = e.name), e.qualifiedName !== "" && (n.qualifiedName = e.qualifiedName), e.comment !== "" && (n.comment = e.comment), e.encoding !== 0 && (n.encoding = _i(e.encoding)), e.dataType !== 0 && (n.dataType = Si(e.dataType)), e.startbit !== 0 && (n.startbit = Math.round(e.startbit)), e.length !== 0 && (n.length = Math.round(e.length)), e.unit !== "" && (n.unit = e.unit), e.factor !== 0 && (n.factor = e.factor), e.offset !== 0 && (n.offset = e.offset), e.minValue !== 0 && (n.minValue = e.minValue), e.maxValue !== 0 && (n.maxValue = e.maxValue), e.enumValues) {
|
|
2210
2210
|
const i = Object.entries(e.enumValues);
|
|
2211
2211
|
i.length > 0 && (n.enumValues = {}, i.forEach(([t, a]) => {
|
|
2212
2212
|
n.enumValues[t] = a;
|
|
@@ -2215,17 +2215,17 @@ const p = {
|
|
|
2215
2215
|
return e.isMultiplexer !== !1 && (n.isMultiplexer = e.isMultiplexer), e.isMultiplexed !== !1 && (n.isMultiplexed = e.isMultiplexed), e.multiplexValue !== void 0 && (n.multiplexValue = Math.round(e.multiplexValue)), n;
|
|
2216
2216
|
},
|
|
2217
2217
|
create(e) {
|
|
2218
|
-
return
|
|
2218
|
+
return C.fromPartial(e ?? {});
|
|
2219
2219
|
},
|
|
2220
2220
|
fromPartial(e) {
|
|
2221
|
-
const n =
|
|
2221
|
+
const n = xe();
|
|
2222
2222
|
return n.name = e.name ?? "", n.qualifiedName = e.qualifiedName ?? "", n.comment = e.comment ?? "", n.encoding = e.encoding ?? 0, n.dataType = e.dataType ?? 0, n.startbit = e.startbit ?? 0, n.length = e.length ?? 0, n.unit = e.unit ?? "", n.factor = e.factor ?? 0, n.offset = e.offset ?? 0, n.minValue = e.minValue ?? 0, n.maxValue = e.maxValue ?? 0, n.enumValues = Object.entries(e.enumValues ?? {}).reduce(
|
|
2223
2223
|
(i, [t, a]) => (a !== void 0 && (i[globalThis.Number(t)] = globalThis.String(a)), i),
|
|
2224
2224
|
{}
|
|
2225
2225
|
), n.isMultiplexer = e.isMultiplexer ?? !1, n.isMultiplexed = e.isMultiplexed ?? !1, n.multiplexValue = e.multiplexValue ?? void 0, n;
|
|
2226
2226
|
}
|
|
2227
2227
|
};
|
|
2228
|
-
function
|
|
2228
|
+
function Ve() {
|
|
2229
2229
|
return { key: 0, value: "" };
|
|
2230
2230
|
}
|
|
2231
2231
|
const oe = {
|
|
@@ -2233,9 +2233,9 @@ const oe = {
|
|
|
2233
2233
|
return e.key !== 0 && n.uint32(8).int32(e.key), e.value !== "" && n.uint32(18).string(e.value), n;
|
|
2234
2234
|
},
|
|
2235
2235
|
decode(e, n) {
|
|
2236
|
-
const i = e instanceof
|
|
2236
|
+
const i = e instanceof s ? e : new s(e);
|
|
2237
2237
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
2238
|
-
const a =
|
|
2238
|
+
const a = Ve();
|
|
2239
2239
|
for (; i.pos < t; ) {
|
|
2240
2240
|
const r = i.uint32();
|
|
2241
2241
|
switch (r >>> 3) {
|
|
@@ -2260,8 +2260,8 @@ const oe = {
|
|
|
2260
2260
|
},
|
|
2261
2261
|
fromJSON(e) {
|
|
2262
2262
|
return {
|
|
2263
|
-
key:
|
|
2264
|
-
value:
|
|
2263
|
+
key: S(e.key) ? globalThis.Number(e.key) : 0,
|
|
2264
|
+
value: S(e.value) ? globalThis.String(e.value) : ""
|
|
2265
2265
|
};
|
|
2266
2266
|
},
|
|
2267
2267
|
toJSON(e) {
|
|
@@ -2272,30 +2272,30 @@ const oe = {
|
|
|
2272
2272
|
return oe.fromPartial(e ?? {});
|
|
2273
2273
|
},
|
|
2274
2274
|
fromPartial(e) {
|
|
2275
|
-
const n =
|
|
2275
|
+
const n = Ve();
|
|
2276
2276
|
return n.key = e.key ?? 0, n.value = e.value ?? "", n;
|
|
2277
2277
|
}
|
|
2278
2278
|
};
|
|
2279
|
-
function
|
|
2279
|
+
function Ue() {
|
|
2280
2280
|
return { items: [] };
|
|
2281
2281
|
}
|
|
2282
|
-
const
|
|
2282
|
+
const Ri = {
|
|
2283
2283
|
encode(e, n = new o()) {
|
|
2284
2284
|
for (const i of e.items)
|
|
2285
|
-
|
|
2285
|
+
C.encode(i, n.uint32(10).fork()).join();
|
|
2286
2286
|
return n;
|
|
2287
2287
|
},
|
|
2288
2288
|
decode(e, n) {
|
|
2289
|
-
const i = e instanceof
|
|
2289
|
+
const i = e instanceof s ? e : new s(e);
|
|
2290
2290
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
2291
|
-
const a =
|
|
2291
|
+
const a = Ue();
|
|
2292
2292
|
for (; i.pos < t; ) {
|
|
2293
2293
|
const r = i.uint32();
|
|
2294
2294
|
switch (r >>> 3) {
|
|
2295
2295
|
case 1: {
|
|
2296
2296
|
if (r !== 10)
|
|
2297
2297
|
break;
|
|
2298
|
-
a.items.push(
|
|
2298
|
+
a.items.push(C.decode(i, i.uint32()));
|
|
2299
2299
|
continue;
|
|
2300
2300
|
}
|
|
2301
2301
|
}
|
|
@@ -2307,31 +2307,31 @@ const Si = {
|
|
|
2307
2307
|
},
|
|
2308
2308
|
fromJSON(e) {
|
|
2309
2309
|
return {
|
|
2310
|
-
items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) =>
|
|
2310
|
+
items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => C.fromJSON(n)) : []
|
|
2311
2311
|
};
|
|
2312
2312
|
},
|
|
2313
2313
|
toJSON(e) {
|
|
2314
2314
|
var i;
|
|
2315
2315
|
const n = {};
|
|
2316
|
-
return (i = e.items) != null && i.length && (n.items = e.items.map((t) =>
|
|
2316
|
+
return (i = e.items) != null && i.length && (n.items = e.items.map((t) => C.toJSON(t))), n;
|
|
2317
2317
|
},
|
|
2318
2318
|
create(e) {
|
|
2319
|
-
return
|
|
2319
|
+
return Ri.fromPartial(e ?? {});
|
|
2320
2320
|
},
|
|
2321
2321
|
fromPartial(e) {
|
|
2322
2322
|
var i;
|
|
2323
|
-
const n =
|
|
2324
|
-
return n.items = ((i = e.items) == null ? void 0 : i.map((t) =>
|
|
2323
|
+
const n = Ue();
|
|
2324
|
+
return n.items = ((i = e.items) == null ? void 0 : i.map((t) => C.fromPartial(t))) || [], n;
|
|
2325
2325
|
}
|
|
2326
2326
|
};
|
|
2327
|
-
function
|
|
2327
|
+
function Oi(e) {
|
|
2328
2328
|
return typeof e == "object" && e !== null;
|
|
2329
2329
|
}
|
|
2330
|
-
function
|
|
2330
|
+
function S(e) {
|
|
2331
2331
|
return e != null;
|
|
2332
2332
|
}
|
|
2333
|
-
var
|
|
2334
|
-
function
|
|
2333
|
+
var Ti = /* @__PURE__ */ ((e) => (e[e.CAN_FRAME_FLAG_UNSPECIFIED = 0] = "CAN_FRAME_FLAG_UNSPECIFIED", e[e.CAN_FRAME_FLAG_RTR = 1] = "CAN_FRAME_FLAG_RTR", e[e.CAN_FRAME_FLAG_STD = 2] = "CAN_FRAME_FLAG_STD", e[e.CAN_FRAME_FLAG_EXT = 4] = "CAN_FRAME_FLAG_EXT", e[e.CAN_FRAME_FLAG_WAKEUP = 8] = "CAN_FRAME_FLAG_WAKEUP", e[e.CAN_FRAME_FLAG_NERR = 16] = "CAN_FRAME_FLAG_NERR", e[e.CAN_FRAME_FLAG_ERROR_FRAME = 32] = "CAN_FRAME_FLAG_ERROR_FRAME", e[e.CAN_FRAME_FLAG_TXACK = 64] = "CAN_FRAME_FLAG_TXACK", e[e.CAN_FRAME_FLAG_TXRQ = 128] = "CAN_FRAME_FLAG_TXRQ", e[e.CAN_FRAME_FLAG_DELAY_MSG = 256] = "CAN_FRAME_FLAG_DELAY_MSG", e[e.CAN_FRAME_FLAG_LOCAL_TXACK = 268435456] = "CAN_FRAME_FLAG_LOCAL_TXACK", e[e.CAN_FRAME_FLAG_SINGLE_SHOT = 16777216] = "CAN_FRAME_FLAG_SINGLE_SHOT", e[e.CAN_FRAME_FLAG_TXNACK = 33554432] = "CAN_FRAME_FLAG_TXNACK", e[e.CAN_FRAME_FLAG_ABL = 67108864] = "CAN_FRAME_FLAG_ABL", e[e.CAN_FRAME_FLAG_FD_FDF = 65536] = "CAN_FRAME_FLAG_FD_FDF", e[e.CAN_FRAME_FLAG_FD_BRS = 131072] = "CAN_FRAME_FLAG_FD_BRS", e[e.CAN_FRAME_FLAG_FD_ESI = 262144] = "CAN_FRAME_FLAG_FD_ESI", e[e.CAN_FRAME_FLAG_ERR_HW_OVERRUN = 512] = "CAN_FRAME_FLAG_ERR_HW_OVERRUN", e[e.CAN_FRAME_FLAG_ERR_SW_OVERRUN = 1024] = "CAN_FRAME_FLAG_ERR_SW_OVERRUN", e[e.CAN_FRAME_FLAG_ERR_STUFF = 2048] = "CAN_FRAME_FLAG_ERR_STUFF", e[e.CAN_FRAME_FLAG_ERR_FORM = 4096] = "CAN_FRAME_FLAG_ERR_FORM", e[e.CAN_FRAME_FLAG_ERR_CRC = 8192] = "CAN_FRAME_FLAG_ERR_CRC", e[e.CAN_FRAME_FLAG_ERR_BIT0 = 16384] = "CAN_FRAME_FLAG_ERR_BIT0", e[e.CAN_FRAME_FLAG_ERR_BIT1 = 32768] = "CAN_FRAME_FLAG_ERR_BIT1", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Ti || {});
|
|
2334
|
+
function mi(e) {
|
|
2335
2335
|
switch (e) {
|
|
2336
2336
|
case 0:
|
|
2337
2337
|
case "CAN_FRAME_FLAG_UNSPECIFIED":
|
|
@@ -2467,7 +2467,7 @@ function hi(e) {
|
|
|
2467
2467
|
}
|
|
2468
2468
|
}
|
|
2469
2469
|
var Ii = /* @__PURE__ */ ((e) => (e[e.LIN_FRAME_FLAG_UNSPECIFIED = 0] = "LIN_FRAME_FLAG_UNSPECIFIED", e[e.LIN_FRAME_FLAG_TX = 1] = "LIN_FRAME_FLAG_TX", e[e.LIN_FRAME_FLAG_RX = 2] = "LIN_FRAME_FLAG_RX", e[e.LIN_FRAME_FLAG_WAKEUP_FRAME = 4] = "LIN_FRAME_FLAG_WAKEUP_FRAME", e[e.LIN_FRAME_FLAG_NODATA = 8] = "LIN_FRAME_FLAG_NODATA", e[e.LIN_FRAME_FLAG_CSUM_ERROR = 16] = "LIN_FRAME_FLAG_CSUM_ERROR", e[e.LIN_FRAME_FLAG_PARITY_ERROR = 32] = "LIN_FRAME_FLAG_PARITY_ERROR", e[e.LIN_FRAME_FLAG_SYNCH_ERROR = 64] = "LIN_FRAME_FLAG_SYNCH_ERROR", e[e.LIN_FRAME_FLAG_BIT_ERROR = 128] = "LIN_FRAME_FLAG_BIT_ERROR", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Ii || {});
|
|
2470
|
-
function
|
|
2470
|
+
function pi(e) {
|
|
2471
2471
|
switch (e) {
|
|
2472
2472
|
case 0:
|
|
2473
2473
|
case "LIN_FRAME_FLAG_UNSPECIFIED":
|
|
@@ -2502,7 +2502,7 @@ function mi(e) {
|
|
|
2502
2502
|
return -1;
|
|
2503
2503
|
}
|
|
2504
2504
|
}
|
|
2505
|
-
function
|
|
2505
|
+
function Ci(e) {
|
|
2506
2506
|
switch (e) {
|
|
2507
2507
|
case 0:
|
|
2508
2508
|
return "LIN_FRAME_FLAG_UNSPECIFIED";
|
|
@@ -2530,7 +2530,7 @@ function pi(e) {
|
|
|
2530
2530
|
function Je() {
|
|
2531
2531
|
return { flags: [] };
|
|
2532
2532
|
}
|
|
2533
|
-
const
|
|
2533
|
+
const A = {
|
|
2534
2534
|
encode(e, n = new o()) {
|
|
2535
2535
|
n.uint32(10).fork();
|
|
2536
2536
|
for (const i of e.flags)
|
|
@@ -2538,7 +2538,7 @@ const S = {
|
|
|
2538
2538
|
return n.join(), n;
|
|
2539
2539
|
},
|
|
2540
2540
|
decode(e, n) {
|
|
2541
|
-
const i = e instanceof
|
|
2541
|
+
const i = e instanceof s ? e : new s(e);
|
|
2542
2542
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
2543
2543
|
const a = Je();
|
|
2544
2544
|
for (; i.pos < t; ) {
|
|
@@ -2566,7 +2566,7 @@ const S = {
|
|
|
2566
2566
|
},
|
|
2567
2567
|
fromJSON(e) {
|
|
2568
2568
|
return {
|
|
2569
|
-
flags: globalThis.Array.isArray(e == null ? void 0 : e.flags) ? e.flags.map((n) =>
|
|
2569
|
+
flags: globalThis.Array.isArray(e == null ? void 0 : e.flags) ? e.flags.map((n) => mi(n)) : []
|
|
2570
2570
|
};
|
|
2571
2571
|
},
|
|
2572
2572
|
toJSON(e) {
|
|
@@ -2575,7 +2575,7 @@ const S = {
|
|
|
2575
2575
|
return (i = e.flags) != null && i.length && (n.flags = e.flags.map((t) => hi(t))), n;
|
|
2576
2576
|
},
|
|
2577
2577
|
create(e) {
|
|
2578
|
-
return
|
|
2578
|
+
return A.fromPartial(e ?? {});
|
|
2579
2579
|
},
|
|
2580
2580
|
fromPartial(e) {
|
|
2581
2581
|
var i;
|
|
@@ -2586,7 +2586,7 @@ const S = {
|
|
|
2586
2586
|
function we() {
|
|
2587
2587
|
return { flags: [] };
|
|
2588
2588
|
}
|
|
2589
|
-
const
|
|
2589
|
+
const R = {
|
|
2590
2590
|
encode(e, n = new o()) {
|
|
2591
2591
|
n.uint32(10).fork();
|
|
2592
2592
|
for (const i of e.flags)
|
|
@@ -2594,7 +2594,7 @@ const C = {
|
|
|
2594
2594
|
return n.join(), n;
|
|
2595
2595
|
},
|
|
2596
2596
|
decode(e, n) {
|
|
2597
|
-
const i = e instanceof
|
|
2597
|
+
const i = e instanceof s ? e : new s(e);
|
|
2598
2598
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
2599
2599
|
const a = we();
|
|
2600
2600
|
for (; i.pos < t; ) {
|
|
@@ -2622,16 +2622,16 @@ const C = {
|
|
|
2622
2622
|
},
|
|
2623
2623
|
fromJSON(e) {
|
|
2624
2624
|
return {
|
|
2625
|
-
flags: globalThis.Array.isArray(e == null ? void 0 : e.flags) ? e.flags.map((n) =>
|
|
2625
|
+
flags: globalThis.Array.isArray(e == null ? void 0 : e.flags) ? e.flags.map((n) => pi(n)) : []
|
|
2626
2626
|
};
|
|
2627
2627
|
},
|
|
2628
2628
|
toJSON(e) {
|
|
2629
2629
|
var i;
|
|
2630
2630
|
const n = {};
|
|
2631
|
-
return (i = e.flags) != null && i.length && (n.flags = e.flags.map((t) =>
|
|
2631
|
+
return (i = e.flags) != null && i.length && (n.flags = e.flags.map((t) => Ci(t))), n;
|
|
2632
2632
|
},
|
|
2633
2633
|
create(e) {
|
|
2634
|
-
return
|
|
2634
|
+
return R.fromPartial(e ?? {});
|
|
2635
2635
|
},
|
|
2636
2636
|
fromPartial(e) {
|
|
2637
2637
|
var i;
|
|
@@ -2642,12 +2642,12 @@ const C = {
|
|
|
2642
2642
|
function He() {
|
|
2643
2643
|
return { stringValue: void 0, doubleValue: void 0 };
|
|
2644
2644
|
}
|
|
2645
|
-
const
|
|
2645
|
+
const P = {
|
|
2646
2646
|
encode(e, n = new o()) {
|
|
2647
2647
|
return e.stringValue !== void 0 && n.uint32(10).string(e.stringValue), e.doubleValue !== void 0 && n.uint32(17).double(e.doubleValue), n;
|
|
2648
2648
|
},
|
|
2649
2649
|
decode(e, n) {
|
|
2650
|
-
const i = e instanceof
|
|
2650
|
+
const i = e instanceof s ? e : new s(e);
|
|
2651
2651
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
2652
2652
|
const a = He();
|
|
2653
2653
|
for (; i.pos < t; ) {
|
|
@@ -2683,7 +2683,7 @@ const L = {
|
|
|
2683
2683
|
return e.stringValue !== void 0 && (n.stringValue = e.stringValue), e.doubleValue !== void 0 && (n.doubleValue = e.doubleValue), n;
|
|
2684
2684
|
},
|
|
2685
2685
|
create(e) {
|
|
2686
|
-
return
|
|
2686
|
+
return P.fromPartial(e ?? {});
|
|
2687
2687
|
},
|
|
2688
2688
|
fromPartial(e) {
|
|
2689
2689
|
const n = He();
|
|
@@ -2693,12 +2693,12 @@ const L = {
|
|
|
2693
2693
|
function ze() {
|
|
2694
2694
|
return { name: "", qualifiedName: "", unit: "", stringValue: void 0, doubleValue: 0 };
|
|
2695
2695
|
}
|
|
2696
|
-
const
|
|
2696
|
+
const B = {
|
|
2697
2697
|
encode(e, n = new o()) {
|
|
2698
2698
|
return e.name !== "" && n.uint32(10).string(e.name), e.qualifiedName !== "" && n.uint32(18).string(e.qualifiedName), e.unit !== "" && n.uint32(26).string(e.unit), e.stringValue !== void 0 && n.uint32(34).string(e.stringValue), e.doubleValue !== 0 && n.uint32(41).double(e.doubleValue), n;
|
|
2699
2699
|
},
|
|
2700
2700
|
decode(e, n) {
|
|
2701
|
-
const i = e instanceof
|
|
2701
|
+
const i = e instanceof s ? e : new s(e);
|
|
2702
2702
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
2703
2703
|
const a = ze();
|
|
2704
2704
|
for (; i.pos < t; ) {
|
|
@@ -2755,7 +2755,7 @@ const D = {
|
|
|
2755
2755
|
return e.name !== "" && (n.name = e.name), e.qualifiedName !== "" && (n.qualifiedName = e.qualifiedName), e.unit !== "" && (n.unit = e.unit), e.stringValue !== void 0 && (n.stringValue = e.stringValue), e.doubleValue !== 0 && (n.doubleValue = e.doubleValue), n;
|
|
2756
2756
|
},
|
|
2757
2757
|
create(e) {
|
|
2758
|
-
return
|
|
2758
|
+
return B.fromPartial(e ?? {});
|
|
2759
2759
|
},
|
|
2760
2760
|
fromPartial(e) {
|
|
2761
2761
|
const n = ze();
|
|
@@ -2780,7 +2780,7 @@ function Qe() {
|
|
|
2780
2780
|
linFrameFlags: void 0
|
|
2781
2781
|
};
|
|
2782
2782
|
}
|
|
2783
|
-
const
|
|
2783
|
+
const y = {
|
|
2784
2784
|
encode(e, n = new o()) {
|
|
2785
2785
|
e.sourceId !== "" && n.uint32(10).string(e.sourceId), e.sourceName !== "" && n.uint32(18).string(e.sourceName), e.streamId !== "" && n.uint32(26).string(e.streamId), e.id !== 0 && n.uint32(32).int32(e.id), e.messageName !== "" && n.uint32(42).string(e.messageName), n.uint32(50).fork();
|
|
2786
2786
|
for (const i of e.data)
|
|
@@ -2789,11 +2789,11 @@ const B = {
|
|
|
2789
2789
|
fe.encode({ key: i, value: t }, n.uint32(90).fork()).join();
|
|
2790
2790
|
});
|
|
2791
2791
|
for (const i of e.signalValues)
|
|
2792
|
-
|
|
2793
|
-
return e.canFrameFlags !== void 0 &&
|
|
2792
|
+
B.encode(i, n.uint32(98).fork()).join();
|
|
2793
|
+
return e.canFrameFlags !== void 0 && A.encode(e.canFrameFlags, n.uint32(106).fork()).join(), e.linFrameFlags !== void 0 && R.encode(e.linFrameFlags, n.uint32(114).fork()).join(), n;
|
|
2794
2794
|
},
|
|
2795
2795
|
decode(e, n) {
|
|
2796
|
-
const i = e instanceof
|
|
2796
|
+
const i = e instanceof s ? e : new s(e);
|
|
2797
2797
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
2798
2798
|
const a = Qe();
|
|
2799
2799
|
for (; i.pos < t; ) {
|
|
@@ -2876,19 +2876,19 @@ const B = {
|
|
|
2876
2876
|
case 12: {
|
|
2877
2877
|
if (r !== 98)
|
|
2878
2878
|
break;
|
|
2879
|
-
a.signalValues.push(
|
|
2879
|
+
a.signalValues.push(B.decode(i, i.uint32()));
|
|
2880
2880
|
continue;
|
|
2881
2881
|
}
|
|
2882
2882
|
case 13: {
|
|
2883
2883
|
if (r !== 106)
|
|
2884
2884
|
break;
|
|
2885
|
-
a.canFrameFlags =
|
|
2885
|
+
a.canFrameFlags = A.decode(i, i.uint32());
|
|
2886
2886
|
continue;
|
|
2887
2887
|
}
|
|
2888
2888
|
case 14: {
|
|
2889
2889
|
if (r !== 114)
|
|
2890
2890
|
break;
|
|
2891
|
-
a.linFrameFlags =
|
|
2891
|
+
a.linFrameFlags = R.decode(i, i.uint32());
|
|
2892
2892
|
continue;
|
|
2893
2893
|
}
|
|
2894
2894
|
}
|
|
@@ -2910,10 +2910,10 @@ const B = {
|
|
|
2910
2910
|
tx: c(e.tx) ? globalThis.Boolean(e.tx) : !1,
|
|
2911
2911
|
dlc: c(e.dlc) ? globalThis.Number(e.dlc) : 0,
|
|
2912
2912
|
hashCode: c(e.hashCode) ? globalThis.Number(e.hashCode) : 0,
|
|
2913
|
-
properties:
|
|
2914
|
-
signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) =>
|
|
2915
|
-
canFrameFlags: c(e.canFrameFlags) ?
|
|
2916
|
-
linFrameFlags: c(e.linFrameFlags) ?
|
|
2913
|
+
properties: bi(e.properties) ? Object.entries(e.properties).reduce((n, [i, t]) => (n[i] = P.fromJSON(t), n), {}) : {},
|
|
2914
|
+
signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => B.fromJSON(n)) : [],
|
|
2915
|
+
canFrameFlags: c(e.canFrameFlags) ? A.fromJSON(e.canFrameFlags) : void 0,
|
|
2916
|
+
linFrameFlags: c(e.linFrameFlags) ? R.fromJSON(e.linFrameFlags) : void 0
|
|
2917
2917
|
};
|
|
2918
2918
|
},
|
|
2919
2919
|
toJSON(e) {
|
|
@@ -2922,21 +2922,21 @@ const B = {
|
|
|
2922
2922
|
if (e.sourceId !== "" && (n.sourceId = e.sourceId), e.sourceName !== "" && (n.sourceName = e.sourceName), e.streamId !== "" && (n.streamId = e.streamId), e.id !== 0 && (n.id = Math.round(e.id)), e.messageName !== "" && (n.messageName = e.messageName), (i = e.data) != null && i.length && (n.data = e.data.map((a) => Math.round(a))), e.time !== 0 && (n.time = e.time), e.tx !== !1 && (n.tx = e.tx), e.dlc !== 0 && (n.dlc = Math.round(e.dlc)), e.hashCode !== 0 && (n.hashCode = Math.round(e.hashCode)), e.properties) {
|
|
2923
2923
|
const a = Object.entries(e.properties);
|
|
2924
2924
|
a.length > 0 && (n.properties = {}, a.forEach(([r, d]) => {
|
|
2925
|
-
n.properties[r] =
|
|
2925
|
+
n.properties[r] = P.toJSON(d);
|
|
2926
2926
|
}));
|
|
2927
2927
|
}
|
|
2928
|
-
return (t = e.signalValues) != null && t.length && (n.signalValues = e.signalValues.map((a) =>
|
|
2928
|
+
return (t = e.signalValues) != null && t.length && (n.signalValues = e.signalValues.map((a) => B.toJSON(a))), e.canFrameFlags !== void 0 && (n.canFrameFlags = A.toJSON(e.canFrameFlags)), e.linFrameFlags !== void 0 && (n.linFrameFlags = R.toJSON(e.linFrameFlags)), n;
|
|
2929
2929
|
},
|
|
2930
2930
|
create(e) {
|
|
2931
|
-
return
|
|
2931
|
+
return y.fromPartial(e ?? {});
|
|
2932
2932
|
},
|
|
2933
2933
|
fromPartial(e) {
|
|
2934
2934
|
var i, t;
|
|
2935
2935
|
const n = Qe();
|
|
2936
2936
|
return n.sourceId = e.sourceId ?? "", n.sourceName = e.sourceName ?? "", n.streamId = e.streamId ?? "", n.id = e.id ?? 0, n.messageName = e.messageName ?? "", n.data = ((i = e.data) == null ? void 0 : i.map((a) => a)) || [], n.time = e.time ?? 0, n.tx = e.tx ?? !1, n.dlc = e.dlc ?? 0, n.hashCode = e.hashCode ?? 0, n.properties = Object.entries(e.properties ?? {}).reduce(
|
|
2937
|
-
(a, [r, d]) => (d !== void 0 && (a[r] =
|
|
2937
|
+
(a, [r, d]) => (d !== void 0 && (a[r] = P.fromPartial(d)), a),
|
|
2938
2938
|
{}
|
|
2939
|
-
), n.signalValues = ((t = e.signalValues) == null ? void 0 : t.map((a) =>
|
|
2939
|
+
), n.signalValues = ((t = e.signalValues) == null ? void 0 : t.map((a) => B.fromPartial(a))) || [], n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ? A.fromPartial(e.canFrameFlags) : void 0, n.linFrameFlags = e.linFrameFlags !== void 0 && e.linFrameFlags !== null ? R.fromPartial(e.linFrameFlags) : void 0, n;
|
|
2940
2940
|
}
|
|
2941
2941
|
};
|
|
2942
2942
|
function Xe() {
|
|
@@ -2944,10 +2944,10 @@ function Xe() {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
const fe = {
|
|
2946
2946
|
encode(e, n = new o()) {
|
|
2947
|
-
return e.key !== "" && n.uint32(10).string(e.key), e.value !== void 0 &&
|
|
2947
|
+
return e.key !== "" && n.uint32(10).string(e.key), e.value !== void 0 && P.encode(e.value, n.uint32(18).fork()).join(), n;
|
|
2948
2948
|
},
|
|
2949
2949
|
decode(e, n) {
|
|
2950
|
-
const i = e instanceof
|
|
2950
|
+
const i = e instanceof s ? e : new s(e);
|
|
2951
2951
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
2952
2952
|
const a = Xe();
|
|
2953
2953
|
for (; i.pos < t; ) {
|
|
@@ -2962,7 +2962,7 @@ const fe = {
|
|
|
2962
2962
|
case 2: {
|
|
2963
2963
|
if (r !== 18)
|
|
2964
2964
|
break;
|
|
2965
|
-
a.value =
|
|
2965
|
+
a.value = P.decode(i, i.uint32());
|
|
2966
2966
|
continue;
|
|
2967
2967
|
}
|
|
2968
2968
|
}
|
|
@@ -2975,32 +2975,32 @@ const fe = {
|
|
|
2975
2975
|
fromJSON(e) {
|
|
2976
2976
|
return {
|
|
2977
2977
|
key: c(e.key) ? globalThis.String(e.key) : "",
|
|
2978
|
-
value: c(e.value) ?
|
|
2978
|
+
value: c(e.value) ? P.fromJSON(e.value) : void 0
|
|
2979
2979
|
};
|
|
2980
2980
|
},
|
|
2981
2981
|
toJSON(e) {
|
|
2982
2982
|
const n = {};
|
|
2983
|
-
return e.key !== "" && (n.key = e.key), e.value !== void 0 && (n.value =
|
|
2983
|
+
return e.key !== "" && (n.key = e.key), e.value !== void 0 && (n.value = P.toJSON(e.value)), n;
|
|
2984
2984
|
},
|
|
2985
2985
|
create(e) {
|
|
2986
2986
|
return fe.fromPartial(e ?? {});
|
|
2987
2987
|
},
|
|
2988
2988
|
fromPartial(e) {
|
|
2989
2989
|
const n = Xe();
|
|
2990
|
-
return n.key = e.key ?? "", n.value = e.value !== void 0 && e.value !== null ?
|
|
2990
|
+
return n.key = e.key ?? "", n.value = e.value !== void 0 && e.value !== null ? P.fromPartial(e.value) : void 0, n;
|
|
2991
2991
|
}
|
|
2992
2992
|
};
|
|
2993
2993
|
function qe() {
|
|
2994
2994
|
return { items: [] };
|
|
2995
2995
|
}
|
|
2996
|
-
const
|
|
2996
|
+
const Fi = {
|
|
2997
2997
|
encode(e, n = new o()) {
|
|
2998
2998
|
for (const i of e.items)
|
|
2999
|
-
|
|
2999
|
+
y.encode(i, n.uint32(10).fork()).join();
|
|
3000
3000
|
return n;
|
|
3001
3001
|
},
|
|
3002
3002
|
decode(e, n) {
|
|
3003
|
-
const i = e instanceof
|
|
3003
|
+
const i = e instanceof s ? e : new s(e);
|
|
3004
3004
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
3005
3005
|
const a = qe();
|
|
3006
3006
|
for (; i.pos < t; ) {
|
|
@@ -3009,7 +3009,7 @@ const Ci = {
|
|
|
3009
3009
|
case 1: {
|
|
3010
3010
|
if (r !== 10)
|
|
3011
3011
|
break;
|
|
3012
|
-
a.items.push(
|
|
3012
|
+
a.items.push(y.decode(i, i.uint32()));
|
|
3013
3013
|
continue;
|
|
3014
3014
|
}
|
|
3015
3015
|
}
|
|
@@ -3020,34 +3020,34 @@ const Ci = {
|
|
|
3020
3020
|
return a;
|
|
3021
3021
|
},
|
|
3022
3022
|
fromJSON(e) {
|
|
3023
|
-
return { items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) =>
|
|
3023
|
+
return { items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => y.fromJSON(n)) : [] };
|
|
3024
3024
|
},
|
|
3025
3025
|
toJSON(e) {
|
|
3026
3026
|
var i;
|
|
3027
3027
|
const n = {};
|
|
3028
|
-
return (i = e.items) != null && i.length && (n.items = e.items.map((t) =>
|
|
3028
|
+
return (i = e.items) != null && i.length && (n.items = e.items.map((t) => y.toJSON(t))), n;
|
|
3029
3029
|
},
|
|
3030
3030
|
create(e) {
|
|
3031
|
-
return
|
|
3031
|
+
return Fi.fromPartial(e ?? {});
|
|
3032
3032
|
},
|
|
3033
3033
|
fromPartial(e) {
|
|
3034
3034
|
var i;
|
|
3035
3035
|
const n = qe();
|
|
3036
|
-
return n.items = ((i = e.items) == null ? void 0 : i.map((t) =>
|
|
3036
|
+
return n.items = ((i = e.items) == null ? void 0 : i.map((t) => y.fromPartial(t))) || [], n;
|
|
3037
3037
|
}
|
|
3038
3038
|
};
|
|
3039
3039
|
function Ze() {
|
|
3040
3040
|
return { id: 0, data: [], canFrameFlags: void 0, linFrameFlags: void 0 };
|
|
3041
3041
|
}
|
|
3042
|
-
const
|
|
3042
|
+
const v = {
|
|
3043
3043
|
encode(e, n = new o()) {
|
|
3044
3044
|
e.id !== 0 && n.uint32(8).int32(e.id), n.uint32(18).fork();
|
|
3045
3045
|
for (const i of e.data)
|
|
3046
3046
|
n.uint32(i);
|
|
3047
|
-
return n.join(), e.canFrameFlags !== void 0 &&
|
|
3047
|
+
return n.join(), e.canFrameFlags !== void 0 && A.encode(e.canFrameFlags, n.uint32(26).fork()).join(), e.linFrameFlags !== void 0 && R.encode(e.linFrameFlags, n.uint32(34).fork()).join(), n;
|
|
3048
3048
|
},
|
|
3049
3049
|
decode(e, n) {
|
|
3050
|
-
const i = e instanceof
|
|
3050
|
+
const i = e instanceof s ? e : new s(e);
|
|
3051
3051
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
3052
3052
|
const a = Ze();
|
|
3053
3053
|
for (; i.pos < t; ) {
|
|
@@ -3075,13 +3075,13 @@ const y = {
|
|
|
3075
3075
|
case 3: {
|
|
3076
3076
|
if (r !== 26)
|
|
3077
3077
|
break;
|
|
3078
|
-
a.canFrameFlags =
|
|
3078
|
+
a.canFrameFlags = A.decode(i, i.uint32());
|
|
3079
3079
|
continue;
|
|
3080
3080
|
}
|
|
3081
3081
|
case 4: {
|
|
3082
3082
|
if (r !== 34)
|
|
3083
3083
|
break;
|
|
3084
|
-
a.linFrameFlags =
|
|
3084
|
+
a.linFrameFlags = R.decode(i, i.uint32());
|
|
3085
3085
|
continue;
|
|
3086
3086
|
}
|
|
3087
3087
|
}
|
|
@@ -3095,36 +3095,36 @@ const y = {
|
|
|
3095
3095
|
return {
|
|
3096
3096
|
id: c(e.id) ? globalThis.Number(e.id) : 0,
|
|
3097
3097
|
data: globalThis.Array.isArray(e == null ? void 0 : e.data) ? e.data.map((n) => globalThis.Number(n)) : [],
|
|
3098
|
-
canFrameFlags: c(e.canFrameFlags) ?
|
|
3099
|
-
linFrameFlags: c(e.linFrameFlags) ?
|
|
3098
|
+
canFrameFlags: c(e.canFrameFlags) ? A.fromJSON(e.canFrameFlags) : void 0,
|
|
3099
|
+
linFrameFlags: c(e.linFrameFlags) ? R.fromJSON(e.linFrameFlags) : void 0
|
|
3100
3100
|
};
|
|
3101
3101
|
},
|
|
3102
3102
|
toJSON(e) {
|
|
3103
3103
|
var i;
|
|
3104
3104
|
const n = {};
|
|
3105
|
-
return e.id !== 0 && (n.id = Math.round(e.id)), (i = e.data) != null && i.length && (n.data = e.data.map((t) => Math.round(t))), e.canFrameFlags !== void 0 && (n.canFrameFlags =
|
|
3105
|
+
return e.id !== 0 && (n.id = Math.round(e.id)), (i = e.data) != null && i.length && (n.data = e.data.map((t) => Math.round(t))), e.canFrameFlags !== void 0 && (n.canFrameFlags = A.toJSON(e.canFrameFlags)), e.linFrameFlags !== void 0 && (n.linFrameFlags = R.toJSON(e.linFrameFlags)), n;
|
|
3106
3106
|
},
|
|
3107
3107
|
create(e) {
|
|
3108
|
-
return
|
|
3108
|
+
return v.fromPartial(e ?? {});
|
|
3109
3109
|
},
|
|
3110
3110
|
fromPartial(e) {
|
|
3111
3111
|
var i;
|
|
3112
3112
|
const n = Ze();
|
|
3113
|
-
return n.id = e.id ?? 0, n.data = ((i = e.data) == null ? void 0 : i.map((t) => t)) || [], n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ?
|
|
3113
|
+
return n.id = e.id ?? 0, n.data = ((i = e.data) == null ? void 0 : i.map((t) => t)) || [], n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ? A.fromPartial(e.canFrameFlags) : void 0, n.linFrameFlags = e.linFrameFlags !== void 0 && e.linFrameFlags !== null ? R.fromPartial(e.linFrameFlags) : void 0, n;
|
|
3114
3114
|
}
|
|
3115
3115
|
};
|
|
3116
3116
|
function Ye() {
|
|
3117
3117
|
return { id: 0, messageName: "", messageQualifiedName: "", dataLength: 0, signals: [], canFrameFlags: void 0 };
|
|
3118
3118
|
}
|
|
3119
|
-
const
|
|
3119
|
+
const x = {
|
|
3120
3120
|
encode(e, n = new o()) {
|
|
3121
3121
|
e.id !== 0 && n.uint32(8).int32(e.id), e.messageName !== "" && n.uint32(18).string(e.messageName), e.messageQualifiedName !== "" && n.uint32(26).string(e.messageQualifiedName), e.dataLength !== 0 && n.uint32(32).int32(e.dataLength);
|
|
3122
3122
|
for (const i of e.signals)
|
|
3123
|
-
|
|
3124
|
-
return e.canFrameFlags !== void 0 &&
|
|
3123
|
+
C.encode(i, n.uint32(42).fork()).join();
|
|
3124
|
+
return e.canFrameFlags !== void 0 && A.encode(e.canFrameFlags, n.uint32(50).fork()).join(), n;
|
|
3125
3125
|
},
|
|
3126
3126
|
decode(e, n) {
|
|
3127
|
-
const i = e instanceof
|
|
3127
|
+
const i = e instanceof s ? e : new s(e);
|
|
3128
3128
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
3129
3129
|
const a = Ye();
|
|
3130
3130
|
for (; i.pos < t; ) {
|
|
@@ -3157,13 +3157,13 @@ const v = {
|
|
|
3157
3157
|
case 5: {
|
|
3158
3158
|
if (r !== 42)
|
|
3159
3159
|
break;
|
|
3160
|
-
a.signals.push(
|
|
3160
|
+
a.signals.push(C.decode(i, i.uint32()));
|
|
3161
3161
|
continue;
|
|
3162
3162
|
}
|
|
3163
3163
|
case 6: {
|
|
3164
3164
|
if (r !== 50)
|
|
3165
3165
|
break;
|
|
3166
|
-
a.canFrameFlags =
|
|
3166
|
+
a.canFrameFlags = A.decode(i, i.uint32());
|
|
3167
3167
|
continue;
|
|
3168
3168
|
}
|
|
3169
3169
|
}
|
|
@@ -3179,35 +3179,35 @@ const v = {
|
|
|
3179
3179
|
messageName: c(e.messageName) ? globalThis.String(e.messageName) : "",
|
|
3180
3180
|
messageQualifiedName: c(e.messageQualifiedName) ? globalThis.String(e.messageQualifiedName) : "",
|
|
3181
3181
|
dataLength: c(e.dataLength) ? globalThis.Number(e.dataLength) : 0,
|
|
3182
|
-
signals: globalThis.Array.isArray(e == null ? void 0 : e.signals) ? e.signals.map((n) =>
|
|
3183
|
-
canFrameFlags: c(e.canFrameFlags) ?
|
|
3182
|
+
signals: globalThis.Array.isArray(e == null ? void 0 : e.signals) ? e.signals.map((n) => C.fromJSON(n)) : [],
|
|
3183
|
+
canFrameFlags: c(e.canFrameFlags) ? A.fromJSON(e.canFrameFlags) : void 0
|
|
3184
3184
|
};
|
|
3185
3185
|
},
|
|
3186
3186
|
toJSON(e) {
|
|
3187
3187
|
var i;
|
|
3188
3188
|
const n = {};
|
|
3189
|
-
return e.id !== 0 && (n.id = Math.round(e.id)), e.messageName !== "" && (n.messageName = e.messageName), e.messageQualifiedName !== "" && (n.messageQualifiedName = e.messageQualifiedName), e.dataLength !== 0 && (n.dataLength = Math.round(e.dataLength)), (i = e.signals) != null && i.length && (n.signals = e.signals.map((t) =>
|
|
3189
|
+
return e.id !== 0 && (n.id = Math.round(e.id)), e.messageName !== "" && (n.messageName = e.messageName), e.messageQualifiedName !== "" && (n.messageQualifiedName = e.messageQualifiedName), e.dataLength !== 0 && (n.dataLength = Math.round(e.dataLength)), (i = e.signals) != null && i.length && (n.signals = e.signals.map((t) => C.toJSON(t))), e.canFrameFlags !== void 0 && (n.canFrameFlags = A.toJSON(e.canFrameFlags)), n;
|
|
3190
3190
|
},
|
|
3191
3191
|
create(e) {
|
|
3192
|
-
return
|
|
3192
|
+
return x.fromPartial(e ?? {});
|
|
3193
3193
|
},
|
|
3194
3194
|
fromPartial(e) {
|
|
3195
3195
|
var i;
|
|
3196
3196
|
const n = Ye();
|
|
3197
|
-
return n.id = e.id ?? 0, n.messageName = e.messageName ?? "", n.messageQualifiedName = e.messageQualifiedName ?? "", n.dataLength = e.dataLength ?? 0, n.signals = ((i = e.signals) == null ? void 0 : i.map((t) =>
|
|
3197
|
+
return n.id = e.id ?? 0, n.messageName = e.messageName ?? "", n.messageQualifiedName = e.messageQualifiedName ?? "", n.dataLength = e.dataLength ?? 0, n.signals = ((i = e.signals) == null ? void 0 : i.map((t) => C.fromPartial(t))) || [], n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ? A.fromPartial(e.canFrameFlags) : void 0, n;
|
|
3198
3198
|
}
|
|
3199
3199
|
};
|
|
3200
3200
|
function Ke() {
|
|
3201
3201
|
return { items: [] };
|
|
3202
3202
|
}
|
|
3203
|
-
const
|
|
3203
|
+
const Mi = {
|
|
3204
3204
|
encode(e, n = new o()) {
|
|
3205
3205
|
for (const i of e.items)
|
|
3206
|
-
|
|
3206
|
+
x.encode(i, n.uint32(10).fork()).join();
|
|
3207
3207
|
return n;
|
|
3208
3208
|
},
|
|
3209
3209
|
decode(e, n) {
|
|
3210
|
-
const i = e instanceof
|
|
3210
|
+
const i = e instanceof s ? e : new s(e);
|
|
3211
3211
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
3212
3212
|
const a = Ke();
|
|
3213
3213
|
for (; i.pos < t; ) {
|
|
@@ -3216,7 +3216,7 @@ const Fi = {
|
|
|
3216
3216
|
case 1: {
|
|
3217
3217
|
if (r !== 10)
|
|
3218
3218
|
break;
|
|
3219
|
-
a.items.push(
|
|
3219
|
+
a.items.push(x.decode(i, i.uint32()));
|
|
3220
3220
|
continue;
|
|
3221
3221
|
}
|
|
3222
3222
|
}
|
|
@@ -3228,27 +3228,27 @@ const Fi = {
|
|
|
3228
3228
|
},
|
|
3229
3229
|
fromJSON(e) {
|
|
3230
3230
|
return {
|
|
3231
|
-
items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) =>
|
|
3231
|
+
items: globalThis.Array.isArray(e == null ? void 0 : e.items) ? e.items.map((n) => x.fromJSON(n)) : []
|
|
3232
3232
|
};
|
|
3233
3233
|
},
|
|
3234
3234
|
toJSON(e) {
|
|
3235
3235
|
var i;
|
|
3236
3236
|
const n = {};
|
|
3237
|
-
return (i = e.items) != null && i.length && (n.items = e.items.map((t) =>
|
|
3237
|
+
return (i = e.items) != null && i.length && (n.items = e.items.map((t) => x.toJSON(t))), n;
|
|
3238
3238
|
},
|
|
3239
3239
|
create(e) {
|
|
3240
|
-
return
|
|
3240
|
+
return Mi.fromPartial(e ?? {});
|
|
3241
3241
|
},
|
|
3242
3242
|
fromPartial(e) {
|
|
3243
3243
|
var i;
|
|
3244
3244
|
const n = Ke();
|
|
3245
|
-
return n.items = ((i = e.items) == null ? void 0 : i.map((t) =>
|
|
3245
|
+
return n.items = ((i = e.items) == null ? void 0 : i.map((t) => x.fromPartial(t))) || [], n;
|
|
3246
3246
|
}
|
|
3247
3247
|
};
|
|
3248
3248
|
function We() {
|
|
3249
3249
|
return { dbcFiles: [], ldfFiles: [] };
|
|
3250
3250
|
}
|
|
3251
|
-
const
|
|
3251
|
+
const Li = {
|
|
3252
3252
|
encode(e, n = new o()) {
|
|
3253
3253
|
for (const i of e.dbcFiles)
|
|
3254
3254
|
n.uint32(10).string(i);
|
|
@@ -3257,7 +3257,7 @@ const Mi = {
|
|
|
3257
3257
|
return n;
|
|
3258
3258
|
},
|
|
3259
3259
|
decode(e, n) {
|
|
3260
|
-
const i = e instanceof
|
|
3260
|
+
const i = e instanceof s ? e : new s(e);
|
|
3261
3261
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
3262
3262
|
const a = We();
|
|
3263
3263
|
for (; i.pos < t; ) {
|
|
@@ -3294,7 +3294,7 @@ const Mi = {
|
|
|
3294
3294
|
return (i = e.dbcFiles) != null && i.length && (n.dbcFiles = e.dbcFiles), (t = e.ldfFiles) != null && t.length && (n.ldfFiles = e.ldfFiles), n;
|
|
3295
3295
|
},
|
|
3296
3296
|
create(e) {
|
|
3297
|
-
return
|
|
3297
|
+
return Li.fromPartial(e ?? {});
|
|
3298
3298
|
},
|
|
3299
3299
|
fromPartial(e) {
|
|
3300
3300
|
var i, t;
|
|
@@ -3310,7 +3310,7 @@ const V = {
|
|
|
3310
3310
|
return e.messageQualifiedName !== "" && n.uint32(10).string(e.messageQualifiedName), e.delay !== 0 && n.uint32(17).double(e.delay), n;
|
|
3311
3311
|
},
|
|
3312
3312
|
decode(e, n) {
|
|
3313
|
-
const i = e instanceof
|
|
3313
|
+
const i = e instanceof s ? e : new s(e);
|
|
3314
3314
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
3315
3315
|
const a = $e();
|
|
3316
3316
|
for (; i.pos < t; ) {
|
|
@@ -3356,7 +3356,7 @@ const V = {
|
|
|
3356
3356
|
function je() {
|
|
3357
3357
|
return { name: "", qualifiedName: "", entries: [] };
|
|
3358
3358
|
}
|
|
3359
|
-
const
|
|
3359
|
+
const Pi = {
|
|
3360
3360
|
encode(e, n = new o()) {
|
|
3361
3361
|
e.name !== "" && n.uint32(10).string(e.name), e.qualifiedName !== "" && n.uint32(18).string(e.qualifiedName);
|
|
3362
3362
|
for (const i of e.entries)
|
|
@@ -3364,7 +3364,7 @@ const Li = {
|
|
|
3364
3364
|
return n;
|
|
3365
3365
|
},
|
|
3366
3366
|
decode(e, n) {
|
|
3367
|
-
const i = e instanceof
|
|
3367
|
+
const i = e instanceof s ? e : new s(e);
|
|
3368
3368
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
3369
3369
|
const a = je();
|
|
3370
3370
|
for (; i.pos < t; ) {
|
|
@@ -3408,7 +3408,7 @@ const Li = {
|
|
|
3408
3408
|
return e.name !== "" && (n.name = e.name), e.qualifiedName !== "" && (n.qualifiedName = e.qualifiedName), (i = e.entries) != null && i.length && (n.entries = e.entries.map((t) => V.toJSON(t))), n;
|
|
3409
3409
|
},
|
|
3410
3410
|
create(e) {
|
|
3411
|
-
return
|
|
3411
|
+
return Pi.fromPartial(e ?? {});
|
|
3412
3412
|
},
|
|
3413
3413
|
fromPartial(e) {
|
|
3414
3414
|
var i;
|
|
@@ -3416,14 +3416,100 @@ const Li = {
|
|
|
3416
3416
|
return n.name = e.name ?? "", n.qualifiedName = e.qualifiedName ?? "", n.entries = ((i = e.entries) == null ? void 0 : i.map((t) => V.fromPartial(t))) || [], n;
|
|
3417
3417
|
}
|
|
3418
3418
|
};
|
|
3419
|
-
function
|
|
3419
|
+
function en() {
|
|
3420
|
+
return {
|
|
3421
|
+
id: 0,
|
|
3422
|
+
tx: !1,
|
|
3423
|
+
mux: void 0,
|
|
3424
|
+
sourceName: void 0,
|
|
3425
|
+
canFrameFlags: void 0,
|
|
3426
|
+
linFrameFlags: void 0
|
|
3427
|
+
};
|
|
3428
|
+
}
|
|
3429
|
+
const gi = {
|
|
3430
|
+
encode(e, n = new o()) {
|
|
3431
|
+
return e.id !== 0 && n.uint32(8).int32(e.id), e.tx !== !1 && n.uint32(16).bool(e.tx), e.mux !== void 0 && n.uint32(24).int32(e.mux), e.sourceName !== void 0 && n.uint32(34).string(e.sourceName), e.canFrameFlags !== void 0 && A.encode(e.canFrameFlags, n.uint32(42).fork()).join(), e.linFrameFlags !== void 0 && R.encode(e.linFrameFlags, n.uint32(50).fork()).join(), n;
|
|
3432
|
+
},
|
|
3433
|
+
decode(e, n) {
|
|
3434
|
+
const i = e instanceof s ? e : new s(e);
|
|
3435
|
+
let t = n === void 0 ? i.len : i.pos + n;
|
|
3436
|
+
const a = en();
|
|
3437
|
+
for (; i.pos < t; ) {
|
|
3438
|
+
const r = i.uint32();
|
|
3439
|
+
switch (r >>> 3) {
|
|
3440
|
+
case 1: {
|
|
3441
|
+
if (r !== 8)
|
|
3442
|
+
break;
|
|
3443
|
+
a.id = i.int32();
|
|
3444
|
+
continue;
|
|
3445
|
+
}
|
|
3446
|
+
case 2: {
|
|
3447
|
+
if (r !== 16)
|
|
3448
|
+
break;
|
|
3449
|
+
a.tx = i.bool();
|
|
3450
|
+
continue;
|
|
3451
|
+
}
|
|
3452
|
+
case 3: {
|
|
3453
|
+
if (r !== 24)
|
|
3454
|
+
break;
|
|
3455
|
+
a.mux = i.int32();
|
|
3456
|
+
continue;
|
|
3457
|
+
}
|
|
3458
|
+
case 4: {
|
|
3459
|
+
if (r !== 34)
|
|
3460
|
+
break;
|
|
3461
|
+
a.sourceName = i.string();
|
|
3462
|
+
continue;
|
|
3463
|
+
}
|
|
3464
|
+
case 5: {
|
|
3465
|
+
if (r !== 42)
|
|
3466
|
+
break;
|
|
3467
|
+
a.canFrameFlags = A.decode(i, i.uint32());
|
|
3468
|
+
continue;
|
|
3469
|
+
}
|
|
3470
|
+
case 6: {
|
|
3471
|
+
if (r !== 50)
|
|
3472
|
+
break;
|
|
3473
|
+
a.linFrameFlags = R.decode(i, i.uint32());
|
|
3474
|
+
continue;
|
|
3475
|
+
}
|
|
3476
|
+
}
|
|
3477
|
+
if ((r & 7) === 4 || r === 0)
|
|
3478
|
+
break;
|
|
3479
|
+
i.skip(r & 7);
|
|
3480
|
+
}
|
|
3481
|
+
return a;
|
|
3482
|
+
},
|
|
3483
|
+
fromJSON(e) {
|
|
3484
|
+
return {
|
|
3485
|
+
id: c(e.id) ? globalThis.Number(e.id) : 0,
|
|
3486
|
+
tx: c(e.tx) ? globalThis.Boolean(e.tx) : !1,
|
|
3487
|
+
mux: c(e.mux) ? globalThis.Number(e.mux) : void 0,
|
|
3488
|
+
sourceName: c(e.sourceName) ? globalThis.String(e.sourceName) : void 0,
|
|
3489
|
+
canFrameFlags: c(e.canFrameFlags) ? A.fromJSON(e.canFrameFlags) : void 0,
|
|
3490
|
+
linFrameFlags: c(e.linFrameFlags) ? R.fromJSON(e.linFrameFlags) : void 0
|
|
3491
|
+
};
|
|
3492
|
+
},
|
|
3493
|
+
toJSON(e) {
|
|
3494
|
+
const n = {};
|
|
3495
|
+
return e.id !== 0 && (n.id = Math.round(e.id)), e.tx !== !1 && (n.tx = e.tx), e.mux !== void 0 && (n.mux = Math.round(e.mux)), e.sourceName !== void 0 && (n.sourceName = e.sourceName), e.canFrameFlags !== void 0 && (n.canFrameFlags = A.toJSON(e.canFrameFlags)), e.linFrameFlags !== void 0 && (n.linFrameFlags = R.toJSON(e.linFrameFlags)), n;
|
|
3496
|
+
},
|
|
3497
|
+
create(e) {
|
|
3498
|
+
return gi.fromPartial(e ?? {});
|
|
3499
|
+
},
|
|
3500
|
+
fromPartial(e) {
|
|
3501
|
+
const n = en();
|
|
3502
|
+
return n.id = e.id ?? 0, n.tx = e.tx ?? !1, n.mux = e.mux ?? void 0, n.sourceName = e.sourceName ?? void 0, n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ? A.fromPartial(e.canFrameFlags) : void 0, n.linFrameFlags = e.linFrameFlags !== void 0 && e.linFrameFlags !== null ? R.fromPartial(e.linFrameFlags) : void 0, n;
|
|
3503
|
+
}
|
|
3504
|
+
};
|
|
3505
|
+
function bi(e) {
|
|
3420
3506
|
return typeof e == "object" && e !== null;
|
|
3421
3507
|
}
|
|
3422
3508
|
function c(e) {
|
|
3423
3509
|
return e != null;
|
|
3424
3510
|
}
|
|
3425
|
-
var
|
|
3426
|
-
function
|
|
3511
|
+
var Gi = /* @__PURE__ */ ((e) => (e[e.CAN_MODE_UNSPECIFIED = 0] = "CAN_MODE_UNSPECIFIED", e[e.CAN_MODE_CAN = 1] = "CAN_MODE_CAN", e[e.CAN_MODE_CAN_FD = 2] = "CAN_MODE_CAN_FD", e[e.CAN_MODE_CAN_FD_NONISO = 3] = "CAN_MODE_CAN_FD_NONISO", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Gi || {});
|
|
3512
|
+
function ki(e) {
|
|
3427
3513
|
switch (e) {
|
|
3428
3514
|
case 0:
|
|
3429
3515
|
case "CAN_MODE_UNSPECIFIED":
|
|
@@ -3443,7 +3529,7 @@ function bi(e) {
|
|
|
3443
3529
|
return -1;
|
|
3444
3530
|
}
|
|
3445
3531
|
}
|
|
3446
|
-
function
|
|
3532
|
+
function Di(e) {
|
|
3447
3533
|
switch (e) {
|
|
3448
3534
|
case 0:
|
|
3449
3535
|
return "CAN_MODE_UNSPECIFIED";
|
|
@@ -3458,8 +3544,8 @@ function Gi(e) {
|
|
|
3458
3544
|
return "UNRECOGNIZED";
|
|
3459
3545
|
}
|
|
3460
3546
|
}
|
|
3461
|
-
var
|
|
3462
|
-
function
|
|
3547
|
+
var Bi = /* @__PURE__ */ ((e) => (e[e.ACCESS_MODE_UNSPECIFIED = 0] = "ACCESS_MODE_UNSPECIFIED", e[e.ACCESS_MODE_INIT_ACCESS = 1] = "ACCESS_MODE_INIT_ACCESS", e[e.ACCESS_MODE_NO_INIT_ACCESS = 2] = "ACCESS_MODE_NO_INIT_ACCESS", e[e.ACCESS_MODE_EXCLUSIVE_ACCESS = 3] = "ACCESS_MODE_EXCLUSIVE_ACCESS", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Bi || {});
|
|
3548
|
+
function yi(e) {
|
|
3463
3549
|
switch (e) {
|
|
3464
3550
|
case 0:
|
|
3465
3551
|
case "ACCESS_MODE_UNSPECIFIED":
|
|
@@ -3479,7 +3565,7 @@ function Di(e) {
|
|
|
3479
3565
|
return -1;
|
|
3480
3566
|
}
|
|
3481
3567
|
}
|
|
3482
|
-
function
|
|
3568
|
+
function vi(e) {
|
|
3483
3569
|
switch (e) {
|
|
3484
3570
|
case 0:
|
|
3485
3571
|
return "ACCESS_MODE_UNSPECIFIED";
|
|
@@ -3494,8 +3580,8 @@ function Bi(e) {
|
|
|
3494
3580
|
return "UNRECOGNIZED";
|
|
3495
3581
|
}
|
|
3496
3582
|
}
|
|
3497
|
-
var
|
|
3498
|
-
function
|
|
3583
|
+
var xi = /* @__PURE__ */ ((e) => (e[e.CAN_MESSAGE_FILTER_TYPE_UNSPECIFIED = 0] = "CAN_MESSAGE_FILTER_TYPE_UNSPECIFIED", e[e.CAN_MESSAGE_FILTER_TYPE_PASS = 1] = "CAN_MESSAGE_FILTER_TYPE_PASS", e[e.CAN_MESSAGE_FILTER_TYPE_BLOCK = 2] = "CAN_MESSAGE_FILTER_TYPE_BLOCK", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(xi || {});
|
|
3584
|
+
function Vi(e) {
|
|
3499
3585
|
switch (e) {
|
|
3500
3586
|
case 0:
|
|
3501
3587
|
case "CAN_MESSAGE_FILTER_TYPE_UNSPECIFIED":
|
|
@@ -3512,7 +3598,7 @@ function vi(e) {
|
|
|
3512
3598
|
return -1;
|
|
3513
3599
|
}
|
|
3514
3600
|
}
|
|
3515
|
-
function
|
|
3601
|
+
function Ui(e) {
|
|
3516
3602
|
switch (e) {
|
|
3517
3603
|
case 0:
|
|
3518
3604
|
return "CAN_MESSAGE_FILTER_TYPE_UNSPECIFIED";
|
|
@@ -3525,8 +3611,8 @@ function Vi(e) {
|
|
|
3525
3611
|
return "UNRECOGNIZED";
|
|
3526
3612
|
}
|
|
3527
3613
|
}
|
|
3528
|
-
var
|
|
3529
|
-
function
|
|
3614
|
+
var Ji = /* @__PURE__ */ ((e) => (e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_UNSPECIFIED = 0] = "SIGNAL_VALUE_TRIGGER_OPERATOR_UNSPECIFIED", e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_EQUAL_TO = 1] = "SIGNAL_VALUE_TRIGGER_OPERATOR_EQUAL_TO", e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_NOT_EQUAL_TO = 2] = "SIGNAL_VALUE_TRIGGER_OPERATOR_NOT_EQUAL_TO", e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_LESS_THAN = 3] = "SIGNAL_VALUE_TRIGGER_OPERATOR_LESS_THAN", e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_LESS_THAN_OR_EQUAL = 4] = "SIGNAL_VALUE_TRIGGER_OPERATOR_LESS_THAN_OR_EQUAL", e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_GREATER_THAN_OR_EQUAL = 5] = "SIGNAL_VALUE_TRIGGER_OPERATOR_GREATER_THAN_OR_EQUAL", e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_GREATER_THAN = 6] = "SIGNAL_VALUE_TRIGGER_OPERATOR_GREATER_THAN", e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_CHANGE_TO = 7] = "SIGNAL_VALUE_TRIGGER_OPERATOR_CHANGE_TO", e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_CHANGE_FROM = 8] = "SIGNAL_VALUE_TRIGGER_OPERATOR_CHANGE_FROM", e[e.SIGNAL_VALUE_TRIGGER_OPERATOR_ON_CHANGE = 9] = "SIGNAL_VALUE_TRIGGER_OPERATOR_ON_CHANGE", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Ji || {});
|
|
3615
|
+
function wi(e) {
|
|
3530
3616
|
switch (e) {
|
|
3531
3617
|
case 0:
|
|
3532
3618
|
case "SIGNAL_VALUE_TRIGGER_OPERATOR_UNSPECIFIED":
|
|
@@ -3564,7 +3650,7 @@ function xi(e) {
|
|
|
3564
3650
|
return -1;
|
|
3565
3651
|
}
|
|
3566
3652
|
}
|
|
3567
|
-
function
|
|
3653
|
+
function Hi(e) {
|
|
3568
3654
|
switch (e) {
|
|
3569
3655
|
case 0:
|
|
3570
3656
|
return "SIGNAL_VALUE_TRIGGER_OPERATOR_UNSPECIFIED";
|
|
@@ -3591,7 +3677,7 @@ function Ji(e) {
|
|
|
3591
3677
|
return "UNRECOGNIZED";
|
|
3592
3678
|
}
|
|
3593
3679
|
}
|
|
3594
|
-
var
|
|
3680
|
+
var zi = /* @__PURE__ */ ((e) => (e[e.TRIGGER_OPERATOR_UNSPECIFIED = 0] = "TRIGGER_OPERATOR_UNSPECIFIED", e[e.TRIGGER_OPERATOR_AND = 1] = "TRIGGER_OPERATOR_AND", e[e.TRIGGER_OPERATOR_OR = 2] = "TRIGGER_OPERATOR_OR", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(zi || {});
|
|
3595
3681
|
function ae(e) {
|
|
3596
3682
|
switch (e) {
|
|
3597
3683
|
case 0:
|
|
@@ -3622,8 +3708,8 @@ function te(e) {
|
|
|
3622
3708
|
return "UNRECOGNIZED";
|
|
3623
3709
|
}
|
|
3624
3710
|
}
|
|
3625
|
-
var
|
|
3626
|
-
function
|
|
3711
|
+
var Qi = /* @__PURE__ */ ((e) => (e[e.LOG_FILE_FORMAT_UNSPECIFIED = 0] = "LOG_FILE_FORMAT_UNSPECIFIED", e[e.LOG_FILE_FORMAT_KME24 = 1] = "LOG_FILE_FORMAT_KME24", e[e.LOG_FILE_FORMAT_KME25 = 2] = "LOG_FILE_FORMAT_KME25", e[e.LOG_FILE_FORMAT_VECTOR_ASC = 3] = "LOG_FILE_FORMAT_VECTOR_ASC", e[e.LOG_FILE_FORMAT_CSV = 4] = "LOG_FILE_FORMAT_CSV", e[e.LOG_FILE_FORMAT_PLAIN_ASC = 5] = "LOG_FILE_FORMAT_PLAIN_ASC", e[e.LOG_FILE_FORMAT_MEMO_LOG = 6] = "LOG_FILE_FORMAT_MEMO_LOG", e[e.LOG_FILE_FORMAT_KME40 = 7] = "LOG_FILE_FORMAT_KME40", e[e.LOG_FILE_FORMAT_VECTOR_BLF = 8] = "LOG_FILE_FORMAT_VECTOR_BLF", e[e.LOG_FILE_FORMAT_KME50 = 9] = "LOG_FILE_FORMAT_KME50", e[e.LOG_FILE_FORMAT_CSV_SIGNAL = 100] = "LOG_FILE_FORMAT_CSV_SIGNAL", e[e.LOG_FILE_FORMAT_MDF = 101] = "LOG_FILE_FORMAT_MDF", e[e.LOG_FILE_FORMAT_MATLAB = 102] = "LOG_FILE_FORMAT_MATLAB", e[e.LOG_FILE_FORMAT_J1587_ALT = 104] = "LOG_FILE_FORMAT_J1587_ALT", e[e.LOG_FILE_FORMAT_FAMOS = 105] = "LOG_FILE_FORMAT_FAMOS", e[e.LOG_FILE_FORMAT_MDF_SIGNAL = 106] = "LOG_FILE_FORMAT_MDF_SIGNAL", e[e.LOG_FILE_FORMAT_MDF_4X = 107] = "LOG_FILE_FORMAT_MDF_4X", e[e.LOG_FILE_FORMAT_MDF_4X_SIGNAL = 108] = "LOG_FILE_FORMAT_MDF_4X_SIGNAL", e[e.LOG_FILE_FORMAT_VECTOR_BLF_FD = 109] = "LOG_FILE_FORMAT_VECTOR_BLF_FD", e[e.LOG_FILE_FORMAT_XCP = 200] = "LOG_FILE_FORMAT_XCP", e[e.LOG_FILE_FORMAT_FAMOS_XCP = 201] = "LOG_FILE_FORMAT_FAMOS_XCP", e[e.LOG_FILE_FORMAT_DEBUG = 1e3] = "LOG_FILE_FORMAT_DEBUG", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Qi || {});
|
|
3712
|
+
function Pn(e) {
|
|
3627
3713
|
switch (e) {
|
|
3628
3714
|
case 0:
|
|
3629
3715
|
case "LOG_FILE_FORMAT_UNSPECIFIED":
|
|
@@ -3697,7 +3783,7 @@ function Ln(e) {
|
|
|
3697
3783
|
return -1;
|
|
3698
3784
|
}
|
|
3699
3785
|
}
|
|
3700
|
-
function
|
|
3786
|
+
function gn(e) {
|
|
3701
3787
|
switch (e) {
|
|
3702
3788
|
case 0:
|
|
3703
3789
|
return "LOG_FILE_FORMAT_UNSPECIFIED";
|
|
@@ -3748,8 +3834,8 @@ function Pn(e) {
|
|
|
3748
3834
|
return "UNRECOGNIZED";
|
|
3749
3835
|
}
|
|
3750
3836
|
}
|
|
3751
|
-
var
|
|
3752
|
-
function
|
|
3837
|
+
var Xi = /* @__PURE__ */ ((e) => (e[e.FILE_CONFLICT_ACTION_UNSPECIFIED = 0] = "FILE_CONFLICT_ACTION_UNSPECIFIED", e[e.FILE_CONFLICT_ACTION_OVERWRITE = 1] = "FILE_CONFLICT_ACTION_OVERWRITE", e[e.FILE_CONFLICT_ACTION_APPEND_INDEX = 2] = "FILE_CONFLICT_ACTION_APPEND_INDEX", e[e.FILE_CONFLICT_ACTION_APPEND_TIMESTAMP = 3] = "FILE_CONFLICT_ACTION_APPEND_TIMESTAMP", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Xi || {});
|
|
3838
|
+
function bn(e) {
|
|
3753
3839
|
switch (e) {
|
|
3754
3840
|
case 0:
|
|
3755
3841
|
case "FILE_CONFLICT_ACTION_UNSPECIFIED":
|
|
@@ -3769,7 +3855,7 @@ function gn(e) {
|
|
|
3769
3855
|
return -1;
|
|
3770
3856
|
}
|
|
3771
3857
|
}
|
|
3772
|
-
function
|
|
3858
|
+
function Gn(e) {
|
|
3773
3859
|
switch (e) {
|
|
3774
3860
|
case 0:
|
|
3775
3861
|
return "FILE_CONFLICT_ACTION_UNSPECIFIED";
|
|
@@ -3784,8 +3870,8 @@ function bn(e) {
|
|
|
3784
3870
|
return "UNRECOGNIZED";
|
|
3785
3871
|
}
|
|
3786
3872
|
}
|
|
3787
|
-
var
|
|
3788
|
-
function
|
|
3873
|
+
var qi = /* @__PURE__ */ ((e) => (e[e.DECIMAL_CHAR_UNSPECIFIED = 0] = "DECIMAL_CHAR_UNSPECIFIED", e[e.DECIMAL_CHAR_DEC_DOT = 1] = "DECIMAL_CHAR_DEC_DOT", e[e.DECIMAL_CHAR_DEC_COMMA = 2] = "DECIMAL_CHAR_DEC_COMMA", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(qi || {});
|
|
3874
|
+
function kn(e) {
|
|
3789
3875
|
switch (e) {
|
|
3790
3876
|
case 0:
|
|
3791
3877
|
case "DECIMAL_CHAR_UNSPECIFIED":
|
|
@@ -3802,7 +3888,7 @@ function Gn(e) {
|
|
|
3802
3888
|
return -1;
|
|
3803
3889
|
}
|
|
3804
3890
|
}
|
|
3805
|
-
function
|
|
3891
|
+
function Dn(e) {
|
|
3806
3892
|
switch (e) {
|
|
3807
3893
|
case 0:
|
|
3808
3894
|
return "DECIMAL_CHAR_UNSPECIFIED";
|
|
@@ -3815,8 +3901,8 @@ function kn(e) {
|
|
|
3815
3901
|
return "UNRECOGNIZED";
|
|
3816
3902
|
}
|
|
3817
3903
|
}
|
|
3818
|
-
var
|
|
3819
|
-
function
|
|
3904
|
+
var Zi = /* @__PURE__ */ ((e) => (e[e.SEPARATOR_UNSPECIFIED = 0] = "SEPARATOR_UNSPECIFIED", e[e.SEPARATOR_COMMA = 1] = "SEPARATOR_COMMA", e[e.SEPARATOR_SEMICOLON = 2] = "SEPARATOR_SEMICOLON", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Zi || {});
|
|
3905
|
+
function Bn(e) {
|
|
3820
3906
|
switch (e) {
|
|
3821
3907
|
case 0:
|
|
3822
3908
|
case "SEPARATOR_UNSPECIFIED":
|
|
@@ -3833,7 +3919,7 @@ function Dn(e) {
|
|
|
3833
3919
|
return -1;
|
|
3834
3920
|
}
|
|
3835
3921
|
}
|
|
3836
|
-
function
|
|
3922
|
+
function yn(e) {
|
|
3837
3923
|
switch (e) {
|
|
3838
3924
|
case 0:
|
|
3839
3925
|
return "SEPARATOR_UNSPECIFIED";
|
|
@@ -3846,8 +3932,8 @@ function Bn(e) {
|
|
|
3846
3932
|
return "UNRECOGNIZED";
|
|
3847
3933
|
}
|
|
3848
3934
|
}
|
|
3849
|
-
var
|
|
3850
|
-
function
|
|
3935
|
+
var Yi = /* @__PURE__ */ ((e) => (e[e.TIME_REFERENCE_UNSPECIFIED = 0] = "TIME_REFERENCE_UNSPECIFIED", e[e.TIME_REFERENCE_FIRST_TRIGGER = 1] = "TIME_REFERENCE_FIRST_TRIGGER", e[e.TIME_REFERENCE_START_OF_MEASUREMENT = 2] = "TIME_REFERENCE_START_OF_MEASUREMENT", e[e.UNRECOGNIZED = -1] = "UNRECOGNIZED", e))(Yi || {});
|
|
3936
|
+
function vn(e) {
|
|
3851
3937
|
switch (e) {
|
|
3852
3938
|
case 0:
|
|
3853
3939
|
case "TIME_REFERENCE_UNSPECIFIED":
|
|
@@ -3864,7 +3950,7 @@ function yn(e) {
|
|
|
3864
3950
|
return -1;
|
|
3865
3951
|
}
|
|
3866
3952
|
}
|
|
3867
|
-
function
|
|
3953
|
+
function xn(e) {
|
|
3868
3954
|
switch (e) {
|
|
3869
3955
|
case 0:
|
|
3870
3956
|
return "TIME_REFERENCE_UNSPECIFIED";
|
|
@@ -3877,7 +3963,7 @@ function vn(e) {
|
|
|
3877
3963
|
return "UNRECOGNIZED";
|
|
3878
3964
|
}
|
|
3879
3965
|
}
|
|
3880
|
-
function
|
|
3966
|
+
function nn() {
|
|
3881
3967
|
return {
|
|
3882
3968
|
canMode: 0,
|
|
3883
3969
|
accessMode: 0,
|
|
@@ -3893,9 +3979,9 @@ const U = {
|
|
|
3893
3979
|
return e.canMode !== 0 && n.uint32(8).int32(e.canMode), e.accessMode !== 0 && n.uint32(16).int32(e.accessMode), e.silentMode !== !1 && n.uint32(24).bool(e.silentMode), e.busParamsBitRate !== 0 && n.uint32(32).int32(e.busParamsBitRate), e.busParams !== void 0 && l.encode(e.busParams, n.uint32(42).fork()).join(), e.busParamsDataPhaseBitRate !== void 0 && n.uint32(48).int32(e.busParamsDataPhaseBitRate), e.busParamsDataPhase !== void 0 && l.encode(e.busParamsDataPhase, n.uint32(58).fork()).join(), n;
|
|
3894
3980
|
},
|
|
3895
3981
|
decode(e, n) {
|
|
3896
|
-
const i = e instanceof
|
|
3982
|
+
const i = e instanceof s ? e : new s(e);
|
|
3897
3983
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
3898
|
-
const a =
|
|
3984
|
+
const a = nn();
|
|
3899
3985
|
for (; i.pos < t; ) {
|
|
3900
3986
|
const r = i.uint32();
|
|
3901
3987
|
switch (r >>> 3) {
|
|
@@ -3950,28 +4036,28 @@ const U = {
|
|
|
3950
4036
|
},
|
|
3951
4037
|
fromJSON(e) {
|
|
3952
4038
|
return {
|
|
3953
|
-
canMode:
|
|
3954
|
-
accessMode:
|
|
3955
|
-
silentMode:
|
|
3956
|
-
busParamsBitRate:
|
|
3957
|
-
busParams:
|
|
3958
|
-
busParamsDataPhaseBitRate:
|
|
3959
|
-
busParamsDataPhase:
|
|
4039
|
+
canMode: u(e.canMode) ? ki(e.canMode) : 0,
|
|
4040
|
+
accessMode: u(e.accessMode) ? yi(e.accessMode) : 0,
|
|
4041
|
+
silentMode: u(e.silentMode) ? globalThis.Boolean(e.silentMode) : !1,
|
|
4042
|
+
busParamsBitRate: u(e.busParamsBitRate) ? globalThis.Number(e.busParamsBitRate) : 0,
|
|
4043
|
+
busParams: u(e.busParams) ? l.fromJSON(e.busParams) : void 0,
|
|
4044
|
+
busParamsDataPhaseBitRate: u(e.busParamsDataPhaseBitRate) ? globalThis.Number(e.busParamsDataPhaseBitRate) : void 0,
|
|
4045
|
+
busParamsDataPhase: u(e.busParamsDataPhase) ? l.fromJSON(e.busParamsDataPhase) : void 0
|
|
3960
4046
|
};
|
|
3961
4047
|
},
|
|
3962
4048
|
toJSON(e) {
|
|
3963
4049
|
const n = {};
|
|
3964
|
-
return e.canMode !== 0 && (n.canMode =
|
|
4050
|
+
return e.canMode !== 0 && (n.canMode = Di(e.canMode)), e.accessMode !== 0 && (n.accessMode = vi(e.accessMode)), e.silentMode !== !1 && (n.silentMode = e.silentMode), e.busParamsBitRate !== 0 && (n.busParamsBitRate = Math.round(e.busParamsBitRate)), e.busParams !== void 0 && (n.busParams = l.toJSON(e.busParams)), e.busParamsDataPhaseBitRate !== void 0 && (n.busParamsDataPhaseBitRate = Math.round(e.busParamsDataPhaseBitRate)), e.busParamsDataPhase !== void 0 && (n.busParamsDataPhase = l.toJSON(e.busParamsDataPhase)), n;
|
|
3965
4051
|
},
|
|
3966
4052
|
create(e) {
|
|
3967
4053
|
return U.fromPartial(e ?? {});
|
|
3968
4054
|
},
|
|
3969
4055
|
fromPartial(e) {
|
|
3970
|
-
const n =
|
|
4056
|
+
const n = nn();
|
|
3971
4057
|
return n.canMode = e.canMode ?? 0, n.accessMode = e.accessMode ?? 0, n.silentMode = e.silentMode ?? !1, n.busParamsBitRate = e.busParamsBitRate ?? 0, n.busParams = e.busParams !== void 0 && e.busParams !== null ? l.fromPartial(e.busParams) : void 0, n.busParamsDataPhaseBitRate = e.busParamsDataPhaseBitRate ?? void 0, n.busParamsDataPhase = e.busParamsDataPhase !== void 0 && e.busParamsDataPhase !== null ? l.fromPartial(e.busParamsDataPhase) : void 0, n;
|
|
3972
4058
|
}
|
|
3973
4059
|
};
|
|
3974
|
-
function
|
|
4060
|
+
function rn() {
|
|
3975
4061
|
return {
|
|
3976
4062
|
bitRate: 0,
|
|
3977
4063
|
protocolVersion: "",
|
|
@@ -3981,14 +4067,14 @@ function nn() {
|
|
|
3981
4067
|
saveMessageInfo: !1
|
|
3982
4068
|
};
|
|
3983
4069
|
}
|
|
3984
|
-
const
|
|
4070
|
+
const J = {
|
|
3985
4071
|
encode(e, n = new o()) {
|
|
3986
4072
|
return e.bitRate !== 0 && n.uint32(8).int32(e.bitRate), e.protocolVersion !== "" && n.uint32(18).string(e.protocolVersion), e.masterMode !== !1 && n.uint32(24).bool(e.masterMode), e.databaseFile !== void 0 && n.uint32(34).string(e.databaseFile), e.scheduleTable !== void 0 && n.uint32(42).string(e.scheduleTable), e.saveMessageInfo !== !1 && n.uint32(48).bool(e.saveMessageInfo), n;
|
|
3987
4073
|
},
|
|
3988
4074
|
decode(e, n) {
|
|
3989
|
-
const i = e instanceof
|
|
4075
|
+
const i = e instanceof s ? e : new s(e);
|
|
3990
4076
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
3991
|
-
const a =
|
|
4077
|
+
const a = rn();
|
|
3992
4078
|
for (; i.pos < t; ) {
|
|
3993
4079
|
const r = i.uint32();
|
|
3994
4080
|
switch (r >>> 3) {
|
|
@@ -4037,12 +4123,12 @@ const x = {
|
|
|
4037
4123
|
},
|
|
4038
4124
|
fromJSON(e) {
|
|
4039
4125
|
return {
|
|
4040
|
-
bitRate:
|
|
4041
|
-
protocolVersion:
|
|
4042
|
-
masterMode:
|
|
4043
|
-
databaseFile:
|
|
4044
|
-
scheduleTable:
|
|
4045
|
-
saveMessageInfo:
|
|
4126
|
+
bitRate: u(e.bitRate) ? globalThis.Number(e.bitRate) : 0,
|
|
4127
|
+
protocolVersion: u(e.protocolVersion) ? globalThis.String(e.protocolVersion) : "",
|
|
4128
|
+
masterMode: u(e.masterMode) ? globalThis.Boolean(e.masterMode) : !1,
|
|
4129
|
+
databaseFile: u(e.databaseFile) ? globalThis.String(e.databaseFile) : void 0,
|
|
4130
|
+
scheduleTable: u(e.scheduleTable) ? globalThis.String(e.scheduleTable) : void 0,
|
|
4131
|
+
saveMessageInfo: u(e.saveMessageInfo) ? globalThis.Boolean(e.saveMessageInfo) : !1
|
|
4046
4132
|
};
|
|
4047
4133
|
},
|
|
4048
4134
|
toJSON(e) {
|
|
@@ -4050,14 +4136,14 @@ const x = {
|
|
|
4050
4136
|
return e.bitRate !== 0 && (n.bitRate = Math.round(e.bitRate)), e.protocolVersion !== "" && (n.protocolVersion = e.protocolVersion), e.masterMode !== !1 && (n.masterMode = e.masterMode), e.databaseFile !== void 0 && (n.databaseFile = e.databaseFile), e.scheduleTable !== void 0 && (n.scheduleTable = e.scheduleTable), e.saveMessageInfo !== !1 && (n.saveMessageInfo = e.saveMessageInfo), n;
|
|
4051
4137
|
},
|
|
4052
4138
|
create(e) {
|
|
4053
|
-
return
|
|
4139
|
+
return J.fromPartial(e ?? {});
|
|
4054
4140
|
},
|
|
4055
4141
|
fromPartial(e) {
|
|
4056
|
-
const n =
|
|
4142
|
+
const n = rn();
|
|
4057
4143
|
return n.bitRate = e.bitRate ?? 0, n.protocolVersion = e.protocolVersion ?? "", n.masterMode = e.masterMode ?? !1, n.databaseFile = e.databaseFile ?? void 0, n.scheduleTable = e.scheduleTable ?? void 0, n.saveMessageInfo = e.saveMessageInfo ?? !1, n;
|
|
4058
4144
|
}
|
|
4059
4145
|
};
|
|
4060
|
-
function
|
|
4146
|
+
function an() {
|
|
4061
4147
|
return {
|
|
4062
4148
|
channelNumber: 0,
|
|
4063
4149
|
lockedToSerialNumber: !1,
|
|
@@ -4070,14 +4156,14 @@ function rn() {
|
|
|
4070
4156
|
linConfiguration: void 0
|
|
4071
4157
|
};
|
|
4072
4158
|
}
|
|
4073
|
-
const
|
|
4159
|
+
const w = {
|
|
4074
4160
|
encode(e, n = new o()) {
|
|
4075
|
-
return e.channelNumber !== 0 && n.uint32(8).int32(e.channelNumber), e.lockedToSerialNumber !== !1 && n.uint32(16).bool(e.lockedToSerialNumber), e.deviceProductCode !== "" && n.uint32(26).string(e.deviceProductCode), e.deviceSerialNumber !== "" && n.uint32(34).string(e.deviceSerialNumber), e.channelNumberOnDevice !== 0 && n.uint32(40).int32(e.channelNumberOnDevice), e.deviceCardType !== 0 && n.uint32(48).int32(e.deviceCardType), e.deviceCardNumber !== 0 && n.uint32(56).int32(e.deviceCardNumber), e.canConfiguration !== void 0 && U.encode(e.canConfiguration, n.uint32(66).fork()).join(), e.linConfiguration !== void 0 &&
|
|
4161
|
+
return e.channelNumber !== 0 && n.uint32(8).int32(e.channelNumber), e.lockedToSerialNumber !== !1 && n.uint32(16).bool(e.lockedToSerialNumber), e.deviceProductCode !== "" && n.uint32(26).string(e.deviceProductCode), e.deviceSerialNumber !== "" && n.uint32(34).string(e.deviceSerialNumber), e.channelNumberOnDevice !== 0 && n.uint32(40).int32(e.channelNumberOnDevice), e.deviceCardType !== 0 && n.uint32(48).int32(e.deviceCardType), e.deviceCardNumber !== 0 && n.uint32(56).int32(e.deviceCardNumber), e.canConfiguration !== void 0 && U.encode(e.canConfiguration, n.uint32(66).fork()).join(), e.linConfiguration !== void 0 && J.encode(e.linConfiguration, n.uint32(74).fork()).join(), n;
|
|
4076
4162
|
},
|
|
4077
4163
|
decode(e, n) {
|
|
4078
|
-
const i = e instanceof
|
|
4164
|
+
const i = e instanceof s ? e : new s(e);
|
|
4079
4165
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4080
|
-
const a =
|
|
4166
|
+
const a = an();
|
|
4081
4167
|
for (; i.pos < t; ) {
|
|
4082
4168
|
const r = i.uint32();
|
|
4083
4169
|
switch (r >>> 3) {
|
|
@@ -4132,7 +4218,7 @@ const J = {
|
|
|
4132
4218
|
case 9: {
|
|
4133
4219
|
if (r !== 74)
|
|
4134
4220
|
break;
|
|
4135
|
-
a.linConfiguration =
|
|
4221
|
+
a.linConfiguration = J.decode(i, i.uint32());
|
|
4136
4222
|
continue;
|
|
4137
4223
|
}
|
|
4138
4224
|
}
|
|
@@ -4144,30 +4230,30 @@ const J = {
|
|
|
4144
4230
|
},
|
|
4145
4231
|
fromJSON(e) {
|
|
4146
4232
|
return {
|
|
4147
|
-
channelNumber:
|
|
4148
|
-
lockedToSerialNumber:
|
|
4149
|
-
deviceProductCode:
|
|
4150
|
-
deviceSerialNumber:
|
|
4151
|
-
channelNumberOnDevice:
|
|
4152
|
-
deviceCardType:
|
|
4153
|
-
deviceCardNumber:
|
|
4154
|
-
canConfiguration:
|
|
4155
|
-
linConfiguration:
|
|
4233
|
+
channelNumber: u(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0,
|
|
4234
|
+
lockedToSerialNumber: u(e.lockedToSerialNumber) ? globalThis.Boolean(e.lockedToSerialNumber) : !1,
|
|
4235
|
+
deviceProductCode: u(e.deviceProductCode) ? globalThis.String(e.deviceProductCode) : "",
|
|
4236
|
+
deviceSerialNumber: u(e.deviceSerialNumber) ? globalThis.String(e.deviceSerialNumber) : "",
|
|
4237
|
+
channelNumberOnDevice: u(e.channelNumberOnDevice) ? globalThis.Number(e.channelNumberOnDevice) : 0,
|
|
4238
|
+
deviceCardType: u(e.deviceCardType) ? globalThis.Number(e.deviceCardType) : 0,
|
|
4239
|
+
deviceCardNumber: u(e.deviceCardNumber) ? globalThis.Number(e.deviceCardNumber) : 0,
|
|
4240
|
+
canConfiguration: u(e.canConfiguration) ? U.fromJSON(e.canConfiguration) : void 0,
|
|
4241
|
+
linConfiguration: u(e.linConfiguration) ? J.fromJSON(e.linConfiguration) : void 0
|
|
4156
4242
|
};
|
|
4157
4243
|
},
|
|
4158
4244
|
toJSON(e) {
|
|
4159
4245
|
const n = {};
|
|
4160
|
-
return e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), e.lockedToSerialNumber !== !1 && (n.lockedToSerialNumber = e.lockedToSerialNumber), e.deviceProductCode !== "" && (n.deviceProductCode = e.deviceProductCode), e.deviceSerialNumber !== "" && (n.deviceSerialNumber = e.deviceSerialNumber), e.channelNumberOnDevice !== 0 && (n.channelNumberOnDevice = Math.round(e.channelNumberOnDevice)), e.deviceCardType !== 0 && (n.deviceCardType = Math.round(e.deviceCardType)), e.deviceCardNumber !== 0 && (n.deviceCardNumber = Math.round(e.deviceCardNumber)), e.canConfiguration !== void 0 && (n.canConfiguration = U.toJSON(e.canConfiguration)), e.linConfiguration !== void 0 && (n.linConfiguration =
|
|
4246
|
+
return e.channelNumber !== 0 && (n.channelNumber = Math.round(e.channelNumber)), e.lockedToSerialNumber !== !1 && (n.lockedToSerialNumber = e.lockedToSerialNumber), e.deviceProductCode !== "" && (n.deviceProductCode = e.deviceProductCode), e.deviceSerialNumber !== "" && (n.deviceSerialNumber = e.deviceSerialNumber), e.channelNumberOnDevice !== 0 && (n.channelNumberOnDevice = Math.round(e.channelNumberOnDevice)), e.deviceCardType !== 0 && (n.deviceCardType = Math.round(e.deviceCardType)), e.deviceCardNumber !== 0 && (n.deviceCardNumber = Math.round(e.deviceCardNumber)), e.canConfiguration !== void 0 && (n.canConfiguration = U.toJSON(e.canConfiguration)), e.linConfiguration !== void 0 && (n.linConfiguration = J.toJSON(e.linConfiguration)), n;
|
|
4161
4247
|
},
|
|
4162
4248
|
create(e) {
|
|
4163
|
-
return
|
|
4249
|
+
return w.fromPartial(e ?? {});
|
|
4164
4250
|
},
|
|
4165
4251
|
fromPartial(e) {
|
|
4166
|
-
const n =
|
|
4167
|
-
return n.channelNumber = e.channelNumber ?? 0, n.lockedToSerialNumber = e.lockedToSerialNumber ?? !1, n.deviceProductCode = e.deviceProductCode ?? "", n.deviceSerialNumber = e.deviceSerialNumber ?? "", n.channelNumberOnDevice = e.channelNumberOnDevice ?? 0, n.deviceCardType = e.deviceCardType ?? 0, n.deviceCardNumber = e.deviceCardNumber ?? 0, n.canConfiguration = e.canConfiguration !== void 0 && e.canConfiguration !== null ? U.fromPartial(e.canConfiguration) : void 0, n.linConfiguration = e.linConfiguration !== void 0 && e.linConfiguration !== null ?
|
|
4252
|
+
const n = an();
|
|
4253
|
+
return n.channelNumber = e.channelNumber ?? 0, n.lockedToSerialNumber = e.lockedToSerialNumber ?? !1, n.deviceProductCode = e.deviceProductCode ?? "", n.deviceSerialNumber = e.deviceSerialNumber ?? "", n.channelNumberOnDevice = e.channelNumberOnDevice ?? 0, n.deviceCardType = e.deviceCardType ?? 0, n.deviceCardNumber = e.deviceCardNumber ?? 0, n.canConfiguration = e.canConfiguration !== void 0 && e.canConfiguration !== null ? U.fromPartial(e.canConfiguration) : void 0, n.linConfiguration = e.linConfiguration !== void 0 && e.linConfiguration !== null ? J.fromPartial(e.linConfiguration) : void 0, n;
|
|
4168
4254
|
}
|
|
4169
4255
|
};
|
|
4170
|
-
function
|
|
4256
|
+
function tn() {
|
|
4171
4257
|
return {
|
|
4172
4258
|
channelIdentifiers: {},
|
|
4173
4259
|
logFile: "",
|
|
@@ -4183,16 +4269,16 @@ function an() {
|
|
|
4183
4269
|
increaseSpeed: void 0
|
|
4184
4270
|
};
|
|
4185
4271
|
}
|
|
4186
|
-
const
|
|
4272
|
+
const H = {
|
|
4187
4273
|
encode(e, n = new o()) {
|
|
4188
4274
|
return Object.entries(e.channelIdentifiers).forEach(([i, t]) => {
|
|
4189
4275
|
le.encode({ key: i, value: t }, n.uint32(10).fork()).join();
|
|
4190
4276
|
}), e.logFile !== "" && n.uint32(18).string(e.logFile), e.iterations !== 0 && n.uint32(24).int32(e.iterations), e.sampleRateMs !== 0 && n.uint32(32).int32(e.sampleRateMs), e.transceiverMode !== 0 && n.uint32(40).int32(e.transceiverMode), e.includeErrorFrames !== !1 && n.uint32(48).bool(e.includeErrorFrames), e.sendFirstMessageMode !== 0 && n.uint32(56).int32(e.sendFirstMessageMode), e.timeOffsetMs !== void 0 && n.uint32(64).int32(e.timeOffsetMs), e.timeFactor !== void 0 && n.uint32(73).double(e.timeFactor), e.lowerVariance !== void 0 && n.uint32(81).double(e.lowerVariance), e.higherVariance !== void 0 && n.uint32(89).double(e.higherVariance), e.increaseSpeed !== void 0 && n.uint32(96).bool(e.increaseSpeed), n;
|
|
4191
4277
|
},
|
|
4192
4278
|
decode(e, n) {
|
|
4193
|
-
const i = e instanceof
|
|
4279
|
+
const i = e instanceof s ? e : new s(e);
|
|
4194
4280
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4195
|
-
const a =
|
|
4281
|
+
const a = tn();
|
|
4196
4282
|
for (; i.pos < t; ) {
|
|
4197
4283
|
const r = i.uint32();
|
|
4198
4284
|
switch (r >>> 3) {
|
|
@@ -4278,18 +4364,18 @@ const w = {
|
|
|
4278
4364
|
},
|
|
4279
4365
|
fromJSON(e) {
|
|
4280
4366
|
return {
|
|
4281
|
-
channelIdentifiers:
|
|
4282
|
-
logFile:
|
|
4283
|
-
iterations:
|
|
4284
|
-
sampleRateMs:
|
|
4285
|
-
transceiverMode:
|
|
4286
|
-
includeErrorFrames:
|
|
4287
|
-
sendFirstMessageMode:
|
|
4288
|
-
timeOffsetMs:
|
|
4289
|
-
timeFactor:
|
|
4290
|
-
lowerVariance:
|
|
4291
|
-
higherVariance:
|
|
4292
|
-
increaseSpeed:
|
|
4367
|
+
channelIdentifiers: Wi(e.channelIdentifiers) ? Object.entries(e.channelIdentifiers).reduce((n, [i, t]) => (n[i] = String(t), n), {}) : {},
|
|
4368
|
+
logFile: u(e.logFile) ? globalThis.String(e.logFile) : "",
|
|
4369
|
+
iterations: u(e.iterations) ? globalThis.Number(e.iterations) : 0,
|
|
4370
|
+
sampleRateMs: u(e.sampleRateMs) ? globalThis.Number(e.sampleRateMs) : 0,
|
|
4371
|
+
transceiverMode: u(e.transceiverMode) ? globalThis.Number(e.transceiverMode) : 0,
|
|
4372
|
+
includeErrorFrames: u(e.includeErrorFrames) ? globalThis.Boolean(e.includeErrorFrames) : !1,
|
|
4373
|
+
sendFirstMessageMode: u(e.sendFirstMessageMode) ? globalThis.Number(e.sendFirstMessageMode) : 0,
|
|
4374
|
+
timeOffsetMs: u(e.timeOffsetMs) ? globalThis.Number(e.timeOffsetMs) : void 0,
|
|
4375
|
+
timeFactor: u(e.timeFactor) ? globalThis.Number(e.timeFactor) : void 0,
|
|
4376
|
+
lowerVariance: u(e.lowerVariance) ? globalThis.Number(e.lowerVariance) : void 0,
|
|
4377
|
+
higherVariance: u(e.higherVariance) ? globalThis.Number(e.higherVariance) : void 0,
|
|
4378
|
+
increaseSpeed: u(e.increaseSpeed) ? globalThis.Boolean(e.increaseSpeed) : void 0
|
|
4293
4379
|
};
|
|
4294
4380
|
},
|
|
4295
4381
|
toJSON(e) {
|
|
@@ -4303,17 +4389,17 @@ const w = {
|
|
|
4303
4389
|
return e.logFile !== "" && (n.logFile = e.logFile), e.iterations !== 0 && (n.iterations = Math.round(e.iterations)), e.sampleRateMs !== 0 && (n.sampleRateMs = Math.round(e.sampleRateMs)), e.transceiverMode !== 0 && (n.transceiverMode = Math.round(e.transceiverMode)), e.includeErrorFrames !== !1 && (n.includeErrorFrames = e.includeErrorFrames), e.sendFirstMessageMode !== 0 && (n.sendFirstMessageMode = Math.round(e.sendFirstMessageMode)), e.timeOffsetMs !== void 0 && (n.timeOffsetMs = Math.round(e.timeOffsetMs)), e.timeFactor !== void 0 && (n.timeFactor = e.timeFactor), e.lowerVariance !== void 0 && (n.lowerVariance = e.lowerVariance), e.higherVariance !== void 0 && (n.higherVariance = e.higherVariance), e.increaseSpeed !== void 0 && (n.increaseSpeed = e.increaseSpeed), n;
|
|
4304
4390
|
},
|
|
4305
4391
|
create(e) {
|
|
4306
|
-
return
|
|
4392
|
+
return H.fromPartial(e ?? {});
|
|
4307
4393
|
},
|
|
4308
4394
|
fromPartial(e) {
|
|
4309
|
-
const n =
|
|
4395
|
+
const n = tn();
|
|
4310
4396
|
return n.channelIdentifiers = Object.entries(e.channelIdentifiers ?? {}).reduce(
|
|
4311
4397
|
(i, [t, a]) => (a !== void 0 && (i[t] = globalThis.String(a)), i),
|
|
4312
4398
|
{}
|
|
4313
4399
|
), n.logFile = e.logFile ?? "", n.iterations = e.iterations ?? 0, n.sampleRateMs = e.sampleRateMs ?? 0, n.transceiverMode = e.transceiverMode ?? 0, n.includeErrorFrames = e.includeErrorFrames ?? !1, n.sendFirstMessageMode = e.sendFirstMessageMode ?? 0, n.timeOffsetMs = e.timeOffsetMs ?? void 0, n.timeFactor = e.timeFactor ?? void 0, n.lowerVariance = e.lowerVariance ?? void 0, n.higherVariance = e.higherVariance ?? void 0, n.increaseSpeed = e.increaseSpeed ?? void 0, n;
|
|
4314
4400
|
}
|
|
4315
4401
|
};
|
|
4316
|
-
function
|
|
4402
|
+
function un() {
|
|
4317
4403
|
return { key: "", value: "" };
|
|
4318
4404
|
}
|
|
4319
4405
|
const le = {
|
|
@@ -4321,9 +4407,9 @@ const le = {
|
|
|
4321
4407
|
return e.key !== "" && n.uint32(10).string(e.key), e.value !== "" && n.uint32(18).string(e.value), n;
|
|
4322
4408
|
},
|
|
4323
4409
|
decode(e, n) {
|
|
4324
|
-
const i = e instanceof
|
|
4410
|
+
const i = e instanceof s ? e : new s(e);
|
|
4325
4411
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4326
|
-
const a =
|
|
4412
|
+
const a = un();
|
|
4327
4413
|
for (; i.pos < t; ) {
|
|
4328
4414
|
const r = i.uint32();
|
|
4329
4415
|
switch (r >>> 3) {
|
|
@@ -4348,8 +4434,8 @@ const le = {
|
|
|
4348
4434
|
},
|
|
4349
4435
|
fromJSON(e) {
|
|
4350
4436
|
return {
|
|
4351
|
-
key:
|
|
4352
|
-
value:
|
|
4437
|
+
key: u(e.key) ? globalThis.String(e.key) : "",
|
|
4438
|
+
value: u(e.value) ? globalThis.String(e.value) : ""
|
|
4353
4439
|
};
|
|
4354
4440
|
},
|
|
4355
4441
|
toJSON(e) {
|
|
@@ -4360,7 +4446,7 @@ const le = {
|
|
|
4360
4446
|
return le.fromPartial(e ?? {});
|
|
4361
4447
|
},
|
|
4362
4448
|
fromPartial(e) {
|
|
4363
|
-
const n =
|
|
4449
|
+
const n = un();
|
|
4364
4450
|
return n.key = e.key ?? "", n.value = e.value ?? "", n;
|
|
4365
4451
|
}
|
|
4366
4452
|
};
|
|
@@ -4385,12 +4471,12 @@ function sn() {
|
|
|
4385
4471
|
randomBurstSizeMax: 0
|
|
4386
4472
|
};
|
|
4387
4473
|
}
|
|
4388
|
-
const
|
|
4474
|
+
const z = {
|
|
4389
4475
|
encode(e, n = new o()) {
|
|
4390
|
-
return e.channelIdentifier !== "" && n.uint32(10).string(e.channelIdentifier), e.frame !== void 0 &&
|
|
4476
|
+
return e.channelIdentifier !== "" && n.uint32(10).string(e.channelIdentifier), e.frame !== void 0 && v.encode(e.frame, n.uint32(18).fork()).join(), e.randomInterval !== !1 && n.uint32(24).bool(e.randomInterval), e.constantIntervalMs !== 0 && n.uint32(33).double(e.constantIntervalMs), e.randomIntervalMinMs !== 0 && n.uint32(40).int32(e.randomIntervalMinMs), e.randomIntervalMaxMs !== 0 && n.uint32(48).int32(e.randomIntervalMaxMs), e.numberOfMessages !== 0 && n.uint32(56).int32(e.numberOfMessages), e.randomDataLength !== !1 && n.uint32(64).bool(e.randomDataLength), e.randomMessageData !== !1 && n.uint32(72).bool(e.randomMessageData), e.randomIdentifier !== !1 && n.uint32(80).bool(e.randomIdentifier), e.scanIdentifier !== !1 && n.uint32(88).bool(e.scanIdentifier), e.identifierMin !== 0 && n.uint32(96).int32(e.identifierMin), e.identifierMax !== 0 && n.uint32(104).int32(e.identifierMax), e.randomBurstSize !== !1 && n.uint32(112).bool(e.randomBurstSize), e.constantBurstSize !== 0 && n.uint32(120).int32(e.constantBurstSize), e.randomBurstSizeMin !== 0 && n.uint32(128).int32(e.randomBurstSizeMin), e.randomBurstSizeMax !== 0 && n.uint32(136).int32(e.randomBurstSizeMax), n;
|
|
4391
4477
|
},
|
|
4392
4478
|
decode(e, n) {
|
|
4393
|
-
const i = e instanceof
|
|
4479
|
+
const i = e instanceof s ? e : new s(e);
|
|
4394
4480
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4395
4481
|
const a = sn();
|
|
4396
4482
|
for (; i.pos < t; ) {
|
|
@@ -4405,7 +4491,7 @@ const H = {
|
|
|
4405
4491
|
case 2: {
|
|
4406
4492
|
if (r !== 18)
|
|
4407
4493
|
break;
|
|
4408
|
-
a.frame =
|
|
4494
|
+
a.frame = v.decode(i, i.uint32());
|
|
4409
4495
|
continue;
|
|
4410
4496
|
}
|
|
4411
4497
|
case 3: {
|
|
@@ -4507,38 +4593,38 @@ const H = {
|
|
|
4507
4593
|
},
|
|
4508
4594
|
fromJSON(e) {
|
|
4509
4595
|
return {
|
|
4510
|
-
channelIdentifier:
|
|
4511
|
-
frame:
|
|
4512
|
-
randomInterval:
|
|
4513
|
-
constantIntervalMs:
|
|
4514
|
-
randomIntervalMinMs:
|
|
4515
|
-
randomIntervalMaxMs:
|
|
4516
|
-
numberOfMessages:
|
|
4517
|
-
randomDataLength:
|
|
4518
|
-
randomMessageData:
|
|
4519
|
-
randomIdentifier:
|
|
4520
|
-
scanIdentifier:
|
|
4521
|
-
identifierMin:
|
|
4522
|
-
identifierMax:
|
|
4523
|
-
randomBurstSize:
|
|
4524
|
-
constantBurstSize:
|
|
4525
|
-
randomBurstSizeMin:
|
|
4526
|
-
randomBurstSizeMax:
|
|
4596
|
+
channelIdentifier: u(e.channelIdentifier) ? globalThis.String(e.channelIdentifier) : "",
|
|
4597
|
+
frame: u(e.frame) ? v.fromJSON(e.frame) : void 0,
|
|
4598
|
+
randomInterval: u(e.randomInterval) ? globalThis.Boolean(e.randomInterval) : !1,
|
|
4599
|
+
constantIntervalMs: u(e.constantIntervalMs) ? globalThis.Number(e.constantIntervalMs) : 0,
|
|
4600
|
+
randomIntervalMinMs: u(e.randomIntervalMinMs) ? globalThis.Number(e.randomIntervalMinMs) : 0,
|
|
4601
|
+
randomIntervalMaxMs: u(e.randomIntervalMaxMs) ? globalThis.Number(e.randomIntervalMaxMs) : 0,
|
|
4602
|
+
numberOfMessages: u(e.numberOfMessages) ? globalThis.Number(e.numberOfMessages) : 0,
|
|
4603
|
+
randomDataLength: u(e.randomDataLength) ? globalThis.Boolean(e.randomDataLength) : !1,
|
|
4604
|
+
randomMessageData: u(e.randomMessageData) ? globalThis.Boolean(e.randomMessageData) : !1,
|
|
4605
|
+
randomIdentifier: u(e.randomIdentifier) ? globalThis.Boolean(e.randomIdentifier) : !1,
|
|
4606
|
+
scanIdentifier: u(e.scanIdentifier) ? globalThis.Boolean(e.scanIdentifier) : !1,
|
|
4607
|
+
identifierMin: u(e.identifierMin) ? globalThis.Number(e.identifierMin) : 0,
|
|
4608
|
+
identifierMax: u(e.identifierMax) ? globalThis.Number(e.identifierMax) : 0,
|
|
4609
|
+
randomBurstSize: u(e.randomBurstSize) ? globalThis.Boolean(e.randomBurstSize) : !1,
|
|
4610
|
+
constantBurstSize: u(e.constantBurstSize) ? globalThis.Number(e.constantBurstSize) : 0,
|
|
4611
|
+
randomBurstSizeMin: u(e.randomBurstSizeMin) ? globalThis.Number(e.randomBurstSizeMin) : 0,
|
|
4612
|
+
randomBurstSizeMax: u(e.randomBurstSizeMax) ? globalThis.Number(e.randomBurstSizeMax) : 0
|
|
4527
4613
|
};
|
|
4528
4614
|
},
|
|
4529
4615
|
toJSON(e) {
|
|
4530
4616
|
const n = {};
|
|
4531
|
-
return e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frame !== void 0 && (n.frame =
|
|
4617
|
+
return e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frame !== void 0 && (n.frame = v.toJSON(e.frame)), e.randomInterval !== !1 && (n.randomInterval = e.randomInterval), e.constantIntervalMs !== 0 && (n.constantIntervalMs = e.constantIntervalMs), e.randomIntervalMinMs !== 0 && (n.randomIntervalMinMs = Math.round(e.randomIntervalMinMs)), e.randomIntervalMaxMs !== 0 && (n.randomIntervalMaxMs = Math.round(e.randomIntervalMaxMs)), e.numberOfMessages !== 0 && (n.numberOfMessages = Math.round(e.numberOfMessages)), e.randomDataLength !== !1 && (n.randomDataLength = e.randomDataLength), e.randomMessageData !== !1 && (n.randomMessageData = e.randomMessageData), e.randomIdentifier !== !1 && (n.randomIdentifier = e.randomIdentifier), e.scanIdentifier !== !1 && (n.scanIdentifier = e.scanIdentifier), e.identifierMin !== 0 && (n.identifierMin = Math.round(e.identifierMin)), e.identifierMax !== 0 && (n.identifierMax = Math.round(e.identifierMax)), e.randomBurstSize !== !1 && (n.randomBurstSize = e.randomBurstSize), e.constantBurstSize !== 0 && (n.constantBurstSize = Math.round(e.constantBurstSize)), e.randomBurstSizeMin !== 0 && (n.randomBurstSizeMin = Math.round(e.randomBurstSizeMin)), e.randomBurstSizeMax !== 0 && (n.randomBurstSizeMax = Math.round(e.randomBurstSizeMax)), n;
|
|
4532
4618
|
},
|
|
4533
4619
|
create(e) {
|
|
4534
|
-
return
|
|
4620
|
+
return z.fromPartial(e ?? {});
|
|
4535
4621
|
},
|
|
4536
4622
|
fromPartial(e) {
|
|
4537
4623
|
const n = sn();
|
|
4538
|
-
return n.channelIdentifier = e.channelIdentifier ?? "", n.frame = e.frame !== void 0 && e.frame !== null ?
|
|
4624
|
+
return n.channelIdentifier = e.channelIdentifier ?? "", n.frame = e.frame !== void 0 && e.frame !== null ? v.fromPartial(e.frame) : void 0, n.randomInterval = e.randomInterval ?? !1, n.constantIntervalMs = e.constantIntervalMs ?? 0, n.randomIntervalMinMs = e.randomIntervalMinMs ?? 0, n.randomIntervalMaxMs = e.randomIntervalMaxMs ?? 0, n.numberOfMessages = e.numberOfMessages ?? 0, n.randomDataLength = e.randomDataLength ?? !1, n.randomMessageData = e.randomMessageData ?? !1, n.randomIdentifier = e.randomIdentifier ?? !1, n.scanIdentifier = e.scanIdentifier ?? !1, n.identifierMin = e.identifierMin ?? 0, n.identifierMax = e.identifierMax ?? 0, n.randomBurstSize = e.randomBurstSize ?? !1, n.constantBurstSize = e.constantBurstSize ?? 0, n.randomBurstSizeMin = e.randomBurstSizeMin ?? 0, n.randomBurstSizeMax = e.randomBurstSizeMax ?? 0, n;
|
|
4539
4625
|
}
|
|
4540
4626
|
};
|
|
4541
|
-
function
|
|
4627
|
+
function dn() {
|
|
4542
4628
|
return { stdCanIds: "", extCanIds: "", filterType: 0 };
|
|
4543
4629
|
}
|
|
4544
4630
|
const F = {
|
|
@@ -4546,9 +4632,9 @@ const F = {
|
|
|
4546
4632
|
return e.stdCanIds !== "" && n.uint32(10).string(e.stdCanIds), e.extCanIds !== "" && n.uint32(18).string(e.extCanIds), e.filterType !== 0 && n.uint32(24).int32(e.filterType), n;
|
|
4547
4633
|
},
|
|
4548
4634
|
decode(e, n) {
|
|
4549
|
-
const i = e instanceof
|
|
4635
|
+
const i = e instanceof s ? e : new s(e);
|
|
4550
4636
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4551
|
-
const a =
|
|
4637
|
+
const a = dn();
|
|
4552
4638
|
for (; i.pos < t; ) {
|
|
4553
4639
|
const r = i.uint32();
|
|
4554
4640
|
switch (r >>> 3) {
|
|
@@ -4579,36 +4665,36 @@ const F = {
|
|
|
4579
4665
|
},
|
|
4580
4666
|
fromJSON(e) {
|
|
4581
4667
|
return {
|
|
4582
|
-
stdCanIds:
|
|
4583
|
-
extCanIds:
|
|
4584
|
-
filterType:
|
|
4668
|
+
stdCanIds: u(e.stdCanIds) ? globalThis.String(e.stdCanIds) : "",
|
|
4669
|
+
extCanIds: u(e.extCanIds) ? globalThis.String(e.extCanIds) : "",
|
|
4670
|
+
filterType: u(e.filterType) ? Vi(e.filterType) : 0
|
|
4585
4671
|
};
|
|
4586
4672
|
},
|
|
4587
4673
|
toJSON(e) {
|
|
4588
4674
|
const n = {};
|
|
4589
|
-
return e.stdCanIds !== "" && (n.stdCanIds = e.stdCanIds), e.extCanIds !== "" && (n.extCanIds = e.extCanIds), e.filterType !== 0 && (n.filterType =
|
|
4675
|
+
return e.stdCanIds !== "" && (n.stdCanIds = e.stdCanIds), e.extCanIds !== "" && (n.extCanIds = e.extCanIds), e.filterType !== 0 && (n.filterType = Ui(e.filterType)), n;
|
|
4590
4676
|
},
|
|
4591
4677
|
create(e) {
|
|
4592
4678
|
return F.fromPartial(e ?? {});
|
|
4593
4679
|
},
|
|
4594
4680
|
fromPartial(e) {
|
|
4595
|
-
const n =
|
|
4681
|
+
const n = dn();
|
|
4596
4682
|
return n.stdCanIds = e.stdCanIds ?? "", n.extCanIds = e.extCanIds ?? "", n.filterType = e.filterType ?? 0, n;
|
|
4597
4683
|
}
|
|
4598
4684
|
};
|
|
4599
|
-
function
|
|
4685
|
+
function on() {
|
|
4600
4686
|
return { selectedSignals: [] };
|
|
4601
4687
|
}
|
|
4602
|
-
const
|
|
4688
|
+
const Q = {
|
|
4603
4689
|
encode(e, n = new o()) {
|
|
4604
4690
|
for (const i of e.selectedSignals)
|
|
4605
4691
|
n.uint32(10).string(i);
|
|
4606
4692
|
return n;
|
|
4607
4693
|
},
|
|
4608
4694
|
decode(e, n) {
|
|
4609
|
-
const i = e instanceof
|
|
4695
|
+
const i = e instanceof s ? e : new s(e);
|
|
4610
4696
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4611
|
-
const a =
|
|
4697
|
+
const a = on();
|
|
4612
4698
|
for (; i.pos < t; ) {
|
|
4613
4699
|
const r = i.uint32();
|
|
4614
4700
|
switch (r >>> 3) {
|
|
@@ -4636,27 +4722,27 @@ const z = {
|
|
|
4636
4722
|
return (i = e.selectedSignals) != null && i.length && (n.selectedSignals = e.selectedSignals), n;
|
|
4637
4723
|
},
|
|
4638
4724
|
create(e) {
|
|
4639
|
-
return
|
|
4725
|
+
return Q.fromPartial(e ?? {});
|
|
4640
4726
|
},
|
|
4641
4727
|
fromPartial(e) {
|
|
4642
4728
|
var i;
|
|
4643
|
-
const n =
|
|
4729
|
+
const n = on();
|
|
4644
4730
|
return n.selectedSignals = ((i = e.selectedSignals) == null ? void 0 : i.map((t) => t)) || [], n;
|
|
4645
4731
|
}
|
|
4646
4732
|
};
|
|
4647
|
-
function
|
|
4733
|
+
function fn() {
|
|
4648
4734
|
return { databaseFiles: [] };
|
|
4649
4735
|
}
|
|
4650
|
-
const
|
|
4736
|
+
const X = {
|
|
4651
4737
|
encode(e, n = new o()) {
|
|
4652
4738
|
for (const i of e.databaseFiles)
|
|
4653
4739
|
n.uint32(10).string(i);
|
|
4654
4740
|
return n;
|
|
4655
4741
|
},
|
|
4656
4742
|
decode(e, n) {
|
|
4657
|
-
const i = e instanceof
|
|
4743
|
+
const i = e instanceof s ? e : new s(e);
|
|
4658
4744
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4659
|
-
const a =
|
|
4745
|
+
const a = fn();
|
|
4660
4746
|
for (; i.pos < t; ) {
|
|
4661
4747
|
const r = i.uint32();
|
|
4662
4748
|
switch (r >>> 3) {
|
|
@@ -4684,32 +4770,32 @@ const Q = {
|
|
|
4684
4770
|
return (i = e.databaseFiles) != null && i.length && (n.databaseFiles = e.databaseFiles), n;
|
|
4685
4771
|
},
|
|
4686
4772
|
create(e) {
|
|
4687
|
-
return
|
|
4773
|
+
return X.fromPartial(e ?? {});
|
|
4688
4774
|
},
|
|
4689
4775
|
fromPartial(e) {
|
|
4690
4776
|
var i;
|
|
4691
|
-
const n =
|
|
4777
|
+
const n = fn();
|
|
4692
4778
|
return n.databaseFiles = ((i = e.databaseFiles) == null ? void 0 : i.map((t) => t)) || [], n;
|
|
4693
4779
|
}
|
|
4694
4780
|
};
|
|
4695
|
-
function
|
|
4781
|
+
function ln() {
|
|
4696
4782
|
return { j1939Settings: void 0 };
|
|
4697
4783
|
}
|
|
4698
|
-
const
|
|
4784
|
+
const q = {
|
|
4699
4785
|
encode(e, n = new o()) {
|
|
4700
|
-
return e.j1939Settings !== void 0 &&
|
|
4786
|
+
return e.j1939Settings !== void 0 && Z.encode(e.j1939Settings, n.uint32(10).fork()).join(), n;
|
|
4701
4787
|
},
|
|
4702
4788
|
decode(e, n) {
|
|
4703
|
-
const i = e instanceof
|
|
4789
|
+
const i = e instanceof s ? e : new s(e);
|
|
4704
4790
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4705
|
-
const a =
|
|
4791
|
+
const a = ln();
|
|
4706
4792
|
for (; i.pos < t; ) {
|
|
4707
4793
|
const r = i.uint32();
|
|
4708
4794
|
switch (r >>> 3) {
|
|
4709
4795
|
case 1: {
|
|
4710
4796
|
if (r !== 10)
|
|
4711
4797
|
break;
|
|
4712
|
-
a.j1939Settings =
|
|
4798
|
+
a.j1939Settings = Z.decode(i, i.uint32());
|
|
4713
4799
|
continue;
|
|
4714
4800
|
}
|
|
4715
4801
|
}
|
|
@@ -4721,32 +4807,32 @@ const X = {
|
|
|
4721
4807
|
},
|
|
4722
4808
|
fromJSON(e) {
|
|
4723
4809
|
return {
|
|
4724
|
-
j1939Settings:
|
|
4810
|
+
j1939Settings: u(e.j1939Settings) ? Z.fromJSON(e.j1939Settings) : void 0
|
|
4725
4811
|
};
|
|
4726
4812
|
},
|
|
4727
4813
|
toJSON(e) {
|
|
4728
4814
|
const n = {};
|
|
4729
|
-
return e.j1939Settings !== void 0 && (n.j1939Settings =
|
|
4815
|
+
return e.j1939Settings !== void 0 && (n.j1939Settings = Z.toJSON(e.j1939Settings)), n;
|
|
4730
4816
|
},
|
|
4731
4817
|
create(e) {
|
|
4732
|
-
return
|
|
4818
|
+
return q.fromPartial(e ?? {});
|
|
4733
4819
|
},
|
|
4734
4820
|
fromPartial(e) {
|
|
4735
|
-
const n =
|
|
4736
|
-
return n.j1939Settings = e.j1939Settings !== void 0 && e.j1939Settings !== null ?
|
|
4821
|
+
const n = ln();
|
|
4822
|
+
return n.j1939Settings = e.j1939Settings !== void 0 && e.j1939Settings !== null ? Z.fromPartial(e.j1939Settings) : void 0, n;
|
|
4737
4823
|
}
|
|
4738
4824
|
};
|
|
4739
|
-
function
|
|
4825
|
+
function cn() {
|
|
4740
4826
|
return {};
|
|
4741
4827
|
}
|
|
4742
|
-
const
|
|
4828
|
+
const Z = {
|
|
4743
4829
|
encode(e, n = new o()) {
|
|
4744
4830
|
return n;
|
|
4745
4831
|
},
|
|
4746
4832
|
decode(e, n) {
|
|
4747
|
-
const i = e instanceof
|
|
4833
|
+
const i = e instanceof s ? e : new s(e);
|
|
4748
4834
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4749
|
-
const a =
|
|
4835
|
+
const a = cn();
|
|
4750
4836
|
for (; i.pos < t; ) {
|
|
4751
4837
|
const r = i.uint32();
|
|
4752
4838
|
if ((r & 7) === 4 || r === 0)
|
|
@@ -4762,23 +4848,23 @@ const q = {
|
|
|
4762
4848
|
return {};
|
|
4763
4849
|
},
|
|
4764
4850
|
create(e) {
|
|
4765
|
-
return
|
|
4851
|
+
return Z.fromPartial(e ?? {});
|
|
4766
4852
|
},
|
|
4767
4853
|
fromPartial(e) {
|
|
4768
|
-
return
|
|
4854
|
+
return cn();
|
|
4769
4855
|
}
|
|
4770
4856
|
};
|
|
4771
|
-
function
|
|
4857
|
+
function Nn() {
|
|
4772
4858
|
return { extensionName: "", configuration: void 0 };
|
|
4773
4859
|
}
|
|
4774
|
-
const
|
|
4860
|
+
const M = {
|
|
4775
4861
|
encode(e, n = new o()) {
|
|
4776
4862
|
return e.extensionName !== "" && n.uint32(10).string(e.extensionName), e.configuration !== void 0 && n.uint32(18).string(e.configuration), n;
|
|
4777
4863
|
},
|
|
4778
4864
|
decode(e, n) {
|
|
4779
|
-
const i = e instanceof
|
|
4865
|
+
const i = e instanceof s ? e : new s(e);
|
|
4780
4866
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4781
|
-
const a =
|
|
4867
|
+
const a = Nn();
|
|
4782
4868
|
for (; i.pos < t; ) {
|
|
4783
4869
|
const r = i.uint32();
|
|
4784
4870
|
switch (r >>> 3) {
|
|
@@ -4803,8 +4889,8 @@ const Z = {
|
|
|
4803
4889
|
},
|
|
4804
4890
|
fromJSON(e) {
|
|
4805
4891
|
return {
|
|
4806
|
-
extensionName:
|
|
4807
|
-
configuration:
|
|
4892
|
+
extensionName: u(e.extensionName) ? globalThis.String(e.extensionName) : "",
|
|
4893
|
+
configuration: u(e.configuration) ? globalThis.String(e.configuration) : void 0
|
|
4808
4894
|
};
|
|
4809
4895
|
},
|
|
4810
4896
|
toJSON(e) {
|
|
@@ -4812,14 +4898,14 @@ const Z = {
|
|
|
4812
4898
|
return e.extensionName !== "" && (n.extensionName = e.extensionName), e.configuration !== void 0 && (n.configuration = e.configuration), n;
|
|
4813
4899
|
},
|
|
4814
4900
|
create(e) {
|
|
4815
|
-
return
|
|
4901
|
+
return M.fromPartial(e ?? {});
|
|
4816
4902
|
},
|
|
4817
4903
|
fromPartial(e) {
|
|
4818
|
-
const n =
|
|
4904
|
+
const n = Nn();
|
|
4819
4905
|
return n.extensionName = e.extensionName ?? "", n.configuration = e.configuration ?? void 0, n;
|
|
4820
4906
|
}
|
|
4821
4907
|
};
|
|
4822
|
-
function
|
|
4908
|
+
function _n() {
|
|
4823
4909
|
return { frameId: "", frameIdType: "" };
|
|
4824
4910
|
}
|
|
4825
4911
|
const Y = {
|
|
@@ -4827,9 +4913,9 @@ const Y = {
|
|
|
4827
4913
|
return e.frameId !== "" && n.uint32(10).string(e.frameId), e.frameIdType !== "" && n.uint32(18).string(e.frameIdType), n;
|
|
4828
4914
|
},
|
|
4829
4915
|
decode(e, n) {
|
|
4830
|
-
const i = e instanceof
|
|
4916
|
+
const i = e instanceof s ? e : new s(e);
|
|
4831
4917
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4832
|
-
const a =
|
|
4918
|
+
const a = _n();
|
|
4833
4919
|
for (; i.pos < t; ) {
|
|
4834
4920
|
const r = i.uint32();
|
|
4835
4921
|
switch (r >>> 3) {
|
|
@@ -4854,8 +4940,8 @@ const Y = {
|
|
|
4854
4940
|
},
|
|
4855
4941
|
fromJSON(e) {
|
|
4856
4942
|
return {
|
|
4857
|
-
frameId:
|
|
4858
|
-
frameIdType:
|
|
4943
|
+
frameId: u(e.frameId) ? globalThis.String(e.frameId) : "",
|
|
4944
|
+
frameIdType: u(e.frameIdType) ? globalThis.String(e.frameIdType) : ""
|
|
4859
4945
|
};
|
|
4860
4946
|
},
|
|
4861
4947
|
toJSON(e) {
|
|
@@ -4866,11 +4952,11 @@ const Y = {
|
|
|
4866
4952
|
return Y.fromPartial(e ?? {});
|
|
4867
4953
|
},
|
|
4868
4954
|
fromPartial(e) {
|
|
4869
|
-
const n =
|
|
4955
|
+
const n = _n();
|
|
4870
4956
|
return n.frameId = e.frameId ?? "", n.frameIdType = e.frameIdType ?? "", n;
|
|
4871
4957
|
}
|
|
4872
4958
|
};
|
|
4873
|
-
function
|
|
4959
|
+
function En() {
|
|
4874
4960
|
return {
|
|
4875
4961
|
frameId: "",
|
|
4876
4962
|
signalQualifiedName: "",
|
|
@@ -4886,9 +4972,9 @@ const K = {
|
|
|
4886
4972
|
return e.frameId !== "" && n.uint32(10).string(e.frameId), e.signalQualifiedName !== "" && n.uint32(18).string(e.signalQualifiedName), e.signalValue !== 0 && n.uint32(25).double(e.signalValue), e.signalMinValue !== 0 && n.uint32(33).double(e.signalMinValue), e.signalMaxValue !== 0 && n.uint32(41).double(e.signalMaxValue), e.operator !== 0 && n.uint32(48).int32(e.operator), e.frameIdType !== "" && n.uint32(58).string(e.frameIdType), n;
|
|
4887
4973
|
},
|
|
4888
4974
|
decode(e, n) {
|
|
4889
|
-
const i = e instanceof
|
|
4975
|
+
const i = e instanceof s ? e : new s(e);
|
|
4890
4976
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4891
|
-
const a =
|
|
4977
|
+
const a = En();
|
|
4892
4978
|
for (; i.pos < t; ) {
|
|
4893
4979
|
const r = i.uint32();
|
|
4894
4980
|
switch (r >>> 3) {
|
|
@@ -4943,28 +5029,28 @@ const K = {
|
|
|
4943
5029
|
},
|
|
4944
5030
|
fromJSON(e) {
|
|
4945
5031
|
return {
|
|
4946
|
-
frameId:
|
|
4947
|
-
signalQualifiedName:
|
|
4948
|
-
signalValue:
|
|
4949
|
-
signalMinValue:
|
|
4950
|
-
signalMaxValue:
|
|
4951
|
-
operator:
|
|
4952
|
-
frameIdType:
|
|
5032
|
+
frameId: u(e.frameId) ? globalThis.String(e.frameId) : "",
|
|
5033
|
+
signalQualifiedName: u(e.signalQualifiedName) ? globalThis.String(e.signalQualifiedName) : "",
|
|
5034
|
+
signalValue: u(e.signalValue) ? globalThis.Number(e.signalValue) : 0,
|
|
5035
|
+
signalMinValue: u(e.signalMinValue) ? globalThis.Number(e.signalMinValue) : 0,
|
|
5036
|
+
signalMaxValue: u(e.signalMaxValue) ? globalThis.Number(e.signalMaxValue) : 0,
|
|
5037
|
+
operator: u(e.operator) ? wi(e.operator) : 0,
|
|
5038
|
+
frameIdType: u(e.frameIdType) ? globalThis.String(e.frameIdType) : ""
|
|
4953
5039
|
};
|
|
4954
5040
|
},
|
|
4955
5041
|
toJSON(e) {
|
|
4956
5042
|
const n = {};
|
|
4957
|
-
return e.frameId !== "" && (n.frameId = e.frameId), e.signalQualifiedName !== "" && (n.signalQualifiedName = e.signalQualifiedName), e.signalValue !== 0 && (n.signalValue = e.signalValue), e.signalMinValue !== 0 && (n.signalMinValue = e.signalMinValue), e.signalMaxValue !== 0 && (n.signalMaxValue = e.signalMaxValue), e.operator !== 0 && (n.operator =
|
|
5043
|
+
return e.frameId !== "" && (n.frameId = e.frameId), e.signalQualifiedName !== "" && (n.signalQualifiedName = e.signalQualifiedName), e.signalValue !== 0 && (n.signalValue = e.signalValue), e.signalMinValue !== 0 && (n.signalMinValue = e.signalMinValue), e.signalMaxValue !== 0 && (n.signalMaxValue = e.signalMaxValue), e.operator !== 0 && (n.operator = Hi(e.operator)), e.frameIdType !== "" && (n.frameIdType = e.frameIdType), n;
|
|
4958
5044
|
},
|
|
4959
5045
|
create(e) {
|
|
4960
5046
|
return K.fromPartial(e ?? {});
|
|
4961
5047
|
},
|
|
4962
5048
|
fromPartial(e) {
|
|
4963
|
-
const n =
|
|
5049
|
+
const n = En();
|
|
4964
5050
|
return n.frameId = e.frameId ?? "", n.signalQualifiedName = e.signalQualifiedName ?? "", n.signalValue = e.signalValue ?? 0, n.signalMinValue = e.signalMinValue ?? 0, n.signalMaxValue = e.signalMaxValue ?? 0, n.operator = e.operator ?? 0, n.frameIdType = e.frameIdType ?? "", n;
|
|
4965
5051
|
}
|
|
4966
5052
|
};
|
|
4967
|
-
function
|
|
5053
|
+
function An() {
|
|
4968
5054
|
return { timeoutTrigger: void 0, frameReceivedTrigger: void 0, signalValueTrigger: void 0 };
|
|
4969
5055
|
}
|
|
4970
5056
|
const _ = {
|
|
@@ -4972,9 +5058,9 @@ const _ = {
|
|
|
4972
5058
|
return e.timeoutTrigger !== void 0 && n.uint32(17).double(e.timeoutTrigger), e.frameReceivedTrigger !== void 0 && Y.encode(e.frameReceivedTrigger, n.uint32(26).fork()).join(), e.signalValueTrigger !== void 0 && K.encode(e.signalValueTrigger, n.uint32(34).fork()).join(), n;
|
|
4973
5059
|
},
|
|
4974
5060
|
decode(e, n) {
|
|
4975
|
-
const i = e instanceof
|
|
5061
|
+
const i = e instanceof s ? e : new s(e);
|
|
4976
5062
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
4977
|
-
const a =
|
|
5063
|
+
const a = An();
|
|
4978
5064
|
for (; i.pos < t; ) {
|
|
4979
5065
|
const r = i.uint32();
|
|
4980
5066
|
switch (r >>> 3) {
|
|
@@ -5005,9 +5091,9 @@ const _ = {
|
|
|
5005
5091
|
},
|
|
5006
5092
|
fromJSON(e) {
|
|
5007
5093
|
return {
|
|
5008
|
-
timeoutTrigger:
|
|
5009
|
-
frameReceivedTrigger:
|
|
5010
|
-
signalValueTrigger:
|
|
5094
|
+
timeoutTrigger: u(e.timeoutTrigger) ? globalThis.Number(e.timeoutTrigger) : void 0,
|
|
5095
|
+
frameReceivedTrigger: u(e.frameReceivedTrigger) ? Y.fromJSON(e.frameReceivedTrigger) : void 0,
|
|
5096
|
+
signalValueTrigger: u(e.signalValueTrigger) ? K.fromJSON(e.signalValueTrigger) : void 0
|
|
5011
5097
|
};
|
|
5012
5098
|
},
|
|
5013
5099
|
toJSON(e) {
|
|
@@ -5018,11 +5104,11 @@ const _ = {
|
|
|
5018
5104
|
return _.fromPartial(e ?? {});
|
|
5019
5105
|
},
|
|
5020
5106
|
fromPartial(e) {
|
|
5021
|
-
const n =
|
|
5107
|
+
const n = An();
|
|
5022
5108
|
return n.timeoutTrigger = e.timeoutTrigger ?? void 0, n.frameReceivedTrigger = e.frameReceivedTrigger !== void 0 && e.frameReceivedTrigger !== null ? Y.fromPartial(e.frameReceivedTrigger) : void 0, n.signalValueTrigger = e.signalValueTrigger !== void 0 && e.signalValueTrigger !== null ? K.fromPartial(e.signalValueTrigger) : void 0, n;
|
|
5023
5109
|
}
|
|
5024
5110
|
};
|
|
5025
|
-
function
|
|
5111
|
+
function Sn() {
|
|
5026
5112
|
return {
|
|
5027
5113
|
fileName: "",
|
|
5028
5114
|
fileFormat: 0,
|
|
@@ -5058,9 +5144,9 @@ const W = {
|
|
|
5058
5144
|
return e.stopTriggersOperator !== 0 && n.uint32(64).int32(e.stopTriggersOperator), e.autoRestartAfterStop !== !1 && n.uint32(72).bool(e.autoRestartAfterStop), e.writeFileHeader !== void 0 && n.uint32(80).bool(e.writeFileHeader), e.writeDataInHex !== void 0 && n.uint32(88).bool(e.writeDataInHex), e.writeIdInHex !== void 0 && n.uint32(96).bool(e.writeIdInHex), e.decimalSeparator !== void 0 && n.uint32(104).int32(e.decimalSeparator), e.colSeparator !== void 0 && n.uint32(112).int32(e.colSeparator), e.dataBytesConverterLimit !== void 0 && n.uint32(120).int32(e.dataBytesConverterLimit), e.sizeLimit !== void 0 && n.uint32(128).int32(e.sizeLimit), e.timeLimit !== void 0 && n.uint32(136).int32(e.timeLimit), e.numberOfTimeDecimals !== void 0 && n.uint32(144).int32(e.numberOfTimeDecimals), e.timeReference !== void 0 && n.uint32(152).int32(e.timeReference), e.useCalendarTime !== void 0 && n.uint32(160).bool(e.useCalendarTime), e.useUtcTime !== void 0 && n.uint32(168).bool(e.useUtcTime), n;
|
|
5059
5145
|
},
|
|
5060
5146
|
decode(e, n) {
|
|
5061
|
-
const i = e instanceof
|
|
5147
|
+
const i = e instanceof s ? e : new s(e);
|
|
5062
5148
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
5063
|
-
const a =
|
|
5149
|
+
const a = Sn();
|
|
5064
5150
|
for (; i.pos < t; ) {
|
|
5065
5151
|
const r = i.uint32();
|
|
5066
5152
|
switch (r >>> 3) {
|
|
@@ -5199,44 +5285,44 @@ const W = {
|
|
|
5199
5285
|
},
|
|
5200
5286
|
fromJSON(e) {
|
|
5201
5287
|
return {
|
|
5202
|
-
fileName:
|
|
5203
|
-
fileFormat:
|
|
5204
|
-
fileConflictAction:
|
|
5205
|
-
canMessageFilter:
|
|
5288
|
+
fileName: u(e.fileName) ? globalThis.String(e.fileName) : "",
|
|
5289
|
+
fileFormat: u(e.fileFormat) ? Pn(e.fileFormat) : 0,
|
|
5290
|
+
fileConflictAction: u(e.fileConflictAction) ? bn(e.fileConflictAction) : 0,
|
|
5291
|
+
canMessageFilter: u(e.canMessageFilter) ? F.fromJSON(e.canMessageFilter) : void 0,
|
|
5206
5292
|
startTriggerSettings: globalThis.Array.isArray(e == null ? void 0 : e.startTriggerSettings) ? e.startTriggerSettings.map((n) => _.fromJSON(n)) : [],
|
|
5207
|
-
startTriggersOperator:
|
|
5293
|
+
startTriggersOperator: u(e.startTriggersOperator) ? ae(e.startTriggersOperator) : 0,
|
|
5208
5294
|
stopTriggerSettings: globalThis.Array.isArray(e == null ? void 0 : e.stopTriggerSettings) ? e.stopTriggerSettings.map((n) => _.fromJSON(n)) : [],
|
|
5209
|
-
stopTriggersOperator:
|
|
5210
|
-
autoRestartAfterStop:
|
|
5211
|
-
writeFileHeader:
|
|
5212
|
-
writeDataInHex:
|
|
5213
|
-
writeIdInHex:
|
|
5214
|
-
decimalSeparator:
|
|
5215
|
-
colSeparator:
|
|
5216
|
-
dataBytesConverterLimit:
|
|
5217
|
-
sizeLimit:
|
|
5218
|
-
timeLimit:
|
|
5219
|
-
numberOfTimeDecimals:
|
|
5220
|
-
timeReference:
|
|
5221
|
-
useCalendarTime:
|
|
5222
|
-
useUtcTime:
|
|
5295
|
+
stopTriggersOperator: u(e.stopTriggersOperator) ? ae(e.stopTriggersOperator) : 0,
|
|
5296
|
+
autoRestartAfterStop: u(e.autoRestartAfterStop) ? globalThis.Boolean(e.autoRestartAfterStop) : !1,
|
|
5297
|
+
writeFileHeader: u(e.writeFileHeader) ? globalThis.Boolean(e.writeFileHeader) : void 0,
|
|
5298
|
+
writeDataInHex: u(e.writeDataInHex) ? globalThis.Boolean(e.writeDataInHex) : void 0,
|
|
5299
|
+
writeIdInHex: u(e.writeIdInHex) ? globalThis.Boolean(e.writeIdInHex) : void 0,
|
|
5300
|
+
decimalSeparator: u(e.decimalSeparator) ? kn(e.decimalSeparator) : void 0,
|
|
5301
|
+
colSeparator: u(e.colSeparator) ? Bn(e.colSeparator) : void 0,
|
|
5302
|
+
dataBytesConverterLimit: u(e.dataBytesConverterLimit) ? globalThis.Number(e.dataBytesConverterLimit) : void 0,
|
|
5303
|
+
sizeLimit: u(e.sizeLimit) ? globalThis.Number(e.sizeLimit) : void 0,
|
|
5304
|
+
timeLimit: u(e.timeLimit) ? globalThis.Number(e.timeLimit) : void 0,
|
|
5305
|
+
numberOfTimeDecimals: u(e.numberOfTimeDecimals) ? globalThis.Number(e.numberOfTimeDecimals) : void 0,
|
|
5306
|
+
timeReference: u(e.timeReference) ? vn(e.timeReference) : void 0,
|
|
5307
|
+
useCalendarTime: u(e.useCalendarTime) ? globalThis.Boolean(e.useCalendarTime) : void 0,
|
|
5308
|
+
useUtcTime: u(e.useUtcTime) ? globalThis.Boolean(e.useUtcTime) : void 0
|
|
5223
5309
|
};
|
|
5224
5310
|
},
|
|
5225
5311
|
toJSON(e) {
|
|
5226
5312
|
var i, t;
|
|
5227
5313
|
const n = {};
|
|
5228
|
-
return e.fileName !== "" && (n.fileName = e.fileName), e.fileFormat !== 0 && (n.fileFormat =
|
|
5314
|
+
return e.fileName !== "" && (n.fileName = e.fileName), e.fileFormat !== 0 && (n.fileFormat = gn(e.fileFormat)), e.fileConflictAction !== 0 && (n.fileConflictAction = Gn(e.fileConflictAction)), e.canMessageFilter !== void 0 && (n.canMessageFilter = F.toJSON(e.canMessageFilter)), (i = e.startTriggerSettings) != null && i.length && (n.startTriggerSettings = e.startTriggerSettings.map((a) => _.toJSON(a))), e.startTriggersOperator !== 0 && (n.startTriggersOperator = te(e.startTriggersOperator)), (t = e.stopTriggerSettings) != null && t.length && (n.stopTriggerSettings = e.stopTriggerSettings.map((a) => _.toJSON(a))), e.stopTriggersOperator !== 0 && (n.stopTriggersOperator = te(e.stopTriggersOperator)), e.autoRestartAfterStop !== !1 && (n.autoRestartAfterStop = e.autoRestartAfterStop), e.writeFileHeader !== void 0 && (n.writeFileHeader = e.writeFileHeader), e.writeDataInHex !== void 0 && (n.writeDataInHex = e.writeDataInHex), e.writeIdInHex !== void 0 && (n.writeIdInHex = e.writeIdInHex), e.decimalSeparator !== void 0 && (n.decimalSeparator = Dn(e.decimalSeparator)), e.colSeparator !== void 0 && (n.colSeparator = yn(e.colSeparator)), e.dataBytesConverterLimit !== void 0 && (n.dataBytesConverterLimit = Math.round(e.dataBytesConverterLimit)), e.sizeLimit !== void 0 && (n.sizeLimit = Math.round(e.sizeLimit)), e.timeLimit !== void 0 && (n.timeLimit = Math.round(e.timeLimit)), e.numberOfTimeDecimals !== void 0 && (n.numberOfTimeDecimals = Math.round(e.numberOfTimeDecimals)), e.timeReference !== void 0 && (n.timeReference = xn(e.timeReference)), e.useCalendarTime !== void 0 && (n.useCalendarTime = e.useCalendarTime), e.useUtcTime !== void 0 && (n.useUtcTime = e.useUtcTime), n;
|
|
5229
5315
|
},
|
|
5230
5316
|
create(e) {
|
|
5231
5317
|
return W.fromPartial(e ?? {});
|
|
5232
5318
|
},
|
|
5233
5319
|
fromPartial(e) {
|
|
5234
5320
|
var i, t;
|
|
5235
|
-
const n =
|
|
5321
|
+
const n = Sn();
|
|
5236
5322
|
return n.fileName = e.fileName ?? "", n.fileFormat = e.fileFormat ?? 0, n.fileConflictAction = e.fileConflictAction ?? 0, n.canMessageFilter = e.canMessageFilter !== void 0 && e.canMessageFilter !== null ? F.fromPartial(e.canMessageFilter) : void 0, n.startTriggerSettings = ((i = e.startTriggerSettings) == null ? void 0 : i.map((a) => _.fromPartial(a))) || [], n.startTriggersOperator = e.startTriggersOperator ?? 0, n.stopTriggerSettings = ((t = e.stopTriggerSettings) == null ? void 0 : t.map((a) => _.fromPartial(a))) || [], n.stopTriggersOperator = e.stopTriggersOperator ?? 0, n.autoRestartAfterStop = e.autoRestartAfterStop ?? !1, n.writeFileHeader = e.writeFileHeader ?? void 0, n.writeDataInHex = e.writeDataInHex ?? void 0, n.writeIdInHex = e.writeIdInHex ?? void 0, n.decimalSeparator = e.decimalSeparator ?? void 0, n.colSeparator = e.colSeparator ?? void 0, n.dataBytesConverterLimit = e.dataBytesConverterLimit ?? void 0, n.sizeLimit = e.sizeLimit ?? void 0, n.timeLimit = e.timeLimit ?? void 0, n.numberOfTimeDecimals = e.numberOfTimeDecimals ?? void 0, n.timeReference = e.timeReference ?? void 0, n.useCalendarTime = e.useCalendarTime ?? void 0, n.useUtcTime = e.useUtcTime ?? void 0, n;
|
|
5237
5323
|
}
|
|
5238
5324
|
};
|
|
5239
|
-
function
|
|
5325
|
+
function Rn() {
|
|
5240
5326
|
return {
|
|
5241
5327
|
fileName: "",
|
|
5242
5328
|
fileFormat: 0,
|
|
@@ -5269,7 +5355,7 @@ function Sn() {
|
|
|
5269
5355
|
}
|
|
5270
5356
|
const $ = {
|
|
5271
5357
|
encode(e, n = new o()) {
|
|
5272
|
-
e.fileName !== "" && n.uint32(10).string(e.fileName), e.fileFormat !== 0 && n.uint32(16).int32(e.fileFormat), e.fileConflictAction !== 0 && n.uint32(24).int32(e.fileConflictAction), e.signalFilter !== void 0 &&
|
|
5358
|
+
e.fileName !== "" && n.uint32(10).string(e.fileName), e.fileFormat !== 0 && n.uint32(16).int32(e.fileFormat), e.fileConflictAction !== 0 && n.uint32(24).int32(e.fileConflictAction), e.signalFilter !== void 0 && Q.encode(e.signalFilter, n.uint32(34).fork()).join();
|
|
5273
5359
|
for (const i of e.startTriggerSettings)
|
|
5274
5360
|
_.encode(i, n.uint32(42).fork()).join();
|
|
5275
5361
|
e.startTriggersOperator !== 0 && n.uint32(48).int32(e.startTriggersOperator);
|
|
@@ -5278,9 +5364,9 @@ const $ = {
|
|
|
5278
5364
|
return e.stopTriggersOperator !== 0 && n.uint32(64).int32(e.stopTriggersOperator), e.autoRestartAfterStop !== !1 && n.uint32(72).bool(e.autoRestartAfterStop), e.writeFileHeader !== void 0 && n.uint32(80).bool(e.writeFileHeader), e.writeDataInHex !== void 0 && n.uint32(88).bool(e.writeDataInHex), e.writeIdInHex !== void 0 && n.uint32(96).bool(e.writeIdInHex), e.decimalSeparator !== void 0 && n.uint32(104).int32(e.decimalSeparator), e.colSeparator !== void 0 && n.uint32(112).int32(e.colSeparator), e.dataBytesConverterLimit !== void 0 && n.uint32(120).int32(e.dataBytesConverterLimit), e.sizeLimit !== void 0 && n.uint32(128).int32(e.sizeLimit), e.numberOfDataDecimals !== void 0 && n.uint32(136).int32(e.numberOfDataDecimals), e.timeLimit !== void 0 && n.uint32(144).int32(e.timeLimit), e.numberOfTimeDecimals !== void 0 && n.uint32(152).int32(e.numberOfTimeDecimals), e.timeReference !== void 0 && n.uint32(160).int32(e.timeReference), e.useCalendarTime !== void 0 && n.uint32(168).bool(e.useCalendarTime), e.useUtcTime !== void 0 && n.uint32(176).bool(e.useUtcTime), e.useEnumValues !== void 0 && n.uint32(184).bool(e.useEnumValues), e.writeFullyQualifiedNames !== void 0 && n.uint32(192).bool(e.writeFullyQualifiedNames), e.writeCounter !== void 0 && n.uint32(200).bool(e.writeCounter), e.writeUnitsOnOwnRow !== void 0 && n.uint32(208).bool(e.writeUnitsOnOwnRow), e.writeOnlySignals !== void 0 && n.uint32(216).bool(e.writeOnlySignals), n;
|
|
5279
5365
|
},
|
|
5280
5366
|
decode(e, n) {
|
|
5281
|
-
const i = e instanceof
|
|
5367
|
+
const i = e instanceof s ? e : new s(e);
|
|
5282
5368
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
5283
|
-
const a =
|
|
5369
|
+
const a = Rn();
|
|
5284
5370
|
for (; i.pos < t; ) {
|
|
5285
5371
|
const r = i.uint32();
|
|
5286
5372
|
switch (r >>> 3) {
|
|
@@ -5305,7 +5391,7 @@ const $ = {
|
|
|
5305
5391
|
case 4: {
|
|
5306
5392
|
if (r !== 34)
|
|
5307
5393
|
break;
|
|
5308
|
-
a.signalFilter =
|
|
5394
|
+
a.signalFilter = Q.decode(i, i.uint32());
|
|
5309
5395
|
continue;
|
|
5310
5396
|
}
|
|
5311
5397
|
case 5: {
|
|
@@ -5455,50 +5541,50 @@ const $ = {
|
|
|
5455
5541
|
},
|
|
5456
5542
|
fromJSON(e) {
|
|
5457
5543
|
return {
|
|
5458
|
-
fileName:
|
|
5459
|
-
fileFormat:
|
|
5460
|
-
fileConflictAction:
|
|
5461
|
-
signalFilter:
|
|
5544
|
+
fileName: u(e.fileName) ? globalThis.String(e.fileName) : "",
|
|
5545
|
+
fileFormat: u(e.fileFormat) ? Pn(e.fileFormat) : 0,
|
|
5546
|
+
fileConflictAction: u(e.fileConflictAction) ? bn(e.fileConflictAction) : 0,
|
|
5547
|
+
signalFilter: u(e.signalFilter) ? Q.fromJSON(e.signalFilter) : void 0,
|
|
5462
5548
|
startTriggerSettings: globalThis.Array.isArray(e == null ? void 0 : e.startTriggerSettings) ? e.startTriggerSettings.map((n) => _.fromJSON(n)) : [],
|
|
5463
|
-
startTriggersOperator:
|
|
5549
|
+
startTriggersOperator: u(e.startTriggersOperator) ? ae(e.startTriggersOperator) : 0,
|
|
5464
5550
|
stopTriggerSettings: globalThis.Array.isArray(e == null ? void 0 : e.stopTriggerSettings) ? e.stopTriggerSettings.map((n) => _.fromJSON(n)) : [],
|
|
5465
|
-
stopTriggersOperator:
|
|
5466
|
-
autoRestartAfterStop:
|
|
5467
|
-
writeFileHeader:
|
|
5468
|
-
writeDataInHex:
|
|
5469
|
-
writeIdInHex:
|
|
5470
|
-
decimalSeparator:
|
|
5471
|
-
colSeparator:
|
|
5472
|
-
dataBytesConverterLimit:
|
|
5473
|
-
sizeLimit:
|
|
5474
|
-
numberOfDataDecimals:
|
|
5475
|
-
timeLimit:
|
|
5476
|
-
numberOfTimeDecimals:
|
|
5477
|
-
timeReference:
|
|
5478
|
-
useCalendarTime:
|
|
5479
|
-
useUtcTime:
|
|
5480
|
-
useEnumValues:
|
|
5481
|
-
writeFullyQualifiedNames:
|
|
5482
|
-
writeCounter:
|
|
5483
|
-
writeUnitsOnOwnRow:
|
|
5484
|
-
writeOnlySignals:
|
|
5551
|
+
stopTriggersOperator: u(e.stopTriggersOperator) ? ae(e.stopTriggersOperator) : 0,
|
|
5552
|
+
autoRestartAfterStop: u(e.autoRestartAfterStop) ? globalThis.Boolean(e.autoRestartAfterStop) : !1,
|
|
5553
|
+
writeFileHeader: u(e.writeFileHeader) ? globalThis.Boolean(e.writeFileHeader) : void 0,
|
|
5554
|
+
writeDataInHex: u(e.writeDataInHex) ? globalThis.Boolean(e.writeDataInHex) : void 0,
|
|
5555
|
+
writeIdInHex: u(e.writeIdInHex) ? globalThis.Boolean(e.writeIdInHex) : void 0,
|
|
5556
|
+
decimalSeparator: u(e.decimalSeparator) ? kn(e.decimalSeparator) : void 0,
|
|
5557
|
+
colSeparator: u(e.colSeparator) ? Bn(e.colSeparator) : void 0,
|
|
5558
|
+
dataBytesConverterLimit: u(e.dataBytesConverterLimit) ? globalThis.Number(e.dataBytesConverterLimit) : void 0,
|
|
5559
|
+
sizeLimit: u(e.sizeLimit) ? globalThis.Number(e.sizeLimit) : void 0,
|
|
5560
|
+
numberOfDataDecimals: u(e.numberOfDataDecimals) ? globalThis.Number(e.numberOfDataDecimals) : void 0,
|
|
5561
|
+
timeLimit: u(e.timeLimit) ? globalThis.Number(e.timeLimit) : void 0,
|
|
5562
|
+
numberOfTimeDecimals: u(e.numberOfTimeDecimals) ? globalThis.Number(e.numberOfTimeDecimals) : void 0,
|
|
5563
|
+
timeReference: u(e.timeReference) ? vn(e.timeReference) : void 0,
|
|
5564
|
+
useCalendarTime: u(e.useCalendarTime) ? globalThis.Boolean(e.useCalendarTime) : void 0,
|
|
5565
|
+
useUtcTime: u(e.useUtcTime) ? globalThis.Boolean(e.useUtcTime) : void 0,
|
|
5566
|
+
useEnumValues: u(e.useEnumValues) ? globalThis.Boolean(e.useEnumValues) : void 0,
|
|
5567
|
+
writeFullyQualifiedNames: u(e.writeFullyQualifiedNames) ? globalThis.Boolean(e.writeFullyQualifiedNames) : void 0,
|
|
5568
|
+
writeCounter: u(e.writeCounter) ? globalThis.Boolean(e.writeCounter) : void 0,
|
|
5569
|
+
writeUnitsOnOwnRow: u(e.writeUnitsOnOwnRow) ? globalThis.Boolean(e.writeUnitsOnOwnRow) : void 0,
|
|
5570
|
+
writeOnlySignals: u(e.writeOnlySignals) ? globalThis.Boolean(e.writeOnlySignals) : void 0
|
|
5485
5571
|
};
|
|
5486
5572
|
},
|
|
5487
5573
|
toJSON(e) {
|
|
5488
5574
|
var i, t;
|
|
5489
5575
|
const n = {};
|
|
5490
|
-
return e.fileName !== "" && (n.fileName = e.fileName), e.fileFormat !== 0 && (n.fileFormat =
|
|
5576
|
+
return e.fileName !== "" && (n.fileName = e.fileName), e.fileFormat !== 0 && (n.fileFormat = gn(e.fileFormat)), e.fileConflictAction !== 0 && (n.fileConflictAction = Gn(e.fileConflictAction)), e.signalFilter !== void 0 && (n.signalFilter = Q.toJSON(e.signalFilter)), (i = e.startTriggerSettings) != null && i.length && (n.startTriggerSettings = e.startTriggerSettings.map((a) => _.toJSON(a))), e.startTriggersOperator !== 0 && (n.startTriggersOperator = te(e.startTriggersOperator)), (t = e.stopTriggerSettings) != null && t.length && (n.stopTriggerSettings = e.stopTriggerSettings.map((a) => _.toJSON(a))), e.stopTriggersOperator !== 0 && (n.stopTriggersOperator = te(e.stopTriggersOperator)), e.autoRestartAfterStop !== !1 && (n.autoRestartAfterStop = e.autoRestartAfterStop), e.writeFileHeader !== void 0 && (n.writeFileHeader = e.writeFileHeader), e.writeDataInHex !== void 0 && (n.writeDataInHex = e.writeDataInHex), e.writeIdInHex !== void 0 && (n.writeIdInHex = e.writeIdInHex), e.decimalSeparator !== void 0 && (n.decimalSeparator = Dn(e.decimalSeparator)), e.colSeparator !== void 0 && (n.colSeparator = yn(e.colSeparator)), e.dataBytesConverterLimit !== void 0 && (n.dataBytesConverterLimit = Math.round(e.dataBytesConverterLimit)), e.sizeLimit !== void 0 && (n.sizeLimit = Math.round(e.sizeLimit)), e.numberOfDataDecimals !== void 0 && (n.numberOfDataDecimals = Math.round(e.numberOfDataDecimals)), e.timeLimit !== void 0 && (n.timeLimit = Math.round(e.timeLimit)), e.numberOfTimeDecimals !== void 0 && (n.numberOfTimeDecimals = Math.round(e.numberOfTimeDecimals)), e.timeReference !== void 0 && (n.timeReference = xn(e.timeReference)), e.useCalendarTime !== void 0 && (n.useCalendarTime = e.useCalendarTime), e.useUtcTime !== void 0 && (n.useUtcTime = e.useUtcTime), e.useEnumValues !== void 0 && (n.useEnumValues = e.useEnumValues), e.writeFullyQualifiedNames !== void 0 && (n.writeFullyQualifiedNames = e.writeFullyQualifiedNames), e.writeCounter !== void 0 && (n.writeCounter = e.writeCounter), e.writeUnitsOnOwnRow !== void 0 && (n.writeUnitsOnOwnRow = e.writeUnitsOnOwnRow), e.writeOnlySignals !== void 0 && (n.writeOnlySignals = e.writeOnlySignals), n;
|
|
5491
5577
|
},
|
|
5492
5578
|
create(e) {
|
|
5493
5579
|
return $.fromPartial(e ?? {});
|
|
5494
5580
|
},
|
|
5495
5581
|
fromPartial(e) {
|
|
5496
5582
|
var i, t;
|
|
5497
|
-
const n =
|
|
5498
|
-
return n.fileName = e.fileName ?? "", n.fileFormat = e.fileFormat ?? 0, n.fileConflictAction = e.fileConflictAction ?? 0, n.signalFilter = e.signalFilter !== void 0 && e.signalFilter !== null ?
|
|
5583
|
+
const n = Rn();
|
|
5584
|
+
return n.fileName = e.fileName ?? "", n.fileFormat = e.fileFormat ?? 0, n.fileConflictAction = e.fileConflictAction ?? 0, n.signalFilter = e.signalFilter !== void 0 && e.signalFilter !== null ? Q.fromPartial(e.signalFilter) : void 0, n.startTriggerSettings = ((i = e.startTriggerSettings) == null ? void 0 : i.map((a) => _.fromPartial(a))) || [], n.startTriggersOperator = e.startTriggersOperator ?? 0, n.stopTriggerSettings = ((t = e.stopTriggerSettings) == null ? void 0 : t.map((a) => _.fromPartial(a))) || [], n.stopTriggersOperator = e.stopTriggersOperator ?? 0, n.autoRestartAfterStop = e.autoRestartAfterStop ?? !1, n.writeFileHeader = e.writeFileHeader ?? void 0, n.writeDataInHex = e.writeDataInHex ?? void 0, n.writeIdInHex = e.writeIdInHex ?? void 0, n.decimalSeparator = e.decimalSeparator ?? void 0, n.colSeparator = e.colSeparator ?? void 0, n.dataBytesConverterLimit = e.dataBytesConverterLimit ?? void 0, n.sizeLimit = e.sizeLimit ?? void 0, n.numberOfDataDecimals = e.numberOfDataDecimals ?? void 0, n.timeLimit = e.timeLimit ?? void 0, n.numberOfTimeDecimals = e.numberOfTimeDecimals ?? void 0, n.timeReference = e.timeReference ?? void 0, n.useCalendarTime = e.useCalendarTime ?? void 0, n.useUtcTime = e.useUtcTime ?? void 0, n.useEnumValues = e.useEnumValues ?? void 0, n.writeFullyQualifiedNames = e.writeFullyQualifiedNames ?? void 0, n.writeCounter = e.writeCounter ?? void 0, n.writeUnitsOnOwnRow = e.writeUnitsOnOwnRow ?? void 0, n.writeOnlySignals = e.writeOnlySignals ?? void 0, n;
|
|
5499
5585
|
}
|
|
5500
5586
|
};
|
|
5501
|
-
function
|
|
5587
|
+
function On() {
|
|
5502
5588
|
return {
|
|
5503
5589
|
identifier: "",
|
|
5504
5590
|
name: "",
|
|
@@ -5508,7 +5594,7 @@ function Rn() {
|
|
|
5508
5594
|
disabled: !1
|
|
5509
5595
|
};
|
|
5510
5596
|
}
|
|
5511
|
-
const
|
|
5597
|
+
const O = {
|
|
5512
5598
|
encode(e, n = new o()) {
|
|
5513
5599
|
e.identifier !== "" && n.uint32(10).string(e.identifier), e.name !== "" && n.uint32(18).string(e.name);
|
|
5514
5600
|
for (const i of e.description)
|
|
@@ -5516,9 +5602,9 @@ const R = {
|
|
|
5516
5602
|
return e.readOnlyProperties !== !1 && n.uint32(32).bool(e.readOnlyProperties), e.readOnlyConnections !== !1 && n.uint32(40).bool(e.readOnlyConnections), e.disabled !== !1 && n.uint32(48).bool(e.disabled), n;
|
|
5517
5603
|
},
|
|
5518
5604
|
decode(e, n) {
|
|
5519
|
-
const i = e instanceof
|
|
5605
|
+
const i = e instanceof s ? e : new s(e);
|
|
5520
5606
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
5521
|
-
const a =
|
|
5607
|
+
const a = On();
|
|
5522
5608
|
for (; i.pos < t; ) {
|
|
5523
5609
|
const r = i.uint32();
|
|
5524
5610
|
switch (r >>> 3) {
|
|
@@ -5567,12 +5653,12 @@ const R = {
|
|
|
5567
5653
|
},
|
|
5568
5654
|
fromJSON(e) {
|
|
5569
5655
|
return {
|
|
5570
|
-
identifier:
|
|
5571
|
-
name:
|
|
5656
|
+
identifier: u(e.identifier) ? globalThis.String(e.identifier) : "",
|
|
5657
|
+
name: u(e.name) ? globalThis.String(e.name) : "",
|
|
5572
5658
|
description: globalThis.Array.isArray(e == null ? void 0 : e.description) ? e.description.map((n) => globalThis.String(n)) : [],
|
|
5573
|
-
readOnlyProperties:
|
|
5574
|
-
readOnlyConnections:
|
|
5575
|
-
disabled:
|
|
5659
|
+
readOnlyProperties: u(e.readOnlyProperties) ? globalThis.Boolean(e.readOnlyProperties) : !1,
|
|
5660
|
+
readOnlyConnections: u(e.readOnlyConnections) ? globalThis.Boolean(e.readOnlyConnections) : !1,
|
|
5661
|
+
disabled: u(e.disabled) ? globalThis.Boolean(e.disabled) : !1
|
|
5576
5662
|
};
|
|
5577
5663
|
},
|
|
5578
5664
|
toJSON(e) {
|
|
@@ -5581,15 +5667,15 @@ const R = {
|
|
|
5581
5667
|
return e.identifier !== "" && (n.identifier = e.identifier), e.name !== "" && (n.name = e.name), (i = e.description) != null && i.length && (n.description = e.description), e.readOnlyProperties !== !1 && (n.readOnlyProperties = e.readOnlyProperties), e.readOnlyConnections !== !1 && (n.readOnlyConnections = e.readOnlyConnections), e.disabled !== !1 && (n.disabled = e.disabled), n;
|
|
5582
5668
|
},
|
|
5583
5669
|
create(e) {
|
|
5584
|
-
return
|
|
5670
|
+
return O.fromPartial(e ?? {});
|
|
5585
5671
|
},
|
|
5586
5672
|
fromPartial(e) {
|
|
5587
5673
|
var i;
|
|
5588
|
-
const n =
|
|
5674
|
+
const n = On();
|
|
5589
5675
|
return n.identifier = e.identifier ?? "", n.name = e.name ?? "", n.description = ((i = e.description) == null ? void 0 : i.map((t) => t)) || [], n.readOnlyProperties = e.readOnlyProperties ?? !1, n.readOnlyConnections = e.readOnlyConnections ?? !1, n.disabled = e.disabled ?? !1, n;
|
|
5590
5676
|
}
|
|
5591
5677
|
};
|
|
5592
|
-
function
|
|
5678
|
+
function Tn() {
|
|
5593
5679
|
return {
|
|
5594
5680
|
baseNode: void 0,
|
|
5595
5681
|
isDataGenerator: !1,
|
|
@@ -5600,19 +5686,19 @@ function On() {
|
|
|
5600
5686
|
}
|
|
5601
5687
|
const j = {
|
|
5602
5688
|
encode(e, n = new o()) {
|
|
5603
|
-
return e.baseNode !== void 0 &&
|
|
5689
|
+
return e.baseNode !== void 0 && O.encode(e.baseNode, n.uint32(10).fork()).join(), e.isDataGenerator !== !1 && n.uint32(16).bool(e.isDataGenerator), e.channelSettings !== void 0 && w.encode(e.channelSettings, n.uint32(26).fork()).join(), e.logReplaySettings !== void 0 && H.encode(e.logReplaySettings, n.uint32(34).fork()).join(), e.trafficGeneratorSettings !== void 0 && z.encode(e.trafficGeneratorSettings, n.uint32(42).fork()).join(), n;
|
|
5604
5690
|
},
|
|
5605
5691
|
decode(e, n) {
|
|
5606
|
-
const i = e instanceof
|
|
5692
|
+
const i = e instanceof s ? e : new s(e);
|
|
5607
5693
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
5608
|
-
const a =
|
|
5694
|
+
const a = Tn();
|
|
5609
5695
|
for (; i.pos < t; ) {
|
|
5610
5696
|
const r = i.uint32();
|
|
5611
5697
|
switch (r >>> 3) {
|
|
5612
5698
|
case 1: {
|
|
5613
5699
|
if (r !== 10)
|
|
5614
5700
|
break;
|
|
5615
|
-
a.baseNode =
|
|
5701
|
+
a.baseNode = O.decode(i, i.uint32());
|
|
5616
5702
|
continue;
|
|
5617
5703
|
}
|
|
5618
5704
|
case 2: {
|
|
@@ -5624,19 +5710,19 @@ const j = {
|
|
|
5624
5710
|
case 3: {
|
|
5625
5711
|
if (r !== 26)
|
|
5626
5712
|
break;
|
|
5627
|
-
a.channelSettings =
|
|
5713
|
+
a.channelSettings = w.decode(i, i.uint32());
|
|
5628
5714
|
continue;
|
|
5629
5715
|
}
|
|
5630
5716
|
case 4: {
|
|
5631
5717
|
if (r !== 34)
|
|
5632
5718
|
break;
|
|
5633
|
-
a.logReplaySettings =
|
|
5719
|
+
a.logReplaySettings = H.decode(i, i.uint32());
|
|
5634
5720
|
continue;
|
|
5635
5721
|
}
|
|
5636
5722
|
case 5: {
|
|
5637
5723
|
if (r !== 42)
|
|
5638
5724
|
break;
|
|
5639
|
-
a.trafficGeneratorSettings =
|
|
5725
|
+
a.trafficGeneratorSettings = z.decode(i, i.uint32());
|
|
5640
5726
|
continue;
|
|
5641
5727
|
}
|
|
5642
5728
|
}
|
|
@@ -5648,26 +5734,26 @@ const j = {
|
|
|
5648
5734
|
},
|
|
5649
5735
|
fromJSON(e) {
|
|
5650
5736
|
return {
|
|
5651
|
-
baseNode:
|
|
5652
|
-
isDataGenerator:
|
|
5653
|
-
channelSettings:
|
|
5654
|
-
logReplaySettings:
|
|
5655
|
-
trafficGeneratorSettings:
|
|
5737
|
+
baseNode: u(e.baseNode) ? O.fromJSON(e.baseNode) : void 0,
|
|
5738
|
+
isDataGenerator: u(e.isDataGenerator) ? globalThis.Boolean(e.isDataGenerator) : !1,
|
|
5739
|
+
channelSettings: u(e.channelSettings) ? w.fromJSON(e.channelSettings) : void 0,
|
|
5740
|
+
logReplaySettings: u(e.logReplaySettings) ? H.fromJSON(e.logReplaySettings) : void 0,
|
|
5741
|
+
trafficGeneratorSettings: u(e.trafficGeneratorSettings) ? z.fromJSON(e.trafficGeneratorSettings) : void 0
|
|
5656
5742
|
};
|
|
5657
5743
|
},
|
|
5658
5744
|
toJSON(e) {
|
|
5659
5745
|
const n = {};
|
|
5660
|
-
return e.baseNode !== void 0 && (n.baseNode =
|
|
5746
|
+
return e.baseNode !== void 0 && (n.baseNode = O.toJSON(e.baseNode)), e.isDataGenerator !== !1 && (n.isDataGenerator = e.isDataGenerator), e.channelSettings !== void 0 && (n.channelSettings = w.toJSON(e.channelSettings)), e.logReplaySettings !== void 0 && (n.logReplaySettings = H.toJSON(e.logReplaySettings)), e.trafficGeneratorSettings !== void 0 && (n.trafficGeneratorSettings = z.toJSON(e.trafficGeneratorSettings)), n;
|
|
5661
5747
|
},
|
|
5662
5748
|
create(e) {
|
|
5663
5749
|
return j.fromPartial(e ?? {});
|
|
5664
5750
|
},
|
|
5665
5751
|
fromPartial(e) {
|
|
5666
|
-
const n =
|
|
5667
|
-
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ?
|
|
5752
|
+
const n = Tn();
|
|
5753
|
+
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ? O.fromPartial(e.baseNode) : void 0, n.isDataGenerator = e.isDataGenerator ?? !1, n.channelSettings = e.channelSettings !== void 0 && e.channelSettings !== null ? w.fromPartial(e.channelSettings) : void 0, n.logReplaySettings = e.logReplaySettings !== void 0 && e.logReplaySettings !== null ? H.fromPartial(e.logReplaySettings) : void 0, n.trafficGeneratorSettings = e.trafficGeneratorSettings !== void 0 && e.trafficGeneratorSettings !== null ? z.fromPartial(e.trafficGeneratorSettings) : void 0, n;
|
|
5668
5754
|
}
|
|
5669
5755
|
};
|
|
5670
|
-
function
|
|
5756
|
+
function mn() {
|
|
5671
5757
|
return {
|
|
5672
5758
|
baseNode: void 0,
|
|
5673
5759
|
connectedNodes: [],
|
|
@@ -5679,22 +5765,22 @@ function Tn() {
|
|
|
5679
5765
|
}
|
|
5680
5766
|
const ee = {
|
|
5681
5767
|
encode(e, n = new o()) {
|
|
5682
|
-
e.baseNode !== void 0 &&
|
|
5768
|
+
e.baseNode !== void 0 && O.encode(e.baseNode, n.uint32(10).fork()).join();
|
|
5683
5769
|
for (const i of e.connectedNodes)
|
|
5684
5770
|
n.uint32(18).string(i);
|
|
5685
|
-
return e.canMessageFilterSettings !== void 0 && F.encode(e.canMessageFilterSettings, n.uint32(26).fork()).join(), e.databasesSettings !== void 0 &&
|
|
5771
|
+
return e.canMessageFilterSettings !== void 0 && F.encode(e.canMessageFilterSettings, n.uint32(26).fork()).join(), e.databasesSettings !== void 0 && X.encode(e.databasesSettings, n.uint32(34).fork()).join(), e.interpreterSettings !== void 0 && q.encode(e.interpreterSettings, n.uint32(42).fork()).join(), e.extensionSettings !== void 0 && M.encode(e.extensionSettings, n.uint32(50).fork()).join(), n;
|
|
5686
5772
|
},
|
|
5687
5773
|
decode(e, n) {
|
|
5688
|
-
const i = e instanceof
|
|
5774
|
+
const i = e instanceof s ? e : new s(e);
|
|
5689
5775
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
5690
|
-
const a =
|
|
5776
|
+
const a = mn();
|
|
5691
5777
|
for (; i.pos < t; ) {
|
|
5692
5778
|
const r = i.uint32();
|
|
5693
5779
|
switch (r >>> 3) {
|
|
5694
5780
|
case 1: {
|
|
5695
5781
|
if (r !== 10)
|
|
5696
5782
|
break;
|
|
5697
|
-
a.baseNode =
|
|
5783
|
+
a.baseNode = O.decode(i, i.uint32());
|
|
5698
5784
|
continue;
|
|
5699
5785
|
}
|
|
5700
5786
|
case 2: {
|
|
@@ -5712,19 +5798,19 @@ const ee = {
|
|
|
5712
5798
|
case 4: {
|
|
5713
5799
|
if (r !== 34)
|
|
5714
5800
|
break;
|
|
5715
|
-
a.databasesSettings =
|
|
5801
|
+
a.databasesSettings = X.decode(i, i.uint32());
|
|
5716
5802
|
continue;
|
|
5717
5803
|
}
|
|
5718
5804
|
case 5: {
|
|
5719
5805
|
if (r !== 42)
|
|
5720
5806
|
break;
|
|
5721
|
-
a.interpreterSettings =
|
|
5807
|
+
a.interpreterSettings = q.decode(i, i.uint32());
|
|
5722
5808
|
continue;
|
|
5723
5809
|
}
|
|
5724
5810
|
case 6: {
|
|
5725
5811
|
if (r !== 50)
|
|
5726
5812
|
break;
|
|
5727
|
-
a.extensionSettings =
|
|
5813
|
+
a.extensionSettings = M.decode(i, i.uint32());
|
|
5728
5814
|
continue;
|
|
5729
5815
|
}
|
|
5730
5816
|
}
|
|
@@ -5736,40 +5822,46 @@ const ee = {
|
|
|
5736
5822
|
},
|
|
5737
5823
|
fromJSON(e) {
|
|
5738
5824
|
return {
|
|
5739
|
-
baseNode:
|
|
5825
|
+
baseNode: u(e.baseNode) ? O.fromJSON(e.baseNode) : void 0,
|
|
5740
5826
|
connectedNodes: globalThis.Array.isArray(e == null ? void 0 : e.connectedNodes) ? e.connectedNodes.map((n) => globalThis.String(n)) : [],
|
|
5741
|
-
canMessageFilterSettings:
|
|
5742
|
-
databasesSettings:
|
|
5743
|
-
interpreterSettings:
|
|
5744
|
-
extensionSettings:
|
|
5827
|
+
canMessageFilterSettings: u(e.canMessageFilterSettings) ? F.fromJSON(e.canMessageFilterSettings) : void 0,
|
|
5828
|
+
databasesSettings: u(e.databasesSettings) ? X.fromJSON(e.databasesSettings) : void 0,
|
|
5829
|
+
interpreterSettings: u(e.interpreterSettings) ? q.fromJSON(e.interpreterSettings) : void 0,
|
|
5830
|
+
extensionSettings: u(e.extensionSettings) ? M.fromJSON(e.extensionSettings) : void 0
|
|
5745
5831
|
};
|
|
5746
5832
|
},
|
|
5747
5833
|
toJSON(e) {
|
|
5748
5834
|
var i;
|
|
5749
5835
|
const n = {};
|
|
5750
|
-
return e.baseNode !== void 0 && (n.baseNode =
|
|
5836
|
+
return e.baseNode !== void 0 && (n.baseNode = O.toJSON(e.baseNode)), (i = e.connectedNodes) != null && i.length && (n.connectedNodes = e.connectedNodes), e.canMessageFilterSettings !== void 0 && (n.canMessageFilterSettings = F.toJSON(e.canMessageFilterSettings)), e.databasesSettings !== void 0 && (n.databasesSettings = X.toJSON(e.databasesSettings)), e.interpreterSettings !== void 0 && (n.interpreterSettings = q.toJSON(e.interpreterSettings)), e.extensionSettings !== void 0 && (n.extensionSettings = M.toJSON(e.extensionSettings)), n;
|
|
5751
5837
|
},
|
|
5752
5838
|
create(e) {
|
|
5753
5839
|
return ee.fromPartial(e ?? {});
|
|
5754
5840
|
},
|
|
5755
5841
|
fromPartial(e) {
|
|
5756
5842
|
var i;
|
|
5757
|
-
const n =
|
|
5758
|
-
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ?
|
|
5843
|
+
const n = mn();
|
|
5844
|
+
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ? O.fromPartial(e.baseNode) : void 0, n.connectedNodes = ((i = e.connectedNodes) == null ? void 0 : i.map((t) => t)) || [], n.canMessageFilterSettings = e.canMessageFilterSettings !== void 0 && e.canMessageFilterSettings !== null ? F.fromPartial(e.canMessageFilterSettings) : void 0, n.databasesSettings = e.databasesSettings !== void 0 && e.databasesSettings !== null ? X.fromPartial(e.databasesSettings) : void 0, n.interpreterSettings = e.interpreterSettings !== void 0 && e.interpreterSettings !== null ? q.fromPartial(e.interpreterSettings) : void 0, n.extensionSettings = e.extensionSettings !== void 0 && e.extensionSettings !== null ? M.fromPartial(e.extensionSettings) : void 0, n;
|
|
5759
5845
|
}
|
|
5760
5846
|
};
|
|
5761
5847
|
function hn() {
|
|
5762
|
-
return {
|
|
5848
|
+
return {
|
|
5849
|
+
baseNode: void 0,
|
|
5850
|
+
connectedNodes: [],
|
|
5851
|
+
messageLoggerSettings: void 0,
|
|
5852
|
+
signalLoggerSettings: void 0,
|
|
5853
|
+
extensionSettings: void 0
|
|
5854
|
+
};
|
|
5763
5855
|
}
|
|
5764
5856
|
const ne = {
|
|
5765
5857
|
encode(e, n = new o()) {
|
|
5766
|
-
e.baseNode !== void 0 &&
|
|
5858
|
+
e.baseNode !== void 0 && O.encode(e.baseNode, n.uint32(10).fork()).join();
|
|
5767
5859
|
for (const i of e.connectedNodes)
|
|
5768
5860
|
n.uint32(18).string(i);
|
|
5769
|
-
return e.messageLoggerSettings !== void 0 && W.encode(e.messageLoggerSettings, n.uint32(26).fork()).join(), e.signalLoggerSettings !== void 0 && $.encode(e.signalLoggerSettings, n.uint32(34).fork()).join(), n;
|
|
5861
|
+
return e.messageLoggerSettings !== void 0 && W.encode(e.messageLoggerSettings, n.uint32(26).fork()).join(), e.signalLoggerSettings !== void 0 && $.encode(e.signalLoggerSettings, n.uint32(34).fork()).join(), e.extensionSettings !== void 0 && M.encode(e.extensionSettings, n.uint32(42).fork()).join(), n;
|
|
5770
5862
|
},
|
|
5771
5863
|
decode(e, n) {
|
|
5772
|
-
const i = e instanceof
|
|
5864
|
+
const i = e instanceof s ? e : new s(e);
|
|
5773
5865
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
5774
5866
|
const a = hn();
|
|
5775
5867
|
for (; i.pos < t; ) {
|
|
@@ -5778,7 +5870,7 @@ const ne = {
|
|
|
5778
5870
|
case 1: {
|
|
5779
5871
|
if (r !== 10)
|
|
5780
5872
|
break;
|
|
5781
|
-
a.baseNode =
|
|
5873
|
+
a.baseNode = O.decode(i, i.uint32());
|
|
5782
5874
|
continue;
|
|
5783
5875
|
}
|
|
5784
5876
|
case 2: {
|
|
@@ -5799,6 +5891,12 @@ const ne = {
|
|
|
5799
5891
|
a.signalLoggerSettings = $.decode(i, i.uint32());
|
|
5800
5892
|
continue;
|
|
5801
5893
|
}
|
|
5894
|
+
case 5: {
|
|
5895
|
+
if (r !== 42)
|
|
5896
|
+
break;
|
|
5897
|
+
a.extensionSettings = M.decode(i, i.uint32());
|
|
5898
|
+
continue;
|
|
5899
|
+
}
|
|
5802
5900
|
}
|
|
5803
5901
|
if ((r & 7) === 4 || r === 0)
|
|
5804
5902
|
break;
|
|
@@ -5808,16 +5906,17 @@ const ne = {
|
|
|
5808
5906
|
},
|
|
5809
5907
|
fromJSON(e) {
|
|
5810
5908
|
return {
|
|
5811
|
-
baseNode:
|
|
5909
|
+
baseNode: u(e.baseNode) ? O.fromJSON(e.baseNode) : void 0,
|
|
5812
5910
|
connectedNodes: globalThis.Array.isArray(e == null ? void 0 : e.connectedNodes) ? e.connectedNodes.map((n) => globalThis.String(n)) : [],
|
|
5813
|
-
messageLoggerSettings:
|
|
5814
|
-
signalLoggerSettings:
|
|
5911
|
+
messageLoggerSettings: u(e.messageLoggerSettings) ? W.fromJSON(e.messageLoggerSettings) : void 0,
|
|
5912
|
+
signalLoggerSettings: u(e.signalLoggerSettings) ? $.fromJSON(e.signalLoggerSettings) : void 0,
|
|
5913
|
+
extensionSettings: u(e.extensionSettings) ? M.fromJSON(e.extensionSettings) : void 0
|
|
5815
5914
|
};
|
|
5816
5915
|
},
|
|
5817
5916
|
toJSON(e) {
|
|
5818
5917
|
var i;
|
|
5819
5918
|
const n = {};
|
|
5820
|
-
return e.baseNode !== void 0 && (n.baseNode =
|
|
5919
|
+
return e.baseNode !== void 0 && (n.baseNode = O.toJSON(e.baseNode)), (i = e.connectedNodes) != null && i.length && (n.connectedNodes = e.connectedNodes), e.messageLoggerSettings !== void 0 && (n.messageLoggerSettings = W.toJSON(e.messageLoggerSettings)), e.signalLoggerSettings !== void 0 && (n.signalLoggerSettings = $.toJSON(e.signalLoggerSettings)), e.extensionSettings !== void 0 && (n.extensionSettings = M.toJSON(e.extensionSettings)), n;
|
|
5821
5920
|
},
|
|
5822
5921
|
create(e) {
|
|
5823
5922
|
return ne.fromPartial(e ?? {});
|
|
@@ -5825,13 +5924,13 @@ const ne = {
|
|
|
5825
5924
|
fromPartial(e) {
|
|
5826
5925
|
var i;
|
|
5827
5926
|
const n = hn();
|
|
5828
|
-
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ?
|
|
5927
|
+
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ? O.fromPartial(e.baseNode) : void 0, n.connectedNodes = ((i = e.connectedNodes) == null ? void 0 : i.map((t) => t)) || [], n.messageLoggerSettings = e.messageLoggerSettings !== void 0 && e.messageLoggerSettings !== null ? W.fromPartial(e.messageLoggerSettings) : void 0, n.signalLoggerSettings = e.signalLoggerSettings !== void 0 && e.signalLoggerSettings !== null ? $.fromPartial(e.signalLoggerSettings) : void 0, n.extensionSettings = e.extensionSettings !== void 0 && e.extensionSettings !== null ? M.fromPartial(e.extensionSettings) : void 0, n;
|
|
5829
5928
|
}
|
|
5830
5929
|
};
|
|
5831
5930
|
function In() {
|
|
5832
5931
|
return { sources: [], dataProcessors: [], targets: [], language: "" };
|
|
5833
5932
|
}
|
|
5834
|
-
const
|
|
5933
|
+
const Ki = {
|
|
5835
5934
|
encode(e, n = new o()) {
|
|
5836
5935
|
for (const i of e.sources)
|
|
5837
5936
|
j.encode(i, n.uint32(10).fork()).join();
|
|
@@ -5842,7 +5941,7 @@ const Zi = {
|
|
|
5842
5941
|
return e.language !== "" && n.uint32(34).string(e.language), n;
|
|
5843
5942
|
},
|
|
5844
5943
|
decode(e, n) {
|
|
5845
|
-
const i = e instanceof
|
|
5944
|
+
const i = e instanceof s ? e : new s(e);
|
|
5846
5945
|
let t = n === void 0 ? i.len : i.pos + n;
|
|
5847
5946
|
const a = In();
|
|
5848
5947
|
for (; i.pos < t; ) {
|
|
@@ -5884,7 +5983,7 @@ const Zi = {
|
|
|
5884
5983
|
sources: globalThis.Array.isArray(e == null ? void 0 : e.sources) ? e.sources.map((n) => j.fromJSON(n)) : [],
|
|
5885
5984
|
dataProcessors: globalThis.Array.isArray(e == null ? void 0 : e.dataProcessors) ? e.dataProcessors.map((n) => ee.fromJSON(n)) : [],
|
|
5886
5985
|
targets: globalThis.Array.isArray(e == null ? void 0 : e.targets) ? e.targets.map((n) => ne.fromJSON(n)) : [],
|
|
5887
|
-
language:
|
|
5986
|
+
language: u(e.language) ? globalThis.String(e.language) : ""
|
|
5888
5987
|
};
|
|
5889
5988
|
},
|
|
5890
5989
|
toJSON(e) {
|
|
@@ -5893,7 +5992,7 @@ const Zi = {
|
|
|
5893
5992
|
return (i = e.sources) != null && i.length && (n.sources = e.sources.map((r) => j.toJSON(r))), (t = e.dataProcessors) != null && t.length && (n.dataProcessors = e.dataProcessors.map((r) => ee.toJSON(r))), (a = e.targets) != null && a.length && (n.targets = e.targets.map((r) => ne.toJSON(r))), e.language !== "" && (n.language = e.language), n;
|
|
5894
5993
|
},
|
|
5895
5994
|
create(e) {
|
|
5896
|
-
return
|
|
5995
|
+
return Ki.fromPartial(e ?? {});
|
|
5897
5996
|
},
|
|
5898
5997
|
fromPartial(e) {
|
|
5899
5998
|
var i, t, a;
|
|
@@ -5901,121 +6000,122 @@ const Zi = {
|
|
|
5901
6000
|
return n.sources = ((i = e.sources) == null ? void 0 : i.map((r) => j.fromPartial(r))) || [], n.dataProcessors = ((t = e.dataProcessors) == null ? void 0 : t.map((r) => ee.fromPartial(r))) || [], n.targets = ((a = e.targets) == null ? void 0 : a.map((r) => ne.fromPartial(r))) || [], n.language = e.language ?? "", n;
|
|
5902
6001
|
}
|
|
5903
6002
|
};
|
|
5904
|
-
function
|
|
6003
|
+
function Wi(e) {
|
|
5905
6004
|
return typeof e == "object" && e !== null;
|
|
5906
6005
|
}
|
|
5907
|
-
function
|
|
6006
|
+
function u(e) {
|
|
5908
6007
|
return e != null;
|
|
5909
6008
|
}
|
|
5910
6009
|
export {
|
|
5911
|
-
|
|
6010
|
+
vi as $,
|
|
5912
6011
|
E as A,
|
|
5913
|
-
|
|
5914
|
-
|
|
5915
|
-
|
|
6012
|
+
hi as B,
|
|
6013
|
+
Ti as C,
|
|
6014
|
+
ei as D,
|
|
5916
6015
|
pi as E,
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
6016
|
+
gi as F,
|
|
6017
|
+
ri as G,
|
|
6018
|
+
Ci as H,
|
|
6019
|
+
A as I,
|
|
6020
|
+
P as J,
|
|
6021
|
+
y as K,
|
|
5923
6022
|
Ii as L,
|
|
5924
|
-
|
|
5925
|
-
|
|
5926
|
-
|
|
5927
|
-
|
|
6023
|
+
fe as M,
|
|
6024
|
+
Fi as N,
|
|
6025
|
+
x as O,
|
|
6026
|
+
jn as P,
|
|
5928
6027
|
Mi as Q,
|
|
5929
|
-
|
|
5930
|
-
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
6028
|
+
Li as R,
|
|
6029
|
+
B as S,
|
|
6030
|
+
V as T,
|
|
6031
|
+
Pi as U,
|
|
6032
|
+
Gi as V,
|
|
6033
|
+
v as W,
|
|
6034
|
+
ki as X,
|
|
6035
|
+
Di as Y,
|
|
6036
|
+
Bi as Z,
|
|
6037
|
+
yi as _,
|
|
6038
|
+
R as a,
|
|
6039
|
+
xi as a0,
|
|
5941
6040
|
Vi as a1,
|
|
5942
6041
|
Ui as a2,
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
|
|
5959
|
-
|
|
6042
|
+
Ji as a3,
|
|
6043
|
+
wi as a4,
|
|
6044
|
+
Hi as a5,
|
|
6045
|
+
zi as a6,
|
|
6046
|
+
ae as a7,
|
|
6047
|
+
te as a8,
|
|
6048
|
+
Qi as a9,
|
|
6049
|
+
Y as aA,
|
|
6050
|
+
K as aB,
|
|
6051
|
+
_ as aC,
|
|
6052
|
+
W as aD,
|
|
6053
|
+
$ as aE,
|
|
6054
|
+
O as aF,
|
|
6055
|
+
j as aG,
|
|
6056
|
+
ee as aH,
|
|
6057
|
+
ne as aI,
|
|
6058
|
+
Ki as aJ,
|
|
5960
6059
|
ci as aK,
|
|
5961
6060
|
Ni as aL,
|
|
5962
6061
|
_i as aM,
|
|
5963
6062
|
Ei as aN,
|
|
5964
6063
|
Ai as aO,
|
|
5965
|
-
|
|
5966
|
-
|
|
5967
|
-
|
|
5968
|
-
|
|
5969
|
-
|
|
6064
|
+
Si as aP,
|
|
6065
|
+
C as aQ,
|
|
6066
|
+
oe as aR,
|
|
6067
|
+
Ri as aS,
|
|
6068
|
+
o as aT,
|
|
6069
|
+
s as aU,
|
|
5970
6070
|
Pn as aa,
|
|
5971
|
-
|
|
5972
|
-
|
|
6071
|
+
gn as ab,
|
|
6072
|
+
Xi as ac,
|
|
5973
6073
|
bn as ad,
|
|
5974
|
-
|
|
5975
|
-
|
|
6074
|
+
Gn as ae,
|
|
6075
|
+
qi as af,
|
|
5976
6076
|
kn as ag,
|
|
5977
|
-
|
|
5978
|
-
|
|
6077
|
+
Dn as ah,
|
|
6078
|
+
Zi as ai,
|
|
5979
6079
|
Bn as aj,
|
|
5980
|
-
|
|
5981
|
-
|
|
6080
|
+
yn as ak,
|
|
6081
|
+
Yi as al,
|
|
5982
6082
|
vn as am,
|
|
5983
|
-
|
|
5984
|
-
|
|
6083
|
+
xn as an,
|
|
6084
|
+
U as ao,
|
|
5985
6085
|
J as ap,
|
|
5986
6086
|
w as aq,
|
|
5987
|
-
|
|
5988
|
-
|
|
5989
|
-
|
|
5990
|
-
|
|
6087
|
+
H as ar,
|
|
6088
|
+
le as as,
|
|
6089
|
+
z as at,
|
|
6090
|
+
F as au,
|
|
5991
6091
|
Q as av,
|
|
5992
6092
|
X as aw,
|
|
5993
6093
|
q as ax,
|
|
5994
6094
|
Z as ay,
|
|
5995
|
-
|
|
5996
|
-
|
|
5997
|
-
|
|
5998
|
-
|
|
5999
|
-
|
|
6095
|
+
M as az,
|
|
6096
|
+
Kn as b,
|
|
6097
|
+
Wn as c,
|
|
6098
|
+
$n as d,
|
|
6099
|
+
Ln as e,
|
|
6000
6100
|
ni as f,
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6101
|
+
ii as g,
|
|
6102
|
+
l as h,
|
|
6103
|
+
b as i,
|
|
6104
|
+
h as j,
|
|
6105
|
+
m as k,
|
|
6106
|
+
I as l,
|
|
6007
6107
|
G as m,
|
|
6008
|
-
|
|
6009
|
-
|
|
6010
|
-
|
|
6011
|
-
|
|
6108
|
+
k as n,
|
|
6109
|
+
p as o,
|
|
6110
|
+
Mn as p,
|
|
6111
|
+
D as q,
|
|
6012
6112
|
ai as r,
|
|
6013
6113
|
ti as s,
|
|
6014
|
-
|
|
6015
|
-
|
|
6114
|
+
ui as t,
|
|
6115
|
+
si as u,
|
|
6016
6116
|
di as v,
|
|
6017
6117
|
oi as w,
|
|
6018
6118
|
fi as x,
|
|
6019
|
-
|
|
6020
|
-
|
|
6119
|
+
li as y,
|
|
6120
|
+
mi as z
|
|
6021
6121
|
};
|