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
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
import { IOcaConstructionParameter } from '../../types/OcaConstructionParameter';
|
|
2
|
+
import {
|
|
3
|
+
IOcaGlobalTypeIdentifier,
|
|
4
|
+
OcaGlobalTypeIdentifier,
|
|
5
|
+
} from '../../types/OcaGlobalTypeIdentifier';
|
|
6
|
+
import { IOcaIODirection } from '../../types/OcaIODirection';
|
|
7
|
+
import { IOcaPortID, OcaPortID } from '../../types/OcaPortID';
|
|
8
|
+
import { OcaProtoObjectIdentification } from '../../types/OcaProtoObjectIdentification';
|
|
9
|
+
import { IOcaProtoPort, OcaProtoPort } from '../../types/OcaProtoPort';
|
|
10
|
+
import {
|
|
11
|
+
IOcaProtoPortClockMapEntry,
|
|
12
|
+
OcaProtoPortClockMapEntry,
|
|
13
|
+
} from '../../types/OcaProtoPortClockMapEntry';
|
|
14
|
+
import {
|
|
15
|
+
IOcaProtoSignalPath,
|
|
16
|
+
OcaProtoSignalPath,
|
|
17
|
+
} from '../../types/OcaProtoSignalPath';
|
|
18
|
+
import { PropertyEvent } from '../property_event';
|
|
19
|
+
import { RemoteDevice } from '../remote_device';
|
|
20
|
+
import { OcaAgent } from './OcaAgent';
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Create custom **OcaBlock** instances (*blocks*). Usable only in
|
|
24
|
+
* reconfigurable devices. See [AES70-1](Constructing and deleting objects)] for
|
|
25
|
+
* an overview.
|
|
26
|
+
* @extends OcaAgent
|
|
27
|
+
* @class OcaBlockFactoryAgent
|
|
28
|
+
*/
|
|
29
|
+
export declare class OcaBlockFactoryAgent extends OcaAgent {
|
|
30
|
+
/**
|
|
31
|
+
* This event is emitted whenever GlobalType changes.
|
|
32
|
+
*/
|
|
33
|
+
OnGlobalTypeChanged: PropertyEvent<OcaGlobalTypeIdentifier>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* This event is emitted whenever ProtoActionObjects changes.
|
|
37
|
+
*/
|
|
38
|
+
OnProtoActionObjectsChanged: PropertyEvent<OcaProtoObjectIdentification[]>;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* This event is emitted whenever ProtoDatasetObjects changes.
|
|
42
|
+
*/
|
|
43
|
+
OnProtoDatasetObjectsChanged: PropertyEvent<OcaProtoObjectIdentification[]>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* This event is emitted whenever ProtoBlockPorts changes.
|
|
47
|
+
*/
|
|
48
|
+
OnProtoBlockPortsChanged: PropertyEvent<OcaProtoPort[]>;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* This event is emitted whenever ProtoBlockPortClockMap changes.
|
|
52
|
+
*/
|
|
53
|
+
OnProtoBlockPortClockMapChanged: PropertyEvent<
|
|
54
|
+
Map<OcaPortID, OcaProtoPortClockMapEntry>
|
|
55
|
+
>;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* This event is emitted whenever ProtoSignalPaths changes.
|
|
59
|
+
*/
|
|
60
|
+
OnProtoSignalPathsChanged: PropertyEvent<Map<number, OcaProtoSignalPath>>;
|
|
61
|
+
|
|
62
|
+
constructor(objectNumber: number, device: RemoteDevice);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Gets the global type identifier for blocks created by this factory.
|
|
66
|
+
*
|
|
67
|
+
* @method OcaBlockFactoryAgent#GetGlobalType
|
|
68
|
+
* @returns {Promise<OcaGlobalTypeIdentifier>}
|
|
69
|
+
* A promise which resolves to a single value of type :class:`OcaGlobalTypeIdentifier`.
|
|
70
|
+
*/
|
|
71
|
+
GetGlobalType(): Promise<OcaGlobalTypeIdentifier>;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Sets the global type identifier for blocks created by this factory.
|
|
75
|
+
*
|
|
76
|
+
* @method OcaBlockFactoryAgent#SetGlobalType
|
|
77
|
+
* @param {IOcaGlobalTypeIdentifier} GlobalType
|
|
78
|
+
*
|
|
79
|
+
* @returns {Promise<void>}
|
|
80
|
+
*/
|
|
81
|
+
SetGlobalType(GlobalType: IOcaGlobalTypeIdentifier): Promise<void>;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Adds a Prototype Action Object of the given class to this Factory. The most
|
|
85
|
+
* current version of the given class shall be used.
|
|
86
|
+
*
|
|
87
|
+
* @method OcaBlockFactoryAgent#AddProtoActionObject
|
|
88
|
+
* @param {string} ClassIdentification
|
|
89
|
+
* @param {IOcaConstructionParameter[]} ConstructionParameters
|
|
90
|
+
*
|
|
91
|
+
* @returns {Promise<number>}
|
|
92
|
+
* A promise which resolves to a single value of type ``number``.
|
|
93
|
+
*/
|
|
94
|
+
AddProtoActionObject(
|
|
95
|
+
ClassIdentification: string,
|
|
96
|
+
ConstructionParameters: IOcaConstructionParameter[]
|
|
97
|
+
): Promise<number>;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Adds a Prototype nested Block to this Factory. When this Factory constructs
|
|
101
|
+
* a Block, the nested Block will be constructed as well.
|
|
102
|
+
*
|
|
103
|
+
* @method OcaBlockFactoryAgent#AddProtoBlockUsingFactory
|
|
104
|
+
* @param {number} FactoryONo
|
|
105
|
+
*
|
|
106
|
+
* @returns {Promise<number>}
|
|
107
|
+
* A promise which resolves to a single value of type ``number``.
|
|
108
|
+
*/
|
|
109
|
+
AddProtoBlockUsingFactory(FactoryONo: number): Promise<number>;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Gets the Factory's list of Prototype Action Objects. Does not recurse
|
|
113
|
+
* nested Prototype Blocks, if any.
|
|
114
|
+
*
|
|
115
|
+
* @method OcaBlockFactoryAgent#GetProtoActionObjects
|
|
116
|
+
* @returns {Promise<OcaProtoObjectIdentification[]>}
|
|
117
|
+
* A promise which resolves to a single value of type :class:`OcaProtoObjectIdentification[]`.
|
|
118
|
+
*/
|
|
119
|
+
GetProtoActionObjects(): Promise<OcaProtoObjectIdentification[]>;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Adds a Prototype Dataset Object of the given class to this Factory. The
|
|
123
|
+
* most current version of the class shall be used.
|
|
124
|
+
*
|
|
125
|
+
* @method OcaBlockFactoryAgent#AddProtoDatasetObject
|
|
126
|
+
* @param {string} ClassIdentification
|
|
127
|
+
* @param {IOcaConstructionParameter[]} ConstructionParameters
|
|
128
|
+
*
|
|
129
|
+
* @returns {Promise<number>}
|
|
130
|
+
* A promise which resolves to a single value of type ``number``.
|
|
131
|
+
*/
|
|
132
|
+
AddProtoDatasetObject(
|
|
133
|
+
ClassIdentification: string,
|
|
134
|
+
ConstructionParameters: IOcaConstructionParameter[]
|
|
135
|
+
): Promise<number>;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Gets the Factory's list of Prototype Dataset Objects. Does not recurse
|
|
139
|
+
* nested Prototype Blocks.
|
|
140
|
+
*
|
|
141
|
+
* @method OcaBlockFactoryAgent#GetProtoDatasetObjects
|
|
142
|
+
* @returns {Promise<OcaProtoObjectIdentification[]>}
|
|
143
|
+
* A promise which resolves to a single value of type :class:`OcaProtoObjectIdentification[]`.
|
|
144
|
+
*/
|
|
145
|
+
GetProtoDatasetObjects(): Promise<OcaProtoObjectIdentification[]>;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Deletes a Prototype Action Object or Prototype Dataset Object from the
|
|
149
|
+
* Factory. If the object being deleted is an Action Object, all Prototype
|
|
150
|
+
* Signal Paths attached to it
|
|
151
|
+
*
|
|
152
|
+
* @method OcaBlockFactoryAgent#DeleteProtoMember
|
|
153
|
+
* @param {number} ProtoObjectNumber
|
|
154
|
+
*
|
|
155
|
+
* @returns {Promise<void>}
|
|
156
|
+
*/
|
|
157
|
+
DeleteProtoMember(ProtoObjectNumber: number): Promise<void>;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Gets the Factory's list of Prototype Block Ports.
|
|
161
|
+
*
|
|
162
|
+
* @method OcaBlockFactoryAgent#GetProtoBlockPorts
|
|
163
|
+
* @returns {Promise<OcaProtoPort[]>}
|
|
164
|
+
* A promise which resolves to a single value of type :class:`OcaProtoPort[]`.
|
|
165
|
+
*/
|
|
166
|
+
GetProtoBlockPorts(): Promise<OcaProtoPort[]>;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Sets the complete list of Prototype Block Ports. When the Factory
|
|
170
|
+
* constructs a Block, it will create a Block Port in the Block for each
|
|
171
|
+
* Prototype Block Port . Null list removes all Prototype Block Ports.
|
|
172
|
+
*
|
|
173
|
+
* @method OcaBlockFactoryAgent#SetProtoBlockPorts
|
|
174
|
+
* @param {IOcaProtoPort[]} Ports
|
|
175
|
+
*
|
|
176
|
+
* @returns {Promise<void>}
|
|
177
|
+
*/
|
|
178
|
+
SetProtoBlockPorts(Ports: IOcaProtoPort[]): Promise<void>;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Adds a single Prototype Block Port to the factory. If the identified
|
|
182
|
+
* Prototype Block Port already exists in the Factory, it is replaced with the
|
|
183
|
+
* one from this call.
|
|
184
|
+
*
|
|
185
|
+
* @method OcaBlockFactoryAgent#SetProtoBlockPort
|
|
186
|
+
* @param {string} Name
|
|
187
|
+
* @param {IOcaIODirection} PortMode
|
|
188
|
+
*
|
|
189
|
+
* @returns {Promise<OcaPortID>}
|
|
190
|
+
* A promise which resolves to a single value of type :class:`OcaPortID`.
|
|
191
|
+
*/
|
|
192
|
+
SetProtoBlockPort(
|
|
193
|
+
Name: string,
|
|
194
|
+
PortMode: IOcaIODirection
|
|
195
|
+
): Promise<OcaPortID>;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* If the method succeeds, deletes the designated Prototype Block Port from
|
|
199
|
+
* the Factory.
|
|
200
|
+
*
|
|
201
|
+
* @method OcaBlockFactoryAgent#DeleteProtoBlockPort
|
|
202
|
+
* @param {IOcaPortID} ProtoPortID
|
|
203
|
+
*
|
|
204
|
+
* @returns {Promise<void>}
|
|
205
|
+
*/
|
|
206
|
+
DeleteProtoBlockPort(ProtoPortID: IOcaPortID): Promise<void>;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Gets the Factory's list of Prototype Signal Paths. Map key is Prototype
|
|
210
|
+
* Signal Path ID.
|
|
211
|
+
*
|
|
212
|
+
* @method OcaBlockFactoryAgent#GetProtoSignalPaths
|
|
213
|
+
* @returns {Promise<Map<number, OcaProtoSignalPath>>}
|
|
214
|
+
* A promise which resolves to a single value of type ``Map<number, OcaProtoSignalPath>``.
|
|
215
|
+
*/
|
|
216
|
+
GetProtoSignalPaths(): Promise<Map<number, OcaProtoSignalPath>>;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Gets the Factory's list of Prototype Signal Paths. Map key is Prototype
|
|
220
|
+
* Signal Path ID.
|
|
221
|
+
*
|
|
222
|
+
* @method OcaBlockFactoryAgent#SetProtoSignalPaths
|
|
223
|
+
* @param {Map<number, IOcaProtoSignalPath>} SignalPaths
|
|
224
|
+
*
|
|
225
|
+
* @returns {Promise<void>}
|
|
226
|
+
*/
|
|
227
|
+
SetProtoSignalPaths(
|
|
228
|
+
SignalPaths: Map<number, IOcaProtoSignalPath>
|
|
229
|
+
): Promise<void>;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Adds or replaces a Prototype Signal Path in the Factory.
|
|
233
|
+
*
|
|
234
|
+
* @method OcaBlockFactoryAgent#SetProtoSignalPath
|
|
235
|
+
* @param {IOcaProtoSignalPath} Path
|
|
236
|
+
*
|
|
237
|
+
* @returns {Promise<number>}
|
|
238
|
+
* A promise which resolves to a single value of type ``number``.
|
|
239
|
+
*/
|
|
240
|
+
SetProtoSignalPath(Path: IOcaProtoSignalPath): Promise<number>;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Deletes a Prototype Signal Path from the Factory.
|
|
244
|
+
*
|
|
245
|
+
* @method OcaBlockFactoryAgent#DeleteProtoSignalPath
|
|
246
|
+
* @returns {Promise<number>}
|
|
247
|
+
* A promise which resolves to a single value of type ``number``.
|
|
248
|
+
*/
|
|
249
|
+
DeleteProtoSignalPath(): Promise<number>;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* Gets the Prototype Block Port Clock Map.
|
|
253
|
+
*
|
|
254
|
+
* @method OcaBlockFactoryAgent#GetProtoBlockPortClockMap
|
|
255
|
+
* @returns {Promise<Map<OcaPortID, OcaProtoPortClockMapEntry>>}
|
|
256
|
+
* A promise which resolves to a single value of type ``Map<OcaPortID, OcaProtoPortClockMapEntry>``.
|
|
257
|
+
*/
|
|
258
|
+
GetProtoBlockPortClockMap(): Promise<
|
|
259
|
+
Map<OcaPortID, OcaProtoPortClockMapEntry>
|
|
260
|
+
>;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Sets the complete Prototype Block Port Clock Map. Null parameter clears the
|
|
264
|
+
* map.
|
|
265
|
+
*
|
|
266
|
+
* @method OcaBlockFactoryAgent#SetProtoBlockPortClockMap
|
|
267
|
+
* @param {Map<IOcaPortID, IOcaProtoPortClockMapEntry>} Map
|
|
268
|
+
*
|
|
269
|
+
* @returns {Promise<void>}
|
|
270
|
+
*/
|
|
271
|
+
SetProtoBlockPortClockMap(
|
|
272
|
+
Map: Map<IOcaPortID, IOcaProtoPortClockMapEntry>
|
|
273
|
+
): Promise<void>;
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Adds or replaces an entry to the Factory's current Prototype Block Port
|
|
277
|
+
* Clock Map
|
|
278
|
+
*
|
|
279
|
+
* @method OcaBlockFactoryAgent#SetProtoBlockPortClockMapEntry
|
|
280
|
+
* @param {IOcaPortID} Port
|
|
281
|
+
* @param {IOcaProtoPortClockMapEntry} MapEntry
|
|
282
|
+
*
|
|
283
|
+
* @returns {Promise<void>}
|
|
284
|
+
*/
|
|
285
|
+
SetProtoBlockPortClockMapEntry(
|
|
286
|
+
Port: IOcaPortID,
|
|
287
|
+
MapEntry: IOcaProtoPortClockMapEntry
|
|
288
|
+
): Promise<void>;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* Deletes an entry from the Prototype Block Port Clock Map.
|
|
292
|
+
*
|
|
293
|
+
* @method OcaBlockFactoryAgent#DeleteProtoBlockPortClockMapEntry
|
|
294
|
+
* @param {IOcaPortID} PortID
|
|
295
|
+
*
|
|
296
|
+
* @returns {Promise<void>}
|
|
297
|
+
*/
|
|
298
|
+
DeleteProtoBlockPortClockMapEntry(PortID: IOcaPortID): Promise<void>;
|
|
299
|
+
}
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
import { OcaConstructionParameter } from '../../OCP1/OcaConstructionParameter.js';
|
|
2
|
+
import { OcaGlobalTypeIdentifier } from '../../OCP1/OcaGlobalTypeIdentifier.js';
|
|
3
|
+
import { OcaIODirection } from '../../OCP1/OcaIODirection.js';
|
|
4
|
+
import { OcaList } from '../../OCP1/OcaList.js';
|
|
5
|
+
import { OcaMap } from '../../OCP1/OcaMap.js';
|
|
6
|
+
import { OcaPortID } from '../../OCP1/OcaPortID.js';
|
|
7
|
+
import { OcaProtoObjectIdentification } from '../../OCP1/OcaProtoObjectIdentification.js';
|
|
8
|
+
import { OcaProtoPort } from '../../OCP1/OcaProtoPort.js';
|
|
9
|
+
import { OcaProtoPortClockMapEntry } from '../../OCP1/OcaProtoPortClockMapEntry.js';
|
|
10
|
+
import { OcaProtoSignalPath } from '../../OCP1/OcaProtoSignalPath.js';
|
|
11
|
+
import { OcaString } from '../../OCP1/OcaString.js';
|
|
12
|
+
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
13
|
+
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
14
|
+
import { String16 } from '../../OCP1/String16.js';
|
|
15
|
+
import { make_control_class } from '../make_control_class.js';
|
|
16
|
+
import { OcaAgent } from './OcaAgent.js';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Create custom **OcaBlock** instances (*blocks*). Usable only in
|
|
20
|
+
* reconfigurable devices. See [AES70-1](Constructing and deleting objects)] for
|
|
21
|
+
* an overview.
|
|
22
|
+
* @extends OcaAgent
|
|
23
|
+
* @class OcaBlockFactoryAgent
|
|
24
|
+
*/
|
|
25
|
+
export const OcaBlockFactoryAgent = make_control_class(
|
|
26
|
+
'OcaBlockFactoryAgent',
|
|
27
|
+
3,
|
|
28
|
+
'\u0001\u0002\u0015',
|
|
29
|
+
1,
|
|
30
|
+
OcaAgent,
|
|
31
|
+
[
|
|
32
|
+
['GetGlobalType', 3, 1, [], [OcaGlobalTypeIdentifier]],
|
|
33
|
+
['SetGlobalType', 3, 2, [OcaGlobalTypeIdentifier], []],
|
|
34
|
+
[
|
|
35
|
+
'AddProtoActionObject',
|
|
36
|
+
3,
|
|
37
|
+
3,
|
|
38
|
+
[String16, OcaList(OcaConstructionParameter)],
|
|
39
|
+
[OcaUint32],
|
|
40
|
+
],
|
|
41
|
+
['AddProtoBlockUsingFactory', 3, 4, [OcaUint32], [OcaUint32]],
|
|
42
|
+
[
|
|
43
|
+
'GetProtoActionObjects',
|
|
44
|
+
3,
|
|
45
|
+
5,
|
|
46
|
+
[],
|
|
47
|
+
[OcaList(OcaProtoObjectIdentification)],
|
|
48
|
+
],
|
|
49
|
+
[
|
|
50
|
+
'AddProtoDatasetObject',
|
|
51
|
+
3,
|
|
52
|
+
6,
|
|
53
|
+
[String16, OcaList(OcaConstructionParameter)],
|
|
54
|
+
[OcaUint32],
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
'GetProtoDatasetObjects',
|
|
58
|
+
3,
|
|
59
|
+
7,
|
|
60
|
+
[],
|
|
61
|
+
[OcaList(OcaProtoObjectIdentification)],
|
|
62
|
+
],
|
|
63
|
+
['DeleteProtoMember', 3, 8, [OcaUint32], []],
|
|
64
|
+
['GetProtoBlockPorts', 3, 9, [], [OcaList(OcaProtoPort)]],
|
|
65
|
+
['SetProtoBlockPorts', 3, 10, [OcaList(OcaProtoPort)], []],
|
|
66
|
+
['SetProtoBlockPort', 3, 11, [OcaString, OcaIODirection], [OcaPortID]],
|
|
67
|
+
['DeleteProtoBlockPort', 3, 12, [OcaPortID], []],
|
|
68
|
+
['GetProtoSignalPaths', 3, 13, [], [OcaMap(OcaUint16, OcaProtoSignalPath)]],
|
|
69
|
+
['SetProtoSignalPaths', 3, 14, [OcaMap(OcaUint16, OcaProtoSignalPath)], []],
|
|
70
|
+
['SetProtoSignalPath', 3, 15, [OcaProtoSignalPath], [OcaUint16]],
|
|
71
|
+
['DeleteProtoSignalPath', 3, 16, [], [OcaUint16]],
|
|
72
|
+
[
|
|
73
|
+
'GetProtoBlockPortClockMap',
|
|
74
|
+
3,
|
|
75
|
+
17,
|
|
76
|
+
[],
|
|
77
|
+
[OcaMap(OcaPortID, OcaProtoPortClockMapEntry)],
|
|
78
|
+
],
|
|
79
|
+
[
|
|
80
|
+
'SetProtoBlockPortClockMap',
|
|
81
|
+
3,
|
|
82
|
+
18,
|
|
83
|
+
[OcaMap(OcaPortID, OcaProtoPortClockMapEntry)],
|
|
84
|
+
[],
|
|
85
|
+
],
|
|
86
|
+
[
|
|
87
|
+
'SetProtoBlockPortClockMapEntry',
|
|
88
|
+
3,
|
|
89
|
+
19,
|
|
90
|
+
[OcaPortID, OcaProtoPortClockMapEntry],
|
|
91
|
+
[],
|
|
92
|
+
],
|
|
93
|
+
['DeleteProtoBlockPortClockMapEntry', 3, 20, [OcaPortID], []],
|
|
94
|
+
],
|
|
95
|
+
[
|
|
96
|
+
['GlobalType', [OcaGlobalTypeIdentifier], 3, 1, false, false, null],
|
|
97
|
+
[
|
|
98
|
+
'ProtoActionObjects',
|
|
99
|
+
[OcaList(OcaProtoObjectIdentification)],
|
|
100
|
+
3,
|
|
101
|
+
2,
|
|
102
|
+
false,
|
|
103
|
+
false,
|
|
104
|
+
null,
|
|
105
|
+
],
|
|
106
|
+
[
|
|
107
|
+
'ProtoDatasetObjects',
|
|
108
|
+
[OcaList(OcaProtoObjectIdentification)],
|
|
109
|
+
3,
|
|
110
|
+
3,
|
|
111
|
+
false,
|
|
112
|
+
false,
|
|
113
|
+
null,
|
|
114
|
+
],
|
|
115
|
+
['ProtoBlockPorts', [OcaList(OcaProtoPort)], 3, 4, false, false, null],
|
|
116
|
+
[
|
|
117
|
+
'ProtoBlockPortClockMap',
|
|
118
|
+
[OcaMap(OcaPortID, OcaProtoPortClockMapEntry)],
|
|
119
|
+
3,
|
|
120
|
+
5,
|
|
121
|
+
false,
|
|
122
|
+
false,
|
|
123
|
+
null,
|
|
124
|
+
],
|
|
125
|
+
[
|
|
126
|
+
'ProtoSignalPaths',
|
|
127
|
+
[OcaMap(OcaUint16, OcaProtoSignalPath)],
|
|
128
|
+
3,
|
|
129
|
+
6,
|
|
130
|
+
false,
|
|
131
|
+
false,
|
|
132
|
+
null,
|
|
133
|
+
],
|
|
134
|
+
],
|
|
135
|
+
[]
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Gets the global type identifier for blocks created by this factory.
|
|
140
|
+
*
|
|
141
|
+
* @method OcaBlockFactoryAgent#GetGlobalType
|
|
142
|
+
* @returns {Promise<OcaGlobalTypeIdentifier>}
|
|
143
|
+
* A promise which resolves to a single value of type :class:`OcaGlobalTypeIdentifier`.
|
|
144
|
+
*/
|
|
145
|
+
/**
|
|
146
|
+
* Sets the global type identifier for blocks created by this factory.
|
|
147
|
+
*
|
|
148
|
+
* @method OcaBlockFactoryAgent#SetGlobalType
|
|
149
|
+
* @param {IOcaGlobalTypeIdentifier} GlobalType
|
|
150
|
+
*
|
|
151
|
+
* @returns {Promise<void>}
|
|
152
|
+
*/
|
|
153
|
+
/**
|
|
154
|
+
* Adds a Prototype Action Object of the given class to this Factory. The most
|
|
155
|
+
* current version of the given class shall be used.
|
|
156
|
+
*
|
|
157
|
+
* @method OcaBlockFactoryAgent#AddProtoActionObject
|
|
158
|
+
* @param {string} ClassIdentification
|
|
159
|
+
* @param {IOcaConstructionParameter[]} ConstructionParameters
|
|
160
|
+
*
|
|
161
|
+
* @returns {Promise<number>}
|
|
162
|
+
* A promise which resolves to a single value of type ``number``.
|
|
163
|
+
*/
|
|
164
|
+
/**
|
|
165
|
+
* Adds a Prototype nested Block to this Factory. When this Factory constructs a
|
|
166
|
+
* Block, the nested Block will be constructed as well.
|
|
167
|
+
*
|
|
168
|
+
* @method OcaBlockFactoryAgent#AddProtoBlockUsingFactory
|
|
169
|
+
* @param {number} FactoryONo
|
|
170
|
+
*
|
|
171
|
+
* @returns {Promise<number>}
|
|
172
|
+
* A promise which resolves to a single value of type ``number``.
|
|
173
|
+
*/
|
|
174
|
+
/**
|
|
175
|
+
* Gets the Factory's list of Prototype Action Objects. Does not recurse nested
|
|
176
|
+
* Prototype Blocks, if any.
|
|
177
|
+
*
|
|
178
|
+
* @method OcaBlockFactoryAgent#GetProtoActionObjects
|
|
179
|
+
* @returns {Promise<OcaProtoObjectIdentification[]>}
|
|
180
|
+
* A promise which resolves to a single value of type :class:`OcaProtoObjectIdentification[]`.
|
|
181
|
+
*/
|
|
182
|
+
/**
|
|
183
|
+
* Adds a Prototype Dataset Object of the given class to this Factory. The most
|
|
184
|
+
* current version of the class shall be used.
|
|
185
|
+
*
|
|
186
|
+
* @method OcaBlockFactoryAgent#AddProtoDatasetObject
|
|
187
|
+
* @param {string} ClassIdentification
|
|
188
|
+
* @param {IOcaConstructionParameter[]} ConstructionParameters
|
|
189
|
+
*
|
|
190
|
+
* @returns {Promise<number>}
|
|
191
|
+
* A promise which resolves to a single value of type ``number``.
|
|
192
|
+
*/
|
|
193
|
+
/**
|
|
194
|
+
* Gets the Factory's list of Prototype Dataset Objects. Does not recurse nested
|
|
195
|
+
* Prototype Blocks.
|
|
196
|
+
*
|
|
197
|
+
* @method OcaBlockFactoryAgent#GetProtoDatasetObjects
|
|
198
|
+
* @returns {Promise<OcaProtoObjectIdentification[]>}
|
|
199
|
+
* A promise which resolves to a single value of type :class:`OcaProtoObjectIdentification[]`.
|
|
200
|
+
*/
|
|
201
|
+
/**
|
|
202
|
+
* Deletes a Prototype Action Object or Prototype Dataset Object from the
|
|
203
|
+
* Factory. If the object being deleted is an Action Object, all Prototype
|
|
204
|
+
* Signal Paths attached to it
|
|
205
|
+
*
|
|
206
|
+
* @method OcaBlockFactoryAgent#DeleteProtoMember
|
|
207
|
+
* @param {number} ProtoObjectNumber
|
|
208
|
+
*
|
|
209
|
+
* @returns {Promise<void>}
|
|
210
|
+
*/
|
|
211
|
+
/**
|
|
212
|
+
* Gets the Factory's list of Prototype Block Ports.
|
|
213
|
+
*
|
|
214
|
+
* @method OcaBlockFactoryAgent#GetProtoBlockPorts
|
|
215
|
+
* @returns {Promise<OcaProtoPort[]>}
|
|
216
|
+
* A promise which resolves to a single value of type :class:`OcaProtoPort[]`.
|
|
217
|
+
*/
|
|
218
|
+
/**
|
|
219
|
+
* Sets the complete list of Prototype Block Ports. When the Factory constructs
|
|
220
|
+
* a Block, it will create a Block Port in the Block for each Prototype Block
|
|
221
|
+
* Port . Null list removes all Prototype Block Ports.
|
|
222
|
+
*
|
|
223
|
+
* @method OcaBlockFactoryAgent#SetProtoBlockPorts
|
|
224
|
+
* @param {IOcaProtoPort[]} Ports
|
|
225
|
+
*
|
|
226
|
+
* @returns {Promise<void>}
|
|
227
|
+
*/
|
|
228
|
+
/**
|
|
229
|
+
* Adds a single Prototype Block Port to the factory. If the identified
|
|
230
|
+
* Prototype Block Port already exists in the Factory, it is replaced with the
|
|
231
|
+
* one from this call.
|
|
232
|
+
*
|
|
233
|
+
* @method OcaBlockFactoryAgent#SetProtoBlockPort
|
|
234
|
+
* @param {string} Name
|
|
235
|
+
* @param {IOcaIODirection} PortMode
|
|
236
|
+
*
|
|
237
|
+
* @returns {Promise<OcaPortID>}
|
|
238
|
+
* A promise which resolves to a single value of type :class:`OcaPortID`.
|
|
239
|
+
*/
|
|
240
|
+
/**
|
|
241
|
+
* If the method succeeds, deletes the designated Prototype Block Port from the
|
|
242
|
+
* Factory.
|
|
243
|
+
*
|
|
244
|
+
* @method OcaBlockFactoryAgent#DeleteProtoBlockPort
|
|
245
|
+
* @param {IOcaPortID} ProtoPortID
|
|
246
|
+
*
|
|
247
|
+
* @returns {Promise<void>}
|
|
248
|
+
*/
|
|
249
|
+
/**
|
|
250
|
+
* Gets the Factory's list of Prototype Signal Paths. Map key is Prototype
|
|
251
|
+
* Signal Path ID.
|
|
252
|
+
*
|
|
253
|
+
* @method OcaBlockFactoryAgent#GetProtoSignalPaths
|
|
254
|
+
* @returns {Promise<Map<number, OcaProtoSignalPath>>}
|
|
255
|
+
* A promise which resolves to a single value of type ``Map<number, OcaProtoSignalPath>``.
|
|
256
|
+
*/
|
|
257
|
+
/**
|
|
258
|
+
* Gets the Factory's list of Prototype Signal Paths. Map key is Prototype
|
|
259
|
+
* Signal Path ID.
|
|
260
|
+
*
|
|
261
|
+
* @method OcaBlockFactoryAgent#SetProtoSignalPaths
|
|
262
|
+
* @param {Map<number, IOcaProtoSignalPath>} SignalPaths
|
|
263
|
+
*
|
|
264
|
+
* @returns {Promise<void>}
|
|
265
|
+
*/
|
|
266
|
+
/**
|
|
267
|
+
* Adds or replaces a Prototype Signal Path in the Factory.
|
|
268
|
+
*
|
|
269
|
+
* @method OcaBlockFactoryAgent#SetProtoSignalPath
|
|
270
|
+
* @param {IOcaProtoSignalPath} Path
|
|
271
|
+
*
|
|
272
|
+
* @returns {Promise<number>}
|
|
273
|
+
* A promise which resolves to a single value of type ``number``.
|
|
274
|
+
*/
|
|
275
|
+
/**
|
|
276
|
+
* Deletes a Prototype Signal Path from the Factory.
|
|
277
|
+
*
|
|
278
|
+
* @method OcaBlockFactoryAgent#DeleteProtoSignalPath
|
|
279
|
+
* @returns {Promise<number>}
|
|
280
|
+
* A promise which resolves to a single value of type ``number``.
|
|
281
|
+
*/
|
|
282
|
+
/**
|
|
283
|
+
* Gets the Prototype Block Port Clock Map.
|
|
284
|
+
*
|
|
285
|
+
* @method OcaBlockFactoryAgent#GetProtoBlockPortClockMap
|
|
286
|
+
* @returns {Promise<Map<OcaPortID, OcaProtoPortClockMapEntry>>}
|
|
287
|
+
* A promise which resolves to a single value of type ``Map<OcaPortID, OcaProtoPortClockMapEntry>``.
|
|
288
|
+
*/
|
|
289
|
+
/**
|
|
290
|
+
* Sets the complete Prototype Block Port Clock Map. Null parameter clears the
|
|
291
|
+
* map.
|
|
292
|
+
*
|
|
293
|
+
* @method OcaBlockFactoryAgent#SetProtoBlockPortClockMap
|
|
294
|
+
* @param {Map<IOcaPortID, IOcaProtoPortClockMapEntry>} Map
|
|
295
|
+
*
|
|
296
|
+
* @returns {Promise<void>}
|
|
297
|
+
*/
|
|
298
|
+
/**
|
|
299
|
+
* Adds or replaces an entry to the Factory's current Prototype Block Port Clock
|
|
300
|
+
* Map
|
|
301
|
+
*
|
|
302
|
+
* @method OcaBlockFactoryAgent#SetProtoBlockPortClockMapEntry
|
|
303
|
+
* @param {IOcaPortID} Port
|
|
304
|
+
* @param {IOcaProtoPortClockMapEntry} MapEntry
|
|
305
|
+
*
|
|
306
|
+
* @returns {Promise<void>}
|
|
307
|
+
*/
|
|
308
|
+
/**
|
|
309
|
+
* Deletes an entry from the Prototype Block Port Clock Map.
|
|
310
|
+
*
|
|
311
|
+
* @method OcaBlockFactoryAgent#DeleteProtoBlockPortClockMapEntry
|
|
312
|
+
* @param {IOcaPortID} PortID
|
|
313
|
+
*
|
|
314
|
+
* @returns {Promise<void>}
|
|
315
|
+
*/
|
|
316
|
+
/**
|
|
317
|
+
* This event is emitted when the property ``GlobalType`` changes in the remote object.
|
|
318
|
+
* The property ``GlobalType`` is described in the AES70 standard as follows.
|
|
319
|
+
* Global block type identifier for reusable blocks. Blocks created by this
|
|
320
|
+
* Factory shall be given this value.
|
|
321
|
+
*
|
|
322
|
+
* @member {PropertyEvent<OcaGlobalTypeIdentifier>} OcaBlockFactoryAgent#OnGlobalTypeChanged
|
|
323
|
+
*/
|
|
324
|
+
/**
|
|
325
|
+
* This event is emitted when the property ``ProtoActionObjects`` changes in the remote object.
|
|
326
|
+
* The property ``ProtoActionObjects`` is described in the AES70 standard as follows.
|
|
327
|
+
* List of Prototype Object Identifiers of Action Objects in the Block.
|
|
328
|
+
*
|
|
329
|
+
* @member {PropertyEvent<OcaProtoObjectIdentification[]>} OcaBlockFactoryAgent#OnProtoActionObjectsChanged
|
|
330
|
+
*/
|
|
331
|
+
/**
|
|
332
|
+
* This event is emitted when the property ``ProtoDatasetObjects`` changes in the remote object.
|
|
333
|
+
* The property ``ProtoDatasetObjects`` is described in the AES70 standard as follows.
|
|
334
|
+
* List of Prototype Object Identifiers of Dataset Objects in the Block.
|
|
335
|
+
*
|
|
336
|
+
* @member {PropertyEvent<OcaProtoObjectIdentification[]>} OcaBlockFactoryAgent#OnProtoDatasetObjectsChanged
|
|
337
|
+
*/
|
|
338
|
+
/**
|
|
339
|
+
* This event is emitted when the property ``ProtoBlockPorts`` changes in the remote object.
|
|
340
|
+
* The property ``ProtoBlockPorts`` is described in the AES70 standard as follows.
|
|
341
|
+
* List of Prototype Block Ports. This list defines the Block Ports that each
|
|
342
|
+
* Block constructed by this Factory shall have.
|
|
343
|
+
*
|
|
344
|
+
* @member {PropertyEvent<OcaProtoPort[]>} OcaBlockFactoryAgent#OnProtoBlockPortsChanged
|
|
345
|
+
*/
|
|
346
|
+
/**
|
|
347
|
+
* This event is emitted when the property ``ProtoBlockPortClockMap`` changes in the remote object.
|
|
348
|
+
* The property ``ProtoBlockPortClockMap`` is described in the AES70 standard as follows.
|
|
349
|
+
* Prototype Block Port Clock Map. This map defines the Block Port Clock Map
|
|
350
|
+
* that each Block constructed by this Factory shall have.
|
|
351
|
+
*
|
|
352
|
+
* @member {PropertyEvent<Map<OcaPortID, OcaProtoPortClockMapEntry>>} OcaBlockFactoryAgent#OnProtoBlockPortClockMapChanged
|
|
353
|
+
*/
|
|
354
|
+
/**
|
|
355
|
+
* This event is emitted when the property ``ProtoSignalPaths`` changes in the remote object.
|
|
356
|
+
* The property ``ProtoSignalPaths`` is described in the AES70 standard as follows.
|
|
357
|
+
* List of Prototype Signal Paths in the Block.
|
|
358
|
+
*
|
|
359
|
+
* @member {PropertyEvent<Map<number, OcaProtoSignalPath>>} OcaBlockFactoryAgent#OnProtoSignalPathsChanged
|
|
360
|
+
*/
|
|
@@ -16,8 +16,7 @@ export declare class OcaBooleanActuator extends OcaBasicActuator {
|
|
|
16
16
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* Gets the **Setting** property.
|
|
20
|
-
* was successfully retrieved.
|
|
19
|
+
* Gets the **Setting** property.
|
|
21
20
|
*
|
|
22
21
|
* @method OcaBooleanActuator#GetSetting
|
|
23
22
|
* @returns {Promise<boolean>}
|
|
@@ -26,8 +25,7 @@ export declare class OcaBooleanActuator extends OcaBasicActuator {
|
|
|
26
25
|
GetSetting(): Promise<boolean>;
|
|
27
26
|
|
|
28
27
|
/**
|
|
29
|
-
* Sets the **Setting** property.
|
|
30
|
-
* property was successfully set.
|
|
28
|
+
* Sets the **Setting** property.
|
|
31
29
|
*
|
|
32
30
|
* @method OcaBooleanActuator#SetSetting
|
|
33
31
|
* @param {boolean} Setting
|
|
@@ -11,7 +11,7 @@ export const OcaBooleanActuator = make_control_class(
|
|
|
11
11
|
'OcaBooleanActuator',
|
|
12
12
|
5,
|
|
13
13
|
'\u0001\u0001\u0001\u0001\u0001',
|
|
14
|
-
|
|
14
|
+
3,
|
|
15
15
|
OcaBasicActuator,
|
|
16
16
|
[
|
|
17
17
|
['GetSetting', 5, 1, [], [OcaBoolean]],
|
|
@@ -22,16 +22,14 @@ export const OcaBooleanActuator = make_control_class(
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the **Setting** property.
|
|
26
|
-
* was successfully retrieved.
|
|
25
|
+
* Gets the **Setting** property.
|
|
27
26
|
*
|
|
28
27
|
* @method OcaBooleanActuator#GetSetting
|
|
29
28
|
* @returns {Promise<boolean>}
|
|
30
29
|
* A promise which resolves to a single value of type ``boolean``.
|
|
31
30
|
*/
|
|
32
31
|
/**
|
|
33
|
-
* Sets the **Setting** property.
|
|
34
|
-
* property was successfully set.
|
|
32
|
+
* Sets the **Setting** property.
|
|
35
33
|
*
|
|
36
34
|
* @method OcaBooleanActuator#SetSetting
|
|
37
35
|
* @param {boolean} Setting
|