@kvaser/canking-api 7.1.0-beta.231 → 7.1.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/README.md +142 -44
- package/REDISTRIBUTABLES.txt +86 -2
- package/dist/ElectronAPIFake.js +1 -1
- package/dist/ElectronAPIFake.mjs +16 -13
- package/dist/controls/CanIdentifierControl.d.ts +21 -3
- package/dist/controls/ColumnItemControl.d.ts +36 -0
- package/dist/controls/OneLineButton.d.ts +1 -1
- package/dist/controls/index.d.ts +2 -0
- package/dist/controls.js +1 -1
- package/dist/controls.mjs +1359 -1119
- package/dist/grpc.js +1 -1
- package/dist/grpc.mjs +139 -125
- package/dist/index.js +1 -1
- package/dist/ipc/index.d.ts +6 -0
- package/dist/ipc.js +1 -1
- package/dist/ipc.mjs +28 -25
- package/dist/measurement_settings.js +1 -1
- package/dist/measurement_settings.mjs +461 -430
- package/dist/models/index.d.ts +4 -1
- package/dist/models.js +1 -1
- package/dist/models.mjs +193 -186
- package/dist/protos/app_params.d.ts +10 -0
- package/dist/protos/app_service.d.ts +1 -1
- package/dist/protos/device_service.d.ts +1 -1
- package/dist/protos/frame_params.d.ts +2 -0
- package/dist/protos/measurement_params.d.ts +9 -0
- package/dist/protos/measurement_service.d.ts +30 -2
- package/dist/protos/measurement_settings.d.ts +3 -3
- package/dist/protos/signal_params.d.ts +3 -0
- package/dist/status_params.js +1 -1
- package/dist/status_params.mjs +1932 -1834
- package/doc/assets/favicon.png +0 -0
- package/doc/assets/hierarchy.js +1 -0
- package/doc/assets/highlight.css +16 -16
- package/doc/assets/icons.js +1 -1
- package/doc/assets/icons.svg +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 +1405 -1288
- package/doc/classes/controls.LocalizedStrings.html +3 -176
- package/doc/classes/models.DataBuffer.html +16 -189
- package/doc/classes/models.DataBufferView.html +11 -184
- package/doc/classes/models.Point.html +7 -180
- package/doc/enums/models.AccessMode.html +9 -182
- package/doc/enums/models.AppEvent.html +6 -179
- package/doc/enums/models.CanChannelCap.html +44 -217
- package/doc/enums/models.CanFrameFlag.html +27 -200
- package/doc/enums/models.CanMode.html +7 -180
- package/doc/enums/models.DecimalChar.html +5 -178
- package/doc/enums/models.DeviceEvent.html +6 -179
- package/doc/enums/models.FileConflictAction.html +7 -180
- package/doc/enums/models.FileType.html +7 -0
- package/doc/enums/models.LinFrameFlag.html +12 -185
- package/doc/enums/models.LogFileFormat.html +48 -221
- package/doc/enums/models.LogLevel.html +17 -190
- package/doc/enums/models.LogReplayState.html +6 -179
- package/doc/enums/models.MeasurementEvent.html +12 -185
- package/doc/enums/models.MessageLoggerState.html +7 -180
- package/doc/enums/models.Protocols.html +9 -182
- package/doc/enums/models.Separator.html +5 -178
- package/doc/enums/models.SignalEncoding.html +5 -178
- package/doc/enums/models.SignalType.html +12 -185
- package/doc/enums/models.SignalValueTriggerOperator.html +13 -186
- package/doc/enums/models.StatusLevel.html +7 -180
- package/doc/enums/models.TimeReference.html +5 -178
- package/doc/enums/models.TriggerOperator.html +6 -179
- package/doc/functions/controls.CanChannelSelectControl.html +2 -175
- package/doc/functions/controls.CanIdentifierControl.html +2 -175
- package/doc/functions/controls.CanIdentifierFrameControl.html +2 -175
- package/doc/functions/controls.CanIdentifierGeneratorControl.html +2 -175
- package/doc/functions/controls.CanIdentifierGeneratorSettingsControl.html +2 -175
- package/doc/functions/controls.CanKingDataProvider.html +5 -178
- package/doc/functions/controls.CheckboxControl.html +2 -175
- package/doc/functions/controls.ColumnItemControl.html +2 -0
- package/doc/functions/controls.ContextMenu.html +2 -175
- package/doc/functions/controls.DropdownButton.html +2 -175
- package/doc/functions/controls.DropdownButtonTextItems.html +2 -175
- package/doc/functions/controls.DropdownPanel.html +2 -175
- package/doc/functions/controls.FillBox.html +19 -192
- package/doc/functions/controls.FormControlRow.html +2 -175
- package/doc/functions/controls.InlineEditor.html +2 -175
- package/doc/functions/controls.NumberRangeControl.html +2 -175
- package/doc/functions/controls.OneLineButton.html +19 -192
- package/doc/functions/controls.RadioControl.html +2 -175
- package/doc/functions/controls.RadioGroupControl.html +2 -175
- package/doc/functions/controls.SectionControl.html +2 -175
- package/doc/functions/controls.SelectControl.html +2 -175
- package/doc/functions/controls.SizedBox.html +19 -192
- package/doc/functions/controls.TableControl.html +3 -176
- package/doc/functions/controls.TabsPanel.html +19 -192
- package/doc/functions/controls.TextControl.html +2 -175
- package/doc/functions/controls.ToolbarControl.html +2 -175
- package/doc/functions/controls.ValidateableTextControl.html +2 -175
- package/doc/functions/controls.useColumnItem.html +3 -0
- package/doc/functions/controls.useColumnItems.html +4 -0
- package/doc/functions/hooks.useDevices.html +3 -176
- package/doc/functions/hooks.useIsOnline.html +3 -176
- package/doc/functions/hooks.useLanguage.html +3 -176
- package/doc/functions/hooks.useLocalizedStrings.html +3 -176
- package/doc/functions/hooks.useLogMessages.html +3 -176
- package/doc/functions/hooks.useMaxDataBytes.html +2 -175
- package/doc/functions/hooks.useMeasurementSetup.html +3 -176
- package/doc/functions/hooks.useMeasurementStatus.html +3 -176
- package/doc/functions/hooks.useMessageLogFileFormats.html +2 -175
- package/doc/functions/hooks.useNewMeasurementData.html +5 -178
- package/doc/functions/hooks.useNodeStatus.html +3 -176
- package/doc/functions/hooks.useNumericRadix.html +3 -176
- package/doc/functions/hooks.useOnlineStatus.html +3 -176
- package/doc/functions/hooks.useOverallStatusLevel.html +3 -176
- package/doc/functions/hooks.useProjectData.html +5 -178
- package/doc/functions/hooks.useRecentProjectFiles.html +2 -175
- package/doc/functions/hooks.useRunningPeriodicTransmissions.html +3 -176
- package/doc/functions/hooks.useSessionData.html +5 -178
- package/doc/functions/hooks.useUserSettings.html +3 -176
- package/doc/functions/hooks.useWorkspacePaneWithId.html +2 -175
- package/doc/functions/icons.AddIcon.html +4 -175
- package/doc/functions/icons.ArrowDownIcon.html +4 -175
- package/doc/functions/icons.ArrowLeftIcon.html +4 -175
- package/doc/functions/icons.ArrowRightIcon.html +4 -175
- package/doc/functions/icons.ArrowUpIcon.html +4 -175
- package/doc/functions/icons.BusIsOffIcon.html +4 -175
- package/doc/functions/icons.BusIsOnIcon.html +4 -175
- package/doc/functions/icons.CloseIcon.html +4 -175
- package/doc/functions/icons.CopyIcon.html +4 -175
- package/doc/functions/icons.DarkModeIcon.html +4 -175
- package/doc/functions/icons.DeleteIcon.html +4 -175
- package/doc/functions/icons.DisableIcon.html +4 -175
- package/doc/functions/icons.EditIcon.html +4 -175
- package/doc/functions/icons.FilterIcon.html +4 -175
- package/doc/functions/icons.FixedPositionIcon.html +4 -175
- package/doc/functions/icons.LeaveFullScreenIcon.html +4 -175
- package/doc/functions/icons.LightModeIcon.html +4 -175
- package/doc/functions/icons.LineArrowDownIcon.html +4 -175
- package/doc/functions/icons.LineArrowUpIcon.html +4 -175
- package/doc/functions/icons.MaximizeWindowIcon.html +4 -175
- package/doc/functions/icons.MeasurementSetupIcon.html +4 -175
- package/doc/functions/icons.MoreHorizIcon.html +4 -175
- package/doc/functions/icons.MoreVertIcon.html +4 -175
- package/doc/functions/icons.NewIcon.html +4 -175
- package/doc/functions/icons.OpenExternallyIcon.html +4 -175
- package/doc/functions/icons.OpenIcon.html +4 -175
- package/doc/functions/icons.PauseIcon.html +4 -175
- package/doc/functions/icons.PlayIcon.html +4 -175
- package/doc/functions/icons.PlaySolidIcon.html +4 -175
- package/doc/functions/icons.SaveIcon.html +4 -175
- package/doc/functions/icons.SelectAllIcon.html +4 -175
- package/doc/functions/icons.ServiceIconActive.html +4 -175
- package/doc/functions/icons.ServiceIconInactive.html +4 -175
- package/doc/functions/icons.SettingsIcon.html +4 -175
- package/doc/functions/icons.StopIcon.html +4 -175
- package/doc/functions/icons.StopSolidIcon.html +4 -175
- package/doc/functions/icons.ToolsPanelHiddenIcon.html +4 -175
- package/doc/functions/icons.ToolsPanelVisibleIcon.html +4 -175
- package/doc/functions/icons.UnmaximizeWindowIcon.html +4 -175
- package/doc/functions/icons.WorkspacesIcon.html +4 -175
- package/doc/functions/ipc.addDataProcessor.html +3 -176
- package/doc/functions/ipc.addSource.html +3 -176
- package/doc/functions/ipc.addTarget.html +3 -176
- package/doc/functions/ipc.connectNodes.html +3 -176
- package/doc/functions/ipc.deleteDataProcessor.html +3 -176
- package/doc/functions/ipc.deleteSource.html +3 -176
- package/doc/functions/ipc.deleteTarget.html +3 -176
- package/doc/functions/ipc.disableNode.html +3 -176
- package/doc/functions/ipc.disconnectNodes.html +3 -176
- package/doc/functions/ipc.enableNode.html +3 -176
- package/doc/functions/ipc.getFrameDefinitions.html +3 -176
- package/doc/functions/ipc.getLogger.html +3 -176
- package/doc/functions/ipc.getMessageLogFileFormats.html +3 -176
- package/doc/functions/ipc.sendCanMessage.html +4 -177
- package/doc/functions/ipc.sendMessage.html +3 -176
- package/doc/functions/ipc.showMessageBox.html +3 -176
- package/doc/functions/ipc.showQuestionBox.html +3 -176
- package/doc/functions/ipc.startLogReplay.html +3 -176
- package/doc/functions/ipc.startMeasurement.html +2 -175
- package/doc/functions/ipc.startPeriodicTransmission.html +3 -176
- package/doc/functions/ipc.stopLogReplay.html +3 -176
- package/doc/functions/ipc.stopMeasurement.html +2 -175
- package/doc/functions/ipc.stopPeriodicTransmission.html +3 -176
- package/doc/functions/ipc.updateDataProcessor.html +3 -176
- package/doc/functions/ipc.updatePeriodicTransmission.html +4 -0
- package/doc/functions/ipc.updateSource.html +3 -176
- package/doc/functions/ipc.updateTarget.html +3 -176
- package/doc/functions/models.accessModeFromJSON.html +1 -174
- package/doc/functions/models.accessModeToJSON.html +1 -174
- package/doc/functions/models.appEventFromJSON.html +1 -174
- package/doc/functions/models.appEventToJSON.html +1 -174
- package/doc/functions/models.canChannelCapFromJSON.html +1 -174
- package/doc/functions/models.canChannelCapToJSON.html +1 -174
- package/doc/functions/models.canFrameFlagFromJSON.html +1 -174
- package/doc/functions/models.canFrameFlagToJSON.html +1 -174
- package/doc/functions/models.canModeFromJSON.html +1 -174
- package/doc/functions/models.canModeToJSON.html +1 -174
- package/doc/functions/models.createElectronApiFake.html +3 -176
- package/doc/functions/models.decimalCharFromJSON.html +1 -174
- package/doc/functions/models.decimalCharToJSON.html +1 -174
- package/doc/functions/models.decimalToFixed.html +1 -174
- package/doc/functions/models.decimalToHex.html +1 -174
- package/doc/functions/models.deviceEventFromJSON.html +1 -174
- package/doc/functions/models.deviceEventToJSON.html +1 -174
- package/doc/functions/models.fileConflictActionFromJSON.html +1 -174
- package/doc/functions/models.fileConflictActionToJSON.html +1 -174
- package/doc/functions/models.fileTypeFromJSON.html +1 -0
- package/doc/functions/models.fileTypeToJSON.html +1 -0
- package/doc/functions/models.linFrameFlagFromJSON.html +1 -174
- package/doc/functions/models.linFrameFlagToJSON.html +1 -174
- package/doc/functions/models.logFileFormatFromJSON.html +1 -174
- package/doc/functions/models.logFileFormatToJSON.html +1 -174
- package/doc/functions/models.logLevelFromJSON.html +1 -174
- package/doc/functions/models.logLevelToJSON.html +1 -174
- package/doc/functions/models.logReplayStateFromJSON.html +1 -174
- package/doc/functions/models.logReplayStateToJSON.html +1 -174
- package/doc/functions/models.longToNumber.html +1 -174
- package/doc/functions/models.measurementEventFromJSON.html +1 -174
- package/doc/functions/models.measurementEventToJSON.html +1 -174
- package/doc/functions/models.messageLoggerStateFromJSON.html +1 -174
- package/doc/functions/models.messageLoggerStateToJSON.html +1 -174
- package/doc/functions/models.protocolsFromJSON.html +1 -174
- package/doc/functions/models.protocolsToJSON.html +1 -174
- package/doc/functions/models.separatorFromJSON.html +1 -174
- package/doc/functions/models.separatorToJSON.html +1 -174
- package/doc/functions/models.signalEncodingFromJSON.html +1 -174
- package/doc/functions/models.signalEncodingToJSON.html +1 -174
- package/doc/functions/models.signalTypeFromJSON.html +1 -174
- package/doc/functions/models.signalTypeToJSON.html +1 -174
- package/doc/functions/models.signalValueTriggerOperatorFromJSON.html +1 -174
- package/doc/functions/models.signalValueTriggerOperatorToJSON.html +1 -174
- package/doc/functions/models.statusLevelFromJSON.html +1 -174
- package/doc/functions/models.statusLevelToJSON.html +1 -174
- package/doc/functions/models.timeReferenceFromJSON.html +1 -174
- package/doc/functions/models.timeReferenceToJSON.html +1 -174
- package/doc/functions/models.triggerOperatorFromJSON.html +1 -174
- package/doc/functions/models.triggerOperatorToJSON.html +1 -174
- package/doc/hierarchy.html +1 -174
- package/doc/index.html +99 -227
- package/doc/interfaces/controls.ButtonGroupProps.html +6 -179
- package/doc/interfaces/controls.ButtonProps.html +10 -183
- package/doc/interfaces/controls.CanChannelSelectControlProps.html +14 -187
- package/doc/interfaces/controls.CanIdentifierControlProps.html +16 -189
- package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +14 -185
- package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +27 -196
- package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +17 -186
- package/doc/interfaces/controls.CheckboxControlProps.html +7 -180
- package/doc/interfaces/controls.ColumnItemControlProps.html +4 -0
- package/doc/interfaces/controls.ContextMenuProps.html +6 -179
- package/doc/interfaces/controls.DropdownButtonChildrenProps.html +4 -177
- package/doc/interfaces/controls.DropdownButtonProps.html +11 -184
- package/doc/interfaces/controls.DropdownButtonTextItemsProps.html +9 -182
- package/doc/interfaces/controls.DropdownPanelProps.html +15 -188
- package/doc/interfaces/controls.FormControlRowProps.html +7 -180
- package/doc/interfaces/controls.ILocalizedStrings.html +3 -176
- package/doc/interfaces/controls.InlineEditorProps.html +9 -182
- package/doc/interfaces/controls.LabelProps.html +3 -176
- package/doc/interfaces/controls.NumberRangeControlProps.html +41 -214
- package/doc/interfaces/controls.RadioControlProps.html +4 -177
- package/doc/interfaces/controls.RadioGroupControlProps.html +6 -179
- package/doc/interfaces/controls.SectionControlProps.html +8 -181
- package/doc/interfaces/controls.SelectControlProps.html +20 -193
- package/doc/interfaces/controls.TableColumn.html +10 -183
- package/doc/interfaces/controls.TableControlProps.html +18 -191
- package/doc/interfaces/controls.TextControlProps.html +24 -197
- package/doc/interfaces/controls.ToggleButtonGroupProps.html +9 -182
- package/doc/interfaces/controls.ToggleButtonProps.html +5 -178
- package/doc/interfaces/controls.ToolbarControlProps.html +9 -182
- package/doc/interfaces/controls.ValidateableTextControlProps.html +40 -213
- package/doc/interfaces/controls.toolbarItem.html +7 -180
- package/doc/interfaces/ipc.ILogger.html +3 -176
- package/doc/interfaces/models.AboutInformation.html +8 -181
- package/doc/interfaces/models.ActivateLicenseRequest.html +6 -179
- package/doc/interfaces/models.AddAllConnectedCanChannelsRequest.html +3 -176
- package/doc/interfaces/models.AddAllConnectedLinChannelsRequest.html +3 -176
- package/doc/interfaces/models.AddOrUpdateDataProcessorRequest.html +9 -182
- package/doc/interfaces/models.AddOrUpdateSourceRequest.html +5 -178
- package/doc/interfaces/models.AddOrUpdateTargetRequest.html +5 -178
- package/doc/interfaces/models.ApiPreferences.html +5 -178
- package/doc/interfaces/models.AppEventArgs.html +4 -177
- package/doc/interfaces/models.BaseNodeProperties.html +5 -178
- package/doc/interfaces/models.BusStatus.html +17 -190
- package/doc/interfaces/models.CanBusParamLimits.html +7 -180
- package/doc/interfaces/models.CanBusParams.html +3 -176
- package/doc/interfaces/models.CanBusSpeed.html +12 -185
- package/doc/interfaces/models.CanBusSpeedInfo.html +18 -191
- package/doc/interfaces/models.CanChannelCapacity.html +7 -180
- package/doc/interfaces/models.CanChannelConfiguration.html +12 -185
- package/doc/interfaces/models.CanFDBusSpeedCombination.html +4 -177
- package/doc/interfaces/models.CanFDBusSpeedInfo.html +14 -187
- package/doc/interfaces/models.CanFrameFlags.html +3 -176
- package/doc/interfaces/models.CanMessageFilterSettings.html +5 -178
- package/doc/interfaces/models.Channel.html +5 -178
- package/doc/interfaces/models.ChannelSettings.html +20 -193
- package/doc/interfaces/models.ClearLinMessageRequest.html +6 -179
- package/doc/interfaces/models.ConnectNodesRequest.html +4 -177
- package/doc/interfaces/models.DataProcessingStatus.html +6 -179
- package/doc/interfaces/models.DataProcessorNodeProperties.html +8 -181
- package/doc/interfaces/models.DatabasesSettings.html +3 -176
- package/doc/interfaces/models.Device.html +6 -179
- package/doc/interfaces/models.DeviceEventArgs.html +4 -177
- package/doc/interfaces/models.Devices.html +2 -175
- package/doc/interfaces/models.DisconnectNodesRequest.html +4 -177
- package/doc/interfaces/models.Empty.html +2 -175
- package/doc/interfaces/models.ErrorStatus.html +3 -176
- package/doc/interfaces/models.Frame.html +19 -192
- package/doc/interfaces/models.FrameDefinition.html +10 -181
- package/doc/interfaces/models.FrameDefinitions.html +2 -175
- package/doc/interfaces/models.FramePropertyValue.html +4 -177
- package/doc/interfaces/models.FrameReceivedTrigger.html +6 -179
- package/doc/interfaces/models.Frame_PropertiesEntry.html +2 -175
- package/doc/interfaces/models.Frames.html +2 -175
- package/doc/interfaces/models.GetCanChannelBusSpeedsRequest.html +3 -176
- package/doc/interfaces/models.GetCanChannelBusSpeedsResponse.html +6 -179
- package/doc/interfaces/models.GetCanFdBusSpeedsRequest.html +5 -178
- package/doc/interfaces/models.GetCanFdBusSpeedsResponse.html +4 -177
- package/doc/interfaces/models.GetChannelsFromLogFileRequest.html +4 -177
- package/doc/interfaces/models.GetChannelsFromLogFileResponse.html +3 -176
- package/doc/interfaces/models.GetClassicCanBusSpeedsRequest.html +4 -177
- package/doc/interfaces/models.GetClassicCanBusSpeedsResponse.html +4 -177
- package/doc/interfaces/models.GetDataProcessorResponse.html +3 -176
- package/doc/interfaces/models.GetDevicesRequest.html +3 -176
- package/doc/interfaces/models.GetDevicesResponse.html +3 -176
- package/doc/interfaces/models.GetFrameDefinitionsFromDatabaseFilesRequest.html +3 -176
- package/doc/interfaces/models.GetLicensesResponse.html +3 -176
- package/doc/interfaces/models.GetLogFileFormatsRequest.html +6 -179
- package/doc/interfaces/models.GetLogFileFormatsResponse.html +3 -176
- package/doc/interfaces/models.GetLogLevelResponse.html +4 -177
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesRequest.html +3 -176
- package/doc/interfaces/models.GetScheduleTablesFromDatabaseFilesResponse.html +3 -176
- package/doc/interfaces/models.GetServiceExtensionInfoRequest.html +4 -177
- package/doc/interfaces/models.GetServiceExtensionInfoResponse.html +7 -180
- package/doc/interfaces/models.GetSignalDataFromMessageDataRequest.html +5 -178
- package/doc/interfaces/models.GetSignalDataFromMessageDataResponse.html +4 -177
- package/doc/interfaces/models.GetSourceResponse.html +3 -176
- package/doc/interfaces/models.GetTargetResponse.html +3 -176
- package/doc/interfaces/models.ILogFileFormat.html +3 -176
- package/doc/interfaces/models.IProject.html +4 -177
- package/doc/interfaces/models.IUserSettings.html +13 -183
- package/doc/interfaces/models.IWorkspaceComponentPaneData.html +4 -177
- package/doc/interfaces/models.IWorkspaceContainerPaneData.html +4 -177
- package/doc/interfaces/models.IWorkspaceData.html +4 -177
- package/doc/interfaces/models.IWorkspacePaneData.html +4 -177
- package/doc/interfaces/models.IdentifierRequest.html +3 -176
- package/doc/interfaces/models.IdentifiersRequest.html +3 -176
- package/doc/interfaces/models.InstallServiceExtensionRequest.html +6 -179
- package/doc/interfaces/models.InterpreterSettings.html +4 -177
- package/doc/interfaces/models.J1939InterpreterSettings.html +2 -175
- package/doc/interfaces/models.LicenseInformation.html +18 -191
- package/doc/interfaces/models.Licenses.html +3 -176
- package/doc/interfaces/models.LinChannelConfiguration.html +12 -185
- package/doc/interfaces/models.LinFrameFlags.html +3 -176
- package/doc/interfaces/models.LogMessage.html +8 -181
- package/doc/interfaces/models.LogMessages.html +3 -176
- package/doc/interfaces/models.LogReplaySettings.html +24 -197
- package/doc/interfaces/models.LogReplaySettings_ChannelIdentifiersEntry.html +2 -175
- package/doc/interfaces/models.LogReplayStatus.html +3 -176
- package/doc/interfaces/models.MeasurementEventArgs.html +5 -178
- package/doc/interfaces/models.MeasurementSetup.html +3 -176
- package/doc/interfaces/models.MessageLoggerSettings.html +40 -213
- package/doc/interfaces/models.MessageLoggerStatus.html +3 -176
- package/doc/interfaces/models.NodeStatus.html +18 -191
- package/doc/interfaces/models.NodeStatuses.html +3 -176
- package/doc/interfaces/models.OnlineStatus.html +3 -176
- package/doc/interfaces/models.PeriodicTransmissionSettings.html +34 -207
- package/doc/interfaces/models.RequestLinMessageRequest.html +6 -179
- package/doc/interfaces/models.ScheduleTable.html +5 -178
- package/doc/interfaces/models.ScheduleTableEntry.html +5 -178
- package/doc/interfaces/models.SendLinWakeupFrameRequest.html +4 -177
- package/doc/interfaces/models.SendMessageRequest.html +3 -176
- package/doc/interfaces/models.ServiceExtensionSettings.html +4 -177
- package/doc/interfaces/models.SetLogLevelRequest.html +4 -177
- package/doc/interfaces/models.SetMeasurementSetupRequest.html +3 -176
- package/doc/interfaces/models.SetSignalDataToMessageDataRequest.html +7 -180
- package/doc/interfaces/models.SetSignalDataToMessageDataResponse.html +5 -178
- package/doc/interfaces/models.SignalDefinition.html +11 -181
- package/doc/interfaces/models.SignalDefinition_EnumValuesEntry.html +2 -175
- package/doc/interfaces/models.SignalDefinitions.html +2 -175
- package/doc/interfaces/models.SignalValue.html +5 -178
- package/doc/interfaces/models.SignalValueTrigger.html +14 -187
- package/doc/interfaces/models.SourceNodeProperties.html +7 -180
- package/doc/interfaces/models.StartPeriodicTransmissionRequest.html +3 -176
- package/doc/interfaces/models.StartPeriodicTransmissionResponse.html +3 -176
- package/doc/interfaces/models.TargetNodeProperties.html +5 -178
- package/doc/interfaces/models.TriggerSettings.html +8 -181
- package/doc/interfaces/models.UninstallServiceExtensionRequest.html +3 -176
- package/doc/interfaces/models.UpdateLinMessageRequest.html +4 -177
- package/doc/interfaces/models.UpdatePeriodicTransmissionRequest.html +7 -0
- package/doc/interfaces/models.WriteFrame.html +6 -179
- package/doc/modules/controls.html +3 -237
- package/doc/modules/hooks.html +3 -196
- package/doc/modules/icons.html +2 -216
- package/doc/modules/ipc.html +2 -202
- package/doc/modules/models.html +2 -478
- package/doc/modules.html +1 -179
- package/doc/types/controls.ContextMenuOption.html +6 -179
- package/doc/types/controls.SelectOption.html +4 -177
- package/doc/types/controls.StringsMap.html +2 -175
- package/doc/types/controls.canIdentifierType.html +2 -175
- package/doc/types/models.IReadOnlyDataBuffer.html +1 -174
- package/doc/types/models.themes.html +1 -174
- package/doc/variables/models.AboutInformation-1.html +1 -174
- package/doc/variables/models.ActivateLicenseRequest-1.html +1 -174
- package/doc/variables/models.AddAllConnectedCanChannelsRequest-1.html +1 -174
- package/doc/variables/models.AddAllConnectedLinChannelsRequest-1.html +1 -174
- package/doc/variables/models.AddOrUpdateDataProcessorRequest-1.html +1 -174
- package/doc/variables/models.AddOrUpdateSourceRequest-1.html +1 -174
- package/doc/variables/models.AddOrUpdateTargetRequest-1.html +1 -174
- package/doc/variables/models.ApiPreferences-1.html +1 -174
- package/doc/variables/models.AppEventArgs-1.html +1 -174
- package/doc/variables/models.BaseNodeProperties-1.html +1 -174
- package/doc/variables/models.BusStatus-1.html +1 -174
- package/doc/variables/models.CanBusParamLimits-1.html +1 -174
- package/doc/variables/models.CanBusParams-1.html +1 -174
- package/doc/variables/models.CanBusSpeed-1.html +1 -174
- package/doc/variables/models.CanBusSpeedInfo-1.html +1 -174
- package/doc/variables/models.CanChannelCapacity-1.html +1 -174
- package/doc/variables/models.CanChannelConfiguration-1.html +1 -174
- package/doc/variables/models.CanFDBusSpeedCombination-1.html +1 -174
- package/doc/variables/models.CanFDBusSpeedInfo-1.html +1 -174
- package/doc/variables/models.CanFrameFlags-1.html +1 -174
- package/doc/variables/models.CanMessageFilterSettings-1.html +1 -174
- package/doc/variables/models.Channel-1.html +1 -174
- package/doc/variables/models.ChannelSettings-1.html +1 -174
- package/doc/variables/models.ClearLinMessageRequest-1.html +1 -174
- package/doc/variables/models.ConnectNodesRequest-1.html +1 -174
- package/doc/variables/models.DataProcessingStatus-1.html +1 -174
- package/doc/variables/models.DataProcessorNodeProperties-1.html +1 -174
- package/doc/variables/models.DatabasesSettings-1.html +1 -174
- package/doc/variables/models.Device-1.html +1 -174
- package/doc/variables/models.DeviceEventArgs-1.html +1 -174
- package/doc/variables/models.Devices-1.html +1 -174
- package/doc/variables/models.DisconnectNodesRequest-1.html +1 -174
- package/doc/variables/models.Empty-1.html +1 -174
- package/doc/variables/models.ErrorStatus-1.html +1 -174
- package/doc/variables/models.Frame-1.html +1 -174
- package/doc/variables/models.FrameDefinition-1.html +1 -174
- package/doc/variables/models.FrameDefinitions-1.html +1 -174
- package/doc/variables/models.FramePropertyValue-1.html +1 -174
- package/doc/variables/models.FrameReceivedTrigger-1.html +1 -174
- package/doc/variables/models.Frame_PropertiesEntry-1.html +1 -174
- package/doc/variables/models.Frames-1.html +1 -174
- package/doc/variables/models.GetCanChannelBusSpeedsRequest-1.html +1 -174
- package/doc/variables/models.GetCanChannelBusSpeedsResponse-1.html +1 -174
- package/doc/variables/models.GetCanFdBusSpeedsRequest-1.html +1 -174
- package/doc/variables/models.GetCanFdBusSpeedsResponse-1.html +1 -174
- package/doc/variables/models.GetChannelsFromLogFileRequest-1.html +1 -174
- package/doc/variables/models.GetChannelsFromLogFileResponse-1.html +1 -174
- package/doc/variables/models.GetClassicCanBusSpeedsRequest-1.html +1 -174
- package/doc/variables/models.GetClassicCanBusSpeedsResponse-1.html +1 -174
- package/doc/variables/models.GetDataProcessorResponse-1.html +1 -174
- package/doc/variables/models.GetDevicesRequest-1.html +1 -174
- package/doc/variables/models.GetDevicesResponse-1.html +1 -174
- package/doc/variables/models.GetFrameDefinitionsFromDatabaseFilesRequest-1.html +1 -174
- package/doc/variables/models.GetLicensesResponse-1.html +1 -174
- package/doc/variables/models.GetLogFileFormatsRequest-1.html +1 -174
- package/doc/variables/models.GetLogFileFormatsResponse-1.html +1 -174
- package/doc/variables/models.GetLogLevelResponse-1.html +1 -174
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesRequest-1.html +1 -174
- package/doc/variables/models.GetScheduleTablesFromDatabaseFilesResponse-1.html +1 -174
- package/doc/variables/models.GetServiceExtensionInfoRequest-1.html +1 -174
- package/doc/variables/models.GetServiceExtensionInfoResponse-1.html +1 -174
- package/doc/variables/models.GetSignalDataFromMessageDataRequest-1.html +1 -174
- package/doc/variables/models.GetSignalDataFromMessageDataResponse-1.html +1 -174
- package/doc/variables/models.GetSourceResponse-1.html +1 -174
- package/doc/variables/models.GetTargetResponse-1.html +1 -174
- package/doc/variables/models.IdentifierRequest-1.html +1 -174
- package/doc/variables/models.IdentifiersRequest-1.html +1 -174
- package/doc/variables/models.InstallServiceExtensionRequest-1.html +1 -174
- package/doc/variables/models.InterpreterSettings-1.html +1 -174
- package/doc/variables/models.J1939InterpreterSettings-1.html +1 -174
- package/doc/variables/models.LicenseInformation-1.html +1 -174
- package/doc/variables/models.Licenses-1.html +1 -174
- package/doc/variables/models.LinChannelConfiguration-1.html +1 -174
- package/doc/variables/models.LinFrameFlags-1.html +1 -174
- package/doc/variables/models.LogMessage-1.html +1 -174
- package/doc/variables/models.LogMessages-1.html +1 -174
- package/doc/variables/models.LogReplaySettings-1.html +1 -174
- package/doc/variables/models.LogReplaySettings_ChannelIdentifiersEntry-1.html +1 -174
- package/doc/variables/models.LogReplayStatus-1.html +1 -174
- package/doc/variables/models.MeasurementEventArgs-1.html +1 -174
- package/doc/variables/models.MeasurementSetup-1.html +1 -174
- package/doc/variables/models.MessageLoggerSettings-1.html +1 -174
- package/doc/variables/models.MessageLoggerStatus-1.html +1 -174
- package/doc/variables/models.NodeStatus-1.html +1 -174
- package/doc/variables/models.NodeStatuses-1.html +1 -174
- package/doc/variables/models.OnlineStatus-1.html +1 -174
- package/doc/variables/models.PeriodicTransmissionSettings-1.html +1 -174
- package/doc/variables/models.RequestLinMessageRequest-1.html +1 -174
- package/doc/variables/models.ScheduleTable-1.html +1 -174
- package/doc/variables/models.ScheduleTableEntry-1.html +1 -174
- package/doc/variables/models.SendLinWakeupFrameRequest-1.html +1 -174
- package/doc/variables/models.SendMessageRequest-1.html +1 -174
- package/doc/variables/models.ServiceExtensionSettings-1.html +1 -174
- package/doc/variables/models.SetLogLevelRequest-1.html +1 -174
- package/doc/variables/models.SetMeasurementSetupRequest-1.html +1 -174
- package/doc/variables/models.SetSignalDataToMessageDataRequest-1.html +1 -174
- package/doc/variables/models.SetSignalDataToMessageDataResponse-1.html +1 -174
- package/doc/variables/models.SignalDefinition-1.html +1 -174
- package/doc/variables/models.SignalDefinition_EnumValuesEntry-1.html +1 -174
- package/doc/variables/models.SignalDefinitions-1.html +1 -174
- package/doc/variables/models.SignalValue-1.html +1 -174
- package/doc/variables/models.SignalValueTrigger-1.html +1 -174
- package/doc/variables/models.SourceNodeProperties-1.html +1 -174
- package/doc/variables/models.StartPeriodicTransmissionRequest-1.html +1 -174
- package/doc/variables/models.StartPeriodicTransmissionResponse-1.html +1 -174
- package/doc/variables/models.TargetNodeProperties-1.html +1 -174
- package/doc/variables/models.TriggerSettings-1.html +1 -174
- package/doc/variables/models.UninstallServiceExtensionRequest-1.html +1 -174
- package/doc/variables/models.UpdateLinMessageRequest-1.html +1 -174
- package/doc/variables/models.UpdatePeriodicTransmissionRequest-1.html +1 -0
- package/doc/variables/models.WriteFrame-1.html +1 -174
- package/doc/variables/models.defaultUserSettings.html +2 -175
- package/index.js +14 -0
- package/licenses/ELECTRON-TOOLKIT-PRELOAD_MIT.TXT +21 -0
- package/licenses/FAST-DEEP-EQUAL_MIT.TXT +21 -0
- package/licenses/GOOGLE-PROTOBUF_(BSD-3-CLAUSE AND APACHE-2.0).TXT +29 -0
- package/licenses/REACT-DOM_MIT.TXT +21 -0
- package/licenses/REACT_MIT.TXT +21 -0
- package/licenses/UUID_MIT.TXT +9 -0
- package/licenses/licenses.css +22 -0
- package/licenses/licenses.html +67 -0
- package/package.json +11 -18
- package/doc/assets/material-style.css +0 -247
- package/scripts/createCanKingExtension.js +0 -403
- package/scripts/index.js +0 -39
- package/scripts/template/_.eslintrc.cjs +0 -38
- package/scripts/template/_.gitignore +0 -24
- package/scripts/template/_.npmrc +0 -2
- package/scripts/template/_.prettierrc +0 -8
- package/scripts/template/_.vscode/_launch.json +0 -28
- package/scripts/template/_index.html +0 -15
- package/scripts/template/_tsconfig.app.json +0 -27
- package/scripts/template/_tsconfig.json +0 -11
- package/scripts/template/_tsconfig.node.json +0 -13
- package/scripts/template/_vite.config.ts +0 -7
- package/scripts/template/src/App.tsx +0 -12
- package/scripts/template/src/WorkspaceView/index.tsx +0 -47
- package/scripts/template/src/main.css +0 -9
- package/scripts/template/src/main.tsx +0 -19
- package/scripts/template/src/vite-env.d.ts +0 -1
|
@@ -17,14 +17,14 @@ function Qe() {
|
|
|
17
17
|
}
|
|
18
18
|
function Q(e, n, i) {
|
|
19
19
|
for (let t = 0; t < 28; t = t + 7) {
|
|
20
|
-
const
|
|
20
|
+
const d = e >>> t, l = !(!(d >>> 7) && n == 0), E = (l ? d | 128 : d) & 255;
|
|
21
21
|
if (i.push(E), !l)
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
24
|
const a = e >>> 28 & 15 | (n & 7) << 4, r = !!(n >> 3);
|
|
25
25
|
if (i.push((r ? a | 128 : a) & 255), !!r) {
|
|
26
26
|
for (let t = 3; t < 31; t = t + 7) {
|
|
27
|
-
const
|
|
27
|
+
const d = n >>> t, l = !!(d >>> 7), E = (l ? d | 128 : d) & 255;
|
|
28
28
|
if (i.push(E), !l)
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
@@ -37,8 +37,8 @@ function $(e) {
|
|
|
37
37
|
n && (e = e.slice(1));
|
|
38
38
|
const i = 1e6;
|
|
39
39
|
let a = 0, r = 0;
|
|
40
|
-
function t(
|
|
41
|
-
const E = Number(e.slice(
|
|
40
|
+
function t(d, l) {
|
|
41
|
+
const E = Number(e.slice(d, l));
|
|
42
42
|
r *= i, a = a * i + E, a >= X && (r = r + (a / X | 0), a = a % X);
|
|
43
43
|
}
|
|
44
44
|
return t(-24, -18), t(-18, -12), t(-12, -6), t(-6), n ? He(a, r) : W(a, r);
|
|
@@ -54,9 +54,9 @@ function we(e, n) {
|
|
|
54
54
|
if ({ lo: e, hi: n } = ze(e, n), n <= 2097151)
|
|
55
55
|
return String(X * n + e);
|
|
56
56
|
const i = e & 16777215, a = (e >>> 24 | n << 8) & 16777215, r = n >> 16 & 65535;
|
|
57
|
-
let t = i + a * 6777216 + r * 6710656,
|
|
57
|
+
let t = i + a * 6777216 + r * 6710656, d = a + r * 8147497, l = r * 2;
|
|
58
58
|
const E = 1e7;
|
|
59
|
-
return t >= E && (
|
|
59
|
+
return t >= E && (d += Math.floor(t / E), t %= E), d >= E && (l += Math.floor(d / E), d %= E), l.toString() + j(d) + j(t);
|
|
60
60
|
}
|
|
61
61
|
function ze(e, n) {
|
|
62
62
|
return { lo: e >>> 0, hi: n >>> 0 };
|
|
@@ -107,35 +107,35 @@ function Ke() {
|
|
|
107
107
|
return {
|
|
108
108
|
zero: BigInt(0),
|
|
109
109
|
supported: !0,
|
|
110
|
-
parse(
|
|
111
|
-
const l = typeof
|
|
110
|
+
parse(d) {
|
|
111
|
+
const l = typeof d == "bigint" ? d : BigInt(d);
|
|
112
112
|
if (l > a || l < i)
|
|
113
|
-
throw new Error(`invalid int64: ${
|
|
113
|
+
throw new Error(`invalid int64: ${d}`);
|
|
114
114
|
return l;
|
|
115
115
|
},
|
|
116
|
-
uParse(
|
|
117
|
-
const l = typeof
|
|
116
|
+
uParse(d) {
|
|
117
|
+
const l = typeof d == "bigint" ? d : BigInt(d);
|
|
118
118
|
if (l > t || l < r)
|
|
119
|
-
throw new Error(`invalid uint64: ${
|
|
119
|
+
throw new Error(`invalid uint64: ${d}`);
|
|
120
120
|
return l;
|
|
121
121
|
},
|
|
122
|
-
enc(
|
|
123
|
-
return e.setBigInt64(0, this.parse(
|
|
122
|
+
enc(d) {
|
|
123
|
+
return e.setBigInt64(0, this.parse(d), !0), {
|
|
124
124
|
lo: e.getInt32(0, !0),
|
|
125
125
|
hi: e.getInt32(4, !0)
|
|
126
126
|
};
|
|
127
127
|
},
|
|
128
|
-
uEnc(
|
|
129
|
-
return e.setBigInt64(0, this.uParse(
|
|
128
|
+
uEnc(d) {
|
|
129
|
+
return e.setBigInt64(0, this.uParse(d), !0), {
|
|
130
130
|
lo: e.getInt32(0, !0),
|
|
131
131
|
hi: e.getInt32(4, !0)
|
|
132
132
|
};
|
|
133
133
|
},
|
|
134
|
-
dec(
|
|
135
|
-
return e.setInt32(0,
|
|
134
|
+
dec(d, l) {
|
|
135
|
+
return e.setInt32(0, d, !0), e.setInt32(4, l, !0), e.getBigInt64(0, !0);
|
|
136
136
|
},
|
|
137
|
-
uDec(
|
|
138
|
-
return e.setInt32(0,
|
|
137
|
+
uDec(d, l) {
|
|
138
|
+
return e.setInt32(0, d, !0), e.setInt32(4, l, !0), e.getBigUint64(0, !0);
|
|
139
139
|
}
|
|
140
140
|
};
|
|
141
141
|
}
|
|
@@ -192,12 +192,12 @@ function Xe() {
|
|
|
192
192
|
}
|
|
193
193
|
return globalThis[Z];
|
|
194
194
|
}
|
|
195
|
-
var
|
|
195
|
+
var h;
|
|
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
|
-
})(
|
|
198
|
+
})(h || (h = {}));
|
|
199
199
|
const Ye = 34028234663852886e22, We = -34028234663852886e22, $e = 4294967295, je = 2147483647, en = -2147483648;
|
|
200
|
-
class
|
|
200
|
+
class o {
|
|
201
201
|
constructor(n = Xe().encodeUtf8) {
|
|
202
202
|
this.encodeUtf8 = n, this.stack = [], this.chunks = [], this.buf = [];
|
|
203
203
|
}
|
|
@@ -355,7 +355,7 @@ class d {
|
|
|
355
355
|
return Q(i.lo, i.hi, this.buf), this;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
class
|
|
358
|
+
class u {
|
|
359
359
|
constructor(n, i = Xe().decodeUtf8) {
|
|
360
360
|
this.decodeUtf8 = i, this.varint64 = Qe, this.uint32 = qe, this.buf = n, this.len = n.length, this.pos = 0, this.view = new DataView(n.buffer, n.byteOffset, n.byteLength);
|
|
361
361
|
}
|
|
@@ -377,28 +377,28 @@ class s {
|
|
|
377
377
|
skip(n, i) {
|
|
378
378
|
let a = this.pos;
|
|
379
379
|
switch (n) {
|
|
380
|
-
case
|
|
380
|
+
case h.Varint:
|
|
381
381
|
for (; this.buf[this.pos++] & 128; )
|
|
382
382
|
;
|
|
383
383
|
break;
|
|
384
|
-
case
|
|
384
|
+
case h.Bit64:
|
|
385
385
|
this.pos += 4;
|
|
386
|
-
case
|
|
386
|
+
case h.Bit32:
|
|
387
387
|
this.pos += 4;
|
|
388
388
|
break;
|
|
389
|
-
case
|
|
389
|
+
case h.LengthDelimited:
|
|
390
390
|
let r = this.uint32();
|
|
391
391
|
this.pos += r;
|
|
392
392
|
break;
|
|
393
|
-
case
|
|
393
|
+
case h.StartGroup:
|
|
394
394
|
for (; ; ) {
|
|
395
|
-
const [t,
|
|
396
|
-
if (
|
|
395
|
+
const [t, d] = this.tag();
|
|
396
|
+
if (d === h.EndGroup) {
|
|
397
397
|
if (i !== void 0 && t !== i)
|
|
398
398
|
throw new Error("invalid end group tag");
|
|
399
399
|
break;
|
|
400
400
|
}
|
|
401
|
-
this.skip(
|
|
401
|
+
this.skip(d, t);
|
|
402
402
|
}
|
|
403
403
|
break;
|
|
404
404
|
default:
|
|
@@ -554,8 +554,8 @@ function an(e) {
|
|
|
554
554
|
return "UNRECOGNIZED";
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
var
|
|
558
|
-
function
|
|
557
|
+
var sn = /* @__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))(sn || {});
|
|
558
|
+
function un(e) {
|
|
559
559
|
switch (e) {
|
|
560
560
|
case 0:
|
|
561
561
|
case "SIGNAL_TYPE_INVALID":
|
|
@@ -578,7 +578,7 @@ function sn(e) {
|
|
|
578
578
|
return -1;
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function dn(e) {
|
|
582
582
|
switch (e) {
|
|
583
583
|
case 0:
|
|
584
584
|
return "SIGNAL_TYPE_INVALID";
|
|
@@ -609,17 +609,20 @@ function re() {
|
|
|
609
609
|
offset: 0,
|
|
610
610
|
minValue: 0,
|
|
611
611
|
maxValue: 0,
|
|
612
|
-
enumValues: {}
|
|
612
|
+
enumValues: {},
|
|
613
|
+
isMultiplexer: !1,
|
|
614
|
+
isMultiplexed: !1,
|
|
615
|
+
multiplexValue: void 0
|
|
613
616
|
};
|
|
614
617
|
}
|
|
615
618
|
const S = {
|
|
616
|
-
encode(e, n = new
|
|
619
|
+
encode(e, n = new o()) {
|
|
617
620
|
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, a]) => {
|
|
618
621
|
q.encode({ key: i, value: a }, n.uint32(106).fork()).join();
|
|
619
|
-
}), n;
|
|
622
|
+
}), 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;
|
|
620
623
|
},
|
|
621
624
|
decode(e, n) {
|
|
622
|
-
const i = e instanceof
|
|
625
|
+
const i = e instanceof u ? e : new u(e);
|
|
623
626
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
624
627
|
const r = re();
|
|
625
628
|
for (; i.pos < a; ) {
|
|
@@ -700,8 +703,26 @@ const S = {
|
|
|
700
703
|
case 13: {
|
|
701
704
|
if (t !== 106)
|
|
702
705
|
break;
|
|
703
|
-
const
|
|
704
|
-
|
|
706
|
+
const d = q.decode(i, i.uint32());
|
|
707
|
+
d.value !== void 0 && (r.enumValues[d.key] = d.value);
|
|
708
|
+
continue;
|
|
709
|
+
}
|
|
710
|
+
case 14: {
|
|
711
|
+
if (t !== 112)
|
|
712
|
+
break;
|
|
713
|
+
r.isMultiplexer = i.bool();
|
|
714
|
+
continue;
|
|
715
|
+
}
|
|
716
|
+
case 15: {
|
|
717
|
+
if (t !== 120)
|
|
718
|
+
break;
|
|
719
|
+
r.isMultiplexed = i.bool();
|
|
720
|
+
continue;
|
|
721
|
+
}
|
|
722
|
+
case 16: {
|
|
723
|
+
if (t !== 128)
|
|
724
|
+
break;
|
|
725
|
+
r.multiplexValue = i.int32();
|
|
705
726
|
continue;
|
|
706
727
|
}
|
|
707
728
|
}
|
|
@@ -713,30 +734,33 @@ const S = {
|
|
|
713
734
|
},
|
|
714
735
|
fromJSON(e) {
|
|
715
736
|
return {
|
|
716
|
-
name:
|
|
717
|
-
qualifiedName:
|
|
718
|
-
comment:
|
|
719
|
-
encoding:
|
|
720
|
-
dataType:
|
|
721
|
-
startbit:
|
|
722
|
-
length:
|
|
723
|
-
unit:
|
|
724
|
-
factor:
|
|
725
|
-
offset:
|
|
726
|
-
minValue:
|
|
727
|
-
maxValue:
|
|
728
|
-
enumValues: fn(e.enumValues) ? Object.entries(e.enumValues).reduce((n, [i, a]) => (n[i] = Number(a), n), {}) : {}
|
|
737
|
+
name: c(e.name) ? globalThis.String(e.name) : "",
|
|
738
|
+
qualifiedName: c(e.qualifiedName) ? globalThis.String(e.qualifiedName) : "",
|
|
739
|
+
comment: c(e.comment) ? globalThis.String(e.comment) : "",
|
|
740
|
+
encoding: c(e.encoding) ? rn(e.encoding) : 0,
|
|
741
|
+
dataType: c(e.dataType) ? un(e.dataType) : 0,
|
|
742
|
+
startbit: c(e.startbit) ? globalThis.Number(e.startbit) : 0,
|
|
743
|
+
length: c(e.length) ? globalThis.Number(e.length) : 0,
|
|
744
|
+
unit: c(e.unit) ? globalThis.String(e.unit) : "",
|
|
745
|
+
factor: c(e.factor) ? globalThis.Number(e.factor) : 0,
|
|
746
|
+
offset: c(e.offset) ? globalThis.Number(e.offset) : 0,
|
|
747
|
+
minValue: c(e.minValue) ? globalThis.Number(e.minValue) : 0,
|
|
748
|
+
maxValue: c(e.maxValue) ? globalThis.Number(e.maxValue) : 0,
|
|
749
|
+
enumValues: fn(e.enumValues) ? Object.entries(e.enumValues).reduce((n, [i, a]) => (n[i] = Number(a), n), {}) : {},
|
|
750
|
+
isMultiplexer: c(e.isMultiplexer) ? globalThis.Boolean(e.isMultiplexer) : !1,
|
|
751
|
+
isMultiplexed: c(e.isMultiplexed) ? globalThis.Boolean(e.isMultiplexed) : !1,
|
|
752
|
+
multiplexValue: c(e.multiplexValue) ? globalThis.Number(e.multiplexValue) : void 0
|
|
729
753
|
};
|
|
730
754
|
},
|
|
731
755
|
toJSON(e) {
|
|
732
756
|
const n = {};
|
|
733
|
-
if (e.name !== "" && (n.name = e.name), e.qualifiedName !== "" && (n.qualifiedName = e.qualifiedName), e.comment !== "" && (n.comment = e.comment), e.encoding !== 0 && (n.encoding = an(e.encoding)), e.dataType !== 0 && (n.dataType =
|
|
757
|
+
if (e.name !== "" && (n.name = e.name), e.qualifiedName !== "" && (n.qualifiedName = e.qualifiedName), e.comment !== "" && (n.comment = e.comment), e.encoding !== 0 && (n.encoding = an(e.encoding)), e.dataType !== 0 && (n.dataType = dn(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) {
|
|
734
758
|
const i = Object.entries(e.enumValues);
|
|
735
759
|
i.length > 0 && (n.enumValues = {}, i.forEach(([a, r]) => {
|
|
736
760
|
n.enumValues[a] = Math.round(r);
|
|
737
761
|
}));
|
|
738
762
|
}
|
|
739
|
-
return n;
|
|
763
|
+
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;
|
|
740
764
|
},
|
|
741
765
|
create(e) {
|
|
742
766
|
return S.fromPartial(e ?? {});
|
|
@@ -746,18 +770,18 @@ const S = {
|
|
|
746
770
|
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(
|
|
747
771
|
(i, [a, r]) => (r !== void 0 && (i[a] = globalThis.Number(r)), i),
|
|
748
772
|
{}
|
|
749
|
-
), n;
|
|
773
|
+
), n.isMultiplexer = e.isMultiplexer ?? !1, n.isMultiplexed = e.isMultiplexed ?? !1, n.multiplexValue = e.multiplexValue ?? void 0, n;
|
|
750
774
|
}
|
|
751
775
|
};
|
|
752
776
|
function ae() {
|
|
753
777
|
return { key: "", value: 0 };
|
|
754
778
|
}
|
|
755
779
|
const q = {
|
|
756
|
-
encode(e, n = new
|
|
780
|
+
encode(e, n = new o()) {
|
|
757
781
|
return e.key !== "" && n.uint32(10).string(e.key), e.value !== 0 && n.uint32(16).int32(e.value), n;
|
|
758
782
|
},
|
|
759
783
|
decode(e, n) {
|
|
760
|
-
const i = e instanceof
|
|
784
|
+
const i = e instanceof u ? e : new u(e);
|
|
761
785
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
762
786
|
const r = ae();
|
|
763
787
|
for (; i.pos < a; ) {
|
|
@@ -784,8 +808,8 @@ const q = {
|
|
|
784
808
|
},
|
|
785
809
|
fromJSON(e) {
|
|
786
810
|
return {
|
|
787
|
-
key:
|
|
788
|
-
value:
|
|
811
|
+
key: c(e.key) ? globalThis.String(e.key) : "",
|
|
812
|
+
value: c(e.value) ? globalThis.Number(e.value) : 0
|
|
789
813
|
};
|
|
790
814
|
},
|
|
791
815
|
toJSON(e) {
|
|
@@ -800,19 +824,19 @@ const q = {
|
|
|
800
824
|
return n.key = e.key ?? "", n.value = e.value ?? 0, n;
|
|
801
825
|
}
|
|
802
826
|
};
|
|
803
|
-
function
|
|
827
|
+
function se() {
|
|
804
828
|
return { items: [] };
|
|
805
829
|
}
|
|
806
|
-
const
|
|
807
|
-
encode(e, n = new
|
|
830
|
+
const on = {
|
|
831
|
+
encode(e, n = new o()) {
|
|
808
832
|
for (const i of e.items)
|
|
809
833
|
S.encode(i, n.uint32(10).fork()).join();
|
|
810
834
|
return n;
|
|
811
835
|
},
|
|
812
836
|
decode(e, n) {
|
|
813
|
-
const i = e instanceof
|
|
837
|
+
const i = e instanceof u ? e : new u(e);
|
|
814
838
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
815
|
-
const r =
|
|
839
|
+
const r = se();
|
|
816
840
|
for (; i.pos < a; ) {
|
|
817
841
|
const t = i.uint32();
|
|
818
842
|
switch (t >>> 3) {
|
|
@@ -840,18 +864,18 @@ const dn = {
|
|
|
840
864
|
return (i = e.items) != null && i.length && (n.items = e.items.map((a) => S.toJSON(a))), n;
|
|
841
865
|
},
|
|
842
866
|
create(e) {
|
|
843
|
-
return
|
|
867
|
+
return on.fromPartial(e ?? {});
|
|
844
868
|
},
|
|
845
869
|
fromPartial(e) {
|
|
846
870
|
var i;
|
|
847
|
-
const n =
|
|
871
|
+
const n = se();
|
|
848
872
|
return n.items = ((i = e.items) == null ? void 0 : i.map((a) => S.fromPartial(a))) || [], n;
|
|
849
873
|
}
|
|
850
874
|
};
|
|
851
875
|
function fn(e) {
|
|
852
876
|
return typeof e == "object" && e !== null;
|
|
853
877
|
}
|
|
854
|
-
function
|
|
878
|
+
function c(e) {
|
|
855
879
|
return e != null;
|
|
856
880
|
}
|
|
857
881
|
var ln = /* @__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))(ln || {});
|
|
@@ -1051,20 +1075,20 @@ function An(e) {
|
|
|
1051
1075
|
return "UNRECOGNIZED";
|
|
1052
1076
|
}
|
|
1053
1077
|
}
|
|
1054
|
-
function
|
|
1078
|
+
function ue() {
|
|
1055
1079
|
return { flags: [] };
|
|
1056
1080
|
}
|
|
1057
|
-
const
|
|
1058
|
-
encode(e, n = new
|
|
1081
|
+
const _ = {
|
|
1082
|
+
encode(e, n = new o()) {
|
|
1059
1083
|
n.uint32(10).fork();
|
|
1060
1084
|
for (const i of e.flags)
|
|
1061
1085
|
n.int32(i);
|
|
1062
1086
|
return n.join(), n;
|
|
1063
1087
|
},
|
|
1064
1088
|
decode(e, n) {
|
|
1065
|
-
const i = e instanceof
|
|
1089
|
+
const i = e instanceof u ? e : new u(e);
|
|
1066
1090
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1067
|
-
const r =
|
|
1091
|
+
const r = ue();
|
|
1068
1092
|
for (; i.pos < a; ) {
|
|
1069
1093
|
const t = i.uint32();
|
|
1070
1094
|
switch (t >>> 3) {
|
|
@@ -1074,8 +1098,8 @@ const c = {
|
|
|
1074
1098
|
continue;
|
|
1075
1099
|
}
|
|
1076
1100
|
if (t === 10) {
|
|
1077
|
-
const
|
|
1078
|
-
for (; i.pos <
|
|
1101
|
+
const d = i.uint32() + i.pos;
|
|
1102
|
+
for (; i.pos < d; )
|
|
1079
1103
|
r.flags.push(i.int32());
|
|
1080
1104
|
continue;
|
|
1081
1105
|
}
|
|
@@ -1099,28 +1123,28 @@ const c = {
|
|
|
1099
1123
|
return (i = e.flags) != null && i.length && (n.flags = e.flags.map((a) => _n(a))), n;
|
|
1100
1124
|
},
|
|
1101
1125
|
create(e) {
|
|
1102
|
-
return
|
|
1126
|
+
return _.fromPartial(e ?? {});
|
|
1103
1127
|
},
|
|
1104
1128
|
fromPartial(e) {
|
|
1105
1129
|
var i;
|
|
1106
|
-
const n =
|
|
1130
|
+
const n = ue();
|
|
1107
1131
|
return n.flags = ((i = e.flags) == null ? void 0 : i.map((a) => a)) || [], n;
|
|
1108
1132
|
}
|
|
1109
1133
|
};
|
|
1110
|
-
function
|
|
1134
|
+
function de() {
|
|
1111
1135
|
return { flags: [] };
|
|
1112
1136
|
}
|
|
1113
1137
|
const O = {
|
|
1114
|
-
encode(e, n = new
|
|
1138
|
+
encode(e, n = new o()) {
|
|
1115
1139
|
n.uint32(10).fork();
|
|
1116
1140
|
for (const i of e.flags)
|
|
1117
1141
|
n.int32(i);
|
|
1118
1142
|
return n.join(), n;
|
|
1119
1143
|
},
|
|
1120
1144
|
decode(e, n) {
|
|
1121
|
-
const i = e instanceof
|
|
1145
|
+
const i = e instanceof u ? e : new u(e);
|
|
1122
1146
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1123
|
-
const r =
|
|
1147
|
+
const r = de();
|
|
1124
1148
|
for (; i.pos < a; ) {
|
|
1125
1149
|
const t = i.uint32();
|
|
1126
1150
|
switch (t >>> 3) {
|
|
@@ -1130,8 +1154,8 @@ const O = {
|
|
|
1130
1154
|
continue;
|
|
1131
1155
|
}
|
|
1132
1156
|
if (t === 10) {
|
|
1133
|
-
const
|
|
1134
|
-
for (; i.pos <
|
|
1157
|
+
const d = i.uint32() + i.pos;
|
|
1158
|
+
for (; i.pos < d; )
|
|
1135
1159
|
r.flags.push(i.int32());
|
|
1136
1160
|
continue;
|
|
1137
1161
|
}
|
|
@@ -1159,21 +1183,21 @@ const O = {
|
|
|
1159
1183
|
},
|
|
1160
1184
|
fromPartial(e) {
|
|
1161
1185
|
var i;
|
|
1162
|
-
const n =
|
|
1186
|
+
const n = de();
|
|
1163
1187
|
return n.flags = ((i = e.flags) == null ? void 0 : i.map((a) => a)) || [], n;
|
|
1164
1188
|
}
|
|
1165
1189
|
};
|
|
1166
|
-
function
|
|
1190
|
+
function oe() {
|
|
1167
1191
|
return { stringValue: void 0, doubleValue: void 0 };
|
|
1168
1192
|
}
|
|
1169
1193
|
const M = {
|
|
1170
|
-
encode(e, n = new
|
|
1194
|
+
encode(e, n = new o()) {
|
|
1171
1195
|
return e.stringValue !== void 0 && n.uint32(10).string(e.stringValue), e.doubleValue !== void 0 && n.uint32(17).double(e.doubleValue), n;
|
|
1172
1196
|
},
|
|
1173
1197
|
decode(e, n) {
|
|
1174
|
-
const i = e instanceof
|
|
1198
|
+
const i = e instanceof u ? e : new u(e);
|
|
1175
1199
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1176
|
-
const r =
|
|
1200
|
+
const r = oe();
|
|
1177
1201
|
for (; i.pos < a; ) {
|
|
1178
1202
|
const t = i.uint32();
|
|
1179
1203
|
switch (t >>> 3) {
|
|
@@ -1210,19 +1234,19 @@ const M = {
|
|
|
1210
1234
|
return M.fromPartial(e ?? {});
|
|
1211
1235
|
},
|
|
1212
1236
|
fromPartial(e) {
|
|
1213
|
-
const n =
|
|
1237
|
+
const n = oe();
|
|
1214
1238
|
return n.stringValue = e.stringValue ?? void 0, n.doubleValue = e.doubleValue ?? void 0, n;
|
|
1215
1239
|
}
|
|
1216
1240
|
};
|
|
1217
1241
|
function fe() {
|
|
1218
1242
|
return { name: "", qualifiedName: "", unit: "", stringValue: void 0, doubleValue: void 0 };
|
|
1219
1243
|
}
|
|
1220
|
-
const
|
|
1221
|
-
encode(e, n = new
|
|
1244
|
+
const F = {
|
|
1245
|
+
encode(e, n = new o()) {
|
|
1222
1246
|
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 !== void 0 && n.uint32(41).double(e.doubleValue), n;
|
|
1223
1247
|
},
|
|
1224
1248
|
decode(e, n) {
|
|
1225
|
-
const i = e instanceof
|
|
1249
|
+
const i = e instanceof u ? e : new u(e);
|
|
1226
1250
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1227
1251
|
const r = fe();
|
|
1228
1252
|
for (; i.pos < a; ) {
|
|
@@ -1279,7 +1303,7 @@ const h = {
|
|
|
1279
1303
|
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 !== void 0 && (n.doubleValue = e.doubleValue), n;
|
|
1280
1304
|
},
|
|
1281
1305
|
create(e) {
|
|
1282
|
-
return
|
|
1306
|
+
return F.fromPartial(e ?? {});
|
|
1283
1307
|
},
|
|
1284
1308
|
fromPartial(e) {
|
|
1285
1309
|
const n = fe();
|
|
@@ -1305,7 +1329,7 @@ function le() {
|
|
|
1305
1329
|
};
|
|
1306
1330
|
}
|
|
1307
1331
|
const m = {
|
|
1308
|
-
encode(e, n = new
|
|
1332
|
+
encode(e, n = new o()) {
|
|
1309
1333
|
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();
|
|
1310
1334
|
for (const i of e.data)
|
|
1311
1335
|
n.uint32(i);
|
|
@@ -1313,11 +1337,11 @@ const m = {
|
|
|
1313
1337
|
K.encode({ key: i, value: a }, n.uint32(90).fork()).join();
|
|
1314
1338
|
});
|
|
1315
1339
|
for (const i of e.signalValues)
|
|
1316
|
-
|
|
1317
|
-
return e.canFrameFlags !== void 0 &&
|
|
1340
|
+
F.encode(i, n.uint32(98).fork()).join();
|
|
1341
|
+
return e.canFrameFlags !== void 0 && _.encode(e.canFrameFlags, n.uint32(106).fork()).join(), e.linFrameFlags !== void 0 && O.encode(e.linFrameFlags, n.uint32(114).fork()).join(), n;
|
|
1318
1342
|
},
|
|
1319
1343
|
decode(e, n) {
|
|
1320
|
-
const i = e instanceof
|
|
1344
|
+
const i = e instanceof u ? e : new u(e);
|
|
1321
1345
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1322
1346
|
const r = le();
|
|
1323
1347
|
for (; i.pos < a; ) {
|
|
@@ -1359,8 +1383,8 @@ const m = {
|
|
|
1359
1383
|
continue;
|
|
1360
1384
|
}
|
|
1361
1385
|
if (t === 50) {
|
|
1362
|
-
const
|
|
1363
|
-
for (; i.pos <
|
|
1386
|
+
const d = i.uint32() + i.pos;
|
|
1387
|
+
for (; i.pos < d; )
|
|
1364
1388
|
r.data.push(i.uint32());
|
|
1365
1389
|
continue;
|
|
1366
1390
|
}
|
|
@@ -1393,20 +1417,20 @@ const m = {
|
|
|
1393
1417
|
case 11: {
|
|
1394
1418
|
if (t !== 90)
|
|
1395
1419
|
break;
|
|
1396
|
-
const
|
|
1397
|
-
|
|
1420
|
+
const d = K.decode(i, i.uint32());
|
|
1421
|
+
d.value !== void 0 && (r.properties[d.key] = d.value);
|
|
1398
1422
|
continue;
|
|
1399
1423
|
}
|
|
1400
1424
|
case 12: {
|
|
1401
1425
|
if (t !== 98)
|
|
1402
1426
|
break;
|
|
1403
|
-
r.signalValues.push(
|
|
1427
|
+
r.signalValues.push(F.decode(i, i.uint32()));
|
|
1404
1428
|
continue;
|
|
1405
1429
|
}
|
|
1406
1430
|
case 13: {
|
|
1407
1431
|
if (t !== 106)
|
|
1408
1432
|
break;
|
|
1409
|
-
r.canFrameFlags =
|
|
1433
|
+
r.canFrameFlags = _.decode(i, i.uint32());
|
|
1410
1434
|
continue;
|
|
1411
1435
|
}
|
|
1412
1436
|
case 14: {
|
|
@@ -1435,8 +1459,8 @@ const m = {
|
|
|
1435
1459
|
dlc: f(e.dlc) ? globalThis.Number(e.dlc) : 0,
|
|
1436
1460
|
hashCode: f(e.hashCode) ? globalThis.Number(e.hashCode) : 0,
|
|
1437
1461
|
properties: In(e.properties) ? Object.entries(e.properties).reduce((n, [i, a]) => (n[i] = M.fromJSON(a), n), {}) : {},
|
|
1438
|
-
signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) =>
|
|
1439
|
-
canFrameFlags: f(e.canFrameFlags) ?
|
|
1462
|
+
signalValues: globalThis.Array.isArray(e == null ? void 0 : e.signalValues) ? e.signalValues.map((n) => F.fromJSON(n)) : [],
|
|
1463
|
+
canFrameFlags: f(e.canFrameFlags) ? _.fromJSON(e.canFrameFlags) : void 0,
|
|
1440
1464
|
linFrameFlags: f(e.linFrameFlags) ? O.fromJSON(e.linFrameFlags) : void 0
|
|
1441
1465
|
};
|
|
1442
1466
|
},
|
|
@@ -1445,11 +1469,11 @@ const m = {
|
|
|
1445
1469
|
const n = {};
|
|
1446
1470
|
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((r) => Math.round(r))), 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) {
|
|
1447
1471
|
const r = Object.entries(e.properties);
|
|
1448
|
-
r.length > 0 && (n.properties = {}, r.forEach(([t,
|
|
1449
|
-
n.properties[t] = M.toJSON(
|
|
1472
|
+
r.length > 0 && (n.properties = {}, r.forEach(([t, d]) => {
|
|
1473
|
+
n.properties[t] = M.toJSON(d);
|
|
1450
1474
|
}));
|
|
1451
1475
|
}
|
|
1452
|
-
return (a = e.signalValues) != null && a.length && (n.signalValues = e.signalValues.map((r) =>
|
|
1476
|
+
return (a = e.signalValues) != null && a.length && (n.signalValues = e.signalValues.map((r) => F.toJSON(r))), e.canFrameFlags !== void 0 && (n.canFrameFlags = _.toJSON(e.canFrameFlags)), e.linFrameFlags !== void 0 && (n.linFrameFlags = O.toJSON(e.linFrameFlags)), n;
|
|
1453
1477
|
},
|
|
1454
1478
|
create(e) {
|
|
1455
1479
|
return m.fromPartial(e ?? {});
|
|
@@ -1458,20 +1482,20 @@ const m = {
|
|
|
1458
1482
|
var i, a;
|
|
1459
1483
|
const n = le();
|
|
1460
1484
|
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((r) => r)) || [], 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(
|
|
1461
|
-
(r, [t,
|
|
1485
|
+
(r, [t, d]) => (d !== void 0 && (r[t] = M.fromPartial(d)), r),
|
|
1462
1486
|
{}
|
|
1463
|
-
), n.signalValues = ((a = e.signalValues) == null ? void 0 : a.map((r) =>
|
|
1487
|
+
), n.signalValues = ((a = e.signalValues) == null ? void 0 : a.map((r) => F.fromPartial(r))) || [], n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ? _.fromPartial(e.canFrameFlags) : void 0, n.linFrameFlags = e.linFrameFlags !== void 0 && e.linFrameFlags !== null ? O.fromPartial(e.linFrameFlags) : void 0, n;
|
|
1464
1488
|
}
|
|
1465
1489
|
};
|
|
1466
1490
|
function ce() {
|
|
1467
1491
|
return { key: "", value: void 0 };
|
|
1468
1492
|
}
|
|
1469
1493
|
const K = {
|
|
1470
|
-
encode(e, n = new
|
|
1494
|
+
encode(e, n = new o()) {
|
|
1471
1495
|
return e.key !== "" && n.uint32(10).string(e.key), e.value !== void 0 && M.encode(e.value, n.uint32(18).fork()).join(), n;
|
|
1472
1496
|
},
|
|
1473
1497
|
decode(e, n) {
|
|
1474
|
-
const i = e instanceof
|
|
1498
|
+
const i = e instanceof u ? e : new u(e);
|
|
1475
1499
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1476
1500
|
const r = ce();
|
|
1477
1501
|
for (; i.pos < a; ) {
|
|
@@ -1518,13 +1542,13 @@ function _e() {
|
|
|
1518
1542
|
return { items: [] };
|
|
1519
1543
|
}
|
|
1520
1544
|
const Rn = {
|
|
1521
|
-
encode(e, n = new
|
|
1545
|
+
encode(e, n = new o()) {
|
|
1522
1546
|
for (const i of e.items)
|
|
1523
1547
|
m.encode(i, n.uint32(10).fork()).join();
|
|
1524
1548
|
return n;
|
|
1525
1549
|
},
|
|
1526
1550
|
decode(e, n) {
|
|
1527
|
-
const i = e instanceof
|
|
1551
|
+
const i = e instanceof u ? e : new u(e);
|
|
1528
1552
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1529
1553
|
const r = _e();
|
|
1530
1554
|
for (; i.pos < a; ) {
|
|
@@ -1564,14 +1588,14 @@ function Ne() {
|
|
|
1564
1588
|
return { id: 0, data: [], canFrameFlags: void 0, linFrameFlags: void 0 };
|
|
1565
1589
|
}
|
|
1566
1590
|
const L = {
|
|
1567
|
-
encode(e, n = new
|
|
1591
|
+
encode(e, n = new o()) {
|
|
1568
1592
|
e.id !== 0 && n.uint32(8).int32(e.id), n.uint32(18).fork();
|
|
1569
1593
|
for (const i of e.data)
|
|
1570
1594
|
n.uint32(i);
|
|
1571
|
-
return n.join(), e.canFrameFlags !== void 0 &&
|
|
1595
|
+
return n.join(), e.canFrameFlags !== void 0 && _.encode(e.canFrameFlags, n.uint32(26).fork()).join(), e.linFrameFlags !== void 0 && O.encode(e.linFrameFlags, n.uint32(34).fork()).join(), n;
|
|
1572
1596
|
},
|
|
1573
1597
|
decode(e, n) {
|
|
1574
|
-
const i = e instanceof
|
|
1598
|
+
const i = e instanceof u ? e : new u(e);
|
|
1575
1599
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1576
1600
|
const r = Ne();
|
|
1577
1601
|
for (; i.pos < a; ) {
|
|
@@ -1589,8 +1613,8 @@ const L = {
|
|
|
1589
1613
|
continue;
|
|
1590
1614
|
}
|
|
1591
1615
|
if (t === 18) {
|
|
1592
|
-
const
|
|
1593
|
-
for (; i.pos <
|
|
1616
|
+
const d = i.uint32() + i.pos;
|
|
1617
|
+
for (; i.pos < d; )
|
|
1594
1618
|
r.data.push(i.uint32());
|
|
1595
1619
|
continue;
|
|
1596
1620
|
}
|
|
@@ -1599,7 +1623,7 @@ const L = {
|
|
|
1599
1623
|
case 3: {
|
|
1600
1624
|
if (t !== 26)
|
|
1601
1625
|
break;
|
|
1602
|
-
r.canFrameFlags =
|
|
1626
|
+
r.canFrameFlags = _.decode(i, i.uint32());
|
|
1603
1627
|
continue;
|
|
1604
1628
|
}
|
|
1605
1629
|
case 4: {
|
|
@@ -1619,14 +1643,14 @@ const L = {
|
|
|
1619
1643
|
return {
|
|
1620
1644
|
id: f(e.id) ? globalThis.Number(e.id) : 0,
|
|
1621
1645
|
data: globalThis.Array.isArray(e == null ? void 0 : e.data) ? e.data.map((n) => globalThis.Number(n)) : [],
|
|
1622
|
-
canFrameFlags: f(e.canFrameFlags) ?
|
|
1646
|
+
canFrameFlags: f(e.canFrameFlags) ? _.fromJSON(e.canFrameFlags) : void 0,
|
|
1623
1647
|
linFrameFlags: f(e.linFrameFlags) ? O.fromJSON(e.linFrameFlags) : void 0
|
|
1624
1648
|
};
|
|
1625
1649
|
},
|
|
1626
1650
|
toJSON(e) {
|
|
1627
1651
|
var i;
|
|
1628
1652
|
const n = {};
|
|
1629
|
-
return e.id !== 0 && (n.id = Math.round(e.id)), (i = e.data) != null && i.length && (n.data = e.data.map((a) => Math.round(a))), e.canFrameFlags !== void 0 && (n.canFrameFlags =
|
|
1653
|
+
return e.id !== 0 && (n.id = Math.round(e.id)), (i = e.data) != null && i.length && (n.data = e.data.map((a) => Math.round(a))), e.canFrameFlags !== void 0 && (n.canFrameFlags = _.toJSON(e.canFrameFlags)), e.linFrameFlags !== void 0 && (n.linFrameFlags = O.toJSON(e.linFrameFlags)), n;
|
|
1630
1654
|
},
|
|
1631
1655
|
create(e) {
|
|
1632
1656
|
return L.fromPartial(e ?? {});
|
|
@@ -1634,21 +1658,21 @@ const L = {
|
|
|
1634
1658
|
fromPartial(e) {
|
|
1635
1659
|
var i;
|
|
1636
1660
|
const n = Ne();
|
|
1637
|
-
return n.id = e.id ?? 0, n.data = ((i = e.data) == null ? void 0 : i.map((a) => a)) || [], n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ?
|
|
1661
|
+
return n.id = e.id ?? 0, n.data = ((i = e.data) == null ? void 0 : i.map((a) => a)) || [], n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ? _.fromPartial(e.canFrameFlags) : void 0, n.linFrameFlags = e.linFrameFlags !== void 0 && e.linFrameFlags !== null ? O.fromPartial(e.linFrameFlags) : void 0, n;
|
|
1638
1662
|
}
|
|
1639
1663
|
};
|
|
1640
1664
|
function Ee() {
|
|
1641
|
-
return { id: 0, messageName: "", messageQualifiedName: "", signals: [], canFrameFlags: void 0 };
|
|
1665
|
+
return { id: 0, messageName: "", messageQualifiedName: "", dataLength: 0, signals: [], canFrameFlags: void 0 };
|
|
1642
1666
|
}
|
|
1643
1667
|
const g = {
|
|
1644
|
-
encode(e, n = new
|
|
1645
|
-
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);
|
|
1668
|
+
encode(e, n = new o()) {
|
|
1669
|
+
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);
|
|
1646
1670
|
for (const i of e.signals)
|
|
1647
|
-
S.encode(i, n.uint32(
|
|
1648
|
-
return e.canFrameFlags !== void 0 &&
|
|
1671
|
+
S.encode(i, n.uint32(42).fork()).join();
|
|
1672
|
+
return e.canFrameFlags !== void 0 && _.encode(e.canFrameFlags, n.uint32(50).fork()).join(), n;
|
|
1649
1673
|
},
|
|
1650
1674
|
decode(e, n) {
|
|
1651
|
-
const i = e instanceof
|
|
1675
|
+
const i = e instanceof u ? e : new u(e);
|
|
1652
1676
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1653
1677
|
const r = Ee();
|
|
1654
1678
|
for (; i.pos < a; ) {
|
|
@@ -1673,15 +1697,21 @@ const g = {
|
|
|
1673
1697
|
continue;
|
|
1674
1698
|
}
|
|
1675
1699
|
case 4: {
|
|
1676
|
-
if (t !==
|
|
1700
|
+
if (t !== 32)
|
|
1677
1701
|
break;
|
|
1678
|
-
r.
|
|
1702
|
+
r.dataLength = i.int32();
|
|
1679
1703
|
continue;
|
|
1680
1704
|
}
|
|
1681
1705
|
case 5: {
|
|
1682
1706
|
if (t !== 42)
|
|
1683
1707
|
break;
|
|
1684
|
-
r.
|
|
1708
|
+
r.signals.push(S.decode(i, i.uint32()));
|
|
1709
|
+
continue;
|
|
1710
|
+
}
|
|
1711
|
+
case 6: {
|
|
1712
|
+
if (t !== 50)
|
|
1713
|
+
break;
|
|
1714
|
+
r.canFrameFlags = _.decode(i, i.uint32());
|
|
1685
1715
|
continue;
|
|
1686
1716
|
}
|
|
1687
1717
|
}
|
|
@@ -1696,14 +1726,15 @@ const g = {
|
|
|
1696
1726
|
id: f(e.id) ? globalThis.Number(e.id) : 0,
|
|
1697
1727
|
messageName: f(e.messageName) ? globalThis.String(e.messageName) : "",
|
|
1698
1728
|
messageQualifiedName: f(e.messageQualifiedName) ? globalThis.String(e.messageQualifiedName) : "",
|
|
1729
|
+
dataLength: f(e.dataLength) ? globalThis.Number(e.dataLength) : 0,
|
|
1699
1730
|
signals: globalThis.Array.isArray(e == null ? void 0 : e.signals) ? e.signals.map((n) => S.fromJSON(n)) : [],
|
|
1700
|
-
canFrameFlags: f(e.canFrameFlags) ?
|
|
1731
|
+
canFrameFlags: f(e.canFrameFlags) ? _.fromJSON(e.canFrameFlags) : void 0
|
|
1701
1732
|
};
|
|
1702
1733
|
},
|
|
1703
1734
|
toJSON(e) {
|
|
1704
1735
|
var i;
|
|
1705
1736
|
const n = {};
|
|
1706
|
-
return e.id !== 0 && (n.id = Math.round(e.id)), e.messageName !== "" && (n.messageName = e.messageName), e.messageQualifiedName !== "" && (n.messageQualifiedName = e.messageQualifiedName), (i = e.signals) != null && i.length && (n.signals = e.signals.map((a) => S.toJSON(a))), e.canFrameFlags !== void 0 && (n.canFrameFlags =
|
|
1737
|
+
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((a) => S.toJSON(a))), e.canFrameFlags !== void 0 && (n.canFrameFlags = _.toJSON(e.canFrameFlags)), n;
|
|
1707
1738
|
},
|
|
1708
1739
|
create(e) {
|
|
1709
1740
|
return g.fromPartial(e ?? {});
|
|
@@ -1711,20 +1742,20 @@ const g = {
|
|
|
1711
1742
|
fromPartial(e) {
|
|
1712
1743
|
var i;
|
|
1713
1744
|
const n = Ee();
|
|
1714
|
-
return n.id = e.id ?? 0, n.messageName = e.messageName ?? "", n.messageQualifiedName = e.messageQualifiedName ?? "", n.signals = ((i = e.signals) == null ? void 0 : i.map((a) => S.fromPartial(a))) || [], n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ?
|
|
1745
|
+
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((a) => S.fromPartial(a))) || [], n.canFrameFlags = e.canFrameFlags !== void 0 && e.canFrameFlags !== null ? _.fromPartial(e.canFrameFlags) : void 0, n;
|
|
1715
1746
|
}
|
|
1716
1747
|
};
|
|
1717
1748
|
function Ae() {
|
|
1718
1749
|
return { items: [] };
|
|
1719
1750
|
}
|
|
1720
1751
|
const Sn = {
|
|
1721
|
-
encode(e, n = new
|
|
1752
|
+
encode(e, n = new o()) {
|
|
1722
1753
|
for (const i of e.items)
|
|
1723
1754
|
g.encode(i, n.uint32(10).fork()).join();
|
|
1724
1755
|
return n;
|
|
1725
1756
|
},
|
|
1726
1757
|
decode(e, n) {
|
|
1727
|
-
const i = e instanceof
|
|
1758
|
+
const i = e instanceof u ? e : new u(e);
|
|
1728
1759
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1729
1760
|
const r = Ae();
|
|
1730
1761
|
for (; i.pos < a; ) {
|
|
@@ -1765,12 +1796,12 @@ const Sn = {
|
|
|
1765
1796
|
function Re() {
|
|
1766
1797
|
return { messageQualifiedName: "", delay: 0 };
|
|
1767
1798
|
}
|
|
1768
|
-
const
|
|
1769
|
-
encode(e, n = new
|
|
1799
|
+
const p = {
|
|
1800
|
+
encode(e, n = new o()) {
|
|
1770
1801
|
return e.messageQualifiedName !== "" && n.uint32(10).string(e.messageQualifiedName), e.delay !== 0 && n.uint32(17).double(e.delay), n;
|
|
1771
1802
|
},
|
|
1772
1803
|
decode(e, n) {
|
|
1773
|
-
const i = e instanceof
|
|
1804
|
+
const i = e instanceof u ? e : new u(e);
|
|
1774
1805
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1775
1806
|
const r = Re();
|
|
1776
1807
|
for (; i.pos < a; ) {
|
|
@@ -1806,7 +1837,7 @@ const G = {
|
|
|
1806
1837
|
return e.messageQualifiedName !== "" && (n.messageQualifiedName = e.messageQualifiedName), e.delay !== 0 && (n.delay = e.delay), n;
|
|
1807
1838
|
},
|
|
1808
1839
|
create(e) {
|
|
1809
|
-
return
|
|
1840
|
+
return p.fromPartial(e ?? {});
|
|
1810
1841
|
},
|
|
1811
1842
|
fromPartial(e) {
|
|
1812
1843
|
const n = Re();
|
|
@@ -1817,14 +1848,14 @@ function Se() {
|
|
|
1817
1848
|
return { name: "", qualifiedName: "", entries: [] };
|
|
1818
1849
|
}
|
|
1819
1850
|
const On = {
|
|
1820
|
-
encode(e, n = new
|
|
1851
|
+
encode(e, n = new o()) {
|
|
1821
1852
|
e.name !== "" && n.uint32(10).string(e.name), e.qualifiedName !== "" && n.uint32(18).string(e.qualifiedName);
|
|
1822
1853
|
for (const i of e.entries)
|
|
1823
|
-
|
|
1854
|
+
p.encode(i, n.uint32(26).fork()).join();
|
|
1824
1855
|
return n;
|
|
1825
1856
|
},
|
|
1826
1857
|
decode(e, n) {
|
|
1827
|
-
const i = e instanceof
|
|
1858
|
+
const i = e instanceof u ? e : new u(e);
|
|
1828
1859
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
1829
1860
|
const r = Se();
|
|
1830
1861
|
for (; i.pos < a; ) {
|
|
@@ -1845,7 +1876,7 @@ const On = {
|
|
|
1845
1876
|
case 3: {
|
|
1846
1877
|
if (t !== 26)
|
|
1847
1878
|
break;
|
|
1848
|
-
r.entries.push(
|
|
1879
|
+
r.entries.push(p.decode(i, i.uint32()));
|
|
1849
1880
|
continue;
|
|
1850
1881
|
}
|
|
1851
1882
|
}
|
|
@@ -1859,13 +1890,13 @@ const On = {
|
|
|
1859
1890
|
return {
|
|
1860
1891
|
name: f(e.name) ? globalThis.String(e.name) : "",
|
|
1861
1892
|
qualifiedName: f(e.qualifiedName) ? globalThis.String(e.qualifiedName) : "",
|
|
1862
|
-
entries: globalThis.Array.isArray(e == null ? void 0 : e.entries) ? e.entries.map((n) =>
|
|
1893
|
+
entries: globalThis.Array.isArray(e == null ? void 0 : e.entries) ? e.entries.map((n) => p.fromJSON(n)) : []
|
|
1863
1894
|
};
|
|
1864
1895
|
},
|
|
1865
1896
|
toJSON(e) {
|
|
1866
1897
|
var i;
|
|
1867
1898
|
const n = {};
|
|
1868
|
-
return e.name !== "" && (n.name = e.name), e.qualifiedName !== "" && (n.qualifiedName = e.qualifiedName), (i = e.entries) != null && i.length && (n.entries = e.entries.map((a) =>
|
|
1899
|
+
return e.name !== "" && (n.name = e.name), e.qualifiedName !== "" && (n.qualifiedName = e.qualifiedName), (i = e.entries) != null && i.length && (n.entries = e.entries.map((a) => p.toJSON(a))), n;
|
|
1869
1900
|
},
|
|
1870
1901
|
create(e) {
|
|
1871
1902
|
return On.fromPartial(e ?? {});
|
|
@@ -1873,7 +1904,7 @@ const On = {
|
|
|
1873
1904
|
fromPartial(e) {
|
|
1874
1905
|
var i;
|
|
1875
1906
|
const n = Se();
|
|
1876
|
-
return n.name = e.name ?? "", n.qualifiedName = e.qualifiedName ?? "", n.entries = ((i = e.entries) == null ? void 0 : i.map((a) =>
|
|
1907
|
+
return n.name = e.name ?? "", n.qualifiedName = e.qualifiedName ?? "", n.entries = ((i = e.entries) == null ? void 0 : i.map((a) => p.fromPartial(a))) || [], n;
|
|
1877
1908
|
}
|
|
1878
1909
|
};
|
|
1879
1910
|
function In(e) {
|
|
@@ -1903,7 +1934,7 @@ function Mn(e) {
|
|
|
1903
1934
|
return -1;
|
|
1904
1935
|
}
|
|
1905
1936
|
}
|
|
1906
|
-
function
|
|
1937
|
+
function hn(e) {
|
|
1907
1938
|
switch (e) {
|
|
1908
1939
|
case 0:
|
|
1909
1940
|
return "CAN_MODE_UNSPECIFIED";
|
|
@@ -1918,7 +1949,7 @@ function Fn(e) {
|
|
|
1918
1949
|
return "UNRECOGNIZED";
|
|
1919
1950
|
}
|
|
1920
1951
|
}
|
|
1921
|
-
var
|
|
1952
|
+
var Fn = /* @__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))(Fn || {});
|
|
1922
1953
|
function mn(e) {
|
|
1923
1954
|
switch (e) {
|
|
1924
1955
|
case 0:
|
|
@@ -1955,7 +1986,7 @@ function Ln(e) {
|
|
|
1955
1986
|
}
|
|
1956
1987
|
}
|
|
1957
1988
|
var gn = /* @__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))(gn || {});
|
|
1958
|
-
function
|
|
1989
|
+
function pn(e) {
|
|
1959
1990
|
switch (e) {
|
|
1960
1991
|
case 0:
|
|
1961
1992
|
case "SIGNAL_VALUE_TRIGGER_OPERATOR_UNSPECIFIED":
|
|
@@ -1993,7 +2024,7 @@ function Gn(e) {
|
|
|
1993
2024
|
return -1;
|
|
1994
2025
|
}
|
|
1995
2026
|
}
|
|
1996
|
-
function
|
|
2027
|
+
function Gn(e) {
|
|
1997
2028
|
switch (e) {
|
|
1998
2029
|
case 0:
|
|
1999
2030
|
return "SIGNAL_VALUE_TRIGGER_OPERATOR_UNSPECIFIED";
|
|
@@ -2020,7 +2051,7 @@ function Cn(e) {
|
|
|
2020
2051
|
return "UNRECOGNIZED";
|
|
2021
2052
|
}
|
|
2022
2053
|
}
|
|
2023
|
-
var
|
|
2054
|
+
var Cn = /* @__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))(Cn || {});
|
|
2024
2055
|
function Oe(e) {
|
|
2025
2056
|
switch (e) {
|
|
2026
2057
|
case 0:
|
|
@@ -2051,8 +2082,8 @@ function Ie(e) {
|
|
|
2051
2082
|
return "UNRECOGNIZED";
|
|
2052
2083
|
}
|
|
2053
2084
|
}
|
|
2054
|
-
var
|
|
2055
|
-
function
|
|
2085
|
+
var kn = /* @__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 = 103] = "LOG_FILE_FORMAT_J1587", 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))(kn || {});
|
|
2086
|
+
function Pn(e) {
|
|
2056
2087
|
switch (e) {
|
|
2057
2088
|
case 0:
|
|
2058
2089
|
case "LOG_FILE_FORMAT_UNSPECIFIED":
|
|
@@ -2129,7 +2160,7 @@ function kn(e) {
|
|
|
2129
2160
|
return -1;
|
|
2130
2161
|
}
|
|
2131
2162
|
}
|
|
2132
|
-
function
|
|
2163
|
+
function Dn(e) {
|
|
2133
2164
|
switch (e) {
|
|
2134
2165
|
case 0:
|
|
2135
2166
|
return "LOG_FILE_FORMAT_UNSPECIFIED";
|
|
@@ -2182,8 +2213,8 @@ function Pn(e) {
|
|
|
2182
2213
|
return "UNRECOGNIZED";
|
|
2183
2214
|
}
|
|
2184
2215
|
}
|
|
2185
|
-
var
|
|
2186
|
-
function
|
|
2216
|
+
var bn = /* @__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))(bn || {});
|
|
2217
|
+
function Vn(e) {
|
|
2187
2218
|
switch (e) {
|
|
2188
2219
|
case 0:
|
|
2189
2220
|
case "FILE_CONFLICT_ACTION_UNSPECIFIED":
|
|
@@ -2218,7 +2249,7 @@ function yn(e) {
|
|
|
2218
2249
|
return "UNRECOGNIZED";
|
|
2219
2250
|
}
|
|
2220
2251
|
}
|
|
2221
|
-
var
|
|
2252
|
+
var xn = /* @__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))(xn || {});
|
|
2222
2253
|
function Un(e) {
|
|
2223
2254
|
switch (e) {
|
|
2224
2255
|
case 0:
|
|
@@ -2249,7 +2280,7 @@ function Bn(e) {
|
|
|
2249
2280
|
return "UNRECOGNIZED";
|
|
2250
2281
|
}
|
|
2251
2282
|
}
|
|
2252
|
-
var
|
|
2283
|
+
var vn = /* @__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))(vn || {});
|
|
2253
2284
|
function Jn(e) {
|
|
2254
2285
|
switch (e) {
|
|
2255
2286
|
case 0:
|
|
@@ -2315,11 +2346,11 @@ function Te() {
|
|
|
2315
2346
|
return { bitRate: 0, timeSegment1: 0, timeSegment2: 0, syncJumpWidth: 0, numberOfSamplePoints: 0, prescaler: 0 };
|
|
2316
2347
|
}
|
|
2317
2348
|
const A = {
|
|
2318
|
-
encode(e, n = new
|
|
2349
|
+
encode(e, n = new o()) {
|
|
2319
2350
|
return e.bitRate !== 0 && n.uint32(8).int32(e.bitRate), e.timeSegment1 !== 0 && n.uint32(16).int32(e.timeSegment1), e.timeSegment2 !== 0 && n.uint32(24).int32(e.timeSegment2), e.syncJumpWidth !== 0 && n.uint32(32).int32(e.syncJumpWidth), e.numberOfSamplePoints !== 0 && n.uint32(40).int32(e.numberOfSamplePoints), e.prescaler !== 0 && n.uint32(48).int32(e.prescaler), n;
|
|
2320
2351
|
},
|
|
2321
2352
|
decode(e, n) {
|
|
2322
|
-
const i = e instanceof
|
|
2353
|
+
const i = e instanceof u ? e : new u(e);
|
|
2323
2354
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
2324
2355
|
const r = Te();
|
|
2325
2356
|
for (; i.pos < a; ) {
|
|
@@ -2370,12 +2401,12 @@ const A = {
|
|
|
2370
2401
|
},
|
|
2371
2402
|
fromJSON(e) {
|
|
2372
2403
|
return {
|
|
2373
|
-
bitRate:
|
|
2374
|
-
timeSegment1:
|
|
2375
|
-
timeSegment2:
|
|
2376
|
-
syncJumpWidth:
|
|
2377
|
-
numberOfSamplePoints:
|
|
2378
|
-
prescaler:
|
|
2404
|
+
bitRate: s(e.bitRate) ? globalThis.Number(e.bitRate) : 0,
|
|
2405
|
+
timeSegment1: s(e.timeSegment1) ? globalThis.Number(e.timeSegment1) : 0,
|
|
2406
|
+
timeSegment2: s(e.timeSegment2) ? globalThis.Number(e.timeSegment2) : 0,
|
|
2407
|
+
syncJumpWidth: s(e.syncJumpWidth) ? globalThis.Number(e.syncJumpWidth) : 0,
|
|
2408
|
+
numberOfSamplePoints: s(e.numberOfSamplePoints) ? globalThis.Number(e.numberOfSamplePoints) : 0,
|
|
2409
|
+
prescaler: s(e.prescaler) ? globalThis.Number(e.prescaler) : 0
|
|
2379
2410
|
};
|
|
2380
2411
|
},
|
|
2381
2412
|
toJSON(e) {
|
|
@@ -2393,12 +2424,12 @@ const A = {
|
|
|
2393
2424
|
function Me() {
|
|
2394
2425
|
return { canMode: 0, accessMode: 0, silentMode: !1, busSpeed: void 0, busSpeedDataPhase: void 0 };
|
|
2395
2426
|
}
|
|
2396
|
-
const
|
|
2397
|
-
encode(e, n = new
|
|
2427
|
+
const G = {
|
|
2428
|
+
encode(e, n = new o()) {
|
|
2398
2429
|
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.busSpeed !== void 0 && A.encode(e.busSpeed, n.uint32(34).fork()).join(), e.busSpeedDataPhase !== void 0 && A.encode(e.busSpeedDataPhase, n.uint32(42).fork()).join(), n;
|
|
2399
2430
|
},
|
|
2400
2431
|
decode(e, n) {
|
|
2401
|
-
const i = e instanceof
|
|
2432
|
+
const i = e instanceof u ? e : new u(e);
|
|
2402
2433
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
2403
2434
|
const r = Me();
|
|
2404
2435
|
for (; i.pos < a; ) {
|
|
@@ -2443,36 +2474,36 @@ const C = {
|
|
|
2443
2474
|
},
|
|
2444
2475
|
fromJSON(e) {
|
|
2445
2476
|
return {
|
|
2446
|
-
canMode:
|
|
2447
|
-
accessMode:
|
|
2448
|
-
silentMode:
|
|
2449
|
-
busSpeed:
|
|
2450
|
-
busSpeedDataPhase:
|
|
2477
|
+
canMode: s(e.canMode) ? Mn(e.canMode) : 0,
|
|
2478
|
+
accessMode: s(e.accessMode) ? mn(e.accessMode) : 0,
|
|
2479
|
+
silentMode: s(e.silentMode) ? globalThis.Boolean(e.silentMode) : !1,
|
|
2480
|
+
busSpeed: s(e.busSpeed) ? A.fromJSON(e.busSpeed) : void 0,
|
|
2481
|
+
busSpeedDataPhase: s(e.busSpeedDataPhase) ? A.fromJSON(e.busSpeedDataPhase) : void 0
|
|
2451
2482
|
};
|
|
2452
2483
|
},
|
|
2453
2484
|
toJSON(e) {
|
|
2454
2485
|
const n = {};
|
|
2455
|
-
return e.canMode !== 0 && (n.canMode =
|
|
2486
|
+
return e.canMode !== 0 && (n.canMode = hn(e.canMode)), e.accessMode !== 0 && (n.accessMode = Ln(e.accessMode)), e.silentMode !== !1 && (n.silentMode = e.silentMode), e.busSpeed !== void 0 && (n.busSpeed = A.toJSON(e.busSpeed)), e.busSpeedDataPhase !== void 0 && (n.busSpeedDataPhase = A.toJSON(e.busSpeedDataPhase)), n;
|
|
2456
2487
|
},
|
|
2457
2488
|
create(e) {
|
|
2458
|
-
return
|
|
2489
|
+
return G.fromPartial(e ?? {});
|
|
2459
2490
|
},
|
|
2460
2491
|
fromPartial(e) {
|
|
2461
2492
|
const n = Me();
|
|
2462
2493
|
return n.canMode = e.canMode ?? 0, n.accessMode = e.accessMode ?? 0, n.silentMode = e.silentMode ?? !1, n.busSpeed = e.busSpeed !== void 0 && e.busSpeed !== null ? A.fromPartial(e.busSpeed) : void 0, n.busSpeedDataPhase = e.busSpeedDataPhase !== void 0 && e.busSpeedDataPhase !== null ? A.fromPartial(e.busSpeedDataPhase) : void 0, n;
|
|
2463
2494
|
}
|
|
2464
2495
|
};
|
|
2465
|
-
function
|
|
2496
|
+
function he() {
|
|
2466
2497
|
return { bitRate: 0, protocolVersion: "", masterMode: !1, databaseFile: void 0, scheduleTable: void 0 };
|
|
2467
2498
|
}
|
|
2468
|
-
const
|
|
2469
|
-
encode(e, n = new
|
|
2499
|
+
const C = {
|
|
2500
|
+
encode(e, n = new o()) {
|
|
2470
2501
|
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), n;
|
|
2471
2502
|
},
|
|
2472
2503
|
decode(e, n) {
|
|
2473
|
-
const i = e instanceof
|
|
2504
|
+
const i = e instanceof u ? e : new u(e);
|
|
2474
2505
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
2475
|
-
const r =
|
|
2506
|
+
const r = he();
|
|
2476
2507
|
for (; i.pos < a; ) {
|
|
2477
2508
|
const t = i.uint32();
|
|
2478
2509
|
switch (t >>> 3) {
|
|
@@ -2515,11 +2546,11 @@ const p = {
|
|
|
2515
2546
|
},
|
|
2516
2547
|
fromJSON(e) {
|
|
2517
2548
|
return {
|
|
2518
|
-
bitRate:
|
|
2519
|
-
protocolVersion:
|
|
2520
|
-
masterMode:
|
|
2521
|
-
databaseFile:
|
|
2522
|
-
scheduleTable:
|
|
2549
|
+
bitRate: s(e.bitRate) ? globalThis.Number(e.bitRate) : 0,
|
|
2550
|
+
protocolVersion: s(e.protocolVersion) ? globalThis.String(e.protocolVersion) : "",
|
|
2551
|
+
masterMode: s(e.masterMode) ? globalThis.Boolean(e.masterMode) : !1,
|
|
2552
|
+
databaseFile: s(e.databaseFile) ? globalThis.String(e.databaseFile) : void 0,
|
|
2553
|
+
scheduleTable: s(e.scheduleTable) ? globalThis.String(e.scheduleTable) : void 0
|
|
2523
2554
|
};
|
|
2524
2555
|
},
|
|
2525
2556
|
toJSON(e) {
|
|
@@ -2527,14 +2558,14 @@ const p = {
|
|
|
2527
2558
|
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), n;
|
|
2528
2559
|
},
|
|
2529
2560
|
create(e) {
|
|
2530
|
-
return
|
|
2561
|
+
return C.fromPartial(e ?? {});
|
|
2531
2562
|
},
|
|
2532
2563
|
fromPartial(e) {
|
|
2533
|
-
const n =
|
|
2564
|
+
const n = he();
|
|
2534
2565
|
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;
|
|
2535
2566
|
}
|
|
2536
2567
|
};
|
|
2537
|
-
function
|
|
2568
|
+
function Fe() {
|
|
2538
2569
|
return {
|
|
2539
2570
|
channelNumber: 0,
|
|
2540
2571
|
lockedToSerialNumber: !1,
|
|
@@ -2547,14 +2578,14 @@ function he() {
|
|
|
2547
2578
|
linConfiguration: void 0
|
|
2548
2579
|
};
|
|
2549
2580
|
}
|
|
2550
|
-
const
|
|
2551
|
-
encode(e, n = new
|
|
2552
|
-
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 &&
|
|
2581
|
+
const k = {
|
|
2582
|
+
encode(e, n = new o()) {
|
|
2583
|
+
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 && G.encode(e.canConfiguration, n.uint32(66).fork()).join(), e.linConfiguration !== void 0 && C.encode(e.linConfiguration, n.uint32(74).fork()).join(), n;
|
|
2553
2584
|
},
|
|
2554
2585
|
decode(e, n) {
|
|
2555
|
-
const i = e instanceof
|
|
2586
|
+
const i = e instanceof u ? e : new u(e);
|
|
2556
2587
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
2557
|
-
const r =
|
|
2588
|
+
const r = Fe();
|
|
2558
2589
|
for (; i.pos < a; ) {
|
|
2559
2590
|
const t = i.uint32();
|
|
2560
2591
|
switch (t >>> 3) {
|
|
@@ -2603,13 +2634,13 @@ const v = {
|
|
|
2603
2634
|
case 8: {
|
|
2604
2635
|
if (t !== 66)
|
|
2605
2636
|
break;
|
|
2606
|
-
r.canConfiguration =
|
|
2637
|
+
r.canConfiguration = G.decode(i, i.uint32());
|
|
2607
2638
|
continue;
|
|
2608
2639
|
}
|
|
2609
2640
|
case 9: {
|
|
2610
2641
|
if (t !== 74)
|
|
2611
2642
|
break;
|
|
2612
|
-
r.linConfiguration =
|
|
2643
|
+
r.linConfiguration = C.decode(i, i.uint32());
|
|
2613
2644
|
continue;
|
|
2614
2645
|
}
|
|
2615
2646
|
}
|
|
@@ -2621,27 +2652,27 @@ const v = {
|
|
|
2621
2652
|
},
|
|
2622
2653
|
fromJSON(e) {
|
|
2623
2654
|
return {
|
|
2624
|
-
channelNumber:
|
|
2625
|
-
lockedToSerialNumber:
|
|
2626
|
-
deviceProductCode:
|
|
2627
|
-
deviceSerialNumber:
|
|
2628
|
-
channelNumberOnDevice:
|
|
2629
|
-
deviceCardType:
|
|
2630
|
-
deviceCardNumber:
|
|
2631
|
-
canConfiguration:
|
|
2632
|
-
linConfiguration:
|
|
2655
|
+
channelNumber: s(e.channelNumber) ? globalThis.Number(e.channelNumber) : 0,
|
|
2656
|
+
lockedToSerialNumber: s(e.lockedToSerialNumber) ? globalThis.Boolean(e.lockedToSerialNumber) : !1,
|
|
2657
|
+
deviceProductCode: s(e.deviceProductCode) ? globalThis.String(e.deviceProductCode) : "",
|
|
2658
|
+
deviceSerialNumber: s(e.deviceSerialNumber) ? globalThis.String(e.deviceSerialNumber) : "",
|
|
2659
|
+
channelNumberOnDevice: s(e.channelNumberOnDevice) ? globalThis.Number(e.channelNumberOnDevice) : 0,
|
|
2660
|
+
deviceCardType: s(e.deviceCardType) ? globalThis.Number(e.deviceCardType) : 0,
|
|
2661
|
+
deviceCardNumber: s(e.deviceCardNumber) ? globalThis.Number(e.deviceCardNumber) : 0,
|
|
2662
|
+
canConfiguration: s(e.canConfiguration) ? G.fromJSON(e.canConfiguration) : void 0,
|
|
2663
|
+
linConfiguration: s(e.linConfiguration) ? C.fromJSON(e.linConfiguration) : void 0
|
|
2633
2664
|
};
|
|
2634
2665
|
},
|
|
2635
2666
|
toJSON(e) {
|
|
2636
2667
|
const n = {};
|
|
2637
|
-
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 =
|
|
2668
|
+
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 = G.toJSON(e.canConfiguration)), e.linConfiguration !== void 0 && (n.linConfiguration = C.toJSON(e.linConfiguration)), n;
|
|
2638
2669
|
},
|
|
2639
2670
|
create(e) {
|
|
2640
|
-
return
|
|
2671
|
+
return k.fromPartial(e ?? {});
|
|
2641
2672
|
},
|
|
2642
2673
|
fromPartial(e) {
|
|
2643
|
-
const n =
|
|
2644
|
-
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 ?
|
|
2674
|
+
const n = Fe();
|
|
2675
|
+
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 ? G.fromPartial(e.canConfiguration) : void 0, n.linConfiguration = e.linConfiguration !== void 0 && e.linConfiguration !== null ? C.fromPartial(e.linConfiguration) : void 0, n;
|
|
2645
2676
|
}
|
|
2646
2677
|
};
|
|
2647
2678
|
function me() {
|
|
@@ -2660,14 +2691,14 @@ function me() {
|
|
|
2660
2691
|
increaseSpeed: void 0
|
|
2661
2692
|
};
|
|
2662
2693
|
}
|
|
2663
|
-
const
|
|
2664
|
-
encode(e, n = new
|
|
2694
|
+
const P = {
|
|
2695
|
+
encode(e, n = new o()) {
|
|
2665
2696
|
return Object.entries(e.channelIdentifiers).forEach(([i, a]) => {
|
|
2666
2697
|
Y.encode({ key: i, value: a }, n.uint32(10).fork()).join();
|
|
2667
2698
|
}), 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;
|
|
2668
2699
|
},
|
|
2669
2700
|
decode(e, n) {
|
|
2670
|
-
const i = e instanceof
|
|
2701
|
+
const i = e instanceof u ? e : new u(e);
|
|
2671
2702
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
2672
2703
|
const r = me();
|
|
2673
2704
|
for (; i.pos < a; ) {
|
|
@@ -2676,8 +2707,8 @@ const k = {
|
|
|
2676
2707
|
case 1: {
|
|
2677
2708
|
if (t !== 10)
|
|
2678
2709
|
break;
|
|
2679
|
-
const
|
|
2680
|
-
|
|
2710
|
+
const d = Y.decode(i, i.uint32());
|
|
2711
|
+
d.value !== void 0 && (r.channelIdentifiers[d.key] = d.value);
|
|
2681
2712
|
continue;
|
|
2682
2713
|
}
|
|
2683
2714
|
case 2: {
|
|
@@ -2756,17 +2787,17 @@ const k = {
|
|
|
2756
2787
|
fromJSON(e) {
|
|
2757
2788
|
return {
|
|
2758
2789
|
channelIdentifiers: zn(e.channelIdentifiers) ? Object.entries(e.channelIdentifiers).reduce((n, [i, a]) => (n[i] = String(a), n), {}) : {},
|
|
2759
|
-
logFile:
|
|
2760
|
-
iterations:
|
|
2761
|
-
sampleRateMs:
|
|
2762
|
-
transceiverMode:
|
|
2763
|
-
includeErrorFrames:
|
|
2764
|
-
sendFirstMessageMode:
|
|
2765
|
-
timeOffsetMs:
|
|
2766
|
-
timeFactor:
|
|
2767
|
-
lowerVariance:
|
|
2768
|
-
higherVariance:
|
|
2769
|
-
increaseSpeed:
|
|
2790
|
+
logFile: s(e.logFile) ? globalThis.String(e.logFile) : "",
|
|
2791
|
+
iterations: s(e.iterations) ? globalThis.Number(e.iterations) : 0,
|
|
2792
|
+
sampleRateMs: s(e.sampleRateMs) ? globalThis.Number(e.sampleRateMs) : 0,
|
|
2793
|
+
transceiverMode: s(e.transceiverMode) ? globalThis.Number(e.transceiverMode) : 0,
|
|
2794
|
+
includeErrorFrames: s(e.includeErrorFrames) ? globalThis.Boolean(e.includeErrorFrames) : !1,
|
|
2795
|
+
sendFirstMessageMode: s(e.sendFirstMessageMode) ? globalThis.Number(e.sendFirstMessageMode) : 0,
|
|
2796
|
+
timeOffsetMs: s(e.timeOffsetMs) ? globalThis.Number(e.timeOffsetMs) : void 0,
|
|
2797
|
+
timeFactor: s(e.timeFactor) ? globalThis.Number(e.timeFactor) : void 0,
|
|
2798
|
+
lowerVariance: s(e.lowerVariance) ? globalThis.Number(e.lowerVariance) : void 0,
|
|
2799
|
+
higherVariance: s(e.higherVariance) ? globalThis.Number(e.higherVariance) : void 0,
|
|
2800
|
+
increaseSpeed: s(e.increaseSpeed) ? globalThis.Boolean(e.increaseSpeed) : void 0
|
|
2770
2801
|
};
|
|
2771
2802
|
},
|
|
2772
2803
|
toJSON(e) {
|
|
@@ -2780,7 +2811,7 @@ const k = {
|
|
|
2780
2811
|
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;
|
|
2781
2812
|
},
|
|
2782
2813
|
create(e) {
|
|
2783
|
-
return
|
|
2814
|
+
return P.fromPartial(e ?? {});
|
|
2784
2815
|
},
|
|
2785
2816
|
fromPartial(e) {
|
|
2786
2817
|
const n = me();
|
|
@@ -2794,11 +2825,11 @@ function Le() {
|
|
|
2794
2825
|
return { key: "", value: "" };
|
|
2795
2826
|
}
|
|
2796
2827
|
const Y = {
|
|
2797
|
-
encode(e, n = new
|
|
2828
|
+
encode(e, n = new o()) {
|
|
2798
2829
|
return e.key !== "" && n.uint32(10).string(e.key), e.value !== "" && n.uint32(18).string(e.value), n;
|
|
2799
2830
|
},
|
|
2800
2831
|
decode(e, n) {
|
|
2801
|
-
const i = e instanceof
|
|
2832
|
+
const i = e instanceof u ? e : new u(e);
|
|
2802
2833
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
2803
2834
|
const r = Le();
|
|
2804
2835
|
for (; i.pos < a; ) {
|
|
@@ -2825,8 +2856,8 @@ const Y = {
|
|
|
2825
2856
|
},
|
|
2826
2857
|
fromJSON(e) {
|
|
2827
2858
|
return {
|
|
2828
|
-
key:
|
|
2829
|
-
value:
|
|
2859
|
+
key: s(e.key) ? globalThis.String(e.key) : "",
|
|
2860
|
+
value: s(e.value) ? globalThis.String(e.value) : ""
|
|
2830
2861
|
};
|
|
2831
2862
|
},
|
|
2832
2863
|
toJSON(e) {
|
|
@@ -2862,12 +2893,12 @@ function ge() {
|
|
|
2862
2893
|
randomBurstSizeMax: 0
|
|
2863
2894
|
};
|
|
2864
2895
|
}
|
|
2865
|
-
const
|
|
2866
|
-
encode(e, n = new
|
|
2896
|
+
const D = {
|
|
2897
|
+
encode(e, n = new o()) {
|
|
2867
2898
|
return e.channelIdentifier !== "" && n.uint32(10).string(e.channelIdentifier), e.frame !== void 0 && L.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;
|
|
2868
2899
|
},
|
|
2869
2900
|
decode(e, n) {
|
|
2870
|
-
const i = e instanceof
|
|
2901
|
+
const i = e instanceof u ? e : new u(e);
|
|
2871
2902
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
2872
2903
|
const r = ge();
|
|
2873
2904
|
for (; i.pos < a; ) {
|
|
@@ -2984,23 +3015,23 @@ const P = {
|
|
|
2984
3015
|
},
|
|
2985
3016
|
fromJSON(e) {
|
|
2986
3017
|
return {
|
|
2987
|
-
channelIdentifier:
|
|
2988
|
-
frame:
|
|
2989
|
-
randomInterval:
|
|
2990
|
-
constantIntervalMs:
|
|
2991
|
-
randomIntervalMinMs:
|
|
2992
|
-
randomIntervalMaxMs:
|
|
2993
|
-
numberOfMessages:
|
|
2994
|
-
randomDataLength:
|
|
2995
|
-
randomMessageData:
|
|
2996
|
-
randomIdentifier:
|
|
2997
|
-
scanIdentifier:
|
|
2998
|
-
identifierMin:
|
|
2999
|
-
identifierMax:
|
|
3000
|
-
randomBurstSize:
|
|
3001
|
-
constantBurstSize:
|
|
3002
|
-
randomBurstSizeMin:
|
|
3003
|
-
randomBurstSizeMax:
|
|
3018
|
+
channelIdentifier: s(e.channelIdentifier) ? globalThis.String(e.channelIdentifier) : "",
|
|
3019
|
+
frame: s(e.frame) ? L.fromJSON(e.frame) : void 0,
|
|
3020
|
+
randomInterval: s(e.randomInterval) ? globalThis.Boolean(e.randomInterval) : !1,
|
|
3021
|
+
constantIntervalMs: s(e.constantIntervalMs) ? globalThis.Number(e.constantIntervalMs) : 0,
|
|
3022
|
+
randomIntervalMinMs: s(e.randomIntervalMinMs) ? globalThis.Number(e.randomIntervalMinMs) : 0,
|
|
3023
|
+
randomIntervalMaxMs: s(e.randomIntervalMaxMs) ? globalThis.Number(e.randomIntervalMaxMs) : 0,
|
|
3024
|
+
numberOfMessages: s(e.numberOfMessages) ? globalThis.Number(e.numberOfMessages) : 0,
|
|
3025
|
+
randomDataLength: s(e.randomDataLength) ? globalThis.Boolean(e.randomDataLength) : !1,
|
|
3026
|
+
randomMessageData: s(e.randomMessageData) ? globalThis.Boolean(e.randomMessageData) : !1,
|
|
3027
|
+
randomIdentifier: s(e.randomIdentifier) ? globalThis.Boolean(e.randomIdentifier) : !1,
|
|
3028
|
+
scanIdentifier: s(e.scanIdentifier) ? globalThis.Boolean(e.scanIdentifier) : !1,
|
|
3029
|
+
identifierMin: s(e.identifierMin) ? globalThis.Number(e.identifierMin) : 0,
|
|
3030
|
+
identifierMax: s(e.identifierMax) ? globalThis.Number(e.identifierMax) : 0,
|
|
3031
|
+
randomBurstSize: s(e.randomBurstSize) ? globalThis.Boolean(e.randomBurstSize) : !1,
|
|
3032
|
+
constantBurstSize: s(e.constantBurstSize) ? globalThis.Number(e.constantBurstSize) : 0,
|
|
3033
|
+
randomBurstSizeMin: s(e.randomBurstSizeMin) ? globalThis.Number(e.randomBurstSizeMin) : 0,
|
|
3034
|
+
randomBurstSizeMax: s(e.randomBurstSizeMax) ? globalThis.Number(e.randomBurstSizeMax) : 0
|
|
3004
3035
|
};
|
|
3005
3036
|
},
|
|
3006
3037
|
toJSON(e) {
|
|
@@ -3008,24 +3039,24 @@ const P = {
|
|
|
3008
3039
|
return e.channelIdentifier !== "" && (n.channelIdentifier = e.channelIdentifier), e.frame !== void 0 && (n.frame = L.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;
|
|
3009
3040
|
},
|
|
3010
3041
|
create(e) {
|
|
3011
|
-
return
|
|
3042
|
+
return D.fromPartial(e ?? {});
|
|
3012
3043
|
},
|
|
3013
3044
|
fromPartial(e) {
|
|
3014
3045
|
const n = ge();
|
|
3015
3046
|
return n.channelIdentifier = e.channelIdentifier ?? "", n.frame = e.frame !== void 0 && e.frame !== null ? L.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;
|
|
3016
3047
|
}
|
|
3017
3048
|
};
|
|
3018
|
-
function
|
|
3049
|
+
function pe() {
|
|
3019
3050
|
return { stdCanIds: "", extCanIds: "", filterType: "" };
|
|
3020
3051
|
}
|
|
3021
3052
|
const I = {
|
|
3022
|
-
encode(e, n = new
|
|
3053
|
+
encode(e, n = new o()) {
|
|
3023
3054
|
return e.stdCanIds !== "" && n.uint32(10).string(e.stdCanIds), e.extCanIds !== "" && n.uint32(18).string(e.extCanIds), e.filterType !== "" && n.uint32(26).string(e.filterType), n;
|
|
3024
3055
|
},
|
|
3025
3056
|
decode(e, n) {
|
|
3026
|
-
const i = e instanceof
|
|
3057
|
+
const i = e instanceof u ? e : new u(e);
|
|
3027
3058
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3028
|
-
const r =
|
|
3059
|
+
const r = pe();
|
|
3029
3060
|
for (; i.pos < a; ) {
|
|
3030
3061
|
const t = i.uint32();
|
|
3031
3062
|
switch (t >>> 3) {
|
|
@@ -3056,9 +3087,9 @@ const I = {
|
|
|
3056
3087
|
},
|
|
3057
3088
|
fromJSON(e) {
|
|
3058
3089
|
return {
|
|
3059
|
-
stdCanIds:
|
|
3060
|
-
extCanIds:
|
|
3061
|
-
filterType:
|
|
3090
|
+
stdCanIds: s(e.stdCanIds) ? globalThis.String(e.stdCanIds) : "",
|
|
3091
|
+
extCanIds: s(e.extCanIds) ? globalThis.String(e.extCanIds) : "",
|
|
3092
|
+
filterType: s(e.filterType) ? globalThis.String(e.filterType) : ""
|
|
3062
3093
|
};
|
|
3063
3094
|
},
|
|
3064
3095
|
toJSON(e) {
|
|
@@ -3069,23 +3100,23 @@ const I = {
|
|
|
3069
3100
|
return I.fromPartial(e ?? {});
|
|
3070
3101
|
},
|
|
3071
3102
|
fromPartial(e) {
|
|
3072
|
-
const n =
|
|
3103
|
+
const n = pe();
|
|
3073
3104
|
return n.stdCanIds = e.stdCanIds ?? "", n.extCanIds = e.extCanIds ?? "", n.filterType = e.filterType ?? "", n;
|
|
3074
3105
|
}
|
|
3075
3106
|
};
|
|
3076
|
-
function
|
|
3107
|
+
function Ge() {
|
|
3077
3108
|
return { databaseFiles: [] };
|
|
3078
3109
|
}
|
|
3079
|
-
const
|
|
3080
|
-
encode(e, n = new
|
|
3110
|
+
const b = {
|
|
3111
|
+
encode(e, n = new o()) {
|
|
3081
3112
|
for (const i of e.databaseFiles)
|
|
3082
3113
|
n.uint32(10).string(i);
|
|
3083
3114
|
return n;
|
|
3084
3115
|
},
|
|
3085
3116
|
decode(e, n) {
|
|
3086
|
-
const i = e instanceof
|
|
3117
|
+
const i = e instanceof u ? e : new u(e);
|
|
3087
3118
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3088
|
-
const r =
|
|
3119
|
+
const r = Ge();
|
|
3089
3120
|
for (; i.pos < a; ) {
|
|
3090
3121
|
const t = i.uint32();
|
|
3091
3122
|
switch (t >>> 3) {
|
|
@@ -3113,25 +3144,25 @@ const D = {
|
|
|
3113
3144
|
return (i = e.databaseFiles) != null && i.length && (n.databaseFiles = e.databaseFiles), n;
|
|
3114
3145
|
},
|
|
3115
3146
|
create(e) {
|
|
3116
|
-
return
|
|
3147
|
+
return b.fromPartial(e ?? {});
|
|
3117
3148
|
},
|
|
3118
3149
|
fromPartial(e) {
|
|
3119
3150
|
var i;
|
|
3120
|
-
const n =
|
|
3151
|
+
const n = Ge();
|
|
3121
3152
|
return n.databaseFiles = ((i = e.databaseFiles) == null ? void 0 : i.map((a) => a)) || [], n;
|
|
3122
3153
|
}
|
|
3123
3154
|
};
|
|
3124
|
-
function
|
|
3155
|
+
function Ce() {
|
|
3125
3156
|
return { j1939Settings: void 0 };
|
|
3126
3157
|
}
|
|
3127
|
-
const
|
|
3128
|
-
encode(e, n = new
|
|
3158
|
+
const V = {
|
|
3159
|
+
encode(e, n = new o()) {
|
|
3129
3160
|
return e.j1939Settings !== void 0 && y.encode(e.j1939Settings, n.uint32(10).fork()).join(), n;
|
|
3130
3161
|
},
|
|
3131
3162
|
decode(e, n) {
|
|
3132
|
-
const i = e instanceof
|
|
3163
|
+
const i = e instanceof u ? e : new u(e);
|
|
3133
3164
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3134
|
-
const r =
|
|
3165
|
+
const r = Ce();
|
|
3135
3166
|
for (; i.pos < a; ) {
|
|
3136
3167
|
const t = i.uint32();
|
|
3137
3168
|
switch (t >>> 3) {
|
|
@@ -3150,7 +3181,7 @@ const b = {
|
|
|
3150
3181
|
},
|
|
3151
3182
|
fromJSON(e) {
|
|
3152
3183
|
return {
|
|
3153
|
-
j1939Settings:
|
|
3184
|
+
j1939Settings: s(e.j1939Settings) ? y.fromJSON(e.j1939Settings) : void 0
|
|
3154
3185
|
};
|
|
3155
3186
|
},
|
|
3156
3187
|
toJSON(e) {
|
|
@@ -3158,24 +3189,24 @@ const b = {
|
|
|
3158
3189
|
return e.j1939Settings !== void 0 && (n.j1939Settings = y.toJSON(e.j1939Settings)), n;
|
|
3159
3190
|
},
|
|
3160
3191
|
create(e) {
|
|
3161
|
-
return
|
|
3192
|
+
return V.fromPartial(e ?? {});
|
|
3162
3193
|
},
|
|
3163
3194
|
fromPartial(e) {
|
|
3164
|
-
const n =
|
|
3195
|
+
const n = Ce();
|
|
3165
3196
|
return n.j1939Settings = e.j1939Settings !== void 0 && e.j1939Settings !== null ? y.fromPartial(e.j1939Settings) : void 0, n;
|
|
3166
3197
|
}
|
|
3167
3198
|
};
|
|
3168
|
-
function
|
|
3199
|
+
function ke() {
|
|
3169
3200
|
return {};
|
|
3170
3201
|
}
|
|
3171
3202
|
const y = {
|
|
3172
|
-
encode(e, n = new
|
|
3203
|
+
encode(e, n = new o()) {
|
|
3173
3204
|
return n;
|
|
3174
3205
|
},
|
|
3175
3206
|
decode(e, n) {
|
|
3176
|
-
const i = e instanceof
|
|
3207
|
+
const i = e instanceof u ? e : new u(e);
|
|
3177
3208
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3178
|
-
const r =
|
|
3209
|
+
const r = ke();
|
|
3179
3210
|
for (; i.pos < a; ) {
|
|
3180
3211
|
const t = i.uint32();
|
|
3181
3212
|
if ((t & 7) === 4 || t === 0)
|
|
@@ -3194,20 +3225,20 @@ const y = {
|
|
|
3194
3225
|
return y.fromPartial(e ?? {});
|
|
3195
3226
|
},
|
|
3196
3227
|
fromPartial(e) {
|
|
3197
|
-
return
|
|
3228
|
+
return ke();
|
|
3198
3229
|
}
|
|
3199
3230
|
};
|
|
3200
|
-
function
|
|
3231
|
+
function Pe() {
|
|
3201
3232
|
return { extensionName: "", configuration: void 0 };
|
|
3202
3233
|
}
|
|
3203
|
-
const
|
|
3204
|
-
encode(e, n = new
|
|
3234
|
+
const x = {
|
|
3235
|
+
encode(e, n = new o()) {
|
|
3205
3236
|
return e.extensionName !== "" && n.uint32(10).string(e.extensionName), e.configuration !== void 0 && n.uint32(18).string(e.configuration), n;
|
|
3206
3237
|
},
|
|
3207
3238
|
decode(e, n) {
|
|
3208
|
-
const i = e instanceof
|
|
3239
|
+
const i = e instanceof u ? e : new u(e);
|
|
3209
3240
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3210
|
-
const r =
|
|
3241
|
+
const r = Pe();
|
|
3211
3242
|
for (; i.pos < a; ) {
|
|
3212
3243
|
const t = i.uint32();
|
|
3213
3244
|
switch (t >>> 3) {
|
|
@@ -3232,8 +3263,8 @@ const V = {
|
|
|
3232
3263
|
},
|
|
3233
3264
|
fromJSON(e) {
|
|
3234
3265
|
return {
|
|
3235
|
-
extensionName:
|
|
3236
|
-
configuration:
|
|
3266
|
+
extensionName: s(e.extensionName) ? globalThis.String(e.extensionName) : "",
|
|
3267
|
+
configuration: s(e.configuration) ? globalThis.String(e.configuration) : void 0
|
|
3237
3268
|
};
|
|
3238
3269
|
},
|
|
3239
3270
|
toJSON(e) {
|
|
@@ -3241,24 +3272,24 @@ const V = {
|
|
|
3241
3272
|
return e.extensionName !== "" && (n.extensionName = e.extensionName), e.configuration !== void 0 && (n.configuration = e.configuration), n;
|
|
3242
3273
|
},
|
|
3243
3274
|
create(e) {
|
|
3244
|
-
return
|
|
3275
|
+
return x.fromPartial(e ?? {});
|
|
3245
3276
|
},
|
|
3246
3277
|
fromPartial(e) {
|
|
3247
|
-
const n =
|
|
3278
|
+
const n = Pe();
|
|
3248
3279
|
return n.extensionName = e.extensionName ?? "", n.configuration = e.configuration ?? void 0, n;
|
|
3249
3280
|
}
|
|
3250
3281
|
};
|
|
3251
|
-
function
|
|
3282
|
+
function De() {
|
|
3252
3283
|
return { frameId: "", frameIdType: "" };
|
|
3253
3284
|
}
|
|
3254
3285
|
const U = {
|
|
3255
|
-
encode(e, n = new
|
|
3286
|
+
encode(e, n = new o()) {
|
|
3256
3287
|
return e.frameId !== "" && n.uint32(10).string(e.frameId), e.frameIdType !== "" && n.uint32(18).string(e.frameIdType), n;
|
|
3257
3288
|
},
|
|
3258
3289
|
decode(e, n) {
|
|
3259
|
-
const i = e instanceof
|
|
3290
|
+
const i = e instanceof u ? e : new u(e);
|
|
3260
3291
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3261
|
-
const r =
|
|
3292
|
+
const r = De();
|
|
3262
3293
|
for (; i.pos < a; ) {
|
|
3263
3294
|
const t = i.uint32();
|
|
3264
3295
|
switch (t >>> 3) {
|
|
@@ -3283,8 +3314,8 @@ const U = {
|
|
|
3283
3314
|
},
|
|
3284
3315
|
fromJSON(e) {
|
|
3285
3316
|
return {
|
|
3286
|
-
frameId:
|
|
3287
|
-
frameIdType:
|
|
3317
|
+
frameId: s(e.frameId) ? globalThis.String(e.frameId) : "",
|
|
3318
|
+
frameIdType: s(e.frameIdType) ? globalThis.String(e.frameIdType) : ""
|
|
3288
3319
|
};
|
|
3289
3320
|
},
|
|
3290
3321
|
toJSON(e) {
|
|
@@ -3295,11 +3326,11 @@ const U = {
|
|
|
3295
3326
|
return U.fromPartial(e ?? {});
|
|
3296
3327
|
},
|
|
3297
3328
|
fromPartial(e) {
|
|
3298
|
-
const n =
|
|
3329
|
+
const n = De();
|
|
3299
3330
|
return n.frameId = e.frameId ?? "", n.frameIdType = e.frameIdType ?? "", n;
|
|
3300
3331
|
}
|
|
3301
3332
|
};
|
|
3302
|
-
function
|
|
3333
|
+
function be() {
|
|
3303
3334
|
return {
|
|
3304
3335
|
frameId: "",
|
|
3305
3336
|
signalQualifiedName: "",
|
|
@@ -3311,13 +3342,13 @@ function De() {
|
|
|
3311
3342
|
};
|
|
3312
3343
|
}
|
|
3313
3344
|
const B = {
|
|
3314
|
-
encode(e, n = new
|
|
3345
|
+
encode(e, n = new o()) {
|
|
3315
3346
|
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;
|
|
3316
3347
|
},
|
|
3317
3348
|
decode(e, n) {
|
|
3318
|
-
const i = e instanceof
|
|
3349
|
+
const i = e instanceof u ? e : new u(e);
|
|
3319
3350
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3320
|
-
const r =
|
|
3351
|
+
const r = be();
|
|
3321
3352
|
for (; i.pos < a; ) {
|
|
3322
3353
|
const t = i.uint32();
|
|
3323
3354
|
switch (t >>> 3) {
|
|
@@ -3372,38 +3403,38 @@ const B = {
|
|
|
3372
3403
|
},
|
|
3373
3404
|
fromJSON(e) {
|
|
3374
3405
|
return {
|
|
3375
|
-
frameId:
|
|
3376
|
-
signalQualifiedName:
|
|
3377
|
-
signalValue:
|
|
3378
|
-
signalMinValue:
|
|
3379
|
-
signalMaxValue:
|
|
3380
|
-
operator:
|
|
3381
|
-
frameIdType:
|
|
3406
|
+
frameId: s(e.frameId) ? globalThis.String(e.frameId) : "",
|
|
3407
|
+
signalQualifiedName: s(e.signalQualifiedName) ? globalThis.String(e.signalQualifiedName) : "",
|
|
3408
|
+
signalValue: s(e.signalValue) ? globalThis.Number(e.signalValue) : 0,
|
|
3409
|
+
signalMinValue: s(e.signalMinValue) ? globalThis.Number(e.signalMinValue) : 0,
|
|
3410
|
+
signalMaxValue: s(e.signalMaxValue) ? globalThis.Number(e.signalMaxValue) : 0,
|
|
3411
|
+
operator: s(e.operator) ? pn(e.operator) : 0,
|
|
3412
|
+
frameIdType: s(e.frameIdType) ? globalThis.String(e.frameIdType) : ""
|
|
3382
3413
|
};
|
|
3383
3414
|
},
|
|
3384
3415
|
toJSON(e) {
|
|
3385
3416
|
const n = {};
|
|
3386
|
-
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 =
|
|
3417
|
+
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 = Gn(e.operator)), e.frameIdType !== "" && (n.frameIdType = e.frameIdType), n;
|
|
3387
3418
|
},
|
|
3388
3419
|
create(e) {
|
|
3389
3420
|
return B.fromPartial(e ?? {});
|
|
3390
3421
|
},
|
|
3391
3422
|
fromPartial(e) {
|
|
3392
|
-
const n =
|
|
3423
|
+
const n = be();
|
|
3393
3424
|
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;
|
|
3394
3425
|
}
|
|
3395
3426
|
};
|
|
3396
|
-
function
|
|
3427
|
+
function Ve() {
|
|
3397
3428
|
return { timeoutTrigger: void 0, frameReceivedTrigger: void 0, signalValueTrigger: void 0 };
|
|
3398
3429
|
}
|
|
3399
3430
|
const R = {
|
|
3400
|
-
encode(e, n = new
|
|
3431
|
+
encode(e, n = new o()) {
|
|
3401
3432
|
return e.timeoutTrigger !== void 0 && n.uint32(17).double(e.timeoutTrigger), e.frameReceivedTrigger !== void 0 && U.encode(e.frameReceivedTrigger, n.uint32(26).fork()).join(), e.signalValueTrigger !== void 0 && B.encode(e.signalValueTrigger, n.uint32(34).fork()).join(), n;
|
|
3402
3433
|
},
|
|
3403
3434
|
decode(e, n) {
|
|
3404
|
-
const i = e instanceof
|
|
3435
|
+
const i = e instanceof u ? e : new u(e);
|
|
3405
3436
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3406
|
-
const r =
|
|
3437
|
+
const r = Ve();
|
|
3407
3438
|
for (; i.pos < a; ) {
|
|
3408
3439
|
const t = i.uint32();
|
|
3409
3440
|
switch (t >>> 3) {
|
|
@@ -3434,9 +3465,9 @@ const R = {
|
|
|
3434
3465
|
},
|
|
3435
3466
|
fromJSON(e) {
|
|
3436
3467
|
return {
|
|
3437
|
-
timeoutTrigger:
|
|
3438
|
-
frameReceivedTrigger:
|
|
3439
|
-
signalValueTrigger:
|
|
3468
|
+
timeoutTrigger: s(e.timeoutTrigger) ? globalThis.Number(e.timeoutTrigger) : void 0,
|
|
3469
|
+
frameReceivedTrigger: s(e.frameReceivedTrigger) ? U.fromJSON(e.frameReceivedTrigger) : void 0,
|
|
3470
|
+
signalValueTrigger: s(e.signalValueTrigger) ? B.fromJSON(e.signalValueTrigger) : void 0
|
|
3440
3471
|
};
|
|
3441
3472
|
},
|
|
3442
3473
|
toJSON(e) {
|
|
@@ -3447,7 +3478,7 @@ const R = {
|
|
|
3447
3478
|
return R.fromPartial(e ?? {});
|
|
3448
3479
|
},
|
|
3449
3480
|
fromPartial(e) {
|
|
3450
|
-
const n =
|
|
3481
|
+
const n = Ve();
|
|
3451
3482
|
return n.timeoutTrigger = e.timeoutTrigger ?? void 0, n.frameReceivedTrigger = e.frameReceivedTrigger !== void 0 && e.frameReceivedTrigger !== null ? U.fromPartial(e.frameReceivedTrigger) : void 0, n.signalValueTrigger = e.signalValueTrigger !== void 0 && e.signalValueTrigger !== null ? B.fromPartial(e.signalValueTrigger) : void 0, n;
|
|
3452
3483
|
}
|
|
3453
3484
|
};
|
|
@@ -3474,8 +3505,8 @@ function ye() {
|
|
|
3474
3505
|
utcTime: void 0
|
|
3475
3506
|
};
|
|
3476
3507
|
}
|
|
3477
|
-
const
|
|
3478
|
-
encode(e, n = new
|
|
3508
|
+
const v = {
|
|
3509
|
+
encode(e, n = new o()) {
|
|
3479
3510
|
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.canMessageFilter !== void 0 && I.encode(e.canMessageFilter, n.uint32(34).fork()).join();
|
|
3480
3511
|
for (const i of e.startTriggerSettings)
|
|
3481
3512
|
R.encode(i, n.uint32(42).fork()).join();
|
|
@@ -3485,7 +3516,7 @@ const x = {
|
|
|
3485
3516
|
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.dataInHex !== void 0 && n.uint32(88).bool(e.dataInHex), e.idInHex !== void 0 && n.uint32(96).bool(e.idInHex), e.decimalSeparator !== void 0 && n.uint32(104).int32(e.decimalSeparator), e.colSeparator !== void 0 && n.uint32(112).int32(e.colSeparator), e.dataBytesLimit !== void 0 && n.uint32(120).int32(e.dataBytesLimit), e.numberOfTimeDecimals !== void 0 && n.uint32(128).int32(e.numberOfTimeDecimals), e.timeReference !== void 0 && n.uint32(136).int32(e.timeReference), e.calendarTime !== void 0 && n.uint32(144).bool(e.calendarTime), e.utcTime !== void 0 && n.uint32(152).bool(e.utcTime), n;
|
|
3486
3517
|
},
|
|
3487
3518
|
decode(e, n) {
|
|
3488
|
-
const i = e instanceof
|
|
3519
|
+
const i = e instanceof u ? e : new u(e);
|
|
3489
3520
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3490
3521
|
const r = ye();
|
|
3491
3522
|
for (; i.pos < a; ) {
|
|
@@ -3614,34 +3645,34 @@ const x = {
|
|
|
3614
3645
|
},
|
|
3615
3646
|
fromJSON(e) {
|
|
3616
3647
|
return {
|
|
3617
|
-
fileName:
|
|
3618
|
-
fileFormat:
|
|
3619
|
-
fileConflictAction:
|
|
3620
|
-
canMessageFilter:
|
|
3648
|
+
fileName: s(e.fileName) ? globalThis.String(e.fileName) : "",
|
|
3649
|
+
fileFormat: s(e.fileFormat) ? Pn(e.fileFormat) : 0,
|
|
3650
|
+
fileConflictAction: s(e.fileConflictAction) ? Vn(e.fileConflictAction) : 0,
|
|
3651
|
+
canMessageFilter: s(e.canMessageFilter) ? I.fromJSON(e.canMessageFilter) : void 0,
|
|
3621
3652
|
startTriggerSettings: globalThis.Array.isArray(e == null ? void 0 : e.startTriggerSettings) ? e.startTriggerSettings.map((n) => R.fromJSON(n)) : [],
|
|
3622
|
-
startTriggersOperator:
|
|
3653
|
+
startTriggersOperator: s(e.startTriggersOperator) ? Oe(e.startTriggersOperator) : 0,
|
|
3623
3654
|
stopTriggerSettings: globalThis.Array.isArray(e == null ? void 0 : e.stopTriggerSettings) ? e.stopTriggerSettings.map((n) => R.fromJSON(n)) : [],
|
|
3624
|
-
stopTriggersOperator:
|
|
3625
|
-
autoRestartAfterStop:
|
|
3626
|
-
writeFileHeader:
|
|
3627
|
-
dataInHex:
|
|
3628
|
-
idInHex:
|
|
3629
|
-
decimalSeparator:
|
|
3630
|
-
colSeparator:
|
|
3631
|
-
dataBytesLimit:
|
|
3632
|
-
numberOfTimeDecimals:
|
|
3633
|
-
timeReference:
|
|
3634
|
-
calendarTime:
|
|
3635
|
-
utcTime:
|
|
3655
|
+
stopTriggersOperator: s(e.stopTriggersOperator) ? Oe(e.stopTriggersOperator) : 0,
|
|
3656
|
+
autoRestartAfterStop: s(e.autoRestartAfterStop) ? globalThis.Boolean(e.autoRestartAfterStop) : !1,
|
|
3657
|
+
writeFileHeader: s(e.writeFileHeader) ? globalThis.Boolean(e.writeFileHeader) : void 0,
|
|
3658
|
+
dataInHex: s(e.dataInHex) ? globalThis.Boolean(e.dataInHex) : void 0,
|
|
3659
|
+
idInHex: s(e.idInHex) ? globalThis.Boolean(e.idInHex) : void 0,
|
|
3660
|
+
decimalSeparator: s(e.decimalSeparator) ? Un(e.decimalSeparator) : void 0,
|
|
3661
|
+
colSeparator: s(e.colSeparator) ? Jn(e.colSeparator) : void 0,
|
|
3662
|
+
dataBytesLimit: s(e.dataBytesLimit) ? globalThis.Number(e.dataBytesLimit) : void 0,
|
|
3663
|
+
numberOfTimeDecimals: s(e.numberOfTimeDecimals) ? globalThis.Number(e.numberOfTimeDecimals) : void 0,
|
|
3664
|
+
timeReference: s(e.timeReference) ? Xn(e.timeReference) : void 0,
|
|
3665
|
+
calendarTime: s(e.calendarTime) ? globalThis.Boolean(e.calendarTime) : void 0,
|
|
3666
|
+
utcTime: s(e.utcTime) ? globalThis.Boolean(e.utcTime) : void 0
|
|
3636
3667
|
};
|
|
3637
3668
|
},
|
|
3638
3669
|
toJSON(e) {
|
|
3639
3670
|
var i, a;
|
|
3640
3671
|
const n = {};
|
|
3641
|
-
return e.fileName !== "" && (n.fileName = e.fileName), e.fileFormat !== 0 && (n.fileFormat =
|
|
3672
|
+
return e.fileName !== "" && (n.fileName = e.fileName), e.fileFormat !== 0 && (n.fileFormat = Dn(e.fileFormat)), e.fileConflictAction !== 0 && (n.fileConflictAction = yn(e.fileConflictAction)), e.canMessageFilter !== void 0 && (n.canMessageFilter = I.toJSON(e.canMessageFilter)), (i = e.startTriggerSettings) != null && i.length && (n.startTriggerSettings = e.startTriggerSettings.map((r) => R.toJSON(r))), e.startTriggersOperator !== 0 && (n.startTriggersOperator = Ie(e.startTriggersOperator)), (a = e.stopTriggerSettings) != null && a.length && (n.stopTriggerSettings = e.stopTriggerSettings.map((r) => R.toJSON(r))), e.stopTriggersOperator !== 0 && (n.stopTriggersOperator = Ie(e.stopTriggersOperator)), e.autoRestartAfterStop !== !1 && (n.autoRestartAfterStop = e.autoRestartAfterStop), e.writeFileHeader !== void 0 && (n.writeFileHeader = e.writeFileHeader), e.dataInHex !== void 0 && (n.dataInHex = e.dataInHex), e.idInHex !== void 0 && (n.idInHex = e.idInHex), e.decimalSeparator !== void 0 && (n.decimalSeparator = Bn(e.decimalSeparator)), e.colSeparator !== void 0 && (n.colSeparator = wn(e.colSeparator)), e.dataBytesLimit !== void 0 && (n.dataBytesLimit = Math.round(e.dataBytesLimit)), e.numberOfTimeDecimals !== void 0 && (n.numberOfTimeDecimals = Math.round(e.numberOfTimeDecimals)), e.timeReference !== void 0 && (n.timeReference = Qn(e.timeReference)), e.calendarTime !== void 0 && (n.calendarTime = e.calendarTime), e.utcTime !== void 0 && (n.utcTime = e.utcTime), n;
|
|
3642
3673
|
},
|
|
3643
3674
|
create(e) {
|
|
3644
|
-
return
|
|
3675
|
+
return v.fromPartial(e ?? {});
|
|
3645
3676
|
},
|
|
3646
3677
|
fromPartial(e) {
|
|
3647
3678
|
var i, a;
|
|
@@ -3649,7 +3680,7 @@ const x = {
|
|
|
3649
3680
|
return n.fileName = e.fileName ?? "", n.fileFormat = e.fileFormat ?? 0, n.fileConflictAction = e.fileConflictAction ?? 0, n.canMessageFilter = e.canMessageFilter !== void 0 && e.canMessageFilter !== null ? I.fromPartial(e.canMessageFilter) : void 0, n.startTriggerSettings = ((i = e.startTriggerSettings) == null ? void 0 : i.map((r) => R.fromPartial(r))) || [], n.startTriggersOperator = e.startTriggersOperator ?? 0, n.stopTriggerSettings = ((a = e.stopTriggerSettings) == null ? void 0 : a.map((r) => R.fromPartial(r))) || [], n.stopTriggersOperator = e.stopTriggersOperator ?? 0, n.autoRestartAfterStop = e.autoRestartAfterStop ?? !1, n.writeFileHeader = e.writeFileHeader ?? void 0, n.dataInHex = e.dataInHex ?? void 0, n.idInHex = e.idInHex ?? void 0, n.decimalSeparator = e.decimalSeparator ?? void 0, n.colSeparator = e.colSeparator ?? void 0, n.dataBytesLimit = e.dataBytesLimit ?? void 0, n.numberOfTimeDecimals = e.numberOfTimeDecimals ?? void 0, n.timeReference = e.timeReference ?? void 0, n.calendarTime = e.calendarTime ?? void 0, n.utcTime = e.utcTime ?? void 0, n;
|
|
3650
3681
|
}
|
|
3651
3682
|
};
|
|
3652
|
-
function
|
|
3683
|
+
function xe() {
|
|
3653
3684
|
return {
|
|
3654
3685
|
identifier: "",
|
|
3655
3686
|
name: "",
|
|
@@ -3659,17 +3690,17 @@ function Ve() {
|
|
|
3659
3690
|
disabled: !1
|
|
3660
3691
|
};
|
|
3661
3692
|
}
|
|
3662
|
-
const
|
|
3663
|
-
encode(e, n = new
|
|
3693
|
+
const N = {
|
|
3694
|
+
encode(e, n = new o()) {
|
|
3664
3695
|
e.identifier !== "" && n.uint32(10).string(e.identifier), e.name !== "" && n.uint32(18).string(e.name);
|
|
3665
3696
|
for (const i of e.description)
|
|
3666
3697
|
n.uint32(26).string(i);
|
|
3667
3698
|
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;
|
|
3668
3699
|
},
|
|
3669
3700
|
decode(e, n) {
|
|
3670
|
-
const i = e instanceof
|
|
3701
|
+
const i = e instanceof u ? e : new u(e);
|
|
3671
3702
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3672
|
-
const r =
|
|
3703
|
+
const r = xe();
|
|
3673
3704
|
for (; i.pos < a; ) {
|
|
3674
3705
|
const t = i.uint32();
|
|
3675
3706
|
switch (t >>> 3) {
|
|
@@ -3718,12 +3749,12 @@ const _ = {
|
|
|
3718
3749
|
},
|
|
3719
3750
|
fromJSON(e) {
|
|
3720
3751
|
return {
|
|
3721
|
-
identifier:
|
|
3722
|
-
name:
|
|
3752
|
+
identifier: s(e.identifier) ? globalThis.String(e.identifier) : "",
|
|
3753
|
+
name: s(e.name) ? globalThis.String(e.name) : "",
|
|
3723
3754
|
description: globalThis.Array.isArray(e == null ? void 0 : e.description) ? e.description.map((n) => globalThis.String(n)) : [],
|
|
3724
|
-
readOnlyProperties:
|
|
3725
|
-
readOnlyConnections:
|
|
3726
|
-
disabled:
|
|
3755
|
+
readOnlyProperties: s(e.readOnlyProperties) ? globalThis.Boolean(e.readOnlyProperties) : !1,
|
|
3756
|
+
readOnlyConnections: s(e.readOnlyConnections) ? globalThis.Boolean(e.readOnlyConnections) : !1,
|
|
3757
|
+
disabled: s(e.disabled) ? globalThis.Boolean(e.disabled) : !1
|
|
3727
3758
|
};
|
|
3728
3759
|
},
|
|
3729
3760
|
toJSON(e) {
|
|
@@ -3732,11 +3763,11 @@ const _ = {
|
|
|
3732
3763
|
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;
|
|
3733
3764
|
},
|
|
3734
3765
|
create(e) {
|
|
3735
|
-
return
|
|
3766
|
+
return N.fromPartial(e ?? {});
|
|
3736
3767
|
},
|
|
3737
3768
|
fromPartial(e) {
|
|
3738
3769
|
var i;
|
|
3739
|
-
const n =
|
|
3770
|
+
const n = xe();
|
|
3740
3771
|
return n.identifier = e.identifier ?? "", n.name = e.name ?? "", n.description = ((i = e.description) == null ? void 0 : i.map((a) => a)) || [], n.readOnlyProperties = e.readOnlyProperties ?? !1, n.readOnlyConnections = e.readOnlyConnections ?? !1, n.disabled = e.disabled ?? !1, n;
|
|
3741
3772
|
}
|
|
3742
3773
|
};
|
|
@@ -3750,11 +3781,11 @@ function Ue() {
|
|
|
3750
3781
|
};
|
|
3751
3782
|
}
|
|
3752
3783
|
const J = {
|
|
3753
|
-
encode(e, n = new
|
|
3754
|
-
return e.baseNode !== void 0 &&
|
|
3784
|
+
encode(e, n = new o()) {
|
|
3785
|
+
return e.baseNode !== void 0 && N.encode(e.baseNode, n.uint32(10).fork()).join(), e.isDataGenerator !== !1 && n.uint32(16).bool(e.isDataGenerator), e.channelSettings !== void 0 && k.encode(e.channelSettings, n.uint32(26).fork()).join(), e.logReplaySettings !== void 0 && P.encode(e.logReplaySettings, n.uint32(34).fork()).join(), e.trafficGeneratorSettings !== void 0 && D.encode(e.trafficGeneratorSettings, n.uint32(42).fork()).join(), n;
|
|
3755
3786
|
},
|
|
3756
3787
|
decode(e, n) {
|
|
3757
|
-
const i = e instanceof
|
|
3788
|
+
const i = e instanceof u ? e : new u(e);
|
|
3758
3789
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3759
3790
|
const r = Ue();
|
|
3760
3791
|
for (; i.pos < a; ) {
|
|
@@ -3763,7 +3794,7 @@ const J = {
|
|
|
3763
3794
|
case 1: {
|
|
3764
3795
|
if (t !== 10)
|
|
3765
3796
|
break;
|
|
3766
|
-
r.baseNode =
|
|
3797
|
+
r.baseNode = N.decode(i, i.uint32());
|
|
3767
3798
|
continue;
|
|
3768
3799
|
}
|
|
3769
3800
|
case 2: {
|
|
@@ -3775,19 +3806,19 @@ const J = {
|
|
|
3775
3806
|
case 3: {
|
|
3776
3807
|
if (t !== 26)
|
|
3777
3808
|
break;
|
|
3778
|
-
r.channelSettings =
|
|
3809
|
+
r.channelSettings = k.decode(i, i.uint32());
|
|
3779
3810
|
continue;
|
|
3780
3811
|
}
|
|
3781
3812
|
case 4: {
|
|
3782
3813
|
if (t !== 34)
|
|
3783
3814
|
break;
|
|
3784
|
-
r.logReplaySettings =
|
|
3815
|
+
r.logReplaySettings = P.decode(i, i.uint32());
|
|
3785
3816
|
continue;
|
|
3786
3817
|
}
|
|
3787
3818
|
case 5: {
|
|
3788
3819
|
if (t !== 42)
|
|
3789
3820
|
break;
|
|
3790
|
-
r.trafficGeneratorSettings =
|
|
3821
|
+
r.trafficGeneratorSettings = D.decode(i, i.uint32());
|
|
3791
3822
|
continue;
|
|
3792
3823
|
}
|
|
3793
3824
|
}
|
|
@@ -3799,23 +3830,23 @@ const J = {
|
|
|
3799
3830
|
},
|
|
3800
3831
|
fromJSON(e) {
|
|
3801
3832
|
return {
|
|
3802
|
-
baseNode:
|
|
3803
|
-
isDataGenerator:
|
|
3804
|
-
channelSettings:
|
|
3805
|
-
logReplaySettings:
|
|
3806
|
-
trafficGeneratorSettings:
|
|
3833
|
+
baseNode: s(e.baseNode) ? N.fromJSON(e.baseNode) : void 0,
|
|
3834
|
+
isDataGenerator: s(e.isDataGenerator) ? globalThis.Boolean(e.isDataGenerator) : !1,
|
|
3835
|
+
channelSettings: s(e.channelSettings) ? k.fromJSON(e.channelSettings) : void 0,
|
|
3836
|
+
logReplaySettings: s(e.logReplaySettings) ? P.fromJSON(e.logReplaySettings) : void 0,
|
|
3837
|
+
trafficGeneratorSettings: s(e.trafficGeneratorSettings) ? D.fromJSON(e.trafficGeneratorSettings) : void 0
|
|
3807
3838
|
};
|
|
3808
3839
|
},
|
|
3809
3840
|
toJSON(e) {
|
|
3810
3841
|
const n = {};
|
|
3811
|
-
return e.baseNode !== void 0 && (n.baseNode =
|
|
3842
|
+
return e.baseNode !== void 0 && (n.baseNode = N.toJSON(e.baseNode)), e.isDataGenerator !== !1 && (n.isDataGenerator = e.isDataGenerator), e.channelSettings !== void 0 && (n.channelSettings = k.toJSON(e.channelSettings)), e.logReplaySettings !== void 0 && (n.logReplaySettings = P.toJSON(e.logReplaySettings)), e.trafficGeneratorSettings !== void 0 && (n.trafficGeneratorSettings = D.toJSON(e.trafficGeneratorSettings)), n;
|
|
3812
3843
|
},
|
|
3813
3844
|
create(e) {
|
|
3814
3845
|
return J.fromPartial(e ?? {});
|
|
3815
3846
|
},
|
|
3816
3847
|
fromPartial(e) {
|
|
3817
3848
|
const n = Ue();
|
|
3818
|
-
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ?
|
|
3849
|
+
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ? N.fromPartial(e.baseNode) : void 0, n.isDataGenerator = e.isDataGenerator ?? !1, n.channelSettings = e.channelSettings !== void 0 && e.channelSettings !== null ? k.fromPartial(e.channelSettings) : void 0, n.logReplaySettings = e.logReplaySettings !== void 0 && e.logReplaySettings !== null ? P.fromPartial(e.logReplaySettings) : void 0, n.trafficGeneratorSettings = e.trafficGeneratorSettings !== void 0 && e.trafficGeneratorSettings !== null ? D.fromPartial(e.trafficGeneratorSettings) : void 0, n;
|
|
3819
3850
|
}
|
|
3820
3851
|
};
|
|
3821
3852
|
function Be() {
|
|
@@ -3829,14 +3860,14 @@ function Be() {
|
|
|
3829
3860
|
};
|
|
3830
3861
|
}
|
|
3831
3862
|
const w = {
|
|
3832
|
-
encode(e, n = new
|
|
3833
|
-
e.baseNode !== void 0 &&
|
|
3863
|
+
encode(e, n = new o()) {
|
|
3864
|
+
e.baseNode !== void 0 && N.encode(e.baseNode, n.uint32(10).fork()).join();
|
|
3834
3865
|
for (const i of e.connectedNodes)
|
|
3835
3866
|
n.uint32(18).string(i);
|
|
3836
|
-
return e.canMessageFilterSettings !== void 0 && I.encode(e.canMessageFilterSettings, n.uint32(26).fork()).join(), e.databasesSettings !== void 0 &&
|
|
3867
|
+
return e.canMessageFilterSettings !== void 0 && I.encode(e.canMessageFilterSettings, n.uint32(26).fork()).join(), e.databasesSettings !== void 0 && b.encode(e.databasesSettings, n.uint32(34).fork()).join(), e.interpreterSettings !== void 0 && V.encode(e.interpreterSettings, n.uint32(42).fork()).join(), e.extensionSettings !== void 0 && x.encode(e.extensionSettings, n.uint32(50).fork()).join(), n;
|
|
3837
3868
|
},
|
|
3838
3869
|
decode(e, n) {
|
|
3839
|
-
const i = e instanceof
|
|
3870
|
+
const i = e instanceof u ? e : new u(e);
|
|
3840
3871
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3841
3872
|
const r = Be();
|
|
3842
3873
|
for (; i.pos < a; ) {
|
|
@@ -3845,7 +3876,7 @@ const w = {
|
|
|
3845
3876
|
case 1: {
|
|
3846
3877
|
if (t !== 10)
|
|
3847
3878
|
break;
|
|
3848
|
-
r.baseNode =
|
|
3879
|
+
r.baseNode = N.decode(i, i.uint32());
|
|
3849
3880
|
continue;
|
|
3850
3881
|
}
|
|
3851
3882
|
case 2: {
|
|
@@ -3863,19 +3894,19 @@ const w = {
|
|
|
3863
3894
|
case 4: {
|
|
3864
3895
|
if (t !== 34)
|
|
3865
3896
|
break;
|
|
3866
|
-
r.databasesSettings =
|
|
3897
|
+
r.databasesSettings = b.decode(i, i.uint32());
|
|
3867
3898
|
continue;
|
|
3868
3899
|
}
|
|
3869
3900
|
case 5: {
|
|
3870
3901
|
if (t !== 42)
|
|
3871
3902
|
break;
|
|
3872
|
-
r.interpreterSettings =
|
|
3903
|
+
r.interpreterSettings = V.decode(i, i.uint32());
|
|
3873
3904
|
continue;
|
|
3874
3905
|
}
|
|
3875
3906
|
case 6: {
|
|
3876
3907
|
if (t !== 50)
|
|
3877
3908
|
break;
|
|
3878
|
-
r.extensionSettings =
|
|
3909
|
+
r.extensionSettings = x.decode(i, i.uint32());
|
|
3879
3910
|
continue;
|
|
3880
3911
|
}
|
|
3881
3912
|
}
|
|
@@ -3887,18 +3918,18 @@ const w = {
|
|
|
3887
3918
|
},
|
|
3888
3919
|
fromJSON(e) {
|
|
3889
3920
|
return {
|
|
3890
|
-
baseNode:
|
|
3921
|
+
baseNode: s(e.baseNode) ? N.fromJSON(e.baseNode) : void 0,
|
|
3891
3922
|
connectedNodes: globalThis.Array.isArray(e == null ? void 0 : e.connectedNodes) ? e.connectedNodes.map((n) => globalThis.String(n)) : [],
|
|
3892
|
-
canMessageFilterSettings:
|
|
3893
|
-
databasesSettings:
|
|
3894
|
-
interpreterSettings:
|
|
3895
|
-
extensionSettings:
|
|
3923
|
+
canMessageFilterSettings: s(e.canMessageFilterSettings) ? I.fromJSON(e.canMessageFilterSettings) : void 0,
|
|
3924
|
+
databasesSettings: s(e.databasesSettings) ? b.fromJSON(e.databasesSettings) : void 0,
|
|
3925
|
+
interpreterSettings: s(e.interpreterSettings) ? V.fromJSON(e.interpreterSettings) : void 0,
|
|
3926
|
+
extensionSettings: s(e.extensionSettings) ? x.fromJSON(e.extensionSettings) : void 0
|
|
3896
3927
|
};
|
|
3897
3928
|
},
|
|
3898
3929
|
toJSON(e) {
|
|
3899
3930
|
var i;
|
|
3900
3931
|
const n = {};
|
|
3901
|
-
return e.baseNode !== void 0 && (n.baseNode =
|
|
3932
|
+
return e.baseNode !== void 0 && (n.baseNode = N.toJSON(e.baseNode)), (i = e.connectedNodes) != null && i.length && (n.connectedNodes = e.connectedNodes), e.canMessageFilterSettings !== void 0 && (n.canMessageFilterSettings = I.toJSON(e.canMessageFilterSettings)), e.databasesSettings !== void 0 && (n.databasesSettings = b.toJSON(e.databasesSettings)), e.interpreterSettings !== void 0 && (n.interpreterSettings = V.toJSON(e.interpreterSettings)), e.extensionSettings !== void 0 && (n.extensionSettings = x.toJSON(e.extensionSettings)), n;
|
|
3902
3933
|
},
|
|
3903
3934
|
create(e) {
|
|
3904
3935
|
return w.fromPartial(e ?? {});
|
|
@@ -3906,30 +3937,30 @@ const w = {
|
|
|
3906
3937
|
fromPartial(e) {
|
|
3907
3938
|
var i;
|
|
3908
3939
|
const n = Be();
|
|
3909
|
-
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ?
|
|
3940
|
+
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ? N.fromPartial(e.baseNode) : void 0, n.connectedNodes = ((i = e.connectedNodes) == null ? void 0 : i.map((a) => a)) || [], n.canMessageFilterSettings = e.canMessageFilterSettings !== void 0 && e.canMessageFilterSettings !== null ? I.fromPartial(e.canMessageFilterSettings) : void 0, n.databasesSettings = e.databasesSettings !== void 0 && e.databasesSettings !== null ? b.fromPartial(e.databasesSettings) : void 0, n.interpreterSettings = e.interpreterSettings !== void 0 && e.interpreterSettings !== null ? V.fromPartial(e.interpreterSettings) : void 0, n.extensionSettings = e.extensionSettings !== void 0 && e.extensionSettings !== null ? x.fromPartial(e.extensionSettings) : void 0, n;
|
|
3910
3941
|
}
|
|
3911
3942
|
};
|
|
3912
|
-
function
|
|
3943
|
+
function ve() {
|
|
3913
3944
|
return { baseNode: void 0, connectedNodes: [], messageLoggerSettings: void 0 };
|
|
3914
3945
|
}
|
|
3915
3946
|
const H = {
|
|
3916
|
-
encode(e, n = new
|
|
3917
|
-
e.baseNode !== void 0 &&
|
|
3947
|
+
encode(e, n = new o()) {
|
|
3948
|
+
e.baseNode !== void 0 && N.encode(e.baseNode, n.uint32(10).fork()).join();
|
|
3918
3949
|
for (const i of e.connectedNodes)
|
|
3919
3950
|
n.uint32(18).string(i);
|
|
3920
|
-
return e.messageLoggerSettings !== void 0 &&
|
|
3951
|
+
return e.messageLoggerSettings !== void 0 && v.encode(e.messageLoggerSettings, n.uint32(26).fork()).join(), n;
|
|
3921
3952
|
},
|
|
3922
3953
|
decode(e, n) {
|
|
3923
|
-
const i = e instanceof
|
|
3954
|
+
const i = e instanceof u ? e : new u(e);
|
|
3924
3955
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3925
|
-
const r =
|
|
3956
|
+
const r = ve();
|
|
3926
3957
|
for (; i.pos < a; ) {
|
|
3927
3958
|
const t = i.uint32();
|
|
3928
3959
|
switch (t >>> 3) {
|
|
3929
3960
|
case 1: {
|
|
3930
3961
|
if (t !== 10)
|
|
3931
3962
|
break;
|
|
3932
|
-
r.baseNode =
|
|
3963
|
+
r.baseNode = N.decode(i, i.uint32());
|
|
3933
3964
|
continue;
|
|
3934
3965
|
}
|
|
3935
3966
|
case 2: {
|
|
@@ -3941,7 +3972,7 @@ const H = {
|
|
|
3941
3972
|
case 3: {
|
|
3942
3973
|
if (t !== 26)
|
|
3943
3974
|
break;
|
|
3944
|
-
r.messageLoggerSettings =
|
|
3975
|
+
r.messageLoggerSettings = v.decode(i, i.uint32());
|
|
3945
3976
|
continue;
|
|
3946
3977
|
}
|
|
3947
3978
|
}
|
|
@@ -3953,30 +3984,30 @@ const H = {
|
|
|
3953
3984
|
},
|
|
3954
3985
|
fromJSON(e) {
|
|
3955
3986
|
return {
|
|
3956
|
-
baseNode:
|
|
3987
|
+
baseNode: s(e.baseNode) ? N.fromJSON(e.baseNode) : void 0,
|
|
3957
3988
|
connectedNodes: globalThis.Array.isArray(e == null ? void 0 : e.connectedNodes) ? e.connectedNodes.map((n) => globalThis.String(n)) : [],
|
|
3958
|
-
messageLoggerSettings:
|
|
3989
|
+
messageLoggerSettings: s(e.messageLoggerSettings) ? v.fromJSON(e.messageLoggerSettings) : void 0
|
|
3959
3990
|
};
|
|
3960
3991
|
},
|
|
3961
3992
|
toJSON(e) {
|
|
3962
3993
|
var i;
|
|
3963
3994
|
const n = {};
|
|
3964
|
-
return e.baseNode !== void 0 && (n.baseNode =
|
|
3995
|
+
return e.baseNode !== void 0 && (n.baseNode = N.toJSON(e.baseNode)), (i = e.connectedNodes) != null && i.length && (n.connectedNodes = e.connectedNodes), e.messageLoggerSettings !== void 0 && (n.messageLoggerSettings = v.toJSON(e.messageLoggerSettings)), n;
|
|
3965
3996
|
},
|
|
3966
3997
|
create(e) {
|
|
3967
3998
|
return H.fromPartial(e ?? {});
|
|
3968
3999
|
},
|
|
3969
4000
|
fromPartial(e) {
|
|
3970
4001
|
var i;
|
|
3971
|
-
const n =
|
|
3972
|
-
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ?
|
|
4002
|
+
const n = ve();
|
|
4003
|
+
return n.baseNode = e.baseNode !== void 0 && e.baseNode !== null ? N.fromPartial(e.baseNode) : void 0, n.connectedNodes = ((i = e.connectedNodes) == null ? void 0 : i.map((a) => a)) || [], n.messageLoggerSettings = e.messageLoggerSettings !== void 0 && e.messageLoggerSettings !== null ? v.fromPartial(e.messageLoggerSettings) : void 0, n;
|
|
3973
4004
|
}
|
|
3974
4005
|
};
|
|
3975
4006
|
function Je() {
|
|
3976
4007
|
return { sources: [], dataProcessors: [], targets: [], language: "" };
|
|
3977
4008
|
}
|
|
3978
4009
|
const Zn = {
|
|
3979
|
-
encode(e, n = new
|
|
4010
|
+
encode(e, n = new o()) {
|
|
3980
4011
|
for (const i of e.sources)
|
|
3981
4012
|
J.encode(i, n.uint32(10).fork()).join();
|
|
3982
4013
|
for (const i of e.dataProcessors)
|
|
@@ -3986,7 +4017,7 @@ const Zn = {
|
|
|
3986
4017
|
return e.language !== "" && n.uint32(34).string(e.language), n;
|
|
3987
4018
|
},
|
|
3988
4019
|
decode(e, n) {
|
|
3989
|
-
const i = e instanceof
|
|
4020
|
+
const i = e instanceof u ? e : new u(e);
|
|
3990
4021
|
let a = n === void 0 ? i.len : i.pos + n;
|
|
3991
4022
|
const r = Je();
|
|
3992
4023
|
for (; i.pos < a; ) {
|
|
@@ -4028,7 +4059,7 @@ const Zn = {
|
|
|
4028
4059
|
sources: globalThis.Array.isArray(e == null ? void 0 : e.sources) ? e.sources.map((n) => J.fromJSON(n)) : [],
|
|
4029
4060
|
dataProcessors: globalThis.Array.isArray(e == null ? void 0 : e.dataProcessors) ? e.dataProcessors.map((n) => w.fromJSON(n)) : [],
|
|
4030
4061
|
targets: globalThis.Array.isArray(e == null ? void 0 : e.targets) ? e.targets.map((n) => H.fromJSON(n)) : [],
|
|
4031
|
-
language:
|
|
4062
|
+
language: s(e.language) ? globalThis.String(e.language) : ""
|
|
4032
4063
|
};
|
|
4033
4064
|
},
|
|
4034
4065
|
toJSON(e) {
|
|
@@ -4048,21 +4079,21 @@ const Zn = {
|
|
|
4048
4079
|
function zn(e) {
|
|
4049
4080
|
return typeof e == "object" && e !== null;
|
|
4050
4081
|
}
|
|
4051
|
-
function
|
|
4082
|
+
function s(e) {
|
|
4052
4083
|
return e != null;
|
|
4053
4084
|
}
|
|
4054
4085
|
export {
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4086
|
+
b as $,
|
|
4087
|
+
Fn as A,
|
|
4088
|
+
bn as B,
|
|
4058
4089
|
ln as C,
|
|
4059
|
-
|
|
4090
|
+
Vn as D,
|
|
4060
4091
|
yn as E,
|
|
4061
4092
|
M as F,
|
|
4062
|
-
|
|
4093
|
+
xn as G,
|
|
4063
4094
|
Un as H,
|
|
4064
4095
|
Bn as I,
|
|
4065
|
-
|
|
4096
|
+
vn as J,
|
|
4066
4097
|
Jn as K,
|
|
4067
4098
|
Nn as L,
|
|
4068
4099
|
wn as M,
|
|
@@ -4070,25 +4101,25 @@ export {
|
|
|
4070
4101
|
Xn as O,
|
|
4071
4102
|
Qn as P,
|
|
4072
4103
|
A as Q,
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4104
|
+
G as R,
|
|
4105
|
+
F as S,
|
|
4106
|
+
Cn as T,
|
|
4107
|
+
C as U,
|
|
4108
|
+
k as V,
|
|
4078
4109
|
L as W,
|
|
4079
|
-
|
|
4110
|
+
P as X,
|
|
4080
4111
|
Y,
|
|
4081
|
-
|
|
4112
|
+
D as Z,
|
|
4082
4113
|
I as _,
|
|
4083
4114
|
_n as a,
|
|
4084
|
-
|
|
4115
|
+
V as a0,
|
|
4085
4116
|
y as a1,
|
|
4086
|
-
|
|
4117
|
+
x as a2,
|
|
4087
4118
|
U as a3,
|
|
4088
4119
|
B as a4,
|
|
4089
4120
|
R as a5,
|
|
4090
|
-
|
|
4091
|
-
|
|
4121
|
+
v as a6,
|
|
4122
|
+
N as a7,
|
|
4092
4123
|
J as a8,
|
|
4093
4124
|
w as a9,
|
|
4094
4125
|
H as aa,
|
|
@@ -4096,37 +4127,37 @@ export {
|
|
|
4096
4127
|
tn as ac,
|
|
4097
4128
|
rn as ad,
|
|
4098
4129
|
an as ae,
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4130
|
+
sn as af,
|
|
4131
|
+
un as ag,
|
|
4132
|
+
dn as ah,
|
|
4102
4133
|
S as ai,
|
|
4103
4134
|
q as aj,
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4135
|
+
on as ak,
|
|
4136
|
+
o as al,
|
|
4137
|
+
u as am,
|
|
4107
4138
|
An as b,
|
|
4108
4139
|
cn as c,
|
|
4109
|
-
|
|
4140
|
+
_ as d,
|
|
4110
4141
|
O as e,
|
|
4111
4142
|
m as f,
|
|
4112
4143
|
K as g,
|
|
4113
4144
|
Rn as h,
|
|
4114
4145
|
g as i,
|
|
4115
4146
|
Sn as j,
|
|
4116
|
-
|
|
4147
|
+
p as k,
|
|
4117
4148
|
En as l,
|
|
4118
4149
|
On as m,
|
|
4119
4150
|
Tn as n,
|
|
4120
4151
|
Mn as o,
|
|
4121
|
-
|
|
4152
|
+
hn as p,
|
|
4122
4153
|
mn as q,
|
|
4123
4154
|
Ln as r,
|
|
4124
4155
|
gn as s,
|
|
4125
|
-
|
|
4126
|
-
|
|
4156
|
+
pn as t,
|
|
4157
|
+
Gn as u,
|
|
4127
4158
|
Oe as v,
|
|
4128
4159
|
Ie as w,
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4160
|
+
kn as x,
|
|
4161
|
+
Pn as y,
|
|
4162
|
+
Dn as z
|
|
4132
4163
|
};
|