@kvaser/canking-api 7.1.0-beta.241 → 7.2.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 +98 -64
- package/REDISTRIBUTABLES.txt +88 -2
- package/dist/ElectronAPIFake.js +1 -1
- package/dist/ElectronAPIFake.mjs +20 -14
- package/dist/controls/CanIdentifierControl.d.ts +45 -8
- package/dist/controls/ColumnItemControl.d.ts +1 -1
- package/dist/controls/DropdownButton.d.ts +1 -1
- package/dist/controls/LinChannelSelectControl.d.ts +34 -0
- package/dist/controls/LinIdentifierControl.d.ts +224 -0
- package/dist/controls/SelectMessageDialog.d.ts +28 -0
- package/dist/controls/SelectSignalControl.d.ts +11 -0
- package/dist/controls/SelectSignalDialog.d.ts +21 -0
- package/dist/controls/TableControl.d.ts +7 -1
- package/dist/controls/index.d.ts +10 -0
- package/dist/controls.js +1 -1
- package/dist/controls.mjs +1862 -1054
- package/dist/grpc.js +1 -1
- package/dist/grpc.mjs +123 -95
- package/dist/hooks/index.d.ts +6 -1
- package/dist/hooks.js +1 -1
- package/dist/hooks.mjs +17 -16
- package/dist/icons/index.d.ts +6 -0
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +87 -75
- package/dist/index.js +1 -1
- package/dist/index.mjs +48 -42
- package/dist/ipc/index.d.ts +30 -0
- package/dist/ipc.js +1 -1
- package/dist/ipc.mjs +64 -51
- package/dist/measurement_settings.js +1 -1
- package/dist/measurement_settings.mjs +3196 -1353
- package/dist/models/index.d.ts +4 -1
- package/dist/models.js +1 -1
- package/dist/models.mjs +235 -223
- package/dist/protos/app_params.d.ts +10 -0
- package/dist/protos/device_params.d.ts +14 -25
- package/dist/protos/frame_params.d.ts +10 -6
- package/dist/protos/measurement_params.d.ts +11 -0
- package/dist/protos/measurement_service.d.ts +58 -2
- package/dist/protos/measurement_settings.d.ts +106 -35
- package/dist/protos/signal_params.d.ts +3 -0
- package/dist/protos/status_params.d.ts +9 -9
- package/dist/status_params.js +1 -1
- package/dist/status_params.mjs +699 -2115
- 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.CanMessageFilterType.html +6 -0
- 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.LoggerState.html +7 -0
- package/doc/enums/models.MeasurementEvent.html +12 -185
- 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 -175
- 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.LinChannelSelectControl.html +4 -0
- package/doc/functions/controls.LinIdentifierControl.html +4 -0
- package/doc/functions/controls.LinIdentifierFrameControl.html +4 -0
- package/doc/functions/controls.LinIdentifierGeneratorControl.html +4 -0
- package/doc/functions/controls.LinIdentifierGeneratorSettingsControl.html +5 -0
- 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.SelectMessageDialog.html +2 -0
- package/doc/functions/controls.SelectSignalControl.html +1 -0
- package/doc/functions/controls.SelectSignalDialog.html +2 -0
- 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 -176
- package/doc/functions/controls.useColumnItems.html +3 -176
- package/doc/functions/controls.useMessageDatabases.html +2 -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 +3 -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.useSignalLogFileFormats.html +2 -0
- 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.ColumnSettingsIcon.html +4 -0
- 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.EnableIcon.html +4 -0
- 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.clearLinMessage.html +4 -0
- 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.getSignalLogFileFormats.html +3 -0
- package/doc/functions/ipc.requestLinMessage.html +5 -0
- 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.updateLinMessage.html +4 -0
- 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.canMessageFilterTypeFromJSON.html +1 -0
- package/doc/functions/models.canMessageFilterTypeToJSON.html +1 -0
- 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.loggerStateFromJSON.html +1 -0
- package/doc/functions/models.loggerStateToJSON.html +1 -0
- 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.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 +65 -237
- 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 +32 -189
- package/doc/interfaces/controls.CanIdentifierFrameControlProps.html +28 -187
- package/doc/interfaces/controls.CanIdentifierGeneratorControlProps.html +28 -201
- package/doc/interfaces/controls.CanIdentifierGeneratorSettingsControlProps.html +17 -190
- package/doc/interfaces/controls.CheckboxControlProps.html +7 -180
- package/doc/interfaces/controls.ColumnItem.html +3 -0
- package/doc/interfaces/controls.ColumnItemControlProps.html +3 -176
- 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.IMessageDatabase.html +4 -0
- package/doc/interfaces/controls.InlineEditorProps.html +9 -182
- package/doc/interfaces/controls.LabelProps.html +3 -176
- package/doc/interfaces/controls.LinChannelSelectControlProps.html +20 -0
- package/doc/interfaces/controls.LinIdentifierControlProps.html +35 -0
- package/doc/interfaces/controls.LinIdentifierFrameControlProps.html +33 -0
- package/doc/interfaces/controls.LinIdentifierGeneratorControlProps.html +37 -0
- package/doc/interfaces/controls.LinIdentifierGeneratorSettingsControlProps.html +25 -0
- 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.SelectMessageDialogProps.html +8 -0
- package/doc/interfaces/controls.SelectSignalDialogProps.html +12 -0
- package/doc/interfaces/controls.TableColumn.html +10 -183
- package/doc/interfaces/controls.TableControlProps.html +24 -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.CanBusSpeedInfo.html +12 -191
- package/doc/interfaces/models.CanChannelCapacity.html +7 -180
- package/doc/interfaces/models.CanChannelConfiguration.html +16 -185
- package/doc/interfaces/models.CanFDBusSpeedCombination.html +4 -177
- package/doc/interfaces/models.CanFDBusSpeedInfo.html +8 -189
- 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.DatabaseFiles.html +6 -0
- 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 +6 -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 +8 -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 +14 -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.LoggerStatus.html +3 -0
- package/doc/interfaces/models.MeasurementEventArgs.html +5 -178
- package/doc/interfaces/models.MeasurementSetup.html +3 -176
- package/doc/interfaces/models.MessageLoggerSettings.html +44 -213
- 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.SignalFilterSettings.html +4 -0
- package/doc/interfaces/models.SignalLoggerSettings.html +56 -0
- package/doc/interfaces/models.SignalValue.html +5 -180
- 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 +6 -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 -183
- package/doc/modules/controls.html +3 -241
- 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.canIdentifierGeneratorType.html +2 -0
- package/doc/types/controls.canIdentifierType.html +2 -175
- package/doc/types/controls.linIdentifierGeneratorType.html +2 -0
- 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.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.DatabaseFiles-1.html +1 -0
- 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.LoggerStatus-1.html +1 -0
- 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.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.SignalFilterSettings-1.html +1 -0
- package/doc/variables/models.SignalLoggerSettings-1.html +1 -0
- 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/package.json +15 -3
- package/doc/assets/material-style.css +0 -338
- package/doc/enums/models.MessageLoggerState.html +0 -180
- package/doc/functions/models.messageLoggerStateFromJSON.html +0 -174
- package/doc/functions/models.messageLoggerStateToJSON.html +0 -174
- package/doc/interfaces/models.CanBusSpeed.html +0 -187
- package/doc/interfaces/models.MessageLoggerStatus.html +0 -176
- package/doc/variables/models.CanBusSpeed-1.html +0 -174
- package/doc/variables/models.MessageLoggerStatus-1.html +0 -174
package/README.md
CHANGED
|
@@ -4,49 +4,61 @@
|
|
|
4
4
|
|
|
5
5
|
The purpose with this package is to help developers to create user interface extensions for the Kvaser CanKing bus analysis tool.
|
|
6
6
|
|
|
7
|
-
Kvaser CanKing is a free of charge, general-purpose CAN and LIN bus analysis software that is compatible with all Kvaser CAN
|
|
7
|
+
Kvaser CanKing is a free of charge, general-purpose CAN and LIN bus analysis software that is compatible with all Kvaser CAN
|
|
8
|
+
and LIN interfaces and the Kvaser virtual CAN bus. It's available on Windows (x64) and Linux (x64 and ARM).
|
|
8
9
|
|
|
9
|
-
There are a lot of functionality already included in the base version of CanKing, but it is also possible to extend the
|
|
10
|
+
There are a lot of functionality already included in the base version of CanKing, but it is also possible to extend the
|
|
11
|
+
functionality and the user interface by creating extensions.
|
|
10
12
|
|
|
11
|
-
An extension is developed as a stand-alone [React](<https://react.dev/>) web application. The web application will be hosted
|
|
13
|
+
An extension is developed as a stand-alone [React](<https://react.dev/>) web application. The web application will be hosted
|
|
14
|
+
by an express web server inside CanKing and it will be mounted into the CanKing user interface using a webview element.
|
|
12
15
|
|
|
13
|
-
When an extension is mounted into CanKing, then a preload script will run to inject inter-process communication (IPC)
|
|
16
|
+
When an extension is mounted into CanKing, then a preload script will run to inject inter-process communication (IPC)
|
|
17
|
+
functions. These functions will make it possible for the extension to communicate with CanKing to get information and to
|
|
18
|
+
interact with the CAN/LIN bus.
|
|
14
19
|
|
|
15
20
|
The IPC functions are accessible by importing different modules from the @kvaser/canking-api package.
|
|
16
21
|
|
|
17
22
|
To get or subscribe on CanKing data there are different React hooks to be used. All these can be found in the hooks module.
|
|
18
23
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
...
|
|
24
|
+
```tsx
|
|
25
|
+
import { useUserSetting, useMeasurementSetup } from '@kvaser/canking-api/hooks';
|
|
22
26
|
|
|
23
|
-
|
|
24
|
-
|
|
27
|
+
...
|
|
28
|
+
|
|
29
|
+
const userSettings = useUserSettings();
|
|
30
|
+
const measurementSetup = useMeasurementSetup();
|
|
31
|
+
```
|
|
25
32
|
|
|
26
33
|
To interact with CanKing there are different functions that can be imported from the ipc module.
|
|
27
34
|
|
|
28
|
-
|
|
35
|
+
```tsx
|
|
36
|
+
import { sendCanMessage } from '@kvaser/canking-api/ipc';
|
|
37
|
+
|
|
38
|
+
...
|
|
29
39
|
|
|
30
|
-
|
|
40
|
+
sendCanMessage(channelId, frameId, data, flags);
|
|
41
|
+
```
|
|
31
42
|
|
|
32
|
-
|
|
43
|
+
The @kvaser/canking-api package also includes some React components that you can use, e.g. there is a component for selecting
|
|
44
|
+
channel.
|
|
33
45
|
|
|
34
|
-
|
|
46
|
+
```tsx
|
|
47
|
+
import { CanChannelSelectControl } from '@kvaser/canking-api/controls';
|
|
35
48
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
...
|
|
49
|
+
...
|
|
39
50
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
51
|
+
function WorkspaceView() {
|
|
52
|
+
const [channelId, setChannelId] = useState('');
|
|
53
|
+
return (
|
|
54
|
+
<CanChannelSelectControl
|
|
55
|
+
channelIdentifier={channelId}
|
|
56
|
+
onChannelIdentifierChange={setChannelId}
|
|
57
|
+
hideSectionControl
|
|
58
|
+
/>
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
```
|
|
50
62
|
|
|
51
63
|
## Prerequisites
|
|
52
64
|
|
|
@@ -56,59 +68,71 @@ Before creating a new CanKing Extension the following softwares need to be insta
|
|
|
56
68
|
- Kvaser CanKing: <https://kvaser.com/canking/>
|
|
57
69
|
- Kvaser Drivers: <https://resources.kvaser.com/7330130980013/latest/kvaser_drivers_setup.exe>
|
|
58
70
|
|
|
59
|
-
You will also need an IDE (Integrated Development Environment) to edit and debug your code. We
|
|
71
|
+
You will also need an IDE (Integrated Development Environment) to edit and debug your code. We recommend that you're using
|
|
72
|
+
[Visual Studio Code](https://code.visualstudio.com/).
|
|
60
73
|
|
|
61
74
|
With Visual Studio Code you might also want to install these extensions to help you with code formatting and code analysing:
|
|
62
75
|
|
|
63
|
-
- ESLint (dbaeumer.vscode-eslint)
|
|
64
|
-
- Prettier - Code formatter (esbenp.prettier-vscode)
|
|
65
|
-
- EditorConfig for VS Code (editorconfig.editorconfig)
|
|
76
|
+
- [ESLint (dbaeumer.vscode-eslint)](<https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint>)
|
|
77
|
+
- [Prettier - Code formatter (esbenp.prettier-vscode)](<https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode>)
|
|
78
|
+
- [EditorConfig for VS Code (editorconfig.editorconfig)](<https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig>)
|
|
66
79
|
|
|
67
80
|
## Generate a new CanKing Extension project
|
|
68
81
|
|
|
69
|
-
The simplest way to create a new CanKing Extension project is to use the script that is included in the
|
|
82
|
+
The simplest way to create a new CanKing Extension project is to use the script that is included in the
|
|
83
|
+
[@kvaser/create-canking-extension](<https://www.npmjs.com/package/@kvaser/create-canking-extension>) package. The script is
|
|
84
|
+
used like this:
|
|
70
85
|
|
|
71
|
-
|
|
86
|
+
```bash
|
|
87
|
+
npm create @kvaser/canking-extension@latest
|
|
88
|
+
```
|
|
72
89
|
|
|
73
90
|
Then follow the prompts.
|
|
74
91
|
|
|
75
|
-
You can also
|
|
92
|
+
You can also specify a project name via a command line argument.
|
|
76
93
|
|
|
77
|
-
|
|
94
|
+
```bash
|
|
95
|
+
npm create @kvaser/canking-extension@latest my-ck-extension
|
|
96
|
+
```
|
|
78
97
|
|
|
79
|
-
This command will create a new project in a new folder with the same name as the specified project name.
|
|
98
|
+
This command will create a new project in a new folder with the same name as the specified project name (my-ck-extension).
|
|
80
99
|
You can use `.` for the project name to scaffold your project in the current directory.
|
|
81
100
|
|
|
82
101
|
The command above will create a folder structure like this:
|
|
83
102
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
103
|
+
```text
|
|
104
|
+
my-ck-extension
|
|
105
|
+
│ .gitignore
|
|
106
|
+
│ .prettierrc
|
|
107
|
+
│ eslint.config.mjs
|
|
108
|
+
│ index.html
|
|
109
|
+
│ package.json
|
|
110
|
+
│ tsconfig.app.json
|
|
111
|
+
│ tsconfig.json
|
|
112
|
+
│ tsconfig.node.json
|
|
113
|
+
│ vite.config.ts
|
|
114
|
+
│
|
|
115
|
+
├───.vscode
|
|
116
|
+
│ launch.json
|
|
117
|
+
│
|
|
118
|
+
└───src
|
|
119
|
+
│ App.tsx
|
|
120
|
+
│ main.tsx
|
|
121
|
+
│ vite-env.d.ts
|
|
94
122
|
│
|
|
95
|
-
|
|
96
|
-
│
|
|
123
|
+
├───assets
|
|
124
|
+
│ icon.png
|
|
97
125
|
│
|
|
98
|
-
└───
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
│ vite-env.d.ts
|
|
102
|
-
│
|
|
103
|
-
├───assets
|
|
104
|
-
│ icon.png
|
|
105
|
-
│
|
|
106
|
-
└───WorkspaceView
|
|
107
|
-
index.tsx
|
|
126
|
+
└───WorkspaceView
|
|
127
|
+
index.tsx
|
|
128
|
+
```
|
|
108
129
|
|
|
109
|
-
The project follows a similar file structure as the one that is created for a [Vite](<https://vite.dev/>) project created
|
|
130
|
+
The project follows a similar file structure as the one that is created for a [Vite](<https://vite.dev/>) project created
|
|
131
|
+
using the react-ts template. There are some extra information added to the package.json file that are needed for CanKing and
|
|
132
|
+
the src files are modified to be used inside CanKing.
|
|
110
133
|
|
|
111
|
-
The my-ck-extension/src/WorkspaceView/index.tsx file is the file that includes the React component that will be mounted into
|
|
134
|
+
The my-ck-extension/src/WorkspaceView/index.tsx file is the file that includes the React component that will be mounted into
|
|
135
|
+
CanKing, so this is the file you should implement to create your extension.
|
|
112
136
|
|
|
113
137
|
## Develop a CanKing Extension
|
|
114
138
|
|
|
@@ -120,7 +144,9 @@ so this is the component that should be implemented to implement the extension.
|
|
|
120
144
|
|
|
121
145
|
To run the extension from command line enter:
|
|
122
146
|
|
|
123
|
-
|
|
147
|
+
```bash
|
|
148
|
+
npm run start
|
|
149
|
+
```
|
|
124
150
|
|
|
125
151
|
To run the extension using Visual Studio Code debugger:
|
|
126
152
|
|
|
@@ -130,11 +156,15 @@ To run the extension using Visual Studio Code debugger:
|
|
|
130
156
|
|
|
131
157
|
To run a production build of the extension you can enter this command:
|
|
132
158
|
|
|
133
|
-
|
|
159
|
+
```bash
|
|
160
|
+
npm run startpreview
|
|
161
|
+
```
|
|
134
162
|
|
|
135
163
|
If you need more information and help about how to interact with CanKing then you can run this command:
|
|
136
164
|
|
|
137
|
-
|
|
165
|
+
```bash
|
|
166
|
+
npx @kvaser/canking-api --help
|
|
167
|
+
```
|
|
138
168
|
|
|
139
169
|
This will open up a help file in your web browser.
|
|
140
170
|
|
|
@@ -142,10 +172,14 @@ This will open up a help file in your web browser.
|
|
|
142
172
|
|
|
143
173
|
To package your extension for distribution you should run this command from the command line:
|
|
144
174
|
|
|
145
|
-
|
|
175
|
+
```bash
|
|
176
|
+
npm pack
|
|
177
|
+
```
|
|
146
178
|
|
|
147
179
|
This command will create a tarball file in the root folder of your project called:
|
|
148
180
|
|
|
149
|
-
|
|
181
|
+
```text
|
|
182
|
+
<project-name>-<version>.tgz
|
|
183
|
+
```
|
|
150
184
|
|
|
151
185
|
This tarball can then be installed in CanKing using the head menu 'More'->'Extensions'->'Install'.
|
package/REDISTRIBUTABLES.txt
CHANGED
|
@@ -1,5 +1,91 @@
|
|
|
1
1
|
Redistributable files in Kvaser CanKing GUI Extensions SDK
|
|
2
2
|
===================================================================================================
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
provided they are only used together with genuine Kvaser hardware.
|
|
4
|
+
The following files in the dist folder and in its sub-folders may be redistributed with your
|
|
5
|
+
application, provided they are only used together with genuine Kvaser hardware.
|
|
6
|
+
|
|
7
|
+
dist
|
|
8
|
+
│ controls.js
|
|
9
|
+
│ controls.mjs
|
|
10
|
+
│ ElectronAPIFake.js
|
|
11
|
+
│ ElectronAPIFake.mjs
|
|
12
|
+
│ grpc.js
|
|
13
|
+
│ grpc.mjs
|
|
14
|
+
│ hooks.js
|
|
15
|
+
│ hooks.mjs
|
|
16
|
+
│ icons.js
|
|
17
|
+
│ icons.mjs
|
|
18
|
+
│ index.d.ts
|
|
19
|
+
│ index.js
|
|
20
|
+
│ index.mjs
|
|
21
|
+
│ ipc.js
|
|
22
|
+
│ ipc.mjs
|
|
23
|
+
│ measurement_settings.js
|
|
24
|
+
│ measurement_settings.mjs
|
|
25
|
+
│ models.js
|
|
26
|
+
│ models.mjs
|
|
27
|
+
│ status_params.js
|
|
28
|
+
│ status_params.mjs
|
|
29
|
+
│
|
|
30
|
+
├───controls
|
|
31
|
+
│ CanChannelSelectControl.d.ts
|
|
32
|
+
│ CanIdentifierControl.d.ts
|
|
33
|
+
│ CanKingDataProvider.d.ts
|
|
34
|
+
│ CheckboxControl.d.ts
|
|
35
|
+
│ ContextMenu.d.ts
|
|
36
|
+
│ DropdownButton.d.ts
|
|
37
|
+
│ DropdownPanel.d.ts
|
|
38
|
+
│ FillBox.d.ts
|
|
39
|
+
│ FormControlRow.d.ts
|
|
40
|
+
│ index.d.ts
|
|
41
|
+
│ InlineEditor.d.ts
|
|
42
|
+
│ LinChannelSelectControl.d.ts
|
|
43
|
+
│ LinIdentifierControl.d.ts
|
|
44
|
+
│ LocalizedStrings.d.ts
|
|
45
|
+
│ NumberRangeControl.d.ts
|
|
46
|
+
│ OneLineButton.d.ts
|
|
47
|
+
│ RadioControl.d.ts
|
|
48
|
+
│ RadioGroupControl.d.ts
|
|
49
|
+
│ SectionControl.d.ts
|
|
50
|
+
│ SelectControl.d.ts
|
|
51
|
+
│ SizedBox.d.ts
|
|
52
|
+
│ TableControl.d.ts
|
|
53
|
+
│ TabsPanel.d.ts
|
|
54
|
+
│ TextControl.d.ts
|
|
55
|
+
│ ToolbarControl.d.ts
|
|
56
|
+
│ ValidateableTextControl.d.ts
|
|
57
|
+
│
|
|
58
|
+
├───grpc
|
|
59
|
+
│ index.d.ts
|
|
60
|
+
│
|
|
61
|
+
├───hooks
|
|
62
|
+
│ index.d.ts
|
|
63
|
+
│
|
|
64
|
+
├───icons
|
|
65
|
+
│ index.d.ts
|
|
66
|
+
│
|
|
67
|
+
├───ipc
|
|
68
|
+
│ index.d.ts
|
|
69
|
+
│
|
|
70
|
+
├───models
|
|
71
|
+
│ DataBuffer.d.ts
|
|
72
|
+
│ ElectronAPIFake.d.ts
|
|
73
|
+
│ index.d.ts
|
|
74
|
+
│ Point.d.ts
|
|
75
|
+
│
|
|
76
|
+
└───protos
|
|
77
|
+
│ app_params.d.ts
|
|
78
|
+
│ app_service.d.ts
|
|
79
|
+
│ common_params.d.ts
|
|
80
|
+
│ device_params.d.ts
|
|
81
|
+
│ device_service.d.ts
|
|
82
|
+
│ frame_params.d.ts
|
|
83
|
+
│ measurement_params.d.ts
|
|
84
|
+
│ measurement_service.d.ts
|
|
85
|
+
│ measurement_settings.d.ts
|
|
86
|
+
│ signal_params.d.ts
|
|
87
|
+
│ status_params.d.ts
|
|
88
|
+
│
|
|
89
|
+
└───google
|
|
90
|
+
└───protobuf
|
|
91
|
+
empty.d.ts
|
package/dist/ElectronAPIFake.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var p=Object.defineProperty;var
|
|
1
|
+
"use strict";var p=Object.defineProperty;var d=(r,e,s)=>e in r?p(r,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[e]=s;var t=(r,e,s)=>d(r,typeof e!="symbol"?e+"":e,s);require("long");const v=require("./measurement_settings.js");class F{constructor(e){t(this,"userSettings");this.userSettings=e}on(e,s){return()=>{}}once(e,s){return()=>{}}removeAllListeners(e){}removeListener(e,s){return this}send(e,...s){}invoke(e,...s){switch(e){case"rpc-get-devices":const n=[];return Promise.resolve(n);case"app-get-session-data":return Promise.resolve(null);case"app-get-user-settings":return Promise.resolve(this.userSettings);case"rpc-get-online-status":const o={isOnline:!1};return Promise.resolve(o);case"rpc-get-node-statuses":const c=[];return Promise.resolve(c);case"prj-get-meas-setup":return Promise.resolve(v.MeasurementSetup.create());case"prj-get-workspaces":const i=[];return Promise.resolve(i);case"prj-get-workspace-panes":const l=[];return Promise.resolve(l);case"app-get-workspace-view-session-data":case"rpc-start-periodic-transmission":return Promise.resolve("");case"rpc-get-message-log-file-formats":const u=[];return Promise.resolve(u);case"rpc-get-signal-log-file-formats":const m=[];return Promise.resolve(m);case"rpc-get-frame-definitions":const g=[];return Promise.resolve(g);case"mm-get-measurement-data-buffer":case"mm-get-latest-measurement-data":return Promise.resolve(frames);default:return Promise.resolve()}}postMessage(e,s,n){}sendSync(e,...s){}sendTo(e,s,...n){}sendToHost(e,...s){}}class f{insertCSS(e){return""}setZoomFactor(e){}setZoomLevel(e){}}class P{constructor(){t(this,"platform");t(this,"versions");t(this,"env")}}const a=r=>{const e={version:"1.0.0",theme:"light",language:"en",strings:{},showToolsPanel:!0,useHexNumericBase:!0,maxDataBytes:16,defaultProjectFolder:"",defaultLogFilesFolder:"",defaultCANDatabasesFolder:"",defaultLINDatabasesFolder:"",currentProjectFile:"",currentProjectFileName:"",recentProjectFiles:[],closeAppServiceAction:"prompt"};return{ipcRenderer:new F(r??e),webFrame:new f,process:new P}},h=a();exports.createElectronApiFake=a;exports.electronApiFake=h;
|
package/dist/ElectronAPIFake.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var t = (r, e, s) =>
|
|
1
|
+
var p = Object.defineProperty;
|
|
2
|
+
var g = (r, e, s) => e in r ? p(r, e, { enumerable: !0, configurable: !0, writable: !0, value: s }) : r[e] = s;
|
|
3
|
+
var t = (r, e, s) => g(r, typeof e != "symbol" ? e + "" : e, s);
|
|
4
4
|
import "long";
|
|
5
|
-
import {
|
|
5
|
+
import { aI as d } from "./measurement_settings.mjs";
|
|
6
6
|
class v {
|
|
7
7
|
/**
|
|
8
8
|
* Creates a new IpcRendererFake.
|
|
@@ -110,7 +110,7 @@ class v {
|
|
|
110
110
|
const o = [];
|
|
111
111
|
return Promise.resolve(o);
|
|
112
112
|
case "prj-get-meas-setup":
|
|
113
|
-
return Promise.resolve(
|
|
113
|
+
return Promise.resolve(d.create());
|
|
114
114
|
case "prj-get-workspaces":
|
|
115
115
|
const c = [];
|
|
116
116
|
return Promise.resolve(c);
|
|
@@ -123,9 +123,12 @@ class v {
|
|
|
123
123
|
case "rpc-get-message-log-file-formats":
|
|
124
124
|
const l = [];
|
|
125
125
|
return Promise.resolve(l);
|
|
126
|
-
case "rpc-get-
|
|
126
|
+
case "rpc-get-signal-log-file-formats":
|
|
127
127
|
const m = [];
|
|
128
128
|
return Promise.resolve(m);
|
|
129
|
+
case "rpc-get-frame-definitions":
|
|
130
|
+
const u = [];
|
|
131
|
+
return Promise.resolve(u);
|
|
129
132
|
case "mm-get-measurement-data-buffer":
|
|
130
133
|
case "mm-get-latest-measurement-data":
|
|
131
134
|
return Promise.resolve(frames);
|
|
@@ -190,7 +193,7 @@ class v {
|
|
|
190
193
|
sendToHost(e, ...s) {
|
|
191
194
|
}
|
|
192
195
|
}
|
|
193
|
-
class
|
|
196
|
+
class f {
|
|
194
197
|
/**
|
|
195
198
|
* A key for the inserted CSS that can later be used to remove the CSS via
|
|
196
199
|
* `webFrame.removeInsertedCSS(key)`.
|
|
@@ -222,7 +225,7 @@ class d {
|
|
|
222
225
|
setZoomLevel(e) {
|
|
223
226
|
}
|
|
224
227
|
}
|
|
225
|
-
class
|
|
228
|
+
class F {
|
|
226
229
|
constructor() {
|
|
227
230
|
/**
|
|
228
231
|
* The process.platform property returns a string identifying the operating system platform
|
|
@@ -239,7 +242,7 @@ class P {
|
|
|
239
242
|
t(this, "env");
|
|
240
243
|
}
|
|
241
244
|
}
|
|
242
|
-
const
|
|
245
|
+
const P = (r) => {
|
|
243
246
|
const e = {
|
|
244
247
|
version: "1.0.0",
|
|
245
248
|
theme: "light",
|
|
@@ -249,6 +252,9 @@ const f = (r) => {
|
|
|
249
252
|
useHexNumericBase: !0,
|
|
250
253
|
maxDataBytes: 16,
|
|
251
254
|
defaultProjectFolder: "",
|
|
255
|
+
defaultLogFilesFolder: "",
|
|
256
|
+
defaultCANDatabasesFolder: "",
|
|
257
|
+
defaultLINDatabasesFolder: "",
|
|
252
258
|
currentProjectFile: "",
|
|
253
259
|
currentProjectFileName: "",
|
|
254
260
|
recentProjectFiles: [],
|
|
@@ -256,11 +262,11 @@ const f = (r) => {
|
|
|
256
262
|
};
|
|
257
263
|
return {
|
|
258
264
|
ipcRenderer: new v(r ?? e),
|
|
259
|
-
webFrame: new
|
|
260
|
-
process: new
|
|
265
|
+
webFrame: new f(),
|
|
266
|
+
process: new F()
|
|
261
267
|
};
|
|
262
|
-
},
|
|
268
|
+
}, S = P();
|
|
263
269
|
export {
|
|
264
|
-
|
|
265
|
-
|
|
270
|
+
P as c,
|
|
271
|
+
S as e
|
|
266
272
|
};
|
|
@@ -12,7 +12,7 @@ import { PeriodicTransmissionSettings, WriteFrame } from '../models';
|
|
|
12
12
|
/** Possible CAN identifier types, standard (11-bits) or extended (29-bits). */
|
|
13
13
|
export type canIdentifierType = 'standard' | 'extended';
|
|
14
14
|
/** Possible CAN identifier generator types. */
|
|
15
|
-
type
|
|
15
|
+
export type canIdentifierGeneratorType = 'constant' | 'random' | 'scan';
|
|
16
16
|
/**
|
|
17
17
|
* Properties of the CanIdentifierControl React component.
|
|
18
18
|
*/
|
|
@@ -23,7 +23,8 @@ interface CanIdentifierControlProps {
|
|
|
23
23
|
canIdentifierType: canIdentifierType;
|
|
24
24
|
/**
|
|
25
25
|
* Callback that will be called when the CAN identifier has changed.
|
|
26
|
-
* @param
|
|
26
|
+
* @param identifier The new CAN identifier.
|
|
27
|
+
* @param idType The new CAN identifier type.
|
|
27
28
|
*/
|
|
28
29
|
onCanIdentifierChange: (identifier: string, idType: canIdentifierType) => void;
|
|
29
30
|
/**
|
|
@@ -31,10 +32,28 @@ interface CanIdentifierControlProps {
|
|
|
31
32
|
* @param errors The new errors state.
|
|
32
33
|
*/
|
|
33
34
|
onErrorsChange?: (errors: boolean) => void;
|
|
34
|
-
/**
|
|
35
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Callback that will be called when the select message dialog has been opened or closed.
|
|
37
|
+
* @param value The new show select message dialog state.
|
|
38
|
+
*/
|
|
39
|
+
showSelectMessageDialogChange?: (value: boolean) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Callback that will be called when the select signal dialog has been opened or closed.
|
|
42
|
+
* @param value The new show select signal dialog state.
|
|
43
|
+
*/
|
|
44
|
+
showSelectSignalDialogChange?: (value: boolean) => void;
|
|
36
45
|
/** Set to true to disable this control. */
|
|
37
46
|
disabled?: boolean;
|
|
47
|
+
/** Set to true if the select message button should be disabled. */
|
|
48
|
+
disableSelectMessageButton?: boolean;
|
|
49
|
+
/** Set to true if the select signal button should be disabled. */
|
|
50
|
+
disableSelectSignalButton?: boolean;
|
|
51
|
+
/** Set to true if this control shouldn't be encapsulated inside a SectionControl. */
|
|
52
|
+
hideSection?: boolean;
|
|
53
|
+
/** Set to true if the select message button shouldn't be visible. */
|
|
54
|
+
hideSelectMessageButton?: boolean;
|
|
55
|
+
/** Set to true if the select signal button shouldn't be visible. */
|
|
56
|
+
showSelectSignalButton?: boolean;
|
|
38
57
|
/** Set to true if the SectionControl should be collapsible, ignored if hideSectionControl is true. */
|
|
39
58
|
collapsible?: boolean;
|
|
40
59
|
/** Current collapse state of the SectionControl. */
|
|
@@ -50,7 +69,7 @@ interface CanIdentifierControlProps {
|
|
|
50
69
|
* @param props Component properties.
|
|
51
70
|
* @returns The CanIdentifierControl React component.
|
|
52
71
|
*/
|
|
53
|
-
declare function CanIdentifierControl({ canIdentifier, canIdentifierType, onCanIdentifierChange, onErrorsChange,
|
|
72
|
+
declare function CanIdentifierControl({ canIdentifier, canIdentifierType, onCanIdentifierChange, onErrorsChange, showSelectMessageDialogChange, showSelectSignalDialogChange, disabled, disableSelectMessageButton, disableSelectSignalButton, hideSection, hideSelectMessageButton, showSelectSignalButton, collapsible, collapsed, collapsedChange, }: CanIdentifierControlProps): import("react/jsx-runtime").JSX.Element;
|
|
54
73
|
/**
|
|
55
74
|
* Properties of the CanIdentifierFrameControl React component.
|
|
56
75
|
*/
|
|
@@ -67,8 +86,26 @@ interface CanIdentifierFrameControlProps {
|
|
|
67
86
|
* @param errors The new errors state.
|
|
68
87
|
*/
|
|
69
88
|
onErrorsChange?: (errors: boolean) => void;
|
|
89
|
+
/**
|
|
90
|
+
* Callback that will be called when the select message dialog has been opened or closed.
|
|
91
|
+
* @param value The new show select message dialog state.
|
|
92
|
+
*/
|
|
93
|
+
showSelectMessageDialogChange?: (value: boolean) => void;
|
|
94
|
+
/**
|
|
95
|
+
* Callback that will be called when the select signal dialog has been opened or closed.
|
|
96
|
+
* @param value The new show select signal dialog state.
|
|
97
|
+
*/
|
|
98
|
+
showSelectSignalDialogChange?: (value: boolean) => void;
|
|
99
|
+
/** Set to true if the select message button should be disabled. */
|
|
100
|
+
disableSelectMessageButton?: boolean;
|
|
101
|
+
/** Set to true if the select signal button should be disabled. */
|
|
102
|
+
disableSelectSignalButton?: boolean;
|
|
70
103
|
/** Set to true if this control shouldn't be encapsulated inside a SectionControl. */
|
|
71
104
|
hideSection?: boolean;
|
|
105
|
+
/** Set to true if the select message button shouldn't be visible. */
|
|
106
|
+
hideSelectMessageButton?: boolean;
|
|
107
|
+
/** Set to true if the select signal button should be visible. */
|
|
108
|
+
showSelectSignalButton?: boolean;
|
|
72
109
|
/** Set to true if the SectionControl should be collapsible. */
|
|
73
110
|
collapsible?: boolean;
|
|
74
111
|
/** Current collapse state of the SectionControl. */
|
|
@@ -84,7 +121,7 @@ interface CanIdentifierFrameControlProps {
|
|
|
84
121
|
* @param props Component properties.
|
|
85
122
|
* @returns The CanIdentifierFrameControl React component.
|
|
86
123
|
*/
|
|
87
|
-
declare function CanIdentifierFrameControl({ frame, onFrameChange, onErrorsChange, hideSection, collapsible, collapsed, collapsedChange, }: CanIdentifierFrameControlProps): import("react/jsx-runtime").JSX.Element;
|
|
124
|
+
declare function CanIdentifierFrameControl({ frame, onFrameChange, onErrorsChange, showSelectMessageDialogChange, showSelectSignalDialogChange, disableSelectMessageButton, disableSelectSignalButton, hideSection, hideSelectMessageButton, showSelectSignalButton, collapsible, collapsed, collapsedChange, }: CanIdentifierFrameControlProps): import("react/jsx-runtime").JSX.Element;
|
|
88
125
|
/**
|
|
89
126
|
* Properties of the CanIdentifierGeneratorControl React component.
|
|
90
127
|
*/
|
|
@@ -97,7 +134,7 @@ interface CanIdentifierGeneratorControlProps {
|
|
|
97
134
|
* 'random': A random CAN identifier between minCanIdentifier and maxCanIdentifier will be used.
|
|
98
135
|
* 'scan': A CAN identifier will be picked from minCanIdentifier to maxCanIdentifier.
|
|
99
136
|
*/
|
|
100
|
-
identifierGeneratorType:
|
|
137
|
+
identifierGeneratorType: canIdentifierGeneratorType;
|
|
101
138
|
/** The min CAN identifier that will be used if identifierGeneratorType is 'random' or 'scan'. */
|
|
102
139
|
minCanIdentifier: string;
|
|
103
140
|
/** The max CAN identifier that will be used if identifierGeneratorType is 'random' or 'scan'. */
|
|
@@ -111,7 +148,7 @@ interface CanIdentifierGeneratorControlProps {
|
|
|
111
148
|
* @param newMinCanIdentifier The new min CAN identifier.
|
|
112
149
|
* @param newMaxCanIdentifier The new max CAN identifier.
|
|
113
150
|
*/
|
|
114
|
-
onChange: (newCanIdentifier: string, newIdentifierGeneratorType:
|
|
151
|
+
onChange: (newCanIdentifier: string, newIdentifierGeneratorType: canIdentifierGeneratorType, newMinCanIdentifier: string, newMaxCanIdentifier: string, newIdentifierType: canIdentifierType) => void;
|
|
115
152
|
/**
|
|
116
153
|
* Callback that will be called when the errors state has changed.
|
|
117
154
|
* @param errors The new errors state.
|
|
@@ -33,7 +33,7 @@ export interface DropdownButtonTextItemsProps extends DropdownButtonChildrenProp
|
|
|
33
33
|
* Callback that is called when the user selects one of the drop down items.
|
|
34
34
|
* @param itemKey The key of the selected item.
|
|
35
35
|
*/
|
|
36
|
-
onSelect: (itemKey: string) => void;
|
|
36
|
+
onSelect: (itemKey: string, itemText?: string) => void;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Creates a drop down control that displays a menu with text strings.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Properties of the LinChannelSelectControl React component.
|
|
3
|
+
*/
|
|
4
|
+
export interface LinChannelSelectControlProps {
|
|
5
|
+
/** Identifier of the selected channel. */
|
|
6
|
+
channelIdentifier: string;
|
|
7
|
+
/** If true, master channels will be selected and otherwise slave channels. */
|
|
8
|
+
selectMasterChannels: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Callback that will be called when a new channel has been selected.
|
|
11
|
+
* @param identifier The new channel identifier.
|
|
12
|
+
*/
|
|
13
|
+
onChannelIdentifierChange: (identifier: string) => void;
|
|
14
|
+
/** Set to true if this control shouldn't be encapsulated inside a SectionControl. */
|
|
15
|
+
hideSectionControl?: boolean;
|
|
16
|
+
/** Set to true to disable this control. */
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/** Set to true if the SectionControl should be collapsible, ignored if hideSectionControl is true. */
|
|
19
|
+
collapsible?: boolean;
|
|
20
|
+
/** Current collapse state of the SectionControl. */
|
|
21
|
+
collapsed?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Callback that will be called when collapse state has changed.
|
|
24
|
+
* @param value The new collapse state.
|
|
25
|
+
*/
|
|
26
|
+
collapsedChange?: (value: boolean) => void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Creates an UI control for selecting a LIN channel from the current measurement setup.
|
|
30
|
+
* @param props Component properties.
|
|
31
|
+
* @returns The LinChannelSelectControl React component.
|
|
32
|
+
*/
|
|
33
|
+
declare function LinChannelSelectControl({ channelIdentifier, selectMasterChannels, onChannelIdentifierChange, hideSectionControl, disabled, collapsible, collapsed, collapsedChange, }: LinChannelSelectControlProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
export default LinChannelSelectControl;
|