aes70 1.3.8 → 1.4.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/Changelog +14 -1
- package/dist/AES70.es5.js +1 -1
- package/package.json +1 -1
- package/src/OCP1/OcaBlockMember.js +1 -1
- package/src/OCP1/OcaClassAuthorityID.js +1 -1
- package/src/OCP1/OcaClassIdentification.js +1 -1
- package/src/OCP1/OcaDBr.js +1 -1
- package/src/OCP1/OcaDelayValue.js +1 -1
- package/src/OCP1/OcaEvent.js +1 -1
- package/src/OCP1/OcaEventID.js +1 -1
- package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
- package/src/OCP1/OcaGrouperCitizen.js +1 -1
- package/src/OCP1/OcaGrouperEnrollment.js +1 -1
- package/src/OCP1/OcaGrouperGroup.js +1 -1
- package/src/OCP1/OcaGrouperStatusChangeEventData.js +1 -3
- package/src/OCP1/OcaImpedance.js +1 -1
- package/src/OCP1/OcaLibParamSetAssignment.js +1 -1
- package/src/OCP1/OcaLibVol.js +1 -1
- package/src/OCP1/OcaLibVolChangedEventData.js +1 -3
- package/src/OCP1/OcaLibVolData_ParamSet.js +1 -1
- package/src/OCP1/OcaLibVolIdentifier.js +1 -1
- package/src/OCP1/OcaLibVolMetadata.js +1 -1
- package/src/OCP1/OcaLibVolType.js +1 -1
- package/src/OCP1/OcaLibraryIdentifier.js +1 -1
- package/src/OCP1/OcaManagerDescriptor.js +1 -1
- package/src/OCP1/OcaMediaClockRate.js +1 -1
- package/src/OCP1/OcaMediaCoding.js +1 -1
- package/src/OCP1/OcaMediaConnection.js +1 -1
- package/src/OCP1/OcaMediaConnectorElement.js +2 -2
- package/src/OCP1/OcaMediaConnectorStatus.js +1 -1
- package/src/OCP1/OcaMediaConnectorStatusChangedEventData.js +1 -3
- package/src/OCP1/OcaMediaSinkConnector.js +1 -1
- package/src/OCP1/OcaMediaSinkConnectorChangedEventData.js +1 -3
- package/src/OCP1/OcaMediaSourceConnector.js +1 -1
- package/src/OCP1/OcaMediaSourceConnectorChangedEventData.js +1 -3
- package/src/OCP1/OcaMethod.js +1 -1
- package/src/OCP1/OcaMethodID.js +1 -1
- package/src/OCP1/OcaModelDescription.js +1 -1
- package/src/OCP1/OcaModelGUID.js +1 -1
- package/src/OCP1/OcaNetworkStatistics.js +1 -1
- package/src/OCP1/OcaNetworkSystemInterfaceDescriptor.js +1 -1
- package/src/OCP1/OcaNetworkSystemInterfaceID.js +1 -1
- package/src/OCP1/OcaOPath.js +1 -1
- package/src/OCP1/OcaObjectIdentification.js +1 -1
- package/src/OCP1/OcaObjectListEventData.js +1 -3
- package/src/OCP1/OcaObjectSearchResult.js +1 -1
- package/src/OCP1/OcaObservationEventData.js +1 -3
- package/src/OCP1/OcaObservationListEventData.js +1 -3
- package/src/OCP1/OcaParameterMask.js +3 -0
- package/src/OCP1/OcaPilotToneDetectorSpec.js +1 -1
- package/src/OCP1/OcaPort.js +1 -1
- package/src/OCP1/OcaPortID.js +1 -1
- package/src/OCP1/OcaPositionDescriptor.js +3 -3
- package/src/OCP1/OcaPositionDescriptorFieldFlags.js +3 -0
- package/src/OCP1/OcaProperty.js +1 -1
- package/src/OCP1/OcaPropertyDescriptor.js +1 -1
- package/src/OCP1/OcaPropertyID.js +1 -1
- package/src/OCP1/OcaProtoObjectIdentification.js +1 -1
- package/src/OCP1/OcaProtoPort.js +1 -1
- package/src/OCP1/OcaProtoPortID.js +1 -1
- package/src/OCP1/OcaProtoSignalPath.js +1 -1
- package/src/OCP1/OcaSignalPath.js +1 -1
- package/src/OCP1/OcaStream.js +1 -1
- package/src/OCP1/OcaStreamConnectorIdentification.js +1 -1
- package/src/OCP1/OcaTask.js +1 -1
- package/src/OCP1/OcaTaskStateChangedEventData.js +1 -1
- package/src/OCP1/OcaTaskStatus.js +1 -1
- package/src/OCP1/OcaTimePTP.js +1 -1
- package/src/OCP1/OcaTransferFunction.js +1 -1
- package/src/OCP1/OcaVersion.js +1 -1
- package/src/controller/ControlClasses/OcaActuator.d.ts +3 -1
- package/src/controller/ControlClasses/OcaActuator.js +3 -1
- package/src/controller/ControlClasses/OcaAgent.d.ts +10 -7
- package/src/controller/ControlClasses/OcaAgent.js +12 -8
- package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +35 -21
- package/src/controller/ControlClasses/OcaApplicationNetwork.js +43 -32
- package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +14 -8
- package/src/controller/ControlClasses/OcaAudioLevelSensor.js +13 -9
- package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +3 -2
- package/src/controller/ControlClasses/OcaAudioProcessingManager.js +3 -2
- package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +11 -8
- package/src/controller/ControlClasses/OcaBitstringActuator.js +13 -9
- package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +7 -5
- package/src/controller/ControlClasses/OcaBitstringSensor.js +9 -6
- package/src/controller/ControlClasses/OcaBlock.d.ts +88 -74
- package/src/controller/ControlClasses/OcaBlock.js +80 -63
- package/src/controller/ControlClasses/OcaBlockFactory.d.ts +73 -29
- package/src/controller/ControlClasses/OcaBlockFactory.js +69 -42
- package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +5 -4
- package/src/controller/ControlClasses/OcaBooleanActuator.js +6 -4
- package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +3 -3
- package/src/controller/ControlClasses/OcaBooleanSensor.js +4 -3
- package/src/controller/ControlClasses/OcaCodingManager.d.ts +10 -7
- package/src/controller/ControlClasses/OcaCodingManager.js +17 -13
- package/src/controller/ControlClasses/OcaControlNetwork.d.ts +4 -5
- package/src/controller/ControlClasses/OcaControlNetwork.js +5 -6
- package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaCurrentSensor.js +4 -3
- package/src/controller/ControlClasses/OcaDelay.d.ts +6 -5
- package/src/controller/ControlClasses/OcaDelay.js +6 -4
- package/src/controller/ControlClasses/OcaDelayExtended.d.ts +18 -15
- package/src/controller/ControlClasses/OcaDelayExtended.js +17 -12
- package/src/controller/ControlClasses/OcaDeviceManager.d.ts +56 -31
- package/src/controller/ControlClasses/OcaDeviceManager.js +75 -51
- package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +33 -16
- package/src/controller/ControlClasses/OcaDeviceTimeManager.js +36 -18
- package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +6 -3
- package/src/controller/ControlClasses/OcaDiagnosticManager.js +8 -5
- package/src/controller/ControlClasses/OcaDynamics.d.ts +89 -61
- package/src/controller/ControlClasses/OcaDynamics.js +101 -79
- package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +77 -30
- package/src/controller/ControlClasses/OcaDynamicsCurve.js +85 -37
- package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +30 -22
- package/src/controller/ControlClasses/OcaDynamicsDetector.js +36 -24
- package/src/controller/ControlClasses/OcaEventHandler.d.ts +8 -6
- package/src/controller/ControlClasses/OcaEventHandler.js +9 -6
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +13 -9
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +15 -12
- package/src/controller/ControlClasses/OcaFilterClassical.d.ts +43 -30
- package/src/controller/ControlClasses/OcaFilterClassical.js +40 -31
- package/src/controller/ControlClasses/OcaFilterFIR.d.ts +12 -8
- package/src/controller/ControlClasses/OcaFilterFIR.js +19 -14
- package/src/controller/ControlClasses/OcaFilterParametric.d.ts +34 -25
- package/src/controller/ControlClasses/OcaFilterParametric.js +39 -33
- package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +6 -6
- package/src/controller/ControlClasses/OcaFilterPolynomial.js +11 -10
- package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +71 -21
- package/src/controller/ControlClasses/OcaFirmwareManager.js +71 -22
- package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFloat32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFloat32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFloat64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFloat64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFrequencyActuator.js +6 -4
- package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFrequencySensor.js +4 -3
- package/src/controller/ControlClasses/OcaGain.d.ts +6 -5
- package/src/controller/ControlClasses/OcaGain.js +6 -4
- package/src/controller/ControlClasses/OcaGainSensor.d.ts +6 -5
- package/src/controller/ControlClasses/OcaGainSensor.js +6 -4
- package/src/controller/ControlClasses/OcaGrouper.d.ts +138 -58
- package/src/controller/ControlClasses/OcaGrouper.js +139 -61
- package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +9 -10
- package/src/controller/ControlClasses/OcaIdentificationActuator.js +10 -10
- package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +6 -4
- package/src/controller/ControlClasses/OcaIdentificationSensor.js +5 -3
- package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +8 -8
- package/src/controller/ControlClasses/OcaImpedanceSensor.js +7 -6
- package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt16Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt16Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt8Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt8Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaLevelSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaLevelSensor.js +4 -3
- package/src/controller/ControlClasses/OcaLibrary.d.ts +50 -25
- package/src/controller/ControlClasses/OcaLibrary.js +54 -26
- package/src/controller/ControlClasses/OcaLibraryManager.d.ts +22 -16
- package/src/controller/ControlClasses/OcaLibraryManager.js +22 -17
- package/src/controller/ControlClasses/OcaManager.d.ts +4 -1
- package/src/controller/ControlClasses/OcaManager.js +4 -1
- package/src/controller/ControlClasses/OcaMatrix.d.ts +69 -20
- package/src/controller/ControlClasses/OcaMatrix.js +86 -38
- package/src/controller/ControlClasses/OcaMediaClock.d.ts +33 -19
- package/src/controller/ControlClasses/OcaMediaClock.js +30 -19
- package/src/controller/ControlClasses/OcaMediaClock3.d.ts +37 -22
- package/src/controller/ControlClasses/OcaMediaClock3.js +39 -27
- package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +15 -9
- package/src/controller/ControlClasses/OcaMediaClockManager.js +28 -23
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +106 -74
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +121 -111
- package/src/controller/ControlClasses/OcaMute.d.ts +7 -7
- package/src/controller/ControlClasses/OcaMute.js +7 -5
- package/src/controller/ControlClasses/OcaNetwork.d.ts +38 -20
- package/src/controller/ControlClasses/OcaNetwork.js +58 -42
- package/src/controller/ControlClasses/OcaNetworkManager.d.ts +20 -9
- package/src/controller/ControlClasses/OcaNetworkManager.js +33 -23
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.d.ts +43 -19
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +67 -44
- package/src/controller/ControlClasses/OcaNumericObserver.d.ts +77 -38
- package/src/controller/ControlClasses/OcaNumericObserver.js +95 -59
- package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +96 -45
- package/src/controller/ControlClasses/OcaNumericObserverList.js +129 -80
- package/src/controller/ControlClasses/OcaPanBalance.d.ts +10 -7
- package/src/controller/ControlClasses/OcaPanBalance.js +14 -11
- package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +31 -18
- package/src/controller/ControlClasses/OcaPhysicalPosition.js +43 -18
- package/src/controller/ControlClasses/OcaPolarity.d.ts +10 -7
- package/src/controller/ControlClasses/OcaPolarity.js +7 -5
- package/src/controller/ControlClasses/OcaPowerManager.d.ts +20 -14
- package/src/controller/ControlClasses/OcaPowerManager.js +27 -21
- package/src/controller/ControlClasses/OcaPowerSupply.d.ts +24 -15
- package/src/controller/ControlClasses/OcaPowerSupply.js +31 -23
- package/src/controller/ControlClasses/OcaRamper.d.ts +55 -34
- package/src/controller/ControlClasses/OcaRamper.js +58 -37
- package/src/controller/ControlClasses/OcaRoot.d.ts +28 -14
- package/src/controller/ControlClasses/OcaRoot.js +32 -24
- package/src/controller/ControlClasses/OcaSecurityManager.d.ts +29 -13
- package/src/controller/ControlClasses/OcaSecurityManager.js +31 -14
- package/src/controller/ControlClasses/OcaSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSensor.js +6 -5
- package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +48 -38
- package/src/controller/ControlClasses/OcaSignalGenerator.js +57 -46
- package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -1
- package/src/controller/ControlClasses/OcaSignalInput.js +4 -1
- package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -1
- package/src/controller/ControlClasses/OcaSignalOutput.js +4 -1
- package/src/controller/ControlClasses/OcaStreamConnector.d.ts +59 -24
- package/src/controller/ControlClasses/OcaStreamConnector.js +80 -48
- package/src/controller/ControlClasses/OcaStreamNetwork.d.ts +100 -27
- package/src/controller/ControlClasses/OcaStreamNetwork.js +124 -54
- package/src/controller/ControlClasses/OcaStringActuator.d.ts +5 -4
- package/src/controller/ControlClasses/OcaStringActuator.js +7 -5
- package/src/controller/ControlClasses/OcaStringSensor.d.ts +7 -5
- package/src/controller/ControlClasses/OcaStringSensor.js +10 -7
- package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +73 -46
- package/src/controller/ControlClasses/OcaSubscriptionManager.js +78 -51
- package/src/controller/ControlClasses/OcaSummingPoint.d.ts +2 -1
- package/src/controller/ControlClasses/OcaSummingPoint.js +2 -1
- package/src/controller/ControlClasses/OcaSwitch.d.ts +23 -15
- package/src/controller/ControlClasses/OcaSwitch.js +31 -23
- package/src/controller/ControlClasses/OcaTaskManager.d.ts +47 -38
- package/src/controller/ControlClasses/OcaTaskManager.js +48 -37
- package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaTemperatureActuator.js +6 -4
- package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaTemperatureSensor.js +4 -3
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +4 -3
- package/src/controller/ControlClasses/OcaTimeSource.d.ts +38 -22
- package/src/controller/ControlClasses/OcaTimeSource.js +41 -27
- package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint16Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint16Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint8Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint8Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaVoltageSensor.js +4 -3
- package/src/controller/ControlClasses/OcaWorker.d.ts +38 -28
- package/src/controller/ControlClasses/OcaWorker.js +50 -40
- package/src/controller/abstract_udp_connection.js +11 -7
- package/src/controller/client_connection.d.ts +1 -1
- package/src/controller/node_udp.js +2 -3
- package/src/controller/property_event.js +1 -1
- package/src/types/OcaBlockMember.d.ts +1 -2
- package/src/types/OcaClassAuthorityID.d.ts +14 -3
- package/src/types/OcaClassAuthorityID.js +8 -2
- package/src/types/OcaClassIdentification.d.ts +4 -3
- package/src/types/OcaClassIdentification.js +2 -2
- package/src/types/OcaComponent.d.ts +3 -1
- package/src/types/OcaComponent.js +3 -1
- package/src/types/OcaDBr.d.ts +6 -4
- package/src/types/OcaDBr.js +3 -2
- package/src/types/OcaDelayValue.d.ts +1 -2
- package/src/types/OcaDeviceState.d.ts +4 -1
- package/src/types/OcaDeviceState.js +4 -1
- package/src/types/OcaDynamicsFunction.d.ts +2 -1
- package/src/types/OcaDynamicsFunction.js +2 -1
- package/src/types/OcaEvent.d.ts +3 -3
- package/src/types/OcaEvent.js +2 -1
- package/src/types/OcaEventID.d.ts +3 -1
- package/src/types/OcaEventID.js +3 -1
- package/src/types/OcaGlobalTypeIdentifier.d.ts +10 -4
- package/src/types/OcaGlobalTypeIdentifier.js +5 -2
- package/src/types/OcaGrouperCitizen.d.ts +7 -5
- package/src/types/OcaGrouperCitizen.js +4 -2
- package/src/types/OcaGrouperEnrollment.d.ts +8 -4
- package/src/types/OcaGrouperEnrollment.js +4 -2
- package/src/types/OcaGrouperGroup.d.ts +4 -2
- package/src/types/OcaGrouperGroup.js +2 -1
- package/src/types/OcaGrouperMode.d.ts +1 -1
- package/src/types/OcaGrouperMode.js +1 -1
- package/src/types/OcaGrouperStatusChangeEventData.d.ts +7 -19
- package/src/types/OcaGrouperStatusChangeEventData.js +5 -8
- package/src/types/OcaGrouperStatusChangeType.d.ts +2 -1
- package/src/types/OcaGrouperStatusChangeType.js +2 -1
- package/src/types/OcaLevelDetectionLaw.d.ts +2 -1
- package/src/types/OcaLevelDetectionLaw.js +2 -1
- package/src/types/OcaLibParamSetAssignment.d.ts +3 -3
- package/src/types/OcaLibParamSetAssignment.js +2 -1
- package/src/types/OcaLibVol.d.ts +3 -3
- package/src/types/OcaLibVol.js +3 -2
- package/src/types/OcaLibVolChangedEventData.d.ts +4 -21
- package/src/types/OcaLibVolChangedEventData.js +3 -7
- package/src/types/OcaLibVolData_ParamSet.d.ts +13 -3
- package/src/types/OcaLibVolData_ParamSet.js +11 -3
- package/src/types/OcaLibVolMetadata.d.ts +4 -5
- package/src/types/OcaLibVolMetadata.js +1 -1
- package/src/types/OcaLibVolType.d.ts +12 -4
- package/src/types/OcaLibVolType.js +6 -2
- package/src/types/OcaLibraryIdentifier.d.ts +3 -3
- package/src/types/OcaLibraryIdentifier.js +2 -1
- package/src/types/OcaManagerDefaultObjectNumbers.d.ts +58 -116
- package/src/types/OcaManagerDefaultObjectNumbers.js +2 -2
- package/src/types/OcaManagerDescriptor.d.ts +4 -0
- package/src/types/OcaManagerDescriptor.js +2 -0
- package/src/types/OcaMediaClockRate.d.ts +12 -6
- package/src/types/OcaMediaClockRate.js +6 -3
- package/src/types/OcaMediaCoding.d.ts +4 -2
- package/src/types/OcaMediaCoding.js +2 -1
- package/src/types/OcaMediaConnection.d.ts +21 -8
- package/src/types/OcaMediaConnection.js +18 -5
- package/src/types/OcaMediaConnectorStatus.d.ts +5 -4
- package/src/types/OcaMediaConnectorStatus.js +2 -1
- package/src/types/OcaMediaConnectorStatusChangedEventData.d.ts +2 -17
- package/src/types/OcaMediaConnectorStatusChangedEventData.js +1 -7
- package/src/types/OcaMediaSinkConnector.d.ts +43 -15
- package/src/types/OcaMediaSinkConnector.js +23 -7
- package/src/types/OcaMediaSinkConnectorChangedEventData.d.ts +20 -30
- package/src/types/OcaMediaSinkConnectorChangedEventData.js +8 -11
- package/src/types/OcaMediaSourceConnector.d.ts +33 -13
- package/src/types/OcaMediaSourceConnector.js +17 -7
- package/src/types/OcaMediaSourceConnectorChangedEventData.d.ts +20 -30
- package/src/types/OcaMediaSourceConnectorChangedEventData.js +8 -11
- package/src/types/OcaMethod.d.ts +8 -5
- package/src/types/OcaMethod.js +5 -2
- package/src/types/OcaMethodID.d.ts +3 -1
- package/src/types/OcaMethodID.js +3 -1
- package/src/types/OcaModelGUID.d.ts +4 -2
- package/src/types/OcaModelGUID.js +5 -4
- package/src/types/OcaNetworkMediaSourceOrSink.d.ts +2 -1
- package/src/types/OcaNetworkMediaSourceOrSink.js +2 -1
- package/src/types/OcaNetworkSystemInterfaceDescriptor.d.ts +2 -1
- package/src/types/OcaNetworkSystemInterfaceDescriptor.js +3 -2
- package/src/types/OcaNetworkSystemInterfaceID.d.ts +2 -1
- package/src/types/OcaNetworkSystemInterfaceID.js +3 -2
- package/src/types/OcaNotificationDeliveryMode.d.ts +2 -1
- package/src/types/OcaNotificationDeliveryMode.js +2 -1
- package/src/types/OcaOPath.d.ts +2 -1
- package/src/types/OcaOPath.js +2 -1
- package/src/types/OcaObjectIdentification.d.ts +3 -3
- package/src/types/OcaObjectIdentification.js +2 -1
- package/src/types/OcaObjectListEventData.d.ts +3 -16
- package/src/types/OcaObjectListEventData.js +4 -8
- package/src/types/OcaObjectSearchResult.d.ts +5 -3
- package/src/types/OcaObjectSearchResult.js +4 -1
- package/src/types/OcaObjectSearchResultFlags.d.ts +1 -1
- package/src/types/OcaObjectSearchResultFlags.js +1 -1
- package/src/types/OcaObservationEventData.d.ts +8 -16
- package/src/types/OcaObservationEventData.js +8 -7
- package/src/types/OcaObservationListEventData.d.ts +8 -16
- package/src/types/OcaObservationListEventData.js +9 -8
- package/src/types/OcaParameterMask.d.ts +13 -0
- package/src/types/OcaParameterMask.js +11 -0
- package/src/types/OcaPilotToneDetectorSpec.d.ts +1 -2
- package/src/types/OcaPort.d.ts +3 -3
- package/src/types/OcaPort.js +2 -1
- package/src/types/OcaPortID.d.ts +4 -3
- package/src/types/OcaPortID.js +3 -1
- package/src/types/OcaPositionCoordinateSystem.d.ts +2 -1
- package/src/types/OcaPositionCoordinateSystem.js +2 -1
- package/src/types/OcaPositionDescriptor.d.ts +21 -20
- package/src/types/OcaPositionDescriptor.js +12 -14
- package/src/types/OcaPositionDescriptorFieldFlags.d.ts +13 -0
- package/src/types/OcaPositionDescriptorFieldFlags.js +11 -0
- package/src/types/OcaPowerState.d.ts +2 -1
- package/src/types/OcaPowerState.js +2 -1
- package/src/types/OcaPresentationUnit.d.ts +8 -1
- package/src/types/OcaPresentationUnit.js +8 -1
- package/src/types/OcaProperty.d.ts +3 -3
- package/src/types/OcaProperty.js +2 -1
- package/src/types/OcaPropertyDescriptor.d.ts +9 -9
- package/src/types/OcaPropertyDescriptor.js +4 -3
- package/src/types/OcaPropertyID.d.ts +3 -1
- package/src/types/OcaPropertyID.js +3 -1
- package/src/types/OcaProtoObjectIdentification.d.ts +3 -3
- package/src/types/OcaProtoObjectIdentification.js +2 -1
- package/src/types/OcaProtoPort.d.ts +9 -5
- package/src/types/OcaProtoPort.js +5 -2
- package/src/types/OcaProtoPortID.d.ts +4 -3
- package/src/types/OcaProtoPortID.js +3 -1
- package/src/types/OcaProtoSignalPath.d.ts +1 -2
- package/src/types/OcaRamperCommand.d.ts +1 -1
- package/src/types/OcaRamperCommand.js +1 -1
- package/src/types/OcaRamperState.d.ts +15 -10
- package/src/types/OcaRamperState.js +15 -10
- package/src/types/OcaSensorReadingState.d.ts +2 -1
- package/src/types/OcaSensorReadingState.js +2 -1
- package/src/types/OcaSignalPath.d.ts +1 -2
- package/src/types/OcaStream.d.ts +23 -10
- package/src/types/OcaStream.js +17 -5
- package/src/types/OcaStreamConnectorIdentification.d.ts +17 -7
- package/src/types/OcaStreamConnectorIdentification.js +15 -6
- package/src/types/OcaSubscriptionManagerState.d.ts +1 -1
- package/src/types/OcaSubscriptionManagerState.js +1 -1
- package/src/types/OcaTask.d.ts +27 -13
- package/src/types/OcaTask.js +14 -6
- package/src/types/OcaTaskManagerState.d.ts +13 -9
- package/src/types/OcaTaskManagerState.js +13 -9
- package/src/types/OcaTaskState.d.ts +3 -1
- package/src/types/OcaTaskState.js +3 -1
- package/src/types/OcaTaskStateChangedEventData.d.ts +6 -6
- package/src/types/OcaTaskStateChangedEventData.js +2 -2
- package/src/types/OcaTaskStatus.d.ts +6 -5
- package/src/types/OcaTaskStatus.js +5 -3
- package/src/types/OcaTimeMode.d.ts +1 -1
- package/src/types/OcaTimeMode.js +1 -1
- package/src/types/OcaTimePTP.d.ts +8 -3
- package/src/types/OcaTimePTP.js +6 -2
- package/src/types/OcaTransferFunction.js +3 -3
- package/src/types/OcaUnitOfMeasure.d.ts +5 -1
- package/src/types/OcaUnitOfMeasure.js +5 -1
- package/src/types/OcaVersion.d.ts +7 -5
- package/src/types/OcaVersion.js +4 -2
|
@@ -1,17 +1,23 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaWorker } from './OcaWorker';
|
|
3
|
-
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
1
|
import { OcaNetworkMediaSourceOrSink } from '../../types/OcaNetworkMediaSourceOrSink';
|
|
6
2
|
import { OcaNetworkSignalChannelStatus } from '../../types/OcaNetworkSignalChannelStatus';
|
|
3
|
+
import { PropertyEvent } from '../property_event';
|
|
4
|
+
import { RemoteDevice } from '../remote_device';
|
|
5
|
+
import { OcaWorker } from './OcaWorker';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
|
-
*
|
|
8
|
+
* **DEPRECATED CLASS** *Replaced by features of the* **OcaMediaSinkConnector
|
|
9
|
+
* ***and* **OcaMediaSourceConnector ***datatypes in version 3 of Connection
|
|
10
|
+
* Management (CM3)* Worker that allows connection of one or more internal
|
|
11
|
+
* signal paths to a network signal channel.
|
|
10
12
|
*
|
|
11
|
-
* - For stream-oriented media connection management such as used by AVB, this
|
|
13
|
+
* - For stream-oriented media connection management such as used by AVB, this
|
|
14
|
+
* worker will be linked to an **OcaStreamConnector** object and to the
|
|
15
|
+
* appropriate **OcaStreamNetwork** object.
|
|
12
16
|
*
|
|
17
|
+
* - For channel-oriented media connection management, such as the Dante
|
|
18
|
+
* name-based routing mechanism, this worker will be linked only to the
|
|
19
|
+
* **OcaStreamNetwork** object.
|
|
13
20
|
*
|
|
14
|
-
* - For channel-oriented media connection management, such as the Dante name-based routing mechanism, this worker will be linked only to the **OcaStreamNetwork** object.
|
|
15
21
|
*
|
|
16
22
|
* @extends OcaWorker
|
|
17
23
|
* @class OcaNetworkSignalChannel
|
|
@@ -50,11 +56,12 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
50
56
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
51
57
|
|
|
52
58
|
/**
|
|
53
|
-
* Adds the object number of the stream connector object to which this media
|
|
59
|
+
* Adds the object number of the stream connector object to which this media
|
|
60
|
+
* port belongs, and specifies on what index of the stream connector this
|
|
61
|
+
* channel can be found. Return status indicates success of operation.
|
|
54
62
|
*
|
|
55
63
|
* @method OcaNetworkSignalChannel#AddToConnector
|
|
56
64
|
* @param {number} Connector
|
|
57
|
-
*
|
|
58
65
|
* @param {number} Index
|
|
59
66
|
*
|
|
60
67
|
* @returns {Promise<void>}
|
|
@@ -62,7 +69,9 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
62
69
|
AddToConnector(Connector: number, Index: number): Promise<void>;
|
|
63
70
|
|
|
64
71
|
/**
|
|
65
|
-
* Gets the object number of the stream connector object to which this media
|
|
72
|
+
* Gets the object number of the stream connector object to which this media
|
|
73
|
+
* port belongs, if any. If port does not belong to a stream connector,
|
|
74
|
+
* returns zero. Return status indicates success of operation.
|
|
66
75
|
*
|
|
67
76
|
* @method OcaNetworkSignalChannel#GetConnectorPins
|
|
68
77
|
* @returns {Promise<Map<number, number>>}
|
|
@@ -71,7 +80,8 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
71
80
|
GetConnectorPins(): Promise<Map<number, number>>;
|
|
72
81
|
|
|
73
82
|
/**
|
|
74
|
-
* Gets the value of the IDAdvertised property. Return status indicates
|
|
83
|
+
* Gets the value of the IDAdvertised property. Return status indicates
|
|
84
|
+
* success of operation.
|
|
75
85
|
*
|
|
76
86
|
* @method OcaNetworkSignalChannel#GetIDAdvertised
|
|
77
87
|
* @returns {Promise<Uint8Array>}
|
|
@@ -80,7 +90,8 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
80
90
|
GetIDAdvertised(): Promise<Uint8Array>;
|
|
81
91
|
|
|
82
92
|
/**
|
|
83
|
-
* Gets the object number of the stream network object to which this media
|
|
93
|
+
* Gets the object number of the stream network object to which this media
|
|
94
|
+
* port belongs. Return status indicates success of operation.
|
|
84
95
|
*
|
|
85
96
|
* @method OcaNetworkSignalChannel#GetNetwork
|
|
86
97
|
* @returns {Promise<number>}
|
|
@@ -89,7 +100,10 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
89
100
|
GetNetwork(): Promise<number>;
|
|
90
101
|
|
|
91
102
|
/**
|
|
92
|
-
* Gets the remote channel ID to which this channel is connected. Empty if the
|
|
103
|
+
* Gets the remote channel ID to which this channel is connected. Empty if the
|
|
104
|
+
* channel is not connected (at least not directly to another channel). For
|
|
105
|
+
* stream-oriented connection management this functionality is not used (i.e.
|
|
106
|
+
* the remote channel ID will always be empty).
|
|
93
107
|
*
|
|
94
108
|
* @method OcaNetworkSignalChannel#GetRemoteChannelID
|
|
95
109
|
* @returns {Promise<Uint8Array>}
|
|
@@ -98,7 +112,8 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
98
112
|
GetRemoteChannelID(): Promise<Uint8Array>;
|
|
99
113
|
|
|
100
114
|
/**
|
|
101
|
-
* Gets the value of the SourceOrSink property. Return status indicates
|
|
115
|
+
* Gets the value of the SourceOrSink property. Return status indicates
|
|
116
|
+
* success of operation.
|
|
102
117
|
*
|
|
103
118
|
* @method OcaNetworkSignalChannel#GetSourceOrSink
|
|
104
119
|
* @returns {Promise<OcaNetworkMediaSourceOrSink>}
|
|
@@ -107,7 +122,8 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
107
122
|
GetSourceOrSink(): Promise<OcaNetworkMediaSourceOrSink>;
|
|
108
123
|
|
|
109
124
|
/**
|
|
110
|
-
* Gets the value of the Status property. Return status indicates success of
|
|
125
|
+
* Gets the value of the Status property. Return status indicates success of
|
|
126
|
+
* operation.
|
|
111
127
|
*
|
|
112
128
|
* @method OcaNetworkSignalChannel#GetStatus
|
|
113
129
|
* @returns {Promise<OcaNetworkSignalChannelStatus>}
|
|
@@ -116,7 +132,8 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
116
132
|
GetStatus(): Promise<OcaNetworkSignalChannelStatus>;
|
|
117
133
|
|
|
118
134
|
/**
|
|
119
|
-
* Removes this channel from the passed stream connector. Return status
|
|
135
|
+
* Removes this channel from the passed stream connector. Return status
|
|
136
|
+
* indicates success of operation.
|
|
120
137
|
*
|
|
121
138
|
* @method OcaNetworkSignalChannel#RemoveFromConnector
|
|
122
139
|
* @param {number} Connector
|
|
@@ -126,7 +143,8 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
126
143
|
RemoveFromConnector(Connector: number): Promise<void>;
|
|
127
144
|
|
|
128
145
|
/**
|
|
129
|
-
* Sets the value of the IDAdvertised property. Return status indicates
|
|
146
|
+
* Sets the value of the IDAdvertised property. Return status indicates
|
|
147
|
+
* success of operation.
|
|
130
148
|
*
|
|
131
149
|
* @method OcaNetworkSignalChannel#SetIDAdvertised
|
|
132
150
|
* @param {Uint8Array} IDAdvertised
|
|
@@ -136,7 +154,9 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
136
154
|
SetIDAdvertised(IDAdvertised: Uint8Array): Promise<void>;
|
|
137
155
|
|
|
138
156
|
/**
|
|
139
|
-
* Sets the object number of the stream network object to which this media
|
|
157
|
+
* Sets the object number of the stream network object to which this media
|
|
158
|
+
* port belongs. Return status indicates success of operation. Only
|
|
159
|
+
* implemented for reconfigurable devices.
|
|
140
160
|
*
|
|
141
161
|
* @method OcaNetworkSignalChannel#SetNetwork
|
|
142
162
|
* @param {number} Network
|
|
@@ -146,7 +166,11 @@ export declare class OcaNetworkSignalChannel extends OcaWorker {
|
|
|
146
166
|
SetNetwork(Network: number): Promise<void>;
|
|
147
167
|
|
|
148
168
|
/**
|
|
149
|
-
* Sets the remote channel ID to which this channel must be connected. Only
|
|
169
|
+
* Sets the remote channel ID to which this channel must be connected. Only
|
|
170
|
+
* used for channel-oriented connection management. For stream-oriented
|
|
171
|
+
* connection management this method is not used. Clearing the remote channel
|
|
172
|
+
* ID (i.e. tearing down the connection) can be done by passing an empty
|
|
173
|
+
* remote channel ID as parameter.
|
|
150
174
|
*
|
|
151
175
|
* @method OcaNetworkSignalChannel#SetRemoteChannelID
|
|
152
176
|
* @param {Uint8Array} RemoteChannelID
|
|
@@ -1,19 +1,26 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaWorker } from './OcaWorker.js';
|
|
3
1
|
import { OcaBlob } from '../../OCP1/OcaBlob.js';
|
|
4
2
|
import { OcaMap } from '../../OCP1/OcaMap.js';
|
|
5
3
|
import { OcaNetworkMediaSourceOrSink } from '../../OCP1/OcaNetworkMediaSourceOrSink.js';
|
|
6
4
|
import { OcaNetworkSignalChannelStatus } from '../../OCP1/OcaNetworkSignalChannelStatus.js';
|
|
7
5
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
8
6
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
7
|
+
import { make_control_class } from '../make_control_class.js';
|
|
8
|
+
import { OcaWorker } from './OcaWorker.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* **DEPRECATED CLASS** *Replaced by features of the* **OcaMediaSinkConnector
|
|
12
|
+
* ***and* **OcaMediaSourceConnector ***datatypes in version 3 of Connection
|
|
13
|
+
* Management (CM3)* Worker that allows connection of one or more internal
|
|
14
|
+
* signal paths to a network signal channel.
|
|
12
15
|
*
|
|
13
|
-
* - For stream-oriented media connection management such as used by AVB, this
|
|
16
|
+
* - For stream-oriented media connection management such as used by AVB, this
|
|
17
|
+
* worker will be linked to an **OcaStreamConnector** object and to the
|
|
18
|
+
* appropriate **OcaStreamNetwork** object.
|
|
14
19
|
*
|
|
20
|
+
* - For channel-oriented media connection management, such as the Dante
|
|
21
|
+
* name-based routing mechanism, this worker will be linked only to the
|
|
22
|
+
* **OcaStreamNetwork** object.
|
|
15
23
|
*
|
|
16
|
-
* - For channel-oriented media connection management, such as the Dante name-based routing mechanism, this worker will be linked only to the **OcaStreamNetwork** object.
|
|
17
24
|
*
|
|
18
25
|
* @extends OcaWorker
|
|
19
26
|
* @class OcaNetworkSignalChannel
|
|
@@ -49,59 +56,70 @@ export const OcaNetworkSignalChannel = make_control_class(
|
|
|
49
56
|
);
|
|
50
57
|
|
|
51
58
|
/**
|
|
52
|
-
* Adds the object number of the stream connector object to which this media
|
|
59
|
+
* Adds the object number of the stream connector object to which this media
|
|
60
|
+
* port belongs, and specifies on what index of the stream connector this
|
|
61
|
+
* channel can be found. Return status indicates success of operation.
|
|
53
62
|
*
|
|
54
63
|
* @method OcaNetworkSignalChannel#AddToConnector
|
|
55
64
|
* @param {number} Connector
|
|
56
|
-
*
|
|
57
65
|
* @param {number} Index
|
|
58
66
|
*
|
|
59
67
|
* @returns {Promise<void>}
|
|
60
68
|
*/
|
|
61
69
|
/**
|
|
62
|
-
* Gets the object number of the stream connector object to which this media
|
|
70
|
+
* Gets the object number of the stream connector object to which this media
|
|
71
|
+
* port belongs, if any. If port does not belong to a stream connector, returns
|
|
72
|
+
* zero. Return status indicates success of operation.
|
|
63
73
|
*
|
|
64
74
|
* @method OcaNetworkSignalChannel#GetConnectorPins
|
|
65
75
|
* @returns {Promise<Map<number, number>>}
|
|
66
76
|
* A promise which resolves to a single value of type ``Map<number, number>``.
|
|
67
77
|
*/
|
|
68
78
|
/**
|
|
69
|
-
* Gets the value of the IDAdvertised property. Return status indicates success
|
|
79
|
+
* Gets the value of the IDAdvertised property. Return status indicates success
|
|
80
|
+
* of operation.
|
|
70
81
|
*
|
|
71
82
|
* @method OcaNetworkSignalChannel#GetIDAdvertised
|
|
72
83
|
* @returns {Promise<Uint8Array>}
|
|
73
84
|
* A promise which resolves to a single value of type ``Uint8Array``.
|
|
74
85
|
*/
|
|
75
86
|
/**
|
|
76
|
-
* Gets the object number of the stream network object to which this media port
|
|
87
|
+
* Gets the object number of the stream network object to which this media port
|
|
88
|
+
* belongs. Return status indicates success of operation.
|
|
77
89
|
*
|
|
78
90
|
* @method OcaNetworkSignalChannel#GetNetwork
|
|
79
91
|
* @returns {Promise<number>}
|
|
80
92
|
* A promise which resolves to a single value of type ``number``.
|
|
81
93
|
*/
|
|
82
94
|
/**
|
|
83
|
-
* Gets the remote channel ID to which this channel is connected. Empty if the
|
|
95
|
+
* Gets the remote channel ID to which this channel is connected. Empty if the
|
|
96
|
+
* channel is not connected (at least not directly to another channel). For
|
|
97
|
+
* stream-oriented connection management this functionality is not used (i.e.
|
|
98
|
+
* the remote channel ID will always be empty).
|
|
84
99
|
*
|
|
85
100
|
* @method OcaNetworkSignalChannel#GetRemoteChannelID
|
|
86
101
|
* @returns {Promise<Uint8Array>}
|
|
87
102
|
* A promise which resolves to a single value of type ``Uint8Array``.
|
|
88
103
|
*/
|
|
89
104
|
/**
|
|
90
|
-
* Gets the value of the SourceOrSink property. Return status indicates success
|
|
105
|
+
* Gets the value of the SourceOrSink property. Return status indicates success
|
|
106
|
+
* of operation.
|
|
91
107
|
*
|
|
92
108
|
* @method OcaNetworkSignalChannel#GetSourceOrSink
|
|
93
109
|
* @returns {Promise<OcaNetworkMediaSourceOrSink>}
|
|
94
110
|
* A promise which resolves to a single value of type :class:`OcaNetworkMediaSourceOrSink`.
|
|
95
111
|
*/
|
|
96
112
|
/**
|
|
97
|
-
* Gets the value of the Status property. Return status indicates success of
|
|
113
|
+
* Gets the value of the Status property. Return status indicates success of
|
|
114
|
+
* operation.
|
|
98
115
|
*
|
|
99
116
|
* @method OcaNetworkSignalChannel#GetStatus
|
|
100
117
|
* @returns {Promise<OcaNetworkSignalChannelStatus>}
|
|
101
118
|
* A promise which resolves to a single value of type :class:`OcaNetworkSignalChannelStatus`.
|
|
102
119
|
*/
|
|
103
120
|
/**
|
|
104
|
-
* Removes this channel from the passed stream connector. Return status
|
|
121
|
+
* Removes this channel from the passed stream connector. Return status
|
|
122
|
+
* indicates success of operation.
|
|
105
123
|
*
|
|
106
124
|
* @method OcaNetworkSignalChannel#RemoveFromConnector
|
|
107
125
|
* @param {number} Connector
|
|
@@ -109,7 +127,8 @@ export const OcaNetworkSignalChannel = make_control_class(
|
|
|
109
127
|
* @returns {Promise<void>}
|
|
110
128
|
*/
|
|
111
129
|
/**
|
|
112
|
-
* Sets the value of the IDAdvertised property. Return status indicates success
|
|
130
|
+
* Sets the value of the IDAdvertised property. Return status indicates success
|
|
131
|
+
* of operation.
|
|
113
132
|
*
|
|
114
133
|
* @method OcaNetworkSignalChannel#SetIDAdvertised
|
|
115
134
|
* @param {Uint8Array} IDAdvertised
|
|
@@ -117,7 +136,9 @@ export const OcaNetworkSignalChannel = make_control_class(
|
|
|
117
136
|
* @returns {Promise<void>}
|
|
118
137
|
*/
|
|
119
138
|
/**
|
|
120
|
-
* Sets the object number of the stream network object to which this media port
|
|
139
|
+
* Sets the object number of the stream network object to which this media port
|
|
140
|
+
* belongs. Return status indicates success of operation. Only implemented for
|
|
141
|
+
* reconfigurable devices.
|
|
121
142
|
*
|
|
122
143
|
* @method OcaNetworkSignalChannel#SetNetwork
|
|
123
144
|
* @param {number} Network
|
|
@@ -125,7 +146,11 @@ export const OcaNetworkSignalChannel = make_control_class(
|
|
|
125
146
|
* @returns {Promise<void>}
|
|
126
147
|
*/
|
|
127
148
|
/**
|
|
128
|
-
* Sets the remote channel ID to which this channel must be connected. Only used
|
|
149
|
+
* Sets the remote channel ID to which this channel must be connected. Only used
|
|
150
|
+
* for channel-oriented connection management. For stream-oriented connection
|
|
151
|
+
* management this method is not used. Clearing the remote channel ID (i.e.
|
|
152
|
+
* tearing down the connection) can be done by passing an empty remote channel
|
|
153
|
+
* ID as parameter.
|
|
129
154
|
*
|
|
130
155
|
* @method OcaNetworkSignalChannel#SetRemoteChannelID
|
|
131
156
|
* @param {Uint8Array} RemoteChannelID
|
|
@@ -133,59 +158,57 @@ export const OcaNetworkSignalChannel = make_control_class(
|
|
|
133
158
|
* @returns {Promise<void>}
|
|
134
159
|
*/
|
|
135
160
|
/**
|
|
136
|
-
* This event is emitted when the property ConnectorPins changes in the remote object.
|
|
161
|
+
* This event is emitted when the property ``ConnectorPins`` changes in the remote object.
|
|
137
162
|
* The property ``ConnectorPins`` is described in the AES70 standard as follows.
|
|
138
|
-
* Map of object numbers of
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
* can have multiple entries in the map.
|
|
163
|
+
* Map of object numbers of **OcaStreamConnector** objects to
|
|
164
|
+
* **OcaStreamConnectorPinIndex** of these connectors. This map identifies which
|
|
165
|
+
* **OcaStreamConnector** objects contain this network signal channel, and
|
|
166
|
+
* indicates at what pin of the connector this channel is found. If the
|
|
167
|
+
* **OcaNetworkSignalChannel** object is not part of any **OcaStreamConnector**
|
|
168
|
+
* this map is empty. Note that **OcaNetworkSignalChannel** objects of type
|
|
169
|
+
* **Sink** cannot have more than one entry in the map, else it would implicitly
|
|
170
|
+
* perform mixing. **OcaNetworkSignalChannel** objects of type **Source** can
|
|
171
|
+
* have multiple entries in the map.
|
|
148
172
|
*
|
|
149
173
|
* @member {PropertyEvent<Map<number, number>>} OcaNetworkSignalChannel#OnConnectorPinsChanged
|
|
150
174
|
*/
|
|
151
175
|
/**
|
|
152
|
-
* This event is emitted when the property IDAdvertised changes in the remote object.
|
|
176
|
+
* This event is emitted when the property ``IDAdvertised`` changes in the remote object.
|
|
153
177
|
* The property ``IDAdvertised`` is described in the AES70 standard as follows.
|
|
154
|
-
* Character name or binary identifier of the port that is advertised on
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
*
|
|
178
|
+
* Character name or binary identifier of the port that is advertised on the
|
|
179
|
+
* network to be found by other devices' discovery processes. Depending on the
|
|
180
|
+
* media transport architecture being used, this ID may be globally unique
|
|
181
|
+
* throughout the network, or only unique within the scope of the specific
|
|
182
|
+
* Network instance to which the port is attached.
|
|
159
183
|
*
|
|
160
184
|
* @member {PropertyEvent<Uint8Array>} OcaNetworkSignalChannel#OnIDAdvertisedChanged
|
|
161
185
|
*/
|
|
162
186
|
/**
|
|
163
|
-
* This event is emitted when the property Network changes in the remote object.
|
|
187
|
+
* This event is emitted when the property ``Network`` changes in the remote object.
|
|
164
188
|
* The property ``Network`` is described in the AES70 standard as follows.
|
|
165
|
-
* Object number of stream network object (
|
|
166
|
-
*
|
|
189
|
+
* Object number of stream network object (**OcaStreamNetwork** or one of its
|
|
190
|
+
* subclasses) to which this signal channel belongs.
|
|
167
191
|
*
|
|
168
192
|
* @member {PropertyEvent<number>} OcaNetworkSignalChannel#OnNetworkChanged
|
|
169
193
|
*/
|
|
170
194
|
/**
|
|
171
|
-
* This event is emitted when the property RemoteChannelID changes in the remote object.
|
|
195
|
+
* This event is emitted when the property ``RemoteChannelID`` changes in the remote object.
|
|
172
196
|
* The property ``RemoteChannelID`` is described in the AES70 standard as follows.
|
|
173
197
|
* External ID of ultimate source or destination of signal.
|
|
174
198
|
*
|
|
175
199
|
* @member {PropertyEvent<Uint8Array>} OcaNetworkSignalChannel#OnRemoteChannelIDChanged
|
|
176
200
|
*/
|
|
177
201
|
/**
|
|
178
|
-
* This event is emitted when the property SourceOrSink changes in the remote object.
|
|
202
|
+
* This event is emitted when the property ``SourceOrSink`` changes in the remote object.
|
|
179
203
|
* The property ``SourceOrSink`` is described in the AES70 standard as follows.
|
|
180
|
-
* Describes whether this signal channel is source (emits signals into
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
* "listeners".
|
|
204
|
+
* Describes whether this signal channel is source (emits signals into the
|
|
205
|
+
* network) or sink (receives signals from the network). Sources are sometimes
|
|
206
|
+
* called "talkers", and sinks are sometimes called "listeners".
|
|
184
207
|
*
|
|
185
208
|
* @member {PropertyEvent<OcaNetworkMediaSourceOrSink>} OcaNetworkSignalChannel#OnSourceOrSinkChanged
|
|
186
209
|
*/
|
|
187
210
|
/**
|
|
188
|
-
* This event is emitted when the property Status changes in the remote object.
|
|
211
|
+
* This event is emitted when the property ``Status`` changes in the remote object.
|
|
189
212
|
* The property ``Status`` is described in the AES70 standard as follows.
|
|
190
213
|
* Status of the port
|
|
191
214
|
*
|
|
@@ -1,46 +1,68 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { OcaObserverState } from '../../types/OcaObserverState';
|
|
2
|
+
import { IOcaProperty, OcaProperty } from '../../types/OcaProperty';
|
|
3
|
+
import {
|
|
4
|
+
IOcaRelationalOperator,
|
|
5
|
+
OcaRelationalOperator,
|
|
6
|
+
} from '../../types/OcaRelationalOperator';
|
|
3
7
|
import { Event } from '../event';
|
|
4
|
-
|
|
5
8
|
import { PropertyEvent } from '../property_event';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { OcaObserverState } from '../../types/OcaObserverState';
|
|
9
|
-
import { OcaProperty } from '../../types/OcaProperty';
|
|
10
|
-
import { OcaRelationalOperator } from '../../types/OcaRelationalOperator';
|
|
9
|
+
import { RemoteDevice } from '../remote_device';
|
|
10
|
+
import { OcaAgent } from './OcaAgent';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* Observer of a scalar numeric or boolean property ("target property") of a
|
|
13
|
+
* Observer of a scalar numeric or boolean property ("target property") of a
|
|
14
|
+
* specified object. Does not work for array, list, map, struct, or string
|
|
15
|
+
* properties. **OcaNumericObserver** emits an **Observation** event under
|
|
16
|
+
* certain conditions. There are three kinds of conditions:
|
|
14
17
|
*
|
|
15
|
-
* -
|
|
18
|
+
* - **Numeric comparison**. The target property value meets a certain
|
|
19
|
+
* comparison condition. A selection of comparison operators is available.
|
|
20
|
+
* Such observations are called "asynchronous observations".
|
|
16
21
|
*
|
|
22
|
+
* - **Timer expiry**. The value of the** Period** property, if nonzero, is a
|
|
23
|
+
* the time interval for the recurrent timed emission of **Observation**
|
|
24
|
+
* events. Such events ("periodic observations") are emitted regardless of
|
|
25
|
+
* the target property's value.
|
|
17
26
|
*
|
|
18
|
-
* -
|
|
27
|
+
* - **Combination of (1) and (2)**. If a numeric comparison and a nonzero
|
|
28
|
+
* period are both specified, then the **Observation** event is emitted when
|
|
29
|
+
* the timer expires **and** the numeric comparison is true. Such
|
|
30
|
+
* observations are called "conditional-periodic observations".
|
|
19
31
|
*
|
|
20
32
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
33
|
+
* This is a weakly typed class. Its threshold is specified as an **OcaFloat64**
|
|
34
|
+
* number.
|
|
23
35
|
*
|
|
24
|
-
* - For unsigned integer targets, the threshold and target are both coerced to
|
|
36
|
+
* - For unsigned integer targets, the threshold and target are both coerced to
|
|
37
|
+
* **OcaUint64** before comparing.
|
|
25
38
|
*
|
|
39
|
+
* - For signed integer targets, the threshold and target are both coerced to
|
|
40
|
+
* **OcaInt64** before comparing.
|
|
26
41
|
*
|
|
27
|
-
* - For
|
|
42
|
+
* - For boolean values, the threshold hreshold and target are both coerced to
|
|
43
|
+
* **OcaUint8**, True is assigned the value One, False is assigned the value
|
|
44
|
+
* Zero.
|
|
28
45
|
*
|
|
29
46
|
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
47
|
+
* Note that this coercion may result in rounding errors if the observed
|
|
48
|
+
* datatype is of type OcaUint64 or OcaUint64. An **OcaNumericObserver**
|
|
49
|
+
* instance and the property it observes are bound at the time the
|
|
50
|
+
* **OcaNumericObserver** instance is constructed. For static devices,
|
|
51
|
+
* construction will occur during manufacture, or possibly during a subsequent
|
|
52
|
+
* hardware configuration step. For reconfigurable devices, construction might
|
|
53
|
+
* be done by online controllers as part of device configuration sessions. This
|
|
54
|
+
* class is normally used for monitoring readings of sensor readings, but may be
|
|
55
|
+
* used equally well for watching workers' parameter settings.
|
|
32
56
|
* @extends OcaAgent
|
|
33
57
|
* @class OcaNumericObserver
|
|
34
58
|
*/
|
|
35
59
|
export declare class OcaNumericObserver extends OcaAgent {
|
|
36
60
|
/**
|
|
37
|
-
* Event emitted to signal an asynchronous, periodic, or conditional-periodic
|
|
61
|
+
* Event emitted to signal an asynchronous, periodic, or conditional-periodic
|
|
62
|
+
* observation.
|
|
38
63
|
* @member OcaNumericObserver#OnObservation {Event}
|
|
39
|
-
* Event emitted to signal an asynchronous, periodic, or
|
|
40
|
-
* conditional-periodic observation.
|
|
41
64
|
*/
|
|
42
65
|
OnObservation: Event;
|
|
43
|
-
|
|
44
66
|
/**
|
|
45
67
|
* This event is emitted whenever State changes.
|
|
46
68
|
*/
|
|
@@ -79,7 +101,10 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
79
101
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
80
102
|
|
|
81
103
|
/**
|
|
82
|
-
* Gets the value of the observed property that was reported by the most
|
|
104
|
+
* Gets the value of the observed property that was reported by the most
|
|
105
|
+
* recently emitted Observation event. If the numeric observer has never
|
|
106
|
+
* emitted an Observation event, returns the IEEE not-a-number value. The
|
|
107
|
+
* return status indicates whether the value has been successfully returned.
|
|
83
108
|
*
|
|
84
109
|
* @method OcaNumericObserver#GetLastObservation
|
|
85
110
|
* @returns {Promise<number>}
|
|
@@ -88,7 +113,8 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
88
113
|
GetLastObservation(): Promise<number>;
|
|
89
114
|
|
|
90
115
|
/**
|
|
91
|
-
* Gets the observer's state. The return value indicates whether the state was
|
|
116
|
+
* Gets the observer's state. The return value indicates whether the state was
|
|
117
|
+
* successfully retrieved.
|
|
92
118
|
*
|
|
93
119
|
* @method OcaNumericObserver#GetState
|
|
94
120
|
* @returns {Promise<OcaObserverState>}
|
|
@@ -97,7 +123,9 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
97
123
|
GetState(): Promise<OcaObserverState>;
|
|
98
124
|
|
|
99
125
|
/**
|
|
100
|
-
* Gets the identification of the property that the observer observes. The
|
|
126
|
+
* Gets the identification of the property that the observer observes. The
|
|
127
|
+
* return value indicates whether the identification was successfully
|
|
128
|
+
* retrieved.
|
|
101
129
|
*
|
|
102
130
|
* @method OcaNumericObserver#GetObservedProperty
|
|
103
131
|
* @returns {Promise<OcaProperty>}
|
|
@@ -106,17 +134,19 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
106
134
|
GetObservedProperty(): Promise<OcaProperty>;
|
|
107
135
|
|
|
108
136
|
/**
|
|
109
|
-
* Sets the identification of the property that the observer observes. The
|
|
137
|
+
* Sets the identification of the property that the observer observes. The
|
|
138
|
+
* return value indicates whether the identification was successfully set.
|
|
110
139
|
*
|
|
111
140
|
* @method OcaNumericObserver#SetObservedProperty
|
|
112
|
-
* @param {
|
|
141
|
+
* @param {IOcaProperty} property
|
|
113
142
|
*
|
|
114
143
|
* @returns {Promise<void>}
|
|
115
144
|
*/
|
|
116
145
|
SetObservedProperty(property: IOcaProperty): Promise<void>;
|
|
117
146
|
|
|
118
147
|
/**
|
|
119
|
-
* Gets the value of the
|
|
148
|
+
* Gets the value of the **Threshold** property. The return value indicates
|
|
149
|
+
* whether the threshold value was successfully retrieved.
|
|
120
150
|
*
|
|
121
151
|
* @method OcaNumericObserver#GetThreshold
|
|
122
152
|
* @returns {Promise<number>}
|
|
@@ -125,7 +155,8 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
125
155
|
GetThreshold(): Promise<number>;
|
|
126
156
|
|
|
127
157
|
/**
|
|
128
|
-
* Sets the value of the
|
|
158
|
+
* Sets the value of the **Threshold** property. The return value indicates
|
|
159
|
+
* whether the threshold value was successfully set.
|
|
129
160
|
*
|
|
130
161
|
* @method OcaNumericObserver#SetThreshold
|
|
131
162
|
* @param {number} Threshold
|
|
@@ -135,7 +166,8 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
135
166
|
SetThreshold(Threshold: number): Promise<void>;
|
|
136
167
|
|
|
137
168
|
/**
|
|
138
|
-
* Gets the value of the
|
|
169
|
+
* Gets the value of the **Operator** property. The return value indicates
|
|
170
|
+
* whether the property was successfully retrieved.
|
|
139
171
|
*
|
|
140
172
|
* @method OcaNumericObserver#GetOperator
|
|
141
173
|
* @returns {Promise<OcaRelationalOperator>}
|
|
@@ -144,17 +176,19 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
144
176
|
GetOperator(): Promise<OcaRelationalOperator>;
|
|
145
177
|
|
|
146
178
|
/**
|
|
147
|
-
* Sets the value of the
|
|
179
|
+
* Sets the value of the **Operator** property. The return value indicates
|
|
180
|
+
* whether the operator was successfully set.
|
|
148
181
|
*
|
|
149
182
|
* @method OcaNumericObserver#SetOperator
|
|
150
|
-
* @param {
|
|
183
|
+
* @param {IOcaRelationalOperator} operator
|
|
151
184
|
*
|
|
152
185
|
* @returns {Promise<void>}
|
|
153
186
|
*/
|
|
154
|
-
SetOperator(
|
|
187
|
+
SetOperator(operator: IOcaRelationalOperator): Promise<void>;
|
|
155
188
|
|
|
156
189
|
/**
|
|
157
|
-
* Gets the value of the
|
|
190
|
+
* Gets the value of the **TwoWay** property. The return value indicates
|
|
191
|
+
* whether the property was successfully retrieved.
|
|
158
192
|
*
|
|
159
193
|
* @method OcaNumericObserver#GetTwoWay
|
|
160
194
|
* @returns {Promise<boolean>}
|
|
@@ -163,7 +197,8 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
163
197
|
GetTwoWay(): Promise<boolean>;
|
|
164
198
|
|
|
165
199
|
/**
|
|
166
|
-
* Sets the value of the
|
|
200
|
+
* Sets the value of the **TwoWay** property. The return value indicates
|
|
201
|
+
* whether the property was successfully set.
|
|
167
202
|
*
|
|
168
203
|
* @method OcaNumericObserver#SetTwoWay
|
|
169
204
|
* @param {boolean} twoWay
|
|
@@ -173,7 +208,8 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
173
208
|
SetTwoWay(twoWay: boolean): Promise<void>;
|
|
174
209
|
|
|
175
210
|
/**
|
|
176
|
-
* Gets the value of the
|
|
211
|
+
* Gets the value of the **Hysteresis** property. The return value indicates
|
|
212
|
+
* whether the property was successfully retrieved.
|
|
177
213
|
*
|
|
178
214
|
* @method OcaNumericObserver#GetHysteresis
|
|
179
215
|
* @returns {Promise<number>}
|
|
@@ -182,7 +218,8 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
182
218
|
GetHysteresis(): Promise<number>;
|
|
183
219
|
|
|
184
220
|
/**
|
|
185
|
-
* Sets the value of the
|
|
221
|
+
* Sets the value of the **Hysteresis** property. The return value indicates
|
|
222
|
+
* whether the property was successfully set.
|
|
186
223
|
*
|
|
187
224
|
* @method OcaNumericObserver#SetHysteresis
|
|
188
225
|
* @param {number} hysteresis
|
|
@@ -192,7 +229,8 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
192
229
|
SetHysteresis(hysteresis: number): Promise<void>;
|
|
193
230
|
|
|
194
231
|
/**
|
|
195
|
-
* Gets the value of the
|
|
232
|
+
* Gets the value of the **Period** property. The return value indicates
|
|
233
|
+
* whether the property was successfully retrieved.
|
|
196
234
|
*
|
|
197
235
|
* @method OcaNumericObserver#GetPeriod
|
|
198
236
|
* @returns {Promise<number>}
|
|
@@ -201,7 +239,8 @@ export declare class OcaNumericObserver extends OcaAgent {
|
|
|
201
239
|
GetPeriod(): Promise<number>;
|
|
202
240
|
|
|
203
241
|
/**
|
|
204
|
-
* Sets the value of the
|
|
242
|
+
* Sets the value of the **Period** property. The return value indicates
|
|
243
|
+
* whether the property was successfully set.
|
|
205
244
|
*
|
|
206
245
|
* @method OcaNumericObserver#SetPeriod
|
|
207
246
|
* @param {number} period
|