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,26 +1,26 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaApplicationNetwork } from './OcaApplicationNetwork.js';
|
|
3
1
|
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
4
2
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
5
3
|
import { OcaMap } from '../../OCP1/OcaMap.js';
|
|
6
4
|
import { OcaMediaCoding } from '../../OCP1/OcaMediaCoding.js';
|
|
7
5
|
import { OcaMediaConnection } from '../../OCP1/OcaMediaConnection.js';
|
|
8
6
|
import { OcaMediaConnectorCommand } from '../../OCP1/OcaMediaConnectorCommand.js';
|
|
9
|
-
import { OcaMediaConnectorElement } from '../../OCP1/OcaMediaConnectorElement.js';
|
|
10
7
|
import { OcaMediaConnectorState } from '../../OCP1/OcaMediaConnectorState.js';
|
|
11
8
|
import { OcaMediaConnectorStatus } from '../../OCP1/OcaMediaConnectorStatus.js';
|
|
9
|
+
import { OcaMediaConnectorStatusChangedEventData } from '../../OCP1/OcaMediaConnectorStatusChangedEventData.js';
|
|
12
10
|
import { OcaMediaSinkConnector } from '../../OCP1/OcaMediaSinkConnector.js';
|
|
11
|
+
import { OcaMediaSinkConnectorChangedEventData } from '../../OCP1/OcaMediaSinkConnectorChangedEventData.js';
|
|
13
12
|
import { OcaMediaSourceConnector } from '../../OCP1/OcaMediaSourceConnector.js';
|
|
13
|
+
import { OcaMediaSourceConnectorChangedEventData } from '../../OCP1/OcaMediaSourceConnectorChangedEventData.js';
|
|
14
14
|
import { OcaMultiMap } from '../../OCP1/OcaMultiMap.js';
|
|
15
15
|
import { OcaNetworkMediaProtocol } from '../../OCP1/OcaNetworkMediaProtocol.js';
|
|
16
16
|
import { OcaPort } from '../../OCP1/OcaPort.js';
|
|
17
17
|
import { OcaPortID } from '../../OCP1/OcaPortID.js';
|
|
18
|
-
import { OcaPropertyChangeType } from '../../OCP1/OcaPropertyChangeType.js';
|
|
19
18
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
20
19
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
20
|
+
import { make_control_class } from '../make_control_class.js';
|
|
21
|
+
import { OcaApplicationNetwork } from './OcaApplicationNetwork.js';
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
|
-
* This was not documented in the OCA standard.
|
|
24
24
|
* @extends OcaApplicationNetwork
|
|
25
25
|
* @class OcaMediaTransportNetwork
|
|
26
26
|
*/
|
|
@@ -101,96 +101,92 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
101
101
|
['AlignmentGain', [OcaFloat32], 3, 8, false, false, null],
|
|
102
102
|
],
|
|
103
103
|
[
|
|
104
|
-
[
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
1,
|
|
108
|
-
[
|
|
109
|
-
OcaMediaSourceConnector,
|
|
110
|
-
OcaPropertyChangeType,
|
|
111
|
-
OcaMediaConnectorElement,
|
|
112
|
-
],
|
|
113
|
-
],
|
|
114
|
-
[
|
|
115
|
-
'SinkConnectorChanged',
|
|
116
|
-
3,
|
|
117
|
-
2,
|
|
118
|
-
[OcaMediaSinkConnector, OcaPropertyChangeType, OcaMediaConnectorElement],
|
|
119
|
-
],
|
|
120
|
-
['ConnectorStatusChanged', 3, 3, [OcaMediaConnectorStatus]],
|
|
104
|
+
['SourceConnectorChanged', 3, 1, [OcaMediaSourceConnectorChangedEventData]],
|
|
105
|
+
['SinkConnectorChanged', 3, 2, [OcaMediaSinkConnectorChangedEventData]],
|
|
106
|
+
['ConnectorStatusChanged', 3, 3, [OcaMediaConnectorStatusChangedEventData]],
|
|
121
107
|
]
|
|
122
108
|
);
|
|
123
109
|
|
|
124
110
|
/**
|
|
125
|
-
* Gets the network's Protocol property. Return status indicates whether the
|
|
111
|
+
* Gets the network's Protocol property. Return status indicates whether the
|
|
112
|
+
* operation was successful.
|
|
126
113
|
*
|
|
127
114
|
* @method OcaMediaTransportNetwork#GetMediaProtocol
|
|
128
115
|
* @returns {Promise<OcaNetworkMediaProtocol>}
|
|
129
116
|
* A promise which resolves to a single value of type :class:`OcaNetworkMediaProtocol`.
|
|
130
117
|
*/
|
|
131
118
|
/**
|
|
132
|
-
* Gets the list of ports owned by the MediaTransportNetwork object
|
|
119
|
+
* Gets the list of ports owned by the MediaTransportNetwork object
|
|
120
|
+
* (representing the source and sink network channels). The return value
|
|
121
|
+
* indicates whether the list was successfully retrieved.
|
|
133
122
|
*
|
|
134
123
|
* @method OcaMediaTransportNetwork#GetPorts
|
|
135
124
|
* @returns {Promise<OcaPort[]>}
|
|
136
|
-
* A promise which resolves to a single value of type
|
|
125
|
+
* A promise which resolves to a single value of type :class:`OcaPort[]`.
|
|
137
126
|
*/
|
|
138
127
|
/**
|
|
139
|
-
* Gets the name of the designated port. The return value indicates whether the
|
|
128
|
+
* Gets the name of the designated port. The return value indicates whether the
|
|
129
|
+
* name was successfully retrieved.
|
|
140
130
|
*
|
|
141
131
|
* @method OcaMediaTransportNetwork#GetPortName
|
|
142
|
-
* @param {
|
|
132
|
+
* @param {IOcaPortID} PortID
|
|
143
133
|
*
|
|
144
134
|
* @returns {Promise<string>}
|
|
145
135
|
* A promise which resolves to a single value of type ``string``.
|
|
146
136
|
*/
|
|
147
137
|
/**
|
|
148
|
-
* Sets the name of the designated port. The return value indicates whether the
|
|
138
|
+
* Sets the name of the designated port. The return value indicates whether the
|
|
139
|
+
* name was successfully set.
|
|
149
140
|
*
|
|
150
141
|
* @method OcaMediaTransportNetwork#SetPortName
|
|
151
|
-
* @param {
|
|
152
|
-
*
|
|
142
|
+
* @param {IOcaPortID} PortID
|
|
153
143
|
* @param {string} Name
|
|
154
144
|
*
|
|
155
145
|
* @returns {Promise<void>}
|
|
156
146
|
*/
|
|
157
147
|
/**
|
|
158
|
-
* Gets the maximum number of source connectors this media transport network
|
|
148
|
+
* Gets the maximum number of source connectors this media transport network
|
|
149
|
+
* supports.
|
|
159
150
|
*
|
|
160
151
|
* @method OcaMediaTransportNetwork#GetMaxSourceConnectors
|
|
161
152
|
* @returns {Promise<number>}
|
|
162
153
|
* A promise which resolves to a single value of type ``number``.
|
|
163
154
|
*/
|
|
164
155
|
/**
|
|
165
|
-
* Gets the maximum number of source connectors this media transport network
|
|
156
|
+
* Gets the maximum number of source connectors this media transport network
|
|
157
|
+
* supports.
|
|
166
158
|
*
|
|
167
159
|
* @method OcaMediaTransportNetwork#GetMaxSinkConnectors
|
|
168
160
|
* @returns {Promise<number>}
|
|
169
161
|
* A promise which resolves to a single value of type ``number``.
|
|
170
162
|
*/
|
|
171
163
|
/**
|
|
172
|
-
* Gets the maximum number of ports per pin this media transport network
|
|
164
|
+
* Gets the maximum number of ports per pin this media transport network
|
|
165
|
+
* supports.
|
|
173
166
|
*
|
|
174
167
|
* @method OcaMediaTransportNetwork#GetMaxPinsPerConnector
|
|
175
168
|
* @returns {Promise<number>}
|
|
176
169
|
* A promise which resolves to a single value of type ``number``.
|
|
177
170
|
*/
|
|
178
171
|
/**
|
|
179
|
-
* Gets the maximum number of pins (channels) per connector this media transport
|
|
172
|
+
* Gets the maximum number of pins (channels) per connector this media transport
|
|
173
|
+
* network supports.
|
|
180
174
|
*
|
|
181
175
|
* @method OcaMediaTransportNetwork#GetMaxPortsPerPin
|
|
182
176
|
* @returns {Promise<number>}
|
|
183
177
|
* A promise which resolves to a single value of type ``number``.
|
|
184
178
|
*/
|
|
185
179
|
/**
|
|
186
|
-
* Gets the descriptors of all the source (output) connectors collected by this
|
|
180
|
+
* Gets the descriptors of all the source (output) connectors collected by this
|
|
181
|
+
* network object. Return status indicates success of the operation.
|
|
187
182
|
*
|
|
188
183
|
* @method OcaMediaTransportNetwork#GetSourceConnectors
|
|
189
184
|
* @returns {Promise<OcaMediaSourceConnector[]>}
|
|
190
|
-
* A promise which resolves to a single value of type
|
|
185
|
+
* A promise which resolves to a single value of type :class:`OcaMediaSourceConnector[]`.
|
|
191
186
|
*/
|
|
192
187
|
/**
|
|
193
|
-
* Retrieves the descriptor of a given source connector. Return status indicates
|
|
188
|
+
* Retrieves the descriptor of a given source connector. Return status indicates
|
|
189
|
+
* the success of the operation.
|
|
194
190
|
*
|
|
195
191
|
* @method OcaMediaTransportNetwork#GetSourceConnector
|
|
196
192
|
* @param {number} ID
|
|
@@ -199,14 +195,16 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
199
195
|
* A promise which resolves to a single value of type :class:`OcaMediaSourceConnector`.
|
|
200
196
|
*/
|
|
201
197
|
/**
|
|
202
|
-
* Gets the descriptors of all the sink (output) connectors collected by this
|
|
198
|
+
* Gets the descriptors of all the sink (output) connectors collected by this
|
|
199
|
+
* network object. Return status indicates success of the operation.
|
|
203
200
|
*
|
|
204
201
|
* @method OcaMediaTransportNetwork#GetSinkConnectors
|
|
205
202
|
* @returns {Promise<OcaMediaSinkConnector[]>}
|
|
206
|
-
* A promise which resolves to a single value of type
|
|
203
|
+
* A promise which resolves to a single value of type :class:`OcaMediaSinkConnector[]`.
|
|
207
204
|
*/
|
|
208
205
|
/**
|
|
209
|
-
* Retrieves the descriptor of a given sink connector. Return status indicates
|
|
206
|
+
* Retrieves the descriptor of a given sink connector. Return status indicates
|
|
207
|
+
* the success of the operation.
|
|
210
208
|
*
|
|
211
209
|
* @method OcaMediaTransportNetwork#GetSinkConnector
|
|
212
210
|
* @param {number} ID
|
|
@@ -215,14 +213,16 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
215
213
|
* A promise which resolves to a single value of type :class:`OcaMediaSinkConnector`.
|
|
216
214
|
*/
|
|
217
215
|
/**
|
|
218
|
-
* Gets the status of all the source and sink connectors collected by this
|
|
216
|
+
* Gets the status of all the source and sink connectors collected by this
|
|
217
|
+
* network object. Return status indicates success of the operation.
|
|
219
218
|
*
|
|
220
219
|
* @method OcaMediaTransportNetwork#GetConnectorsStatuses
|
|
221
220
|
* @returns {Promise<OcaMediaConnectorStatus[]>}
|
|
222
|
-
* A promise which resolves to a single value of type
|
|
221
|
+
* A promise which resolves to a single value of type :class:`OcaMediaConnectorStatus[]`.
|
|
223
222
|
*/
|
|
224
223
|
/**
|
|
225
|
-
* Gets the status of a single connector. Return status indicates success of the
|
|
224
|
+
* Gets the status of a single connector. Return status indicates success of the
|
|
225
|
+
* operation.
|
|
226
226
|
*
|
|
227
227
|
* @method OcaMediaTransportNetwork#GetConnectorStatus
|
|
228
228
|
* @param {number} ConnectorID
|
|
@@ -231,99 +231,113 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
231
231
|
* A promise which resolves to a single value of type :class:`OcaMediaConnectorStatus`.
|
|
232
232
|
*/
|
|
233
233
|
/**
|
|
234
|
-
* Adds a source connector to this network. Parameters of the new connector are
|
|
234
|
+
* Adds a source connector to this network. Parameters of the new connector are
|
|
235
|
+
* given in the Connector parameter; device returns the same parameter with the
|
|
236
|
+
* new connector ID filled in. If the new connector's AlignmentLevel property
|
|
237
|
+
* value is given as NaN, the value of this network's AlignmentLevel property
|
|
238
|
+
* will be used. Return status indicates the success of the operation.
|
|
235
239
|
*
|
|
236
240
|
* @method OcaMediaTransportNetwork#AddSourceConnector
|
|
237
|
-
* @param {
|
|
238
|
-
*
|
|
239
|
-
* @param {OcaMediaConnectorState} InitialStatus
|
|
241
|
+
* @param {IOcaMediaSourceConnector} Connector
|
|
242
|
+
* @param {IOcaMediaConnectorState} InitialStatus
|
|
240
243
|
*
|
|
241
244
|
* @returns {Promise<OcaMediaSourceConnector>}
|
|
242
245
|
* A promise which resolves to a single value of type :class:`OcaMediaSourceConnector`.
|
|
243
246
|
*/
|
|
244
247
|
/**
|
|
245
|
-
* Adds a sinkconnector to this network. Parameters of the new connector are
|
|
248
|
+
* Adds a sinkconnector to this network. Parameters of the new connector are
|
|
249
|
+
* given in the Connector parameter; device returns the same parameter with the
|
|
250
|
+
* new connector ID filled in. If the new connector's AlignmentLevel property
|
|
251
|
+
* value is given as NaN, the value of this network's AlignmentLevel property
|
|
252
|
+
* will be used. If the new connector's AlignmentGain property value is given as
|
|
253
|
+
* NaN, the value of this network's AlignmentGain property will be used. Return
|
|
254
|
+
* status indicates the success of the operation.
|
|
246
255
|
*
|
|
247
256
|
* @method OcaMediaTransportNetwork#AddSinkConnector
|
|
248
|
-
* @param {
|
|
249
|
-
*
|
|
250
|
-
* @param {OcaMediaSinkConnector} Connector
|
|
257
|
+
* @param {IOcaMediaConnectorStatus} InitialStatus
|
|
258
|
+
* @param {IOcaMediaSinkConnector} Connector
|
|
251
259
|
*
|
|
252
260
|
* @returns {Promise<OcaMediaSinkConnector>}
|
|
253
261
|
* A promise which resolves to a single value of type :class:`OcaMediaSinkConnector`.
|
|
254
262
|
*/
|
|
255
263
|
/**
|
|
256
|
-
* Change the state of a given connector. Return status indicates the success of
|
|
264
|
+
* Change the state of a given connector. Return status indicates the success of
|
|
265
|
+
* the operation.
|
|
257
266
|
*
|
|
258
267
|
* @method OcaMediaTransportNetwork#ControlConnector
|
|
259
268
|
* @param {number} ConnectorID
|
|
260
|
-
*
|
|
261
|
-
* @param {OcaMediaConnectorCommand} Command
|
|
269
|
+
* @param {IOcaMediaConnectorCommand} Command
|
|
262
270
|
*
|
|
263
271
|
* @returns {Promise<void>}
|
|
264
272
|
*/
|
|
265
273
|
/**
|
|
266
|
-
* Sets a source connector's channel pin map. Return status indicates the
|
|
274
|
+
* Sets a source connector's channel pin map. Return status indicates the
|
|
275
|
+
* success of the operation.
|
|
267
276
|
*
|
|
268
277
|
* @method OcaMediaTransportNetwork#SetSourceConnectorPinMap
|
|
269
278
|
* @param {number} ConnectorID
|
|
270
|
-
*
|
|
271
|
-
* @param {Map<number, OcaPortID>} ChannelPinMap
|
|
279
|
+
* @param {Map<number, IOcaPortID>} ChannelPinMap
|
|
272
280
|
*
|
|
273
281
|
* @returns {Promise<void>}
|
|
274
282
|
*/
|
|
275
283
|
/**
|
|
276
|
-
* Sets a sink connector's channel pin map. Return status indicates the success
|
|
284
|
+
* Sets a sink connector's channel pin map. Return status indicates the success
|
|
285
|
+
* of the operation.
|
|
277
286
|
*
|
|
278
287
|
* @method OcaMediaTransportNetwork#SetSinkConnectorPinMap
|
|
279
288
|
* @param {number} ConnectorID
|
|
280
|
-
*
|
|
281
|
-
* @param {Map<number, OcaPortID[]>} ChannelPinMap
|
|
289
|
+
* @param {Map<number, IOcaPortID[]>} ChannelPinMap
|
|
282
290
|
*
|
|
283
291
|
* @returns {Promise<void>}
|
|
284
292
|
*/
|
|
285
293
|
/**
|
|
286
|
-
* Sets a connector's
|
|
294
|
+
* Sets a connector's **Connection** property. Return status indicates the
|
|
295
|
+
* success of the operation.
|
|
287
296
|
*
|
|
288
297
|
* @method OcaMediaTransportNetwork#SetConnectorConnection
|
|
289
298
|
* @param {number} ConnectorID
|
|
290
|
-
*
|
|
291
|
-
* @param {OcaMediaConnection} Connection
|
|
299
|
+
* @param {IOcaMediaConnection} Connection
|
|
292
300
|
*
|
|
293
301
|
* @returns {Promise<void>}
|
|
294
302
|
*/
|
|
295
303
|
/**
|
|
296
|
-
* Sets the Coding field of the connection descriptor of the referenced
|
|
304
|
+
* Sets the Coding field of the connection descriptor of the referenced
|
|
305
|
+
* connector. Return status indicates the success of the operation.
|
|
297
306
|
*
|
|
298
307
|
* @method OcaMediaTransportNetwork#SetConnectorCoding
|
|
299
308
|
* @param {number} ConnectorID
|
|
300
|
-
*
|
|
301
|
-
* @param {OcaMediaCoding} Coding
|
|
309
|
+
* @param {IOcaMediaCoding} Coding
|
|
302
310
|
*
|
|
303
311
|
* @returns {Promise<void>}
|
|
304
312
|
*/
|
|
305
313
|
/**
|
|
306
|
-
* Sets the Alignment Level field of a connector. Value must be between the min
|
|
314
|
+
* Sets the Alignment Level field of a connector. Value must be between the min
|
|
315
|
+
* and max values of the AlignmentLevel property of this network. A value of NaN
|
|
316
|
+
* will cause the current value of this network's AlignmentLevel property to be
|
|
317
|
+
* used. Return status indicates the success of the operation.
|
|
307
318
|
*
|
|
308
319
|
* @method OcaMediaTransportNetwork#SetConnectorAlignmentLevel
|
|
309
320
|
* @param {number} ConnectorID
|
|
310
|
-
*
|
|
311
321
|
* @param {number} Level
|
|
312
322
|
*
|
|
313
323
|
* @returns {Promise<void>}
|
|
314
324
|
*/
|
|
315
325
|
/**
|
|
316
|
-
* For OcaMediaSinkConnectors only (not source). Sets the Alignment Gain field
|
|
326
|
+
* For OcaMediaSinkConnectors only (not source). Sets the Alignment Gain field
|
|
327
|
+
* of the connection descriptor of the referenced connector. Value must be
|
|
328
|
+
* between the min and max values of the AlignmentGain property of this network.
|
|
329
|
+
* A value of NaN will cause the current value of the network's AlignmentGain
|
|
330
|
+
* property to be used. Return status indicates the success of the operation.
|
|
317
331
|
*
|
|
318
332
|
* @method OcaMediaTransportNetwork#SetConnectorAlignmentGain
|
|
319
333
|
* @param {number} ConnectorID
|
|
320
|
-
*
|
|
321
334
|
* @param {number} Gain
|
|
322
335
|
*
|
|
323
336
|
* @returns {Promise<void>}
|
|
324
337
|
*/
|
|
325
338
|
/**
|
|
326
|
-
* Deletes a connector from this network. Return status indicates the success of
|
|
339
|
+
* Deletes a connector from this network. Return status indicates the success of
|
|
340
|
+
* the operation.
|
|
327
341
|
*
|
|
328
342
|
* @method OcaMediaTransportNetwork#DeleteConnector
|
|
329
343
|
* @param {number} ID
|
|
@@ -331,7 +345,9 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
331
345
|
* @returns {Promise<void>}
|
|
332
346
|
*/
|
|
333
347
|
/**
|
|
334
|
-
* Gets the default, min, and max alignment levels for
|
|
348
|
+
* Gets the default, min, and max alignment levels for
|
|
349
|
+
* OcaMedia{Source|Sink}Connectors attached to this network. Return status
|
|
350
|
+
* indicates success of the operation.
|
|
335
351
|
* The return values of this method are
|
|
336
352
|
*
|
|
337
353
|
* - Level of type ``number``
|
|
@@ -342,7 +358,8 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
342
358
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
343
359
|
*/
|
|
344
360
|
/**
|
|
345
|
-
* Gets the default, min, and max alignment gains for OcaMediaSinkConnectors
|
|
361
|
+
* Gets the default, min, and max alignment gains for OcaMediaSinkConnectors
|
|
362
|
+
* attached to this network. Return status indicates success of the operation.
|
|
346
363
|
* The return values of this method are
|
|
347
364
|
*
|
|
348
365
|
* - Gain of type ``number``
|
|
@@ -353,93 +370,86 @@ export const OcaMediaTransportNetwork = make_control_class(
|
|
|
353
370
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
354
371
|
*/
|
|
355
372
|
/**
|
|
356
|
-
* Event indicating that a media source connector has changed. The change type
|
|
373
|
+
* Event indicating that a media source connector has changed. The change type
|
|
374
|
+
* indicates if the connector was added, deleted or changed.
|
|
357
375
|
* @member OcaMediaTransportNetwork#OnSourceConnectorChanged {Event}
|
|
358
|
-
* Event indicating that a media source connector has changed. The change
|
|
359
|
-
* type indicates if the connector was added, deleted or changed.
|
|
360
376
|
*/
|
|
361
377
|
/**
|
|
362
|
-
* Event indicating that a media sink connector has changed. The change type
|
|
378
|
+
* Event indicating that a media sink connector has changed. The change type
|
|
379
|
+
* indicates if the connector was added, deleted or changed.
|
|
363
380
|
* @member OcaMediaTransportNetwork#OnSinkConnectorChanged {Event}
|
|
364
|
-
* Event indicating that a media sink connector has changed. The change
|
|
365
|
-
* type indicates if the connector was added, deleted or changed.
|
|
366
381
|
*/
|
|
367
382
|
/**
|
|
368
383
|
* Event indicating that the status of a source or sink connector has changed.
|
|
369
384
|
* @member OcaMediaTransportNetwork#OnConnectorStatusChanged {Event}
|
|
370
|
-
* Event indicating that the status of a source or sink connector has
|
|
371
|
-
* changed.
|
|
372
385
|
*/
|
|
373
386
|
/**
|
|
374
|
-
* This event is emitted when the property Protocol changes in the remote object.
|
|
387
|
+
* This event is emitted when the property ``Protocol`` changes in the remote object.
|
|
375
388
|
* The property ``Protocol`` is described in the AES70 standard as follows.
|
|
376
389
|
* Type of media transport protocol used by the network.
|
|
377
390
|
*
|
|
378
391
|
* @member {PropertyEvent<OcaNetworkMediaProtocol>} OcaMediaTransportNetwork#OnProtocolChanged
|
|
379
392
|
*/
|
|
380
393
|
/**
|
|
381
|
-
* This event is emitted when the property Ports changes in the remote object.
|
|
394
|
+
* This event is emitted when the property ``Ports`` changes in the remote object.
|
|
382
395
|
* The property ``Ports`` is described in the AES70 standard as follows.
|
|
383
396
|
* The list of ports this network has. Note that these represent network
|
|
384
|
-
* channels of the media transport network. Each input port represents a
|
|
385
|
-
*
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
* network channel, etc.
|
|
397
|
+
* channels of the media transport network. Each input port represents a source
|
|
398
|
+
* (transmit) network channel, each output port represents a sink (receive)
|
|
399
|
+
* network channel. Such network channels are directly linked to the ports, so
|
|
400
|
+
* the first input port represents the first source network channel, etc.
|
|
389
401
|
*
|
|
390
402
|
* @member {PropertyEvent<OcaPort[]>} OcaMediaTransportNetwork#OnPortsChanged
|
|
391
403
|
*/
|
|
392
404
|
/**
|
|
393
|
-
* This event is emitted when the property MaxSourceConnectors changes in the remote object.
|
|
405
|
+
* This event is emitted when the property ``MaxSourceConnectors`` changes in the remote object.
|
|
394
406
|
* The property ``MaxSourceConnectors`` is described in the AES70 standard as follows.
|
|
395
|
-
* The maximum number of source connectors this media transport network
|
|
396
|
-
*
|
|
407
|
+
* The maximum number of source connectors this media transport network can have
|
|
408
|
+
* (read-only property).
|
|
397
409
|
*
|
|
398
410
|
* @member {PropertyEvent<number>} OcaMediaTransportNetwork#OnMaxSourceConnectorsChanged
|
|
399
411
|
*/
|
|
400
412
|
/**
|
|
401
|
-
* This event is emitted when the property MaxSinkConnectors changes in the remote object.
|
|
413
|
+
* This event is emitted when the property ``MaxSinkConnectors`` changes in the remote object.
|
|
402
414
|
* The property ``MaxSinkConnectors`` is described in the AES70 standard as follows.
|
|
403
|
-
* The maximum number of sink connectors this media transport network can
|
|
404
|
-
*
|
|
415
|
+
* The maximum number of sink connectors this media transport network can have
|
|
416
|
+
* (read-only property).
|
|
405
417
|
*
|
|
406
418
|
* @member {PropertyEvent<number>} OcaMediaTransportNetwork#OnMaxSinkConnectorsChanged
|
|
407
419
|
*/
|
|
408
420
|
/**
|
|
409
|
-
* This event is emitted when the property MaxPinsPerConnector changes in the remote object.
|
|
421
|
+
* This event is emitted when the property ``MaxPinsPerConnector`` changes in the remote object.
|
|
410
422
|
* The property ``MaxPinsPerConnector`` is described in the AES70 standard as follows.
|
|
411
|
-
* The maximum number of pins (channels) in a connector that this network
|
|
412
|
-
*
|
|
423
|
+
* The maximum number of pins (channels) in a connector that this network will
|
|
424
|
+
* support.
|
|
413
425
|
*
|
|
414
426
|
* @member {PropertyEvent<number>} OcaMediaTransportNetwork#OnMaxPinsPerConnectorChanged
|
|
415
427
|
*/
|
|
416
428
|
/**
|
|
417
|
-
* This event is emitted when the property MaxPortsPerPin changes in the remote object.
|
|
429
|
+
* This event is emitted when the property ``MaxPortsPerPin`` changes in the remote object.
|
|
418
430
|
* The property ``MaxPortsPerPin`` is described in the AES70 standard as follows.
|
|
419
|
-
* The maximum number of ports per pin that this network will support.
|
|
420
|
-
*
|
|
431
|
+
* The maximum number of ports per pin that this network will support. Value of
|
|
432
|
+
* zero indicates there is no specific limit.
|
|
421
433
|
*
|
|
422
434
|
* @member {PropertyEvent<number>} OcaMediaTransportNetwork#OnMaxPortsPerPinChanged
|
|
423
435
|
*/
|
|
424
436
|
/**
|
|
425
|
-
* This event is emitted when the property AlignmentLevel changes in the remote object.
|
|
437
|
+
* This event is emitted when the property ``AlignmentLevel`` changes in the remote object.
|
|
426
438
|
* The property ``AlignmentLevel`` is described in the AES70 standard as follows.
|
|
427
439
|
* Default alignment level value for newly-created
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
* network.
|
|
440
|
+
* **OcaMedia{Source|Sink}Connector** elements. The min and max values of this
|
|
441
|
+
* property define respectively the lowest and highest alignment level values
|
|
442
|
+
* that may be specified when adding connectors to this network.
|
|
432
443
|
*
|
|
433
444
|
* @member {PropertyEvent<number>} OcaMediaTransportNetwork#OnAlignmentLevelChanged
|
|
434
445
|
*/
|
|
435
446
|
/**
|
|
436
|
-
* This event is emitted when the property AlignmentGain changes in the remote object.
|
|
447
|
+
* This event is emitted when the property ``AlignmentGain`` changes in the remote object.
|
|
437
448
|
* The property ``AlignmentGain`` is described in the AES70 standard as follows.
|
|
438
|
-
* Default value of AlignmentGain for newly-created
|
|
439
|
-
*
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
* connectors to this network.
|
|
449
|
+
* Default value of AlignmentGain for newly-created OcaMediaSinkConnectors
|
|
450
|
+
* attached to this network. The min and max values of this property define
|
|
451
|
+
* respectively the lowest and highest alignment level values that may be
|
|
452
|
+
* specified when adding sink connectors to this network.
|
|
443
453
|
*
|
|
444
454
|
* @member {PropertyEvent<number>} OcaMediaTransportNetwork#OnAlignmentGainChanged
|
|
445
455
|
*/
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
+
import { IOcaMuteState, OcaMuteState } from '../../types/OcaMuteState';
|
|
2
|
+
import { PropertyEvent } from '../property_event';
|
|
1
3
|
import { RemoteDevice } from '../remote_device';
|
|
2
4
|
import { OcaActuator } from './OcaActuator';
|
|
3
5
|
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
import { IOcaMuteState } from '../../types/OcaMuteState';
|
|
6
|
-
import { OcaMuteState } from '../../types/OcaMuteState';
|
|
7
|
-
|
|
8
6
|
/**
|
|
9
7
|
* Signal mute.
|
|
10
8
|
* @extends OcaActuator
|
|
@@ -19,7 +17,8 @@ export declare class OcaMute extends OcaActuator {
|
|
|
19
17
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
20
18
|
|
|
21
19
|
/**
|
|
22
|
-
* Gets the current mute state. The return value indicates whether the state
|
|
20
|
+
* Gets the current mute state. The return value indicates whether the state
|
|
21
|
+
* was successfully retrieved.
|
|
23
22
|
*
|
|
24
23
|
* @method OcaMute#GetState
|
|
25
24
|
* @returns {Promise<OcaMuteState>}
|
|
@@ -28,10 +27,11 @@ export declare class OcaMute extends OcaActuator {
|
|
|
28
27
|
GetState(): Promise<OcaMuteState>;
|
|
29
28
|
|
|
30
29
|
/**
|
|
31
|
-
* Sets the mute state (i.e. value of the State property). The return value
|
|
30
|
+
* Sets the mute state (i.e. value of the State property). The return value
|
|
31
|
+
* indicates whether the state was successfully set.
|
|
32
32
|
*
|
|
33
33
|
* @method OcaMute#SetState
|
|
34
|
-
* @param {
|
|
34
|
+
* @param {IOcaMuteState} state
|
|
35
35
|
*
|
|
36
36
|
* @returns {Promise<void>}
|
|
37
37
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { OcaMuteState } from '../../OCP1/OcaMuteState.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaActuator } from './OcaActuator.js';
|
|
3
|
-
import { OcaMuteState } from '../../OCP1/OcaMuteState.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Signal mute.
|
|
@@ -22,22 +22,24 @@ export const OcaMute = make_control_class(
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the current mute state. The return value indicates whether the state was
|
|
25
|
+
* Gets the current mute state. The return value indicates whether the state was
|
|
26
|
+
* successfully retrieved.
|
|
26
27
|
*
|
|
27
28
|
* @method OcaMute#GetState
|
|
28
29
|
* @returns {Promise<OcaMuteState>}
|
|
29
30
|
* A promise which resolves to a single value of type :class:`OcaMuteState`.
|
|
30
31
|
*/
|
|
31
32
|
/**
|
|
32
|
-
* Sets the mute state (i.e. value of the State property). The return value
|
|
33
|
+
* Sets the mute state (i.e. value of the State property). The return value
|
|
34
|
+
* indicates whether the state was successfully set.
|
|
33
35
|
*
|
|
34
36
|
* @method OcaMute#SetState
|
|
35
|
-
* @param {
|
|
37
|
+
* @param {IOcaMuteState} state
|
|
36
38
|
*
|
|
37
39
|
* @returns {Promise<void>}
|
|
38
40
|
*/
|
|
39
41
|
/**
|
|
40
|
-
* This event is emitted when the property State changes in the remote object.
|
|
42
|
+
* This event is emitted when the property ``State`` changes in the remote object.
|
|
41
43
|
* The property ``State`` is described in the AES70 standard as follows.
|
|
42
44
|
* Current state of the mute.
|
|
43
45
|
*
|