aes70 1.6.1 → 2.0.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/COPYING +7 -7
- package/Changelog +9 -0
- package/README.md +74 -42
- package/dist/AES70.es5.js +24520 -1
- package/package.json +3 -3
- package/src/OCP1/Arguments.js +3 -0
- package/src/OCP1/Enum.js +8 -0
- package/src/OCP1/OcaActionObjectSearchResult.js +20 -0
- package/src/OCP1/OcaActionObjectSearchResultFlags.js +3 -0
- package/src/OCP1/OcaArray1D.js +108 -0
- package/src/OCP1/OcaBitstring.js +3 -0
- package/src/OCP1/OcaBlob.js +2 -43
- package/src/OCP1/OcaBlobFixedLen.js +8 -0
- package/src/OCP1/OcaBlockConfigurability.js +3 -0
- package/src/OCP1/OcaBoolean.js +3 -0
- package/src/OCP1/OcaCommand.js +17 -0
- package/src/OCP1/OcaCommandResult.js +17 -0
- package/src/OCP1/OcaCommandSetResult.js +17 -0
- package/src/OCP1/OcaConstructionParameter.js +16 -0
- package/src/OCP1/OcaCounter.js +22 -0
- package/src/OCP1/OcaCounterNotifierFilterParameters.js +19 -0
- package/src/OCP1/OcaCounterSet.js +17 -0
- package/src/OCP1/OcaCounterUpdate.js +18 -0
- package/src/OCP1/OcaCounterUpdateEventData.js +15 -0
- package/src/OCP1/OcaDatasetSearchResult.js +17 -0
- package/src/OCP1/OcaDeviceGenericState.js +4 -0
- package/src/OCP1/OcaDeviceOperationalState.js +16 -0
- package/src/OCP1/OcaExecutableType.js +4 -0
- package/src/OCP1/OcaFloat32.js +3 -0
- package/src/OCP1/OcaFloat64.js +3 -0
- package/src/OCP1/OcaGenericEndState.js +4 -0
- package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
- package/src/OCP1/OcaGroupException.js +18 -0
- package/src/OCP1/OcaIODirection.js +4 -0
- package/src/OCP1/OcaIP4AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP4Gateway.js +17 -0
- package/src/OCP1/OcaIP4NetworkSettings.js +23 -0
- package/src/OCP1/OcaIP6AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP6Gateway.js +17 -0
- package/src/OCP1/OcaIP6NetworkSettings.js +24 -0
- package/src/OCP1/OcaInt16.js +3 -0
- package/src/OCP1/OcaInt32.js +3 -0
- package/src/OCP1/OcaInt64.js +3 -0
- package/src/OCP1/OcaInt8.js +3 -0
- package/src/OCP1/OcaInterval.js +18 -0
- package/src/OCP1/OcaIntervalBounds.js +3 -0
- package/src/OCP1/OcaJobDisposedEventData.js +18 -0
- package/src/OCP1/OcaJobDisposition.js +4 -0
- package/src/OCP1/OcaJobQueueItem.js +24 -0
- package/src/OCP1/OcaList.js +2 -127
- package/src/OCP1/OcaList2D.js +6 -0
- package/src/OCP1/OcaList32.js +3 -0
- package/src/OCP1/OcaLockState.js +4 -0
- package/src/OCP1/OcaLogFilter.js +20 -0
- package/src/OCP1/OcaLogRecord.js +21 -0
- package/src/OCP1/OcaLongBlob.js +3 -0
- package/src/OCP1/OcaManufacturer.js +19 -0
- package/src/OCP1/OcaMap.js +3 -0
- package/src/OCP1/OcaMatrixCommand.js +19 -0
- package/src/OCP1/OcaMatrixCoordinates.js +15 -0
- package/src/OCP1/OcaMediaAccessMode.js +4 -0
- package/src/OCP1/OcaMediaFrameFormat.js +4 -0
- package/src/OCP1/OcaMediaPlayOption.js +4 -0
- package/src/OCP1/OcaMediaRecorderPlayerState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpoint.js +40 -0
- package/src/OCP1/OcaMediaStreamEndpointCommand.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointStatus.js +16 -0
- package/src/OCP1/OcaMediaStreamMode.js +21 -0
- package/src/OCP1/OcaMediaStreamModeCapability.js +29 -0
- package/src/OCP1/OcaMediaStreamModeCapabilityDirection.js +3 -0
- package/src/OCP1/OcaMediaTrackFunction.js +3 -0
- package/src/OCP1/OcaMediaTransportSession.js +30 -0
- package/src/OCP1/OcaMediaTransportSessionConnection.js +17 -0
- package/src/OCP1/OcaMediaTransportSessionConnectionState.js +15 -0
- package/src/OCP1/OcaMediaTransportSessionState.js +4 -0
- package/src/OCP1/OcaMediaTransportSessionStatus.js +16 -0
- package/src/OCP1/OcaMediaTransportTimingParameters.js +16 -0
- package/src/OCP1/OcaMediaVolumePosition.js +16 -0
- package/src/OCP1/OcaMediaVolumePositionType.js +4 -0
- package/src/OCP1/OcaMultiMap.js +3 -0
- package/src/OCP1/OcaNetworkAdvertisingMechanism.js +16 -0
- package/src/OCP1/OcaNetworkAdvertisingService.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceAssignment.js +23 -0
- package/src/OCP1/OcaNetworkInterfaceCommand.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceState.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceStatus.js +16 -0
- package/src/OCP1/OcaObjectSearchResult.js +2 -18
- package/src/OCP1/OcaObjectSearchResultFlags.js +5 -3
- package/src/OCP1/OcaPort.js +1 -1
- package/src/OCP1/OcaPortClockMapEntry.js +16 -0
- package/src/OCP1/OcaPortID.js +2 -2
- package/src/OCP1/OcaPortIdentification.js +16 -0
- package/src/OCP1/OcaPortMode.js +5 -4
- package/src/OCP1/OcaPositionDescriptor.js +2 -2
- package/src/OCP1/OcaProduct.js +19 -0
- package/src/OCP1/OcaProgramResult.js +17 -0
- package/src/OCP1/OcaProgramRunMode.js +3 -0
- package/src/OCP1/OcaProtoPort.js +2 -2
- package/src/OCP1/OcaProtoPortClockMapEntry.js +17 -0
- package/src/OCP1/OcaProtoSignalPath.js +2 -2
- package/src/OCP1/OcaSamplingRateConverterType.js +4 -0
- package/src/OCP1/OcaSecurityType.js +4 -0
- package/src/OCP1/OcaSignalPath.js +2 -2
- package/src/OCP1/OcaString.js +3 -0
- package/src/OCP1/OcaTask.js +4 -3
- package/src/OCP1/OcaTaskExecutionTerminatedEventData.js +20 -0
- package/src/OCP1/OcaTaskGenericState.js +4 -0
- package/src/OCP1/OcaTaskOperationalState.js +17 -0
- package/src/OCP1/OcaTaskSchedulerState.js +4 -0
- package/src/OCP1/OcaTaskStatusChangedEventData.js +18 -0
- package/src/OCP1/OcaTime.js +18 -0
- package/src/OCP1/OcaTimeDeliveryMechanism.js +4 -0
- package/src/OCP1/OcaTimeDeliveryParameters_StreamEndpoint.js +15 -0
- package/src/OCP1/OcaTimePTP.js +2 -15
- package/src/OCP1/OcaTypedBlob.js +16 -0
- package/src/OCP1/OcaUint16.js +3 -0
- package/src/OCP1/OcaUint32.js +3 -0
- package/src/OCP1/OcaUint64.js +3 -0
- package/src/OCP1/OcaUint8.js +3 -0
- package/src/OCP1/OcaVariant.js +92 -0
- package/src/OCP1/OcaWhenPhysicalAbsolute.js +16 -0
- package/src/OCP1/OcaWhenPhysicalRelative.js +16 -0
- package/src/OCP1/RestWithOffset.js +3 -0
- package/src/OCP1/String16.js +3 -0
- package/src/OCP1/Struct.js +12 -0
- package/src/OCP1/Tuple.js +3 -0
- package/src/OCP1/createBlobType.js +58 -0
- package/src/OCP1/createListType.js +137 -0
- package/src/OCP1/createType.js +8 -4
- package/src/OCP1/decode_message.js +10 -2
- package/src/OCP1/encode_message.js +5 -1
- package/src/OCP1/getLengthEncoder.js +23 -0
- package/src/OCP1/notification2.js +70 -0
- package/src/OCP1/protocol_version.js +4 -0
- package/src/connection.js +14 -6
- package/src/controller/ControlClasses/OcaActuator.d.ts +3 -3
- package/src/controller/ControlClasses/OcaActuator.js +4 -4
- package/src/controller/ControlClasses/OcaAgent.d.ts +6 -14
- package/src/controller/ControlClasses/OcaAgent.js +8 -18
- package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +9 -17
- package/src/controller/ControlClasses/OcaApplicationNetwork.js +11 -32
- package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +4 -7
- package/src/controller/ControlClasses/OcaAudioLevelSensor.js +5 -8
- package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaAudioProcessingManager.js +2 -2
- package/src/controller/ControlClasses/OcaBasicActuator.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicActuator.js +2 -2
- package/src/controller/ControlClasses/OcaBasicSensor.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicSensor.js +2 -2
- package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +34 -13
- package/src/controller/ControlClasses/OcaBitstringActuator.js +35 -18
- package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +19 -7
- package/src/controller/ControlClasses/OcaBitstringSensor.js +22 -12
- package/src/controller/ControlClasses/OcaBlock.d.ts +455 -89
- package/src/controller/ControlClasses/OcaBlock.js +477 -103
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.d.ts +299 -0
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.js +360 -0
- package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaBooleanActuator.js +3 -5
- package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaBooleanSensor.js +3 -4
- package/src/controller/ControlClasses/OcaCodingManager.js +1 -1
- package/src/controller/ControlClasses/OcaCommandSet.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCommandSet.js +94 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.d.ts +31 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.js +38 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.js +101 -0
- package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaCurrentSensor.js +3 -4
- package/src/controller/ControlClasses/OcaDataset.d.ts +223 -0
- package/src/controller/ControlClasses/OcaDataset.js +234 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.d.ts +31 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.js +40 -0
- package/src/controller/ControlClasses/OcaDelay.d.ts +2 -4
- package/src/controller/ControlClasses/OcaDelay.js +3 -5
- package/src/controller/ControlClasses/OcaDelayExtended.d.ts +5 -7
- package/src/controller/ControlClasses/OcaDelayExtended.js +6 -8
- package/src/controller/ControlClasses/OcaDeviceManager.d.ts +123 -62
- package/src/controller/ControlClasses/OcaDeviceManager.js +161 -83
- package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +43 -25
- package/src/controller/ControlClasses/OcaDeviceTimeManager.js +43 -28
- package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +1 -13
- package/src/controller/ControlClasses/OcaDiagnosticManager.js +3 -16
- package/src/controller/ControlClasses/OcaDynamics.d.ts +38 -63
- package/src/controller/ControlClasses/OcaDynamics.js +48 -71
- package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +169 -82
- package/src/controller/ControlClasses/OcaDynamicsCurve.js +189 -93
- package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +8 -16
- package/src/controller/ControlClasses/OcaDynamicsDetector.js +9 -17
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +5 -7
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +10 -12
- package/src/controller/ControlClasses/OcaFilterClassical.d.ts +15 -26
- package/src/controller/ControlClasses/OcaFilterClassical.js +15 -27
- package/src/controller/ControlClasses/OcaFilterFIR.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFilterFIR.js +12 -18
- package/src/controller/ControlClasses/OcaFilterParametric.d.ts +55 -26
- package/src/controller/ControlClasses/OcaFilterParametric.js +63 -32
- package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +5 -4
- package/src/controller/ControlClasses/OcaFilterPolynomial.js +8 -7
- package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFirmwareManager.js +5 -11
- package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.js +3 -5
- package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaFrequencySensor.js +2 -3
- package/src/controller/ControlClasses/OcaGain.d.ts +2 -4
- package/src/controller/ControlClasses/OcaGain.js +3 -5
- package/src/controller/ControlClasses/OcaGainSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaGainSensor.js +3 -4
- package/src/controller/ControlClasses/OcaGroup.d.ts +140 -0
- package/src/controller/ControlClasses/OcaGroup.js +156 -0
- package/src/controller/ControlClasses/OcaGrouper.d.ts +20 -140
- package/src/controller/ControlClasses/OcaGrouper.js +34 -171
- package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +5 -7
- package/src/controller/ControlClasses/OcaIdentificationActuator.js +7 -9
- package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +5 -6
- package/src/controller/ControlClasses/OcaIdentificationSensor.js +6 -7
- package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaImpedanceSensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaJsonActuator.d.ts +46 -0
- package/src/controller/ControlClasses/OcaJsonActuator.js +58 -0
- package/src/controller/ControlClasses/OcaJsonSensor.d.ts +51 -0
- package/src/controller/ControlClasses/OcaJsonSensor.js +65 -0
- package/src/controller/ControlClasses/OcaLevelSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaLevelSensor.js +2 -3
- package/src/controller/ControlClasses/OcaLibraryManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaLibraryManager.js +3 -3
- package/src/controller/ControlClasses/OcaLockManager.d.ts +44 -0
- package/src/controller/ControlClasses/OcaLockManager.js +53 -0
- package/src/controller/ControlClasses/OcaLog.d.ts +128 -0
- package/src/controller/ControlClasses/OcaLog.js +142 -0
- package/src/controller/ControlClasses/OcaManager.js +1 -1
- package/src/controller/ControlClasses/OcaMatrix.d.ts +104 -82
- package/src/controller/ControlClasses/OcaMatrix.js +121 -93
- package/src/controller/ControlClasses/OcaMediaClock.d.ts +27 -0
- package/src/controller/ControlClasses/OcaMediaClock.js +28 -4
- package/src/controller/ControlClasses/OcaMediaClock3.d.ts +16 -22
- package/src/controller/ControlClasses/OcaMediaClock3.js +22 -29
- package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +7 -10
- package/src/controller/ControlClasses/OcaMediaClockManager.js +9 -13
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.js +261 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.d.ts +612 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.js +704 -0
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +12 -25
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +12 -35
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.js +249 -0
- package/src/controller/ControlClasses/OcaMute.d.ts +2 -4
- package/src/controller/ControlClasses/OcaMute.js +3 -5
- package/src/controller/ControlClasses/OcaNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaNetworkApplication.d.ts +179 -0
- package/src/controller/ControlClasses/OcaNetworkApplication.js +202 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.d.ts +318 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.js +353 -0
- package/src/controller/ControlClasses/OcaNetworkManager.d.ts +45 -17
- package/src/controller/ControlClasses/OcaNetworkManager.js +59 -22
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +1 -1
- package/src/controller/ControlClasses/OcaNumericObserver.d.ts +24 -40
- package/src/controller/ControlClasses/OcaNumericObserver.js +25 -40
- package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +20 -33
- package/src/controller/ControlClasses/OcaNumericObserverList.js +26 -39
- package/src/controller/ControlClasses/OcaPanBalance.d.ts +4 -8
- package/src/controller/ControlClasses/OcaPanBalance.js +5 -9
- package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +3 -6
- package/src/controller/ControlClasses/OcaPhysicalPosition.js +4 -7
- package/src/controller/ControlClasses/OcaPolarity.d.ts +2 -4
- package/src/controller/ControlClasses/OcaPolarity.js +3 -5
- package/src/controller/ControlClasses/OcaPowerManager.d.ts +30 -14
- package/src/controller/ControlClasses/OcaPowerManager.js +32 -17
- package/src/controller/ControlClasses/OcaPowerSensor.d.ts +38 -0
- package/src/controller/ControlClasses/OcaPowerSensor.js +51 -0
- package/src/controller/ControlClasses/OcaPowerSupply.d.ts +8 -16
- package/src/controller/ControlClasses/OcaPowerSupply.js +13 -21
- package/src/controller/ControlClasses/OcaProgram.d.ts +63 -0
- package/src/controller/ControlClasses/OcaProgram.js +82 -0
- package/src/controller/ControlClasses/OcaRamper.d.ts +46 -10
- package/src/controller/ControlClasses/OcaRamper.js +65 -12
- package/src/controller/ControlClasses/OcaRoot.d.ts +69 -24
- package/src/controller/ControlClasses/OcaRoot.js +67 -26
- package/src/controller/ControlClasses/OcaSamplingRateConverter.d.ts +22 -0
- package/src/controller/ControlClasses/OcaSamplingRateConverter.js +28 -0
- package/src/controller/ControlClasses/OcaSecurityManager.d.ts +12 -13
- package/src/controller/ControlClasses/OcaSecurityManager.js +10 -12
- package/src/controller/ControlClasses/OcaSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaSensor.js +2 -3
- package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +21 -39
- package/src/controller/ControlClasses/OcaSignalGenerator.js +22 -40
- package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalInput.js +5 -5
- package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalOutput.js +5 -5
- package/src/controller/ControlClasses/OcaStateSensor.d.ts +58 -0
- package/src/controller/ControlClasses/OcaStateSensor.js +75 -0
- package/src/controller/ControlClasses/OcaStreamConnector.js +1 -1
- package/src/controller/ControlClasses/OcaStreamNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaStringActuator.d.ts +7 -8
- package/src/controller/ControlClasses/OcaStringActuator.js +7 -8
- package/src/controller/ControlClasses/OcaStringSensor.d.ts +20 -9
- package/src/controller/ControlClasses/OcaStringSensor.js +23 -13
- package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +211 -41
- package/src/controller/ControlClasses/OcaSubscriptionManager.js +224 -39
- package/src/controller/ControlClasses/OcaSummingPoint.d.ts +3 -2
- package/src/controller/ControlClasses/OcaSummingPoint.js +4 -3
- package/src/controller/ControlClasses/OcaSwitch.d.ts +70 -25
- package/src/controller/ControlClasses/OcaSwitch.js +113 -35
- package/src/controller/ControlClasses/OcaTaskAgent.d.ts +192 -0
- package/src/controller/ControlClasses/OcaTaskAgent.js +212 -0
- package/src/controller/ControlClasses/OcaTaskManager.d.ts +4 -6
- package/src/controller/ControlClasses/OcaTaskManager.js +7 -9
- package/src/controller/ControlClasses/OcaTaskScheduler.d.ts +150 -0
- package/src/controller/ControlClasses/OcaTaskScheduler.js +159 -0
- package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaTemperatureActuator.js +4 -6
- package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaTemperatureSensor.js +3 -4
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +2 -3
- package/src/controller/ControlClasses/OcaTimeSource.d.ts +108 -37
- package/src/controller/ControlClasses/OcaTimeSource.js +148 -48
- package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaVoltageSensor.js +3 -4
- package/src/controller/ControlClasses/OcaWorker.d.ts +84 -37
- package/src/controller/ControlClasses/OcaWorker.js +93 -43
- package/src/controller/base_event.js +71 -23
- package/src/controller/client_connection.d.ts +26 -0
- package/src/controller/client_connection.js +39 -7
- package/src/controller/event.js +17 -20
- package/src/controller/make_control_class.js +3 -1
- package/src/controller/notification_error.d.ts +40 -0
- package/src/controller/notification_error.js +62 -0
- package/src/controller/observeProperty.js +8 -8
- package/src/controller/property_event.js +18 -10
- package/src/controller/remote_device.js +137 -49
- package/src/controller/tcp_connection.d.ts +8 -6
- package/src/index.default.d.ts +1 -0
- package/src/index.default.js +1 -0
- package/src/types/Enum.js +8 -0
- package/src/types/OcaActionObjectSearchResult.d.ts +73 -0
- package/src/types/OcaActionObjectSearchResult.js +34 -0
- package/src/types/OcaActionObjectSearchResultFlags.d.ts +37 -0
- package/src/types/OcaActionObjectSearchResultFlags.js +52 -0
- package/src/types/OcaApplicationNetworkCommand.d.ts +1 -19
- package/src/types/OcaApplicationNetworkCommand.js +0 -24
- package/src/types/OcaApplicationNetworkState.d.ts +1 -37
- package/src/types/OcaApplicationNetworkState.js +0 -48
- package/src/types/OcaBlockConfigurability.d.ts +26 -0
- package/src/types/OcaBlockConfigurability.js +35 -0
- package/src/types/OcaClassicalFilterShape.d.ts +1 -1
- package/src/types/OcaClassicalFilterShape.js +1 -1
- package/src/types/OcaCommand.d.ts +44 -0
- package/src/types/OcaCommand.js +25 -0
- package/src/types/OcaCommandResult.d.ts +42 -0
- package/src/types/OcaCommandResult.js +24 -0
- package/src/types/OcaCommandSetResult.d.ts +41 -0
- package/src/types/OcaCommandSetResult.js +23 -0
- package/src/types/OcaConstructionParameter.d.ts +40 -0
- package/src/types/OcaConstructionParameter.js +23 -0
- package/src/types/OcaCounter.d.ts +81 -0
- package/src/types/OcaCounter.js +38 -0
- package/src/types/OcaCounterNotifierFilterParameters.d.ts +81 -0
- package/src/types/OcaCounterNotifierFilterParameters.js +37 -0
- package/src/types/OcaCounterSet.d.ts +38 -0
- package/src/types/OcaCounterSet.js +22 -0
- package/src/types/OcaCounterUpdate.d.ts +54 -0
- package/src/types/OcaCounterUpdate.js +28 -0
- package/src/types/OcaCounterUpdateEventData.d.ts +27 -0
- package/src/types/OcaCounterUpdateEventData.js +17 -0
- package/src/types/OcaDatasetSearchResult.d.ts +51 -0
- package/src/types/OcaDatasetSearchResult.js +28 -0
- package/src/types/OcaDelayUnit.d.ts +2 -1
- package/src/types/OcaDelayUnit.js +2 -1
- package/src/types/OcaDelayValue.d.ts +2 -1
- package/src/types/OcaDelayValue.js +2 -1
- package/src/types/OcaDeviceGenericState.d.ts +62 -0
- package/src/types/OcaDeviceGenericState.js +52 -0
- package/src/types/OcaDeviceOperationalState.d.ts +42 -0
- package/src/types/OcaDeviceOperationalState.js +22 -0
- package/src/types/OcaDeviceState.d.ts +2 -2
- package/src/types/OcaDeviceState.js +2 -2
- package/src/types/OcaExecutableType.d.ts +50 -0
- package/src/types/OcaExecutableType.js +36 -0
- package/src/types/OcaGenericEndState.d.ts +56 -0
- package/src/types/OcaGenericEndState.js +44 -0
- package/src/types/OcaGlobalTypeIdentifier.d.ts +12 -12
- package/src/types/OcaGlobalTypeIdentifier.js +8 -7
- package/src/types/OcaGroupException.d.ts +53 -0
- package/src/types/OcaGroupException.js +28 -0
- package/src/types/OcaGrouperCitizen.d.ts +10 -10
- package/src/types/OcaGrouperCitizen.js +6 -6
- package/src/types/OcaGrouperEnrollment.d.ts +4 -9
- package/src/types/OcaGrouperEnrollment.js +3 -5
- package/src/types/OcaGrouperGroup.d.ts +9 -9
- package/src/types/OcaGrouperGroup.js +5 -5
- package/src/types/OcaGrouperMode.d.ts +4 -3
- package/src/types/OcaGrouperMode.js +4 -3
- package/src/types/OcaGrouperStatusChangeEventData.d.ts +2 -2
- package/src/types/OcaGrouperStatusChangeEventData.js +2 -2
- package/src/types/OcaGrouperStatusChangeType.d.ts +1 -1
- package/src/types/OcaGrouperStatusChangeType.js +1 -1
- package/src/types/OcaIODirection.d.ts +39 -0
- package/src/types/OcaIODirection.js +28 -0
- package/src/types/OcaIP4AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP4AutoconfigMode.js +44 -0
- package/src/types/OcaIP4Gateway.d.ts +53 -0
- package/src/types/OcaIP4Gateway.js +27 -0
- package/src/types/OcaIP4NetworkSettings.d.ts +111 -0
- package/src/types/OcaIP4NetworkSettings.js +56 -0
- package/src/types/OcaIP6AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP6AutoconfigMode.js +44 -0
- package/src/types/OcaIP6Gateway.d.ts +53 -0
- package/src/types/OcaIP6Gateway.js +27 -0
- package/src/types/OcaIP6NetworkSettings.d.ts +123 -0
- package/src/types/OcaIP6NetworkSettings.js +61 -0
- package/src/types/OcaInterval.d.ts +8 -0
- package/src/types/OcaInterval.js +84 -0
- package/src/types/OcaIntervalBounds.d.ts +41 -0
- package/src/types/OcaIntervalBounds.js +53 -0
- package/src/types/OcaJobDisposedEventData.d.ts +57 -0
- package/src/types/OcaJobDisposedEventData.js +28 -0
- package/src/types/OcaJobDisposition.d.ts +68 -0
- package/src/types/OcaJobDisposition.js +60 -0
- package/src/types/OcaJobQueueItem.d.ts +105 -0
- package/src/types/OcaJobQueueItem.js +44 -0
- package/src/types/OcaLibVolType.d.ts +2 -4
- package/src/types/OcaLibVolType.js +1 -2
- package/src/types/OcaLockState.d.ts +50 -0
- package/src/types/OcaLockState.js +36 -0
- package/src/types/OcaLogFilter.d.ts +70 -0
- package/src/types/OcaLogFilter.js +33 -0
- package/src/types/OcaLogRecord.d.ts +85 -0
- package/src/types/OcaLogRecord.js +40 -0
- package/src/types/OcaManagerDefaultObjectNumbers.d.ts +7 -0
- package/src/types/OcaManagerDefaultObjectNumbers.js +7 -0
- package/src/types/OcaManagerDescriptor.d.ts +11 -9
- package/src/types/OcaManagerDescriptor.js +6 -5
- package/src/types/OcaManufacturer.d.ts +87 -0
- package/src/types/OcaManufacturer.js +47 -0
- package/src/types/OcaMatrixCommand.d.ts +61 -0
- package/src/types/OcaMatrixCommand.js +29 -0
- package/src/types/OcaMatrixCoordinates.d.ts +38 -0
- package/src/types/OcaMatrixCoordinates.js +23 -0
- package/src/types/OcaMediaAccessMode.d.ts +50 -0
- package/src/types/OcaMediaAccessMode.js +36 -0
- package/src/types/OcaMediaClockAvailability.d.ts +1 -1
- package/src/types/OcaMediaClockAvailability.js +1 -1
- package/src/types/OcaMediaClockRate.d.ts +7 -7
- package/src/types/OcaMediaClockRate.js +4 -4
- package/src/types/OcaMediaConnection.d.ts +2 -2
- package/src/types/OcaMediaConnection.js +1 -1
- package/src/types/OcaMediaFrameFormat.d.ts +74 -0
- package/src/types/OcaMediaFrameFormat.js +68 -0
- package/src/types/OcaMediaPlayOption.d.ts +50 -0
- package/src/types/OcaMediaPlayOption.js +36 -0
- package/src/types/OcaMediaRecorderPlayerState.d.ts +62 -0
- package/src/types/OcaMediaRecorderPlayerState.js +52 -0
- package/src/types/OcaMediaStreamCastMode.d.ts +3 -3
- package/src/types/OcaMediaStreamCastMode.js +3 -3
- package/src/types/OcaMediaStreamEndpoint.d.ts +238 -0
- package/src/types/OcaMediaStreamEndpoint.js +114 -0
- package/src/types/OcaMediaStreamEndpointCommand.d.ts +80 -0
- package/src/types/OcaMediaStreamEndpointCommand.js +76 -0
- package/src/types/OcaMediaStreamEndpointState.d.ts +68 -0
- package/src/types/OcaMediaStreamEndpointState.js +60 -0
- package/src/types/OcaMediaStreamEndpointStatus.d.ts +44 -0
- package/src/types/OcaMediaStreamEndpointStatus.js +23 -0
- package/src/types/OcaMediaStreamMode.d.ts +83 -0
- package/src/types/OcaMediaStreamMode.js +43 -0
- package/src/types/OcaMediaStreamModeCapability.d.ts +167 -0
- package/src/types/OcaMediaStreamModeCapability.js +81 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.d.ts +21 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.js +27 -0
- package/src/types/OcaMediaTrackFunction.d.ts +27 -0
- package/src/types/OcaMediaTrackFunction.js +36 -0
- package/src/types/OcaMediaTransportSession.d.ts +119 -0
- package/src/types/OcaMediaTransportSession.js +58 -0
- package/src/types/OcaMediaTransportSessionConnection.d.ts +63 -0
- package/src/types/OcaMediaTransportSessionConnection.js +32 -0
- package/src/types/OcaMediaTransportSessionConnectionState.d.ts +47 -0
- package/src/types/OcaMediaTransportSessionConnectionState.js +24 -0
- package/src/types/OcaMediaTransportSessionState.d.ts +62 -0
- package/src/types/OcaMediaTransportSessionState.js +52 -0
- package/src/types/OcaMediaTransportSessionStatus.d.ts +43 -0
- package/src/types/OcaMediaTransportSessionStatus.js +23 -0
- package/src/types/OcaMediaTransportTimingParameters.d.ts +54 -0
- package/src/types/OcaMediaTransportTimingParameters.js +31 -0
- package/src/types/OcaMediaVolumePosition.d.ts +46 -0
- package/src/types/OcaMediaVolumePosition.js +23 -0
- package/src/types/OcaMediaVolumePositionType.d.ts +44 -0
- package/src/types/OcaMediaVolumePositionType.js +28 -0
- package/src/types/OcaModelGUID.d.ts +0 -1
- package/src/types/OcaModelGUID.js +0 -1
- package/src/types/OcaNetworkAdvertisingMechanism.d.ts +43 -0
- package/src/types/OcaNetworkAdvertisingMechanism.js +23 -0
- package/src/types/OcaNetworkAdvertisingService.d.ts +56 -0
- package/src/types/OcaNetworkAdvertisingService.js +44 -0
- package/src/types/OcaNetworkInterfaceAssignment.d.ts +99 -0
- package/src/types/OcaNetworkInterfaceAssignment.js +51 -0
- package/src/types/OcaNetworkInterfaceCommand.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceCommand.js +36 -0
- package/src/types/OcaNetworkInterfaceState.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceState.js +36 -0
- package/src/types/OcaNetworkInterfaceStatus.d.ts +42 -0
- package/src/types/OcaNetworkInterfaceStatus.js +22 -0
- package/src/types/OcaNotificationDeliveryMode.d.ts +13 -1
- package/src/types/OcaNotificationDeliveryMode.js +17 -1
- package/src/types/OcaOPath.d.ts +16 -2
- package/src/types/OcaOPath.js +8 -1
- package/src/types/OcaObjectListEventData.d.ts +2 -2
- package/src/types/OcaObjectListEventData.js +2 -2
- package/src/types/OcaObjectSearchResult.d.ts +4 -83
- package/src/types/OcaObjectSearchResult.js +2 -37
- package/src/types/OcaObjectSearchResultFlags.d.ts +4 -33
- package/src/types/OcaObjectSearchResultFlags.js +2 -48
- package/src/types/OcaObservationEventData.d.ts +2 -2
- package/src/types/OcaObservationEventData.js +2 -2
- package/src/types/OcaObservationListEventData.d.ts +2 -2
- package/src/types/OcaObservationListEventData.js +2 -2
- package/src/types/OcaObserverState.d.ts +1 -1
- package/src/types/OcaObserverState.js +1 -1
- package/src/types/OcaParameterMask.d.ts +81 -1
- package/src/types/OcaParameterMask.js +131 -1
- package/src/types/OcaPort.d.ts +7 -5
- package/src/types/OcaPort.js +4 -3
- package/src/types/OcaPortClockMapEntry.d.ts +42 -0
- package/src/types/OcaPortClockMapEntry.js +23 -0
- package/src/types/OcaPortID.d.ts +12 -10
- package/src/types/OcaPortID.js +7 -6
- package/src/types/OcaPortIdentification.d.ts +39 -0
- package/src/types/OcaPortIdentification.js +23 -0
- package/src/types/OcaPortMode.d.ts +4 -36
- package/src/types/OcaPortMode.js +2 -25
- package/src/types/OcaPositionDescriptor.d.ts +6 -6
- package/src/types/OcaPositionDescriptor.js +2 -2
- package/src/types/OcaPositionDescriptorFieldFlags.d.ts +33 -3
- package/src/types/OcaPositionDescriptorFieldFlags.js +53 -3
- package/src/types/OcaPowerSupplyState.d.ts +1 -1
- package/src/types/OcaPowerSupplyState.js +1 -1
- package/src/types/OcaProduct.d.ts +92 -0
- package/src/types/OcaProduct.js +42 -0
- package/src/types/OcaProgramResult.d.ts +39 -0
- package/src/types/OcaProgramResult.js +22 -0
- package/src/types/OcaProgramRunMode.d.ts +24 -0
- package/src/types/OcaProgramRunMode.js +30 -0
- package/src/types/OcaProperty.d.ts +2 -2
- package/src/types/OcaProperty.js +2 -2
- package/src/types/OcaProtoObjectIdentification.d.ts +1 -1
- package/src/types/OcaProtoObjectIdentification.js +1 -1
- package/src/types/OcaProtoPort.d.ts +16 -18
- package/src/types/OcaProtoPort.js +6 -8
- package/src/types/OcaProtoPortClockMapEntry.d.ts +46 -0
- package/src/types/OcaProtoPortClockMapEntry.js +25 -0
- package/src/types/OcaProtoSignalPath.d.ts +12 -10
- package/src/types/OcaProtoSignalPath.js +7 -6
- package/src/types/OcaRamperState.d.ts +19 -18
- package/src/types/OcaRamperState.js +19 -18
- package/src/types/OcaResetCause.d.ts +7 -1
- package/src/types/OcaResetCause.js +8 -0
- package/src/types/OcaSamplingRateConverterType.d.ts +50 -0
- package/src/types/OcaSamplingRateConverterType.js +36 -0
- package/src/types/OcaSecurityType.d.ts +39 -0
- package/src/types/OcaSecurityType.js +28 -0
- package/src/types/OcaSignalPath.d.ts +10 -10
- package/src/types/OcaSignalPath.js +6 -6
- package/src/types/OcaStatus.d.ts +19 -1
- package/src/types/OcaStatus.js +24 -0
- package/src/types/OcaStream.d.ts +2 -2
- package/src/types/OcaStream.js +1 -1
- package/src/types/OcaTask.d.ts +23 -24
- package/src/types/OcaTask.js +7 -7
- package/src/types/OcaTaskCommand.d.ts +2 -7
- package/src/types/OcaTaskCommand.js +2 -9
- package/src/types/OcaTaskExecutionTerminatedEventData.d.ts +64 -0
- package/src/types/OcaTaskExecutionTerminatedEventData.js +30 -0
- package/src/types/OcaTaskGenericState.d.ts +64 -0
- package/src/types/OcaTaskGenericState.js +54 -0
- package/src/types/OcaTaskManagerState.d.ts +1 -0
- package/src/types/OcaTaskManagerState.js +1 -0
- package/src/types/OcaTaskOperationalState.d.ts +43 -0
- package/src/types/OcaTaskOperationalState.js +22 -0
- package/src/types/OcaTaskSchedulerState.d.ts +63 -0
- package/src/types/OcaTaskSchedulerState.js +53 -0
- package/src/types/OcaTaskStatus.d.ts +2 -12
- package/src/types/OcaTaskStatus.js +2 -12
- package/src/types/OcaTaskStatusChangedEventData.d.ts +61 -0
- package/src/types/OcaTaskStatusChangedEventData.js +29 -0
- package/src/types/OcaTime.d.ts +56 -0
- package/src/types/OcaTime.js +32 -0
- package/src/types/OcaTimeDeliveryMechanism.d.ts +167 -0
- package/src/types/OcaTimeDeliveryMechanism.js +191 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.d.ts +40 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.js +24 -0
- package/src/types/OcaTimePTP.d.ts +4 -51
- package/src/types/OcaTimePTP.js +2 -28
- package/src/types/OcaTimeReferenceType.d.ts +7 -13
- package/src/types/OcaTimeReferenceType.js +6 -14
- package/src/types/OcaTimeSourceAvailability.d.ts +1 -1
- package/src/types/OcaTimeSourceAvailability.js +1 -1
- package/src/types/OcaTimeSourceSyncStatus.d.ts +1 -1
- package/src/types/OcaTimeSourceSyncStatus.js +1 -1
- package/src/types/OcaTransferFunction.d.ts +1 -1
- package/src/types/OcaTransferFunction.js +1 -1
- package/src/types/OcaTypedBlob.d.ts +40 -0
- package/src/types/OcaTypedBlob.js +24 -0
- package/src/types/OcaVariant.d.ts +19 -0
- package/src/types/OcaVariant.js +18 -0
- package/src/types/OcaWhenPhysicalAbsolute.d.ts +39 -0
- package/src/types/OcaWhenPhysicalAbsolute.js +22 -0
- package/src/types/OcaWhenPhysicalRelative.d.ts +39 -0
- package/src/types/OcaWhenPhysicalRelative.js +22 -0
|
@@ -6,6 +6,9 @@ import { OcaRamperInterpolationLaw } from '../../OCP1/OcaRamperInterpolationLaw.
|
|
|
6
6
|
import { OcaRamperState } from '../../OCP1/OcaRamperState.js';
|
|
7
7
|
import { OcaTimeMode } from '../../OCP1/OcaTimeMode.js';
|
|
8
8
|
import { OcaUint64 } from '../../OCP1/OcaUint64.js';
|
|
9
|
+
import { OcaVariant } from '../../OCP1/OcaVariant.js';
|
|
10
|
+
import { OcaWhenPhysicalAbsolute } from '../../OCP1/OcaWhenPhysicalAbsolute.js';
|
|
11
|
+
import { OcaWhenPhysicalRelative } from '../../OCP1/OcaWhenPhysicalRelative.js';
|
|
9
12
|
import { make_control_class } from '../make_control_class.js';
|
|
10
13
|
import { OcaAgent } from './OcaAgent.js';
|
|
11
14
|
|
|
@@ -52,6 +55,20 @@ export const OcaRamper = make_control_class(
|
|
|
52
55
|
['SetInterpolationLaw', 3, 12, [OcaRamperInterpolationLaw], []],
|
|
53
56
|
['GetGoal', 3, 13, [], [OcaFloat64]],
|
|
54
57
|
['SetGoal', 3, 14, [OcaFloat64], []],
|
|
58
|
+
[
|
|
59
|
+
'GetStartWhen',
|
|
60
|
+
3,
|
|
61
|
+
15,
|
|
62
|
+
[],
|
|
63
|
+
[OcaVariant(OcaWhenPhysicalAbsolute, OcaWhenPhysicalRelative)],
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
'SetStartWhen',
|
|
67
|
+
3,
|
|
68
|
+
16,
|
|
69
|
+
[OcaVariant(OcaWhenPhysicalAbsolute, OcaWhenPhysicalRelative)],
|
|
70
|
+
[],
|
|
71
|
+
],
|
|
55
72
|
],
|
|
56
73
|
[
|
|
57
74
|
['State', [OcaRamperState], 3, 1, false, false, null],
|
|
@@ -61,12 +78,21 @@ export const OcaRamper = make_control_class(
|
|
|
61
78
|
['Duration', [OcaFloat32], 3, 5, false, false, null],
|
|
62
79
|
['InterpolationLaw', [OcaRamperInterpolationLaw], 3, 6, false, false, null],
|
|
63
80
|
['Goal', [OcaFloat64], 3, 7, false, false, null],
|
|
81
|
+
[
|
|
82
|
+
'StartWhen',
|
|
83
|
+
[OcaVariant(OcaWhenPhysicalAbsolute, OcaWhenPhysicalRelative)],
|
|
84
|
+
3,
|
|
85
|
+
8,
|
|
86
|
+
false,
|
|
87
|
+
false,
|
|
88
|
+
null,
|
|
89
|
+
],
|
|
64
90
|
],
|
|
65
91
|
[]
|
|
66
92
|
);
|
|
67
93
|
|
|
68
94
|
/**
|
|
69
|
-
* Executes the given
|
|
95
|
+
* Executes the given Ramper command. The return value indicates whether the
|
|
70
96
|
* command was successfully executed.
|
|
71
97
|
*
|
|
72
98
|
* @method OcaRamper#Control
|
|
@@ -100,16 +126,16 @@ export const OcaRamper = make_control_class(
|
|
|
100
126
|
* @returns {Promise<void>}
|
|
101
127
|
*/
|
|
102
128
|
/**
|
|
103
|
-
* Gets ramper time mode (absolute or relative).
|
|
104
|
-
*
|
|
129
|
+
* Gets ramper time mode (absolute or relative). **Deprecated** in v3 of this
|
|
130
|
+
* class.
|
|
105
131
|
*
|
|
106
132
|
* @method OcaRamper#GetTimeMode
|
|
107
133
|
* @returns {Promise<OcaTimeMode>}
|
|
108
134
|
* A promise which resolves to a single value of type :class:`OcaTimeMode`.
|
|
109
135
|
*/
|
|
110
136
|
/**
|
|
111
|
-
* Sets ramper time mode (absolute or relative).
|
|
112
|
-
*
|
|
137
|
+
* Sets ramper time mode (absolute or relative). **Deprecated** in v3 of this
|
|
138
|
+
* class.
|
|
113
139
|
*
|
|
114
140
|
* @method OcaRamper#SetTimeMode
|
|
115
141
|
* @param {IOcaTimeMode} TimeMode
|
|
@@ -117,16 +143,15 @@ export const OcaRamper = make_control_class(
|
|
|
117
143
|
* @returns {Promise<void>}
|
|
118
144
|
*/
|
|
119
145
|
/**
|
|
120
|
-
*
|
|
121
|
-
*
|
|
146
|
+
* Output parameter that holds the start time of the ramp if the method
|
|
147
|
+
* succeeds. **Deprecated** in version 3 of this class.
|
|
122
148
|
*
|
|
123
149
|
* @method OcaRamper#GetStartTime
|
|
124
150
|
* @returns {Promise<number|BigInt>}
|
|
125
151
|
* A promise which resolves to a single value of type ``number|BigInt``.
|
|
126
152
|
*/
|
|
127
153
|
/**
|
|
128
|
-
* Sets ramper start time.
|
|
129
|
-
* successfully set.
|
|
154
|
+
* Sets ramper start time. **Deprecated** in v3 of this class.
|
|
130
155
|
*
|
|
131
156
|
* @method OcaRamper#SetStartTime
|
|
132
157
|
* @param {number|BigInt} TimeMode
|
|
@@ -139,7 +164,7 @@ export const OcaRamper = make_control_class(
|
|
|
139
164
|
* The return values of this method are
|
|
140
165
|
*
|
|
141
166
|
* - Duration of type ``number``
|
|
142
|
-
* -
|
|
167
|
+
* - minDuration of type ``number``
|
|
143
168
|
* - maxDuration of type ``number``
|
|
144
169
|
*
|
|
145
170
|
* @method OcaRamper#GetDuration
|
|
@@ -188,6 +213,22 @@ export const OcaRamper = make_control_class(
|
|
|
188
213
|
*
|
|
189
214
|
* @returns {Promise<void>}
|
|
190
215
|
*/
|
|
216
|
+
/**
|
|
217
|
+
* Gets the value of the **StartWhen** property.
|
|
218
|
+
*
|
|
219
|
+
* @method OcaRamper#GetStartWhen
|
|
220
|
+
* @returns {Promise<(OcaWhenPhysicalAbsolute | OcaWhenPhysicalRelative)>}
|
|
221
|
+
* A promise which resolves to a single value of type ``(OcaWhenPhysicalAbsolute | OcaWhenPhysicalRelative)``.
|
|
222
|
+
*/
|
|
223
|
+
/**
|
|
224
|
+
* Sets the value of the **StartWhen** property. Shall fail if called when
|
|
225
|
+
* **State** is **Ramping**.
|
|
226
|
+
*
|
|
227
|
+
* @method OcaRamper#SetStartWhen
|
|
228
|
+
* @param {(IOcaWhenPhysicalAbsolute | IOcaWhenPhysicalRelative)} When
|
|
229
|
+
*
|
|
230
|
+
* @returns {Promise<void>}
|
|
231
|
+
*/
|
|
191
232
|
/**
|
|
192
233
|
* This event is emitted when the property ``State`` changes in the remote object.
|
|
193
234
|
* The property ``State`` is described in the AES70 standard as follows.
|
|
@@ -205,7 +246,8 @@ export const OcaRamper = make_control_class(
|
|
|
205
246
|
/**
|
|
206
247
|
* This event is emitted when the property ``TimeMode`` changes in the remote object.
|
|
207
248
|
* The property ``TimeMode`` is described in the AES70 standard as follows.
|
|
208
|
-
* Absolute or Relative time.
|
|
249
|
+
* Absolute or Relative time. In version 3 of this class, this property is
|
|
250
|
+
* **deprecated** and replaced by property **StartWhen**.
|
|
209
251
|
*
|
|
210
252
|
* @member {PropertyEvent<OcaTimeMode>} OcaRamper#OnTimeModeChanged
|
|
211
253
|
*/
|
|
@@ -215,7 +257,9 @@ export const OcaRamper = make_control_class(
|
|
|
215
257
|
* Time at which to start ramp. If **TimeMode=Relative**, the actual event start
|
|
216
258
|
* time equals the value of **StartTime** plus the absolute time that
|
|
217
259
|
* **StartTime** was most recently set. If **TimeMode=Absolute**, the actual
|
|
218
|
-
* event start time equals the value of **StartTime
|
|
260
|
+
* event start time equals the value of **StartTime.** In version 3 of this
|
|
261
|
+
* class, this property is **deprecated** and replaced by property
|
|
262
|
+
* **StartWhen**.
|
|
219
263
|
*
|
|
220
264
|
* @member {PropertyEvent<number|BigInt>} OcaRamper#OnStartTimeChanged
|
|
221
265
|
*/
|
|
@@ -240,3 +284,12 @@ export const OcaRamper = make_control_class(
|
|
|
240
284
|
*
|
|
241
285
|
* @member {PropertyEvent<number>} OcaRamper#OnGoalChanged
|
|
242
286
|
*/
|
|
287
|
+
/**
|
|
288
|
+
* This event is emitted when the property ``StartWhen`` changes in the remote object.
|
|
289
|
+
* The property ``StartWhen`` is described in the AES70 standard as follows.
|
|
290
|
+
* An **OcaWhen** item that specifies when to start ramp. Absolute or relative
|
|
291
|
+
* time, according to what the **OcaWhen** item specifies. Relative time values
|
|
292
|
+
* are based on the absolute time that **StartWhen** was most recently set.
|
|
293
|
+
*
|
|
294
|
+
* @member {PropertyEvent<(OcaWhenPhysicalAbsolute | OcaWhenPhysicalRelative)>} OcaRamper#OnStartWhenChanged
|
|
295
|
+
*/
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { OcaClassIdentification } from '../../types/OcaClassIdentification';
|
|
2
|
+
import { OcaLockState } from '../../types/OcaLockState';
|
|
2
3
|
import { Event } from '../event';
|
|
3
4
|
import { ObjectBase } from '../object_base';
|
|
5
|
+
import { PropertyEvent } from '../property_event';
|
|
4
6
|
import { RemoteDevice } from '../remote_device';
|
|
5
7
|
|
|
6
8
|
/**
|
|
@@ -12,18 +14,21 @@ import { RemoteDevice } from '../remote_device';
|
|
|
12
14
|
export declare class OcaRoot extends ObjectBase {
|
|
13
15
|
/**
|
|
14
16
|
* General event that is emitted when a property changes. In each setter
|
|
15
|
-
* method (of derived classes) this event
|
|
17
|
+
* method (of derived classes) this event shall be raised with the proper
|
|
16
18
|
* derived event data structure.
|
|
17
19
|
* @member OcaRoot#OnPropertyChanged {Event}
|
|
18
20
|
*/
|
|
19
21
|
OnPropertyChanged: Event;
|
|
22
|
+
/**
|
|
23
|
+
* This event is emitted whenever LockState changes.
|
|
24
|
+
*/
|
|
25
|
+
OnLockStateChanged: PropertyEvent<OcaLockState>;
|
|
20
26
|
|
|
21
27
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
22
28
|
|
|
23
29
|
/**
|
|
24
|
-
* Gets the class identification, a structure
|
|
25
|
-
* ClassVersion.
|
|
26
|
-
* successfully retrieved.
|
|
30
|
+
* Gets the class identification, a structure contains the ClassID and
|
|
31
|
+
* ClassVersion.
|
|
27
32
|
*
|
|
28
33
|
* @method OcaRoot#GetClassIdentification
|
|
29
34
|
* @returns {Promise<OcaClassIdentification>}
|
|
@@ -32,8 +37,7 @@ export declare class OcaRoot extends ObjectBase {
|
|
|
32
37
|
GetClassIdentification(): Promise<OcaClassIdentification>;
|
|
33
38
|
|
|
34
39
|
/**
|
|
35
|
-
* Gets the value of the Lockable property.
|
|
36
|
-
* the property was successfully retrieved.
|
|
40
|
+
* Gets the value of the Lockable property.
|
|
37
41
|
*
|
|
38
42
|
* @method OcaRoot#GetLockable
|
|
39
43
|
* @returns {Promise<boolean>}
|
|
@@ -43,11 +47,33 @@ export declare class OcaRoot extends ObjectBase {
|
|
|
43
47
|
|
|
44
48
|
/**
|
|
45
49
|
* Locks the object totally, so that it can only be accessed for reading or
|
|
46
|
-
* writing by the lockholder.
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
50
|
+
* writing by the lockholder.
|
|
51
|
+
*
|
|
52
|
+
* - If the object's **LockState** is **LockNoWrite** by the same lockholder,
|
|
53
|
+
* the lock state is upgraded to LockNoReadWrite.
|
|
54
|
+
*
|
|
55
|
+
* - If the call is from a session other than the lockholder's, the call
|
|
56
|
+
* fails.
|
|
57
|
+
*
|
|
58
|
+
*
|
|
59
|
+
*
|
|
60
|
+
* @method OcaRoot#SetLockNoReadWrite
|
|
61
|
+
* @returns {Promise<void>}
|
|
62
|
+
*/
|
|
63
|
+
SetLockNoReadWrite(): Promise<void>;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Locks the object totally, so that it can only be accessed for reading or
|
|
67
|
+
* writing by the lockholder.
|
|
68
|
+
*
|
|
69
|
+
* - If the object's **LockState** is **LockNoWrite** by the same lockholder,
|
|
70
|
+
* the lock state is upgraded to LockNoReadWrite.
|
|
71
|
+
*
|
|
72
|
+
* - If the call is from a session other than the lockholder's, the call
|
|
73
|
+
* fails.
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* An alias for SetLockNoReadWrite.
|
|
51
77
|
*
|
|
52
78
|
* @method OcaRoot#LockTotal
|
|
53
79
|
* @returns {Promise<void>}
|
|
@@ -56,8 +82,7 @@ export declare class OcaRoot extends ObjectBase {
|
|
|
56
82
|
|
|
57
83
|
/**
|
|
58
84
|
* Unlocks the object so that it can be freely accessed again. This method can
|
|
59
|
-
* only succeed if it is called by the lockholder.
|
|
60
|
-
* whether the operation succeeded.
|
|
85
|
+
* only succeed if it is called by the lockholder.
|
|
61
86
|
*
|
|
62
87
|
* @method OcaRoot#Unlock
|
|
63
88
|
* @returns {Promise<void>}
|
|
@@ -65,8 +90,7 @@ export declare class OcaRoot extends ObjectBase {
|
|
|
65
90
|
Unlock(): Promise<void>;
|
|
66
91
|
|
|
67
92
|
/**
|
|
68
|
-
* Returns value of Role property.
|
|
69
|
-
* operation succeeded.
|
|
93
|
+
* Returns value of Role property.
|
|
70
94
|
*
|
|
71
95
|
* @method OcaRoot#GetRole
|
|
72
96
|
* @returns {Promise<string>}
|
|
@@ -75,15 +99,36 @@ export declare class OcaRoot extends ObjectBase {
|
|
|
75
99
|
GetRole(): Promise<string>;
|
|
76
100
|
|
|
77
101
|
/**
|
|
78
|
-
* Locks the object so that
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
*
|
|
85
|
-
* @method OcaRoot#LockReadonly
|
|
102
|
+
* Locks the object so that it may only be controlled by the lockholder, but
|
|
103
|
+
* others can still retrieve property values. If **LockState** is
|
|
104
|
+
* **LockNoReadWrite** by the same lockholder, the lock state is downgraded to
|
|
105
|
+
* **LockNoWrite**. If the call is from a session other than the lockholder's,
|
|
106
|
+
* the call fails.
|
|
107
|
+
*
|
|
108
|
+
* @method OcaRoot#SetLockNoWrite
|
|
86
109
|
* @returns {Promise<void>}
|
|
87
110
|
*/
|
|
88
|
-
|
|
111
|
+
SetLockNoWrite(): Promise<void>;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Locks the object so that it may only be controlled by the lockholder, but
|
|
115
|
+
* others can still retrieve property values. If **LockState** is
|
|
116
|
+
* **LockNoReadWrite** by the same lockholder, the lock state is downgraded to
|
|
117
|
+
* **LockNoWrite**. If the call is from a session other than the lockholder's,
|
|
118
|
+
* the call fails.
|
|
119
|
+
* An alias for SetLockNoWrite.
|
|
120
|
+
*
|
|
121
|
+
* @method OcaRoot#LockReadOnly
|
|
122
|
+
* @returns {Promise<void>}
|
|
123
|
+
*/
|
|
124
|
+
LockReadOnly(): Promise<void>;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Returns the current value of the **LockState** property.
|
|
128
|
+
*
|
|
129
|
+
* @method OcaRoot#GetLockState
|
|
130
|
+
* @returns {Promise<OcaLockState>}
|
|
131
|
+
* A promise which resolves to a single value of type :class:`OcaLockState`.
|
|
132
|
+
*/
|
|
133
|
+
GetLockState(): Promise<OcaLockState>;
|
|
89
134
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
2
2
|
import { OcaClassIdentification } from '../../OCP1/OcaClassIdentification.js';
|
|
3
|
+
import { OcaLockState } from '../../OCP1/OcaLockState.js';
|
|
3
4
|
import { OcaPropertyChangedEventData } from '../../OCP1/OcaPropertyChangedEventData.js';
|
|
4
5
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
5
6
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
@@ -18,15 +19,16 @@ export const OcaRoot = make_control_class(
|
|
|
18
19
|
'OcaRoot',
|
|
19
20
|
1,
|
|
20
21
|
'\u0001',
|
|
21
|
-
|
|
22
|
+
3,
|
|
22
23
|
ObjectBase,
|
|
23
24
|
[
|
|
24
25
|
['GetClassIdentification', 1, 1, [], [OcaClassIdentification]],
|
|
25
26
|
['GetLockable', 1, 2, [], [OcaBoolean]],
|
|
26
|
-
['
|
|
27
|
+
['SetLockNoReadWrite', 1, 3, [], [], ['LockTotal']],
|
|
27
28
|
['Unlock', 1, 4, [], []],
|
|
28
29
|
['GetRole', 1, 5, [], [OcaString]],
|
|
29
|
-
['
|
|
30
|
+
['SetLockNoWrite', 1, 6, [], [], ['LockReadOnly']],
|
|
31
|
+
['GetLockState', 1, 7, [], [OcaLockState]],
|
|
30
32
|
],
|
|
31
33
|
[
|
|
32
34
|
['ClassID', [String16], 1, 1, true, true, null],
|
|
@@ -34,22 +36,21 @@ export const OcaRoot = make_control_class(
|
|
|
34
36
|
['ObjectNumber', [OcaUint32], 1, 3, true, false, null],
|
|
35
37
|
['Lockable', [OcaBoolean], 1, 4, true, false, null],
|
|
36
38
|
['Role', [OcaString], 1, 5, true, false, null],
|
|
39
|
+
['LockState', [OcaLockState], 1, 6, false, false, null],
|
|
37
40
|
],
|
|
38
41
|
[['PropertyChanged', 1, 1, [OcaPropertyChangedEventData]]]
|
|
39
42
|
);
|
|
40
43
|
|
|
41
44
|
/**
|
|
42
|
-
* Gets the class identification, a structure
|
|
43
|
-
* ClassVersion.
|
|
44
|
-
* successfully retrieved.
|
|
45
|
+
* Gets the class identification, a structure contains the ClassID and
|
|
46
|
+
* ClassVersion.
|
|
45
47
|
*
|
|
46
48
|
* @method OcaRoot#GetClassIdentification
|
|
47
49
|
* @returns {Promise<OcaClassIdentification>}
|
|
48
50
|
* A promise which resolves to a single value of type :class:`OcaClassIdentification`.
|
|
49
51
|
*/
|
|
50
52
|
/**
|
|
51
|
-
* Gets the value of the Lockable property.
|
|
52
|
-
* the property was successfully retrieved.
|
|
53
|
+
* Gets the value of the Lockable property.
|
|
53
54
|
*
|
|
54
55
|
* @method OcaRoot#GetLockable
|
|
55
56
|
* @returns {Promise<boolean>}
|
|
@@ -57,45 +58,85 @@ export const OcaRoot = make_control_class(
|
|
|
57
58
|
*/
|
|
58
59
|
/**
|
|
59
60
|
* Locks the object totally, so that it can only be accessed for reading or
|
|
60
|
-
* writing by the lockholder.
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
61
|
+
* writing by the lockholder.
|
|
62
|
+
*
|
|
63
|
+
* - If the object's **LockState** is **LockNoWrite** by the same lockholder,
|
|
64
|
+
* the lock state is upgraded to LockNoReadWrite.
|
|
65
|
+
*
|
|
66
|
+
* - If the call is from a session other than the lockholder's, the call fails.
|
|
67
|
+
*
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @method OcaRoot#SetLockNoReadWrite
|
|
71
|
+
* @returns {Promise<void>}
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Locks the object totally, so that it can only be accessed for reading or
|
|
75
|
+
* writing by the lockholder.
|
|
76
|
+
*
|
|
77
|
+
* - If the object's **LockState** is **LockNoWrite** by the same lockholder,
|
|
78
|
+
* the lock state is upgraded to LockNoReadWrite.
|
|
79
|
+
*
|
|
80
|
+
* - If the call is from a session other than the lockholder's, the call fails.
|
|
81
|
+
*
|
|
82
|
+
*
|
|
83
|
+
* An alias for SetLockNoReadWrite.
|
|
65
84
|
*
|
|
66
85
|
* @method OcaRoot#LockTotal
|
|
67
86
|
* @returns {Promise<void>}
|
|
68
87
|
*/
|
|
69
88
|
/**
|
|
70
89
|
* Unlocks the object so that it can be freely accessed again. This method can
|
|
71
|
-
* only succeed if it is called by the lockholder.
|
|
72
|
-
* whether the operation succeeded.
|
|
90
|
+
* only succeed if it is called by the lockholder.
|
|
73
91
|
*
|
|
74
92
|
* @method OcaRoot#Unlock
|
|
75
93
|
* @returns {Promise<void>}
|
|
76
94
|
*/
|
|
77
95
|
/**
|
|
78
|
-
* Returns value of Role property.
|
|
79
|
-
* operation succeeded.
|
|
96
|
+
* Returns value of Role property.
|
|
80
97
|
*
|
|
81
98
|
* @method OcaRoot#GetRole
|
|
82
99
|
* @returns {Promise<string>}
|
|
83
100
|
* A promise which resolves to a single value of type ``string``.
|
|
84
101
|
*/
|
|
85
102
|
/**
|
|
86
|
-
* Locks the object so that
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
* @
|
|
103
|
+
* Locks the object so that it may only be controlled by the lockholder, but
|
|
104
|
+
* others can still retrieve property values. If **LockState** is
|
|
105
|
+
* **LockNoReadWrite** by the same lockholder, the lock state is downgraded to
|
|
106
|
+
* **LockNoWrite**. If the call is from a session other than the lockholder's,
|
|
107
|
+
* the call fails.
|
|
108
|
+
*
|
|
109
|
+
* @method OcaRoot#SetLockNoWrite
|
|
110
|
+
* @returns {Promise<void>}
|
|
111
|
+
*/
|
|
112
|
+
/**
|
|
113
|
+
* Locks the object so that it may only be controlled by the lockholder, but
|
|
114
|
+
* others can still retrieve property values. If **LockState** is
|
|
115
|
+
* **LockNoReadWrite** by the same lockholder, the lock state is downgraded to
|
|
116
|
+
* **LockNoWrite**. If the call is from a session other than the lockholder's,
|
|
117
|
+
* the call fails.
|
|
118
|
+
* An alias for SetLockNoWrite.
|
|
119
|
+
*
|
|
120
|
+
* @method OcaRoot#LockReadOnly
|
|
94
121
|
* @returns {Promise<void>}
|
|
95
122
|
*/
|
|
123
|
+
/**
|
|
124
|
+
* Returns the current value of the **LockState** property.
|
|
125
|
+
*
|
|
126
|
+
* @method OcaRoot#GetLockState
|
|
127
|
+
* @returns {Promise<OcaLockState>}
|
|
128
|
+
* A promise which resolves to a single value of type :class:`OcaLockState`.
|
|
129
|
+
*/
|
|
96
130
|
/**
|
|
97
131
|
* General event that is emitted when a property changes. In each setter method
|
|
98
|
-
* (of derived classes) this event
|
|
132
|
+
* (of derived classes) this event shall be raised with the proper derived event
|
|
99
133
|
* data structure.
|
|
100
134
|
* @member OcaRoot#OnPropertyChanged {Event}
|
|
101
135
|
*/
|
|
136
|
+
/**
|
|
137
|
+
* This event is emitted when the property ``LockState`` changes in the remote object.
|
|
138
|
+
* The property ``LockState`` is described in the AES70 standard as follows.
|
|
139
|
+
* Current lock state - none, noWrite, or noReadWrite
|
|
140
|
+
*
|
|
141
|
+
* @member {PropertyEvent<OcaLockState>} OcaRoot#OnLockStateChanged
|
|
142
|
+
*/
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OcaSamplingRateConverterType } from '../../types/OcaSamplingRateConverterType';
|
|
2
|
+
import { RemoteDevice } from '../remote_device';
|
|
3
|
+
import { OcaActuator } from './OcaActuator';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Sampling rate converter. **ClockMap** property inherited from **OcaWorker**
|
|
7
|
+
* shall define the input and output clocks to be used for the conversion(s).
|
|
8
|
+
* @extends OcaActuator
|
|
9
|
+
* @class OcaSamplingRateConverter
|
|
10
|
+
*/
|
|
11
|
+
export declare class OcaSamplingRateConverter extends OcaActuator {
|
|
12
|
+
constructor(objectNumber: number, device: RemoteDevice);
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Gets type of this sampling rate converter.
|
|
16
|
+
*
|
|
17
|
+
* @method OcaSamplingRateConverter#GetType
|
|
18
|
+
* @returns {Promise<OcaSamplingRateConverterType>}
|
|
19
|
+
* A promise which resolves to a single value of type :class:`OcaSamplingRateConverterType`.
|
|
20
|
+
*/
|
|
21
|
+
GetType(): Promise<OcaSamplingRateConverterType>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OcaSamplingRateConverterType } from '../../OCP1/OcaSamplingRateConverterType.js';
|
|
2
|
+
import { make_control_class } from '../make_control_class.js';
|
|
3
|
+
import { OcaActuator } from './OcaActuator.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Sampling rate converter. **ClockMap** property inherited from **OcaWorker**
|
|
7
|
+
* shall define the input and output clocks to be used for the conversion(s).
|
|
8
|
+
* @extends OcaActuator
|
|
9
|
+
* @class OcaSamplingRateConverter
|
|
10
|
+
*/
|
|
11
|
+
export const OcaSamplingRateConverter = make_control_class(
|
|
12
|
+
'OcaSamplingRateConverter',
|
|
13
|
+
4,
|
|
14
|
+
'\u0001\u0001\u0001\u0017',
|
|
15
|
+
1,
|
|
16
|
+
OcaActuator,
|
|
17
|
+
[['GetType', 4, 1, [], [OcaSamplingRateConverterType]]],
|
|
18
|
+
[['Type', [OcaSamplingRateConverterType], 4, 1, true, false, null]],
|
|
19
|
+
[]
|
|
20
|
+
);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Gets type of this sampling rate converter.
|
|
24
|
+
*
|
|
25
|
+
* @method OcaSamplingRateConverter#GetType
|
|
26
|
+
* @returns {Promise<OcaSamplingRateConverterType>}
|
|
27
|
+
* A promise which resolves to a single value of type :class:`OcaSamplingRateConverterType`.
|
|
28
|
+
*/
|
|
@@ -27,9 +27,8 @@ export declare class OcaSecurityManager extends OcaManager {
|
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
29
|
* Enables security of control data (OCA messages). After calling this method
|
|
30
|
-
* all OCA messages are sent and received using a secure connection.
|
|
31
|
-
*
|
|
32
|
-
* fails security is not enabled.
|
|
30
|
+
* all OCA messages are sent and received using a secure connection. If the
|
|
31
|
+
* operation fails, security is not enabled.
|
|
33
32
|
*
|
|
34
33
|
* @method OcaSecurityManager#EnableControlSecurity
|
|
35
34
|
* @returns {Promise<void>}
|
|
@@ -39,8 +38,7 @@ export declare class OcaSecurityManager extends OcaManager {
|
|
|
39
38
|
/**
|
|
40
39
|
* Disables security of control data (OCA messages). After calling this method
|
|
41
40
|
* all OCA messages can be sent and received both on insecure and secure
|
|
42
|
-
* connections.
|
|
43
|
-
* the operation fails security is not disabled.
|
|
41
|
+
* connections. If the operation fails, security is not disabled.
|
|
44
42
|
*
|
|
45
43
|
* @method OcaSecurityManager#DisableControlSecurity
|
|
46
44
|
* @returns {Promise<void>}
|
|
@@ -51,7 +49,7 @@ export declare class OcaSecurityManager extends OcaManager {
|
|
|
51
49
|
* Changes the pre-shared key identified by the passed identity. Note that
|
|
52
50
|
* changing a PSK over the network will only work if the controller has a
|
|
53
51
|
* secure connection to the device and control security has been turned on. If
|
|
54
|
-
* this is not the case the method will return DeviceError.
|
|
52
|
+
* this is not the case, the method will return DeviceError.
|
|
55
53
|
*
|
|
56
54
|
* @method OcaSecurityManager#ChangePreSharedKey
|
|
57
55
|
* @param {string} identity
|
|
@@ -66,7 +64,8 @@ export declare class OcaSecurityManager extends OcaManager {
|
|
|
66
64
|
* having multiple PSKs the device is able to participate in multiple secure
|
|
67
65
|
* systems. Note that adding a PSK over the network will only work if the
|
|
68
66
|
* controller has a secure connection to the device and control security has
|
|
69
|
-
* been turned on. If this is not the case the method will return
|
|
67
|
+
* been turned on. If this is not the case, the method will return
|
|
68
|
+
* DeviceError.
|
|
70
69
|
*
|
|
71
70
|
* @method OcaSecurityManager#AddPreSharedKey
|
|
72
71
|
* @param {string} identity
|
|
@@ -77,12 +76,12 @@ export declare class OcaSecurityManager extends OcaManager {
|
|
|
77
76
|
AddPreSharedKey(identity: string, key: Uint8Array): Promise<void>;
|
|
78
77
|
|
|
79
78
|
/**
|
|
80
|
-
* Deletes
|
|
81
|
-
* After deleting the pre-shared key the device will no longer be
|
|
82
|
-
* participate in the secure system that uses the PSK. Note that
|
|
83
|
-
* PSK over the network will only work if the controller has a
|
|
84
|
-
* connection to the device and control security has been turned on. If
|
|
85
|
-
* is not the case the method will return DeviceError.
|
|
79
|
+
* Deletes the pre-shared key identified by the given identity from the
|
|
80
|
+
* device. After deleting the pre-shared key, the device will no longer be
|
|
81
|
+
* able to participate in the secure system that uses the PSK. Note that
|
|
82
|
+
* deleting a PSK over the network will only work if the controller has a
|
|
83
|
+
* secure connection to the device and control security has been turned on. If
|
|
84
|
+
* this is not the case, the method will return DeviceError.
|
|
86
85
|
*
|
|
87
86
|
* @method OcaSecurityManager#DeletePreSharedKey
|
|
88
87
|
* @param {string} identity
|
|
@@ -23,7 +23,7 @@ export const OcaSecurityManager = make_control_class(
|
|
|
23
23
|
'OcaSecurityManager',
|
|
24
24
|
3,
|
|
25
25
|
'\u0001\u0003\u0002',
|
|
26
|
-
|
|
26
|
+
3,
|
|
27
27
|
OcaManager,
|
|
28
28
|
[
|
|
29
29
|
['EnableControlSecurity', 3, 1, [], []],
|
|
@@ -38,9 +38,8 @@ export const OcaSecurityManager = make_control_class(
|
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Enables security of control data (OCA messages). After calling this method
|
|
41
|
-
* all OCA messages are sent and received using a secure connection.
|
|
42
|
-
*
|
|
43
|
-
* security is not enabled.
|
|
41
|
+
* all OCA messages are sent and received using a secure connection. If the
|
|
42
|
+
* operation fails, security is not enabled.
|
|
44
43
|
*
|
|
45
44
|
* @method OcaSecurityManager#EnableControlSecurity
|
|
46
45
|
* @returns {Promise<void>}
|
|
@@ -48,8 +47,7 @@ export const OcaSecurityManager = make_control_class(
|
|
|
48
47
|
/**
|
|
49
48
|
* Disables security of control data (OCA messages). After calling this method
|
|
50
49
|
* all OCA messages can be sent and received both on insecure and secure
|
|
51
|
-
* connections.
|
|
52
|
-
* the operation fails security is not disabled.
|
|
50
|
+
* connections. If the operation fails, security is not disabled.
|
|
53
51
|
*
|
|
54
52
|
* @method OcaSecurityManager#DisableControlSecurity
|
|
55
53
|
* @returns {Promise<void>}
|
|
@@ -58,7 +56,7 @@ export const OcaSecurityManager = make_control_class(
|
|
|
58
56
|
* Changes the pre-shared key identified by the passed identity. Note that
|
|
59
57
|
* changing a PSK over the network will only work if the controller has a secure
|
|
60
58
|
* connection to the device and control security has been turned on. If this is
|
|
61
|
-
* not the case the method will return DeviceError.
|
|
59
|
+
* not the case, the method will return DeviceError.
|
|
62
60
|
*
|
|
63
61
|
* @method OcaSecurityManager#ChangePreSharedKey
|
|
64
62
|
* @param {string} identity
|
|
@@ -71,7 +69,7 @@ export const OcaSecurityManager = make_control_class(
|
|
|
71
69
|
* having multiple PSKs the device is able to participate in multiple secure
|
|
72
70
|
* systems. Note that adding a PSK over the network will only work if the
|
|
73
71
|
* controller has a secure connection to the device and control security has
|
|
74
|
-
* been turned on. If this is not the case the method will return DeviceError.
|
|
72
|
+
* been turned on. If this is not the case, the method will return DeviceError.
|
|
75
73
|
*
|
|
76
74
|
* @method OcaSecurityManager#AddPreSharedKey
|
|
77
75
|
* @param {string} identity
|
|
@@ -80,11 +78,11 @@ export const OcaSecurityManager = make_control_class(
|
|
|
80
78
|
* @returns {Promise<void>}
|
|
81
79
|
*/
|
|
82
80
|
/**
|
|
83
|
-
* Deletes
|
|
84
|
-
* After deleting the pre-shared key the device will no longer be able to
|
|
81
|
+
* Deletes the pre-shared key identified by the given identity from the device.
|
|
82
|
+
* After deleting the pre-shared key, the device will no longer be able to
|
|
85
83
|
* participate in the secure system that uses the PSK. Note that deleting a PSK
|
|
86
84
|
* over the network will only work if the controller has a secure connection to
|
|
87
|
-
* the device and control security has been turned on. If this is not the case
|
|
85
|
+
* the device and control security has been turned on. If this is not the case,
|
|
88
86
|
* the method will return DeviceError.
|
|
89
87
|
*
|
|
90
88
|
* @method OcaSecurityManager#DeletePreSharedKey
|
|
@@ -95,7 +93,7 @@ export const OcaSecurityManager = make_control_class(
|
|
|
95
93
|
/**
|
|
96
94
|
* This event is emitted when the property ``secureControlData`` changes in the remote object.
|
|
97
95
|
* The property ``secureControlData`` is described in the AES70 standard as follows.
|
|
98
|
-
*
|
|
96
|
+
* TRUE if and only if the OCA control data in the system is secured.
|
|
99
97
|
*
|
|
100
98
|
* @member {PropertyEvent<boolean>} OcaSecurityManager#OnsecureControlDataChanged
|
|
101
99
|
*/
|
|
@@ -17,8 +17,7 @@ export declare class OcaSensor extends OcaWorker {
|
|
|
17
17
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Gets the current reading state of the sensor.
|
|
21
|
-
* whether the state was successfully retrived.
|
|
20
|
+
* Gets the current reading state of the sensor.
|
|
22
21
|
*
|
|
23
22
|
* @method OcaSensor#GetReadingState
|
|
24
23
|
* @returns {Promise<OcaSensorReadingState>}
|