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,5 +1,3 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaWorker } from './OcaWorker.js';
|
|
3
1
|
import { OcaGlobalTypeIdentifier } from '../../OCP1/OcaGlobalTypeIdentifier.js';
|
|
4
2
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
5
3
|
import { OcaMap } from '../../OCP1/OcaMap.js';
|
|
@@ -11,10 +9,35 @@ import { OcaProtoSignalPath } from '../../OCP1/OcaProtoSignalPath.js';
|
|
|
11
9
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
12
10
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
13
11
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
14
|
-
import {
|
|
12
|
+
import { make_control_class } from '../make_control_class.js';
|
|
13
|
+
import { OcaWorker } from './OcaWorker.js';
|
|
15
14
|
|
|
16
15
|
/**
|
|
17
|
-
* Factory to create custom block instances. Used only in reconfigurable
|
|
16
|
+
* Factory to create custom block instances. Used only in reconfigurable
|
|
17
|
+
* devices. The idea is that you instantiate a factory once, populate it with
|
|
18
|
+
* proto-objects and proto-signal paths, then use it subsequently to instantiate
|
|
19
|
+
* identical blocks. In this context, **proto-object** means a prototype of a
|
|
20
|
+
* block member. Unbound objects are identified by **proto-object numbers
|
|
21
|
+
* (PONo's)** instead of actual object numbers. PONos are unique within the
|
|
22
|
+
* factory, and are converted to globally unique object numbers ONos) in all new
|
|
23
|
+
* block instances that the factory builds. Correspondingly, **proto-signal
|
|
24
|
+
* path** means a signal path expressed in terms of **PONos** rather than
|
|
25
|
+
* **ONos**. When the factory constructs a block, it converts all of its unbound
|
|
26
|
+
* signal paths to normal (bound) signal paths by mapping its **PONos** into
|
|
27
|
+
* **ONos**. The factory also holds a list of **proto-blockports** which are
|
|
28
|
+
* **OcaPorts** that are allocated to new blocks the factory builds. As well,
|
|
29
|
+
* the proto-objects in the factory may contain lists of their own proto-ports.
|
|
30
|
+
* Together, the factory's proto-ports and its members' proto-ports are used to
|
|
31
|
+
* define the factory's set of proto-signal paths. Factories may be predefined
|
|
32
|
+
* at time of device manufacture, or constructed "on the fly" by controllers. To
|
|
33
|
+
* **create a factory**, the controller calls a block's **CreateMember(...)**
|
|
34
|
+
* method with the **ClassID** of this class (**OcaBlockFactory**). Factories
|
|
35
|
+
* ignore which block creates them, so it makes no difference which block's
|
|
36
|
+
* **CreateMember(...)** method is used. It will usually make the most sense to
|
|
37
|
+
* use the Root Block's method. To add proto-objects, proto-ports, and
|
|
38
|
+
* proto-signal paths to a block factory, the controller calls the factory's
|
|
39
|
+
* **DefineProtoMember(...), DefineProtoPort(...), and
|
|
40
|
+
* DefineProtoSignalPath(...**) methods, respectively.
|
|
18
41
|
* @extends OcaWorker
|
|
19
42
|
* @class OcaBlockFactory
|
|
20
43
|
*/
|
|
@@ -28,7 +51,6 @@ export const OcaBlockFactory = make_control_class(
|
|
|
28
51
|
['DefineProtoPort', 3, 1, [OcaString, OcaPortMode], [OcaProtoPortID]],
|
|
29
52
|
['UndefineProtoPort', 3, 2, [OcaProtoPortID], []],
|
|
30
53
|
['GetProtoPorts', 3, 3, [], [OcaList(OcaProtoPort)]],
|
|
31
|
-
,
|
|
32
54
|
['DefineProtoMemberUsingFactory', 3, 5, [OcaUint32], [OcaUint32]],
|
|
33
55
|
['UndefineProtoMember', 3, 6, [OcaUint32], []],
|
|
34
56
|
['GetProtoMembers', 3, 7, [], [OcaList(OcaProtoObjectIdentification)]],
|
|
@@ -64,44 +86,38 @@ export const OcaBlockFactory = make_control_class(
|
|
|
64
86
|
);
|
|
65
87
|
|
|
66
88
|
/**
|
|
67
|
-
* Defines a proto-port in the factory. If proto-port already exists, it is
|
|
89
|
+
* Defines a proto-port in the factory. If proto-port already exists, it is
|
|
90
|
+
* replaced with the one from this call. The return value indicates whether the
|
|
91
|
+
* proto-port was successfully added.
|
|
68
92
|
*
|
|
69
93
|
* @method OcaBlockFactory#DefineProtoPort
|
|
70
94
|
* @param {string} name
|
|
71
|
-
*
|
|
72
|
-
* @param {OcaPortMode} portmode
|
|
95
|
+
* @param {IOcaPortMode} portmode
|
|
73
96
|
*
|
|
74
97
|
* @returns {Promise<OcaProtoPortID>}
|
|
75
98
|
* A promise which resolves to a single value of type :class:`OcaProtoPortID`.
|
|
76
99
|
*/
|
|
77
100
|
/**
|
|
78
|
-
* Deletes a proto-port from the factory. The return value indicates whether the
|
|
101
|
+
* Deletes a proto-port from the factory. The return value indicates whether the
|
|
102
|
+
* proto-port was successfully deleted.
|
|
79
103
|
*
|
|
80
104
|
* @method OcaBlockFactory#UndefineProtoPort
|
|
81
|
-
* @param {
|
|
105
|
+
* @param {IOcaProtoPortID} ProtoPortID
|
|
82
106
|
*
|
|
83
107
|
* @returns {Promise<void>}
|
|
84
108
|
*/
|
|
85
109
|
/**
|
|
86
|
-
* Gets the factory's list of proto-ports. The return value indicates whether
|
|
110
|
+
* Gets the factory's list of proto-ports. The return value indicates whether
|
|
111
|
+
* the list was successfully retrieved.
|
|
87
112
|
*
|
|
88
113
|
* @method OcaBlockFactory#GetProtoPorts
|
|
89
114
|
* @returns {Promise<OcaProtoPort[]>}
|
|
90
|
-
* A promise which resolves to a single value of type
|
|
91
|
-
*/
|
|
92
|
-
/**
|
|
93
|
-
* Defines a proto-member of the given class in the factory. The most current version of the class is used. The return value indicates whether the proto-member was successfully defined.
|
|
94
|
-
*
|
|
95
|
-
* @method OcaBlockFactory#DefineProtoMember
|
|
96
|
-
* @param {string} ClassIdentification
|
|
97
|
-
*
|
|
98
|
-
* @param {ConstructionParameterDataType} ConstructionParameters
|
|
99
|
-
*
|
|
100
|
-
* @returns {Promise<number>}
|
|
101
|
-
* A promise which resolves to a single value of type ``number``.
|
|
115
|
+
* A promise which resolves to a single value of type :class:`OcaProtoPort[]`.
|
|
102
116
|
*/
|
|
103
117
|
/**
|
|
104
|
-
* Defines a proto-member which will be instantiated by a specified factory when
|
|
118
|
+
* Defines a proto-member which will be instantiated by a specified factory when
|
|
119
|
+
* the block is built. The return value indicates whether the proto-member was
|
|
120
|
+
* successfully defined.
|
|
105
121
|
*
|
|
106
122
|
* @method OcaBlockFactory#DefineProtoMemberUsingFactory
|
|
107
123
|
* @param {number} FactoryONo
|
|
@@ -110,7 +126,9 @@ export const OcaBlockFactory = make_control_class(
|
|
|
110
126
|
* A promise which resolves to a single value of type ``number``.
|
|
111
127
|
*/
|
|
112
128
|
/**
|
|
113
|
-
* Deletes a proto-member from the factory. Deletes all proto-signal paths
|
|
129
|
+
* Deletes a proto-member from the factory. Deletes all proto-signal paths
|
|
130
|
+
* attached to its ports. The return value indicates whether the member was
|
|
131
|
+
* successfully deleted.
|
|
114
132
|
*
|
|
115
133
|
* @method OcaBlockFactory#UndefineProtoMember
|
|
116
134
|
* @param {number} ProtoObjectNumber
|
|
@@ -118,77 +136,86 @@ export const OcaBlockFactory = make_control_class(
|
|
|
118
136
|
* @returns {Promise<void>}
|
|
119
137
|
*/
|
|
120
138
|
/**
|
|
121
|
-
* Gets the factory's list of proto-members. Does not recurse inner
|
|
139
|
+
* Gets the factory's list of proto-members. Does not recurse inner
|
|
140
|
+
* proto-blocks. The return value indicates whether the list was successfully
|
|
141
|
+
* retrieved.
|
|
122
142
|
*
|
|
123
143
|
* @method OcaBlockFactory#GetProtoMembers
|
|
124
144
|
* @returns {Promise<OcaProtoObjectIdentification[]>}
|
|
125
|
-
* A promise which resolves to a single value of type
|
|
145
|
+
* A promise which resolves to a single value of type :class:`OcaProtoObjectIdentification[]`.
|
|
126
146
|
*/
|
|
127
147
|
/**
|
|
128
|
-
* Defines a proto-signal path in the factory. The return value indicates
|
|
148
|
+
* Defines a proto-signal path in the factory. The return value indicates
|
|
149
|
+
* whether the proto-signal path was successfully defined.
|
|
129
150
|
*
|
|
130
151
|
* @method OcaBlockFactory#DefineProtoSignalPath
|
|
131
|
-
* @param {
|
|
152
|
+
* @param {IOcaProtoSignalPath} Path
|
|
132
153
|
*
|
|
133
154
|
* @returns {Promise<number>}
|
|
134
155
|
* A promise which resolves to a single value of type ``number``.
|
|
135
156
|
*/
|
|
136
157
|
/**
|
|
137
|
-
* Deletes a proto-signal path from the factory. The return value indicates
|
|
158
|
+
* Deletes a proto-signal path from the factory. The return value indicates
|
|
159
|
+
* whether the signal path was successfully added.
|
|
138
160
|
*
|
|
139
161
|
* @method OcaBlockFactory#UndefineProtoSignalPath
|
|
140
162
|
* @returns {Promise<number>}
|
|
141
163
|
* A promise which resolves to a single value of type ``number``.
|
|
142
164
|
*/
|
|
143
165
|
/**
|
|
144
|
-
* Gets the factory's list of proto-signal paths. Map key is proto-signal path
|
|
166
|
+
* Gets the factory's list of proto-signal paths. Map key is proto-signal path
|
|
167
|
+
* ID. Does not recurse inner proto-blocks. The return value indicates whether
|
|
168
|
+
* the list was successfully retrieved.
|
|
145
169
|
*
|
|
146
170
|
* @method OcaBlockFactory#GetProtoSignalPaths
|
|
147
171
|
* @returns {Promise<Map<number, OcaProtoSignalPath>>}
|
|
148
172
|
* A promise which resolves to a single value of type ``Map<number, OcaProtoSignalPath>``.
|
|
149
173
|
*/
|
|
150
174
|
/**
|
|
151
|
-
* Gets the global type identifier for blocks created by this factory. The
|
|
175
|
+
* Gets the global type identifier for blocks created by this factory. The
|
|
176
|
+
* return value indicates whether the identifier was successfully retrieved.
|
|
177
|
+
* **Added in version 2 of this class.**
|
|
152
178
|
*
|
|
153
179
|
* @method OcaBlockFactory#GetGlobalType
|
|
154
180
|
* @returns {Promise<OcaGlobalTypeIdentifier>}
|
|
155
181
|
* A promise which resolves to a single value of type :class:`OcaGlobalTypeIdentifier`.
|
|
156
182
|
*/
|
|
157
183
|
/**
|
|
158
|
-
* Sets the global type identifier for blocks created by this factory. The
|
|
184
|
+
* Sets the global type identifier for blocks created by this factory. The
|
|
185
|
+
* return value indicates whether the identifier was successfully set. **Added
|
|
186
|
+
* in version 2 of this class.**
|
|
159
187
|
*
|
|
160
188
|
* @method OcaBlockFactory#SetGlobalType
|
|
161
|
-
* @param {
|
|
189
|
+
* @param {IOcaGlobalTypeIdentifier} GlobalType
|
|
162
190
|
*
|
|
163
191
|
* @returns {Promise<void>}
|
|
164
192
|
*/
|
|
165
193
|
/**
|
|
166
|
-
* This event is emitted when the property ProtoPorts changes in the remote object.
|
|
194
|
+
* This event is emitted when the property ``ProtoPorts`` changes in the remote object.
|
|
167
195
|
* The property ``ProtoPorts`` is described in the AES70 standard as follows.
|
|
168
|
-
* List of proto-ports for built objects. The factory itself has no
|
|
169
|
-
* ports.
|
|
196
|
+
* List of proto-ports for built objects. The factory itself has no ports.
|
|
170
197
|
*
|
|
171
198
|
* @member {PropertyEvent<OcaProtoPort[]>} OcaBlockFactory#OnProtoPortsChanged
|
|
172
199
|
*/
|
|
173
200
|
/**
|
|
174
|
-
* This event is emitted when the property ProtoMembers changes in the remote object.
|
|
201
|
+
* This event is emitted when the property ``ProtoMembers`` changes in the remote object.
|
|
175
202
|
* The property ``ProtoMembers`` is described in the AES70 standard as follows.
|
|
176
203
|
* List of prot-object identifiers of proto-members in the block.
|
|
177
204
|
*
|
|
178
205
|
* @member {PropertyEvent<OcaProtoObjectIdentification[]>} OcaBlockFactory#OnProtoMembersChanged
|
|
179
206
|
*/
|
|
180
207
|
/**
|
|
181
|
-
* This event is emitted when the property ProtoSignalPaths changes in the remote object.
|
|
208
|
+
* This event is emitted when the property ``ProtoSignalPaths`` changes in the remote object.
|
|
182
209
|
* The property ``ProtoSignalPaths`` is described in the AES70 standard as follows.
|
|
183
210
|
* List of proto-signal paths in the block.
|
|
184
211
|
*
|
|
185
212
|
* @member {PropertyEvent<Map<number, OcaProtoSignalPath>>} OcaBlockFactory#OnProtoSignalPathsChanged
|
|
186
213
|
*/
|
|
187
214
|
/**
|
|
188
|
-
* This event is emitted when the property GlobalType changes in the remote object.
|
|
215
|
+
* This event is emitted when the property ``GlobalType`` changes in the remote object.
|
|
189
216
|
* The property ``GlobalType`` is described in the AES70 standard as follows.
|
|
190
|
-
* Global block type identifier for reusable blocks.
|
|
191
|
-
*
|
|
217
|
+
* Global block type identifier for reusable blocks. **Added in version 2 of
|
|
218
|
+
* this class.**
|
|
192
219
|
*
|
|
193
220
|
* @member {PropertyEvent<OcaGlobalTypeIdentifier>} OcaBlockFactory#OnGlobalTypeChanged
|
|
194
221
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
import { PropertyEvent } from '../property_event';
|
|
1
2
|
import { RemoteDevice } from '../remote_device';
|
|
2
3
|
import { OcaBasicActuator } from './OcaBasicActuator';
|
|
3
4
|
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Basic boolean actuator.
|
|
8
7
|
* @extends OcaBasicActuator
|
|
@@ -17,7 +16,8 @@ export declare class OcaBooleanActuator extends OcaBasicActuator {
|
|
|
17
16
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
18
17
|
|
|
19
18
|
/**
|
|
20
|
-
* Gets the
|
|
19
|
+
* Gets the **Setting** property. The return value indicates whether the data
|
|
20
|
+
* was successfully retrieved.
|
|
21
21
|
*
|
|
22
22
|
* @method OcaBooleanActuator#GetSetting
|
|
23
23
|
* @returns {Promise<boolean>}
|
|
@@ -26,7 +26,8 @@ export declare class OcaBooleanActuator extends OcaBasicActuator {
|
|
|
26
26
|
GetSetting(): Promise<boolean>;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* Sets the
|
|
29
|
+
* Sets the **Setting** property. The return value indicates whether the
|
|
30
|
+
* property was successfully set.
|
|
30
31
|
*
|
|
31
32
|
* @method OcaBooleanActuator#SetSetting
|
|
32
33
|
* @param {boolean} Setting
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaBasicActuator } from './OcaBasicActuator.js';
|
|
3
|
-
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Basic boolean actuator.
|
|
@@ -22,14 +22,16 @@ export const OcaBooleanActuator = make_control_class(
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the
|
|
25
|
+
* Gets the **Setting** property. The return value indicates whether the data
|
|
26
|
+
* was successfully retrieved.
|
|
26
27
|
*
|
|
27
28
|
* @method OcaBooleanActuator#GetSetting
|
|
28
29
|
* @returns {Promise<boolean>}
|
|
29
30
|
* A promise which resolves to a single value of type ``boolean``.
|
|
30
31
|
*/
|
|
31
32
|
/**
|
|
32
|
-
* Sets the
|
|
33
|
+
* Sets the **Setting** property. The return value indicates whether the
|
|
34
|
+
* property was successfully set.
|
|
33
35
|
*
|
|
34
36
|
* @method OcaBooleanActuator#SetSetting
|
|
35
37
|
* @param {boolean} Setting
|
|
@@ -37,7 +39,7 @@ export const OcaBooleanActuator = make_control_class(
|
|
|
37
39
|
* @returns {Promise<void>}
|
|
38
40
|
*/
|
|
39
41
|
/**
|
|
40
|
-
* This event is emitted when the property Setting changes in the remote object.
|
|
42
|
+
* This event is emitted when the property ``Setting`` changes in the remote object.
|
|
41
43
|
* The property ``Setting`` is described in the AES70 standard as follows.
|
|
42
44
|
* Boolean setting.
|
|
43
45
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
import { PropertyEvent } from '../property_event';
|
|
1
2
|
import { RemoteDevice } from '../remote_device';
|
|
2
3
|
import { OcaBasicSensor } from './OcaBasicSensor';
|
|
3
4
|
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
6
|
* Basic boolean sensor.
|
|
8
7
|
* @extends OcaBasicSensor
|
|
@@ -17,7 +16,8 @@ export declare class OcaBooleanSensor extends OcaBasicSensor {
|
|
|
17
16
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
18
17
|
|
|
19
18
|
/**
|
|
20
|
-
* Gets the
|
|
19
|
+
* Gets the **Reading** property. The return value indicates whether the data
|
|
20
|
+
* was successfully retrieved.
|
|
21
21
|
*
|
|
22
22
|
* @method OcaBooleanSensor#GetReading
|
|
23
23
|
* @returns {Promise<boolean>}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaBasicSensor } from './OcaBasicSensor.js';
|
|
3
|
-
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Basic boolean sensor.
|
|
@@ -19,14 +19,15 @@ export const OcaBooleanSensor = make_control_class(
|
|
|
19
19
|
);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Gets the
|
|
22
|
+
* Gets the **Reading** property. The return value indicates whether the data
|
|
23
|
+
* was successfully retrieved.
|
|
23
24
|
*
|
|
24
25
|
* @method OcaBooleanSensor#GetReading
|
|
25
26
|
* @returns {Promise<boolean>}
|
|
26
27
|
* A promise which resolves to a single value of type ``boolean``.
|
|
27
28
|
*/
|
|
28
29
|
/**
|
|
29
|
-
* This event is emitted when the property Reading changes in the remote object.
|
|
30
|
+
* This event is emitted when the property ``Reading`` changes in the remote object.
|
|
30
31
|
* The property ``Reading`` is described in the AES70 standard as follows.
|
|
31
32
|
* Boolean reading.
|
|
32
33
|
*
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import { PropertyEvent } from '../property_event';
|
|
1
2
|
import { RemoteDevice } from '../remote_device';
|
|
2
3
|
import { OcaManager } from './OcaManager';
|
|
3
4
|
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
|
-
* Optional manager that collects all media decoders/encoders (Codecs) which the
|
|
8
|
-
*
|
|
9
|
-
* - Must be instantiated in every device that implements more than one media encoding scheme and/or more than one media decoding scheme.
|
|
6
|
+
* Optional manager that collects all media decoders/encoders (Codecs) which the
|
|
7
|
+
* device owns.
|
|
10
8
|
*
|
|
9
|
+
* - Must be instantiated in every device that implements more than one media
|
|
10
|
+
* encoding scheme and/or more than one media decoding scheme.
|
|
11
11
|
*
|
|
12
12
|
* - If instantiated, object number must be 12.
|
|
13
13
|
*
|
|
14
|
+
*
|
|
14
15
|
* @extends OcaManager
|
|
15
16
|
* @class OcaCodingManager
|
|
16
17
|
*/
|
|
@@ -28,7 +29,8 @@ export declare class OcaCodingManager extends OcaManager {
|
|
|
28
29
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
29
30
|
|
|
30
31
|
/**
|
|
31
|
-
* Retrieves the map of available encoding schemes, indexed by scheme ID.
|
|
32
|
+
* Retrieves the map of available encoding schemes, indexed by scheme ID.
|
|
33
|
+
* Return value indicates success of the retrieval.
|
|
32
34
|
*
|
|
33
35
|
* @method OcaCodingManager#GetAvailableEncodingSchemes
|
|
34
36
|
* @returns {Promise<Map<number, string>>}
|
|
@@ -37,7 +39,8 @@ export declare class OcaCodingManager extends OcaManager {
|
|
|
37
39
|
GetAvailableEncodingSchemes(): Promise<Map<number, string>>;
|
|
38
40
|
|
|
39
41
|
/**
|
|
40
|
-
* Retrieves the map of available decoding schemes, indexed by scheme ID.
|
|
42
|
+
* Retrieves the map of available decoding schemes, indexed by scheme ID.
|
|
43
|
+
* Return value indicates success of the retrieval.
|
|
41
44
|
*
|
|
42
45
|
* @method OcaCodingManager#GetAvailableDecodingSchemes
|
|
43
46
|
* @returns {Promise<Map<number, string>>}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaManager } from './OcaManager.js';
|
|
3
1
|
import { OcaMap } from '../../OCP1/OcaMap.js';
|
|
4
2
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
5
3
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
4
|
+
import { make_control_class } from '../make_control_class.js';
|
|
5
|
+
import { OcaManager } from './OcaManager.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Optional manager that collects all media decoders/encoders (Codecs) which the
|
|
9
|
-
*
|
|
10
|
-
* - Must be instantiated in every device that implements more than one media encoding scheme and/or more than one media decoding scheme.
|
|
8
|
+
* Optional manager that collects all media decoders/encoders (Codecs) which the
|
|
9
|
+
* device owns.
|
|
11
10
|
*
|
|
11
|
+
* - Must be instantiated in every device that implements more than one media
|
|
12
|
+
* encoding scheme and/or more than one media decoding scheme.
|
|
12
13
|
*
|
|
13
14
|
* - If instantiated, object number must be 12.
|
|
14
15
|
*
|
|
16
|
+
*
|
|
15
17
|
* @extends OcaManager
|
|
16
18
|
* @class OcaCodingManager
|
|
17
19
|
*/
|
|
@@ -49,32 +51,34 @@ export const OcaCodingManager = make_control_class(
|
|
|
49
51
|
);
|
|
50
52
|
|
|
51
53
|
/**
|
|
52
|
-
* Retrieves the map of available encoding schemes, indexed by scheme ID. Return
|
|
54
|
+
* Retrieves the map of available encoding schemes, indexed by scheme ID. Return
|
|
55
|
+
* value indicates success of the retrieval.
|
|
53
56
|
*
|
|
54
57
|
* @method OcaCodingManager#GetAvailableEncodingSchemes
|
|
55
58
|
* @returns {Promise<Map<number, string>>}
|
|
56
59
|
* A promise which resolves to a single value of type ``Map<number, string>``.
|
|
57
60
|
*/
|
|
58
61
|
/**
|
|
59
|
-
* Retrieves the map of available decoding schemes, indexed by scheme ID. Return
|
|
62
|
+
* Retrieves the map of available decoding schemes, indexed by scheme ID. Return
|
|
63
|
+
* value indicates success of the retrieval.
|
|
60
64
|
*
|
|
61
65
|
* @method OcaCodingManager#GetAvailableDecodingSchemes
|
|
62
66
|
* @returns {Promise<Map<number, string>>}
|
|
63
67
|
* A promise which resolves to a single value of type ``Map<number, string>``.
|
|
64
68
|
*/
|
|
65
69
|
/**
|
|
66
|
-
* This event is emitted when the property AvailableEncodingSchemes changes in the remote object.
|
|
70
|
+
* This event is emitted when the property ``AvailableEncodingSchemes`` changes in the remote object.
|
|
67
71
|
* The property ``AvailableEncodingSchemes`` is described in the AES70 standard as follows.
|
|
68
|
-
* Map of names of media encoding schemes the device supports, indexed by
|
|
69
|
-
*
|
|
72
|
+
* Map of names of media encoding schemes the device supports, indexed by scheme
|
|
73
|
+
* ID.
|
|
70
74
|
*
|
|
71
75
|
* @member {PropertyEvent<Map<number, string>>} OcaCodingManager#OnAvailableEncodingSchemesChanged
|
|
72
76
|
*/
|
|
73
77
|
/**
|
|
74
|
-
* This event is emitted when the property AvailableDecodingSchemes changes in the remote object.
|
|
78
|
+
* This event is emitted when the property ``AvailableDecodingSchemes`` changes in the remote object.
|
|
75
79
|
* The property ``AvailableDecodingSchemes`` is described in the AES70 standard as follows.
|
|
76
|
-
* Map of names of media decoding schemes the device supports, indexed by
|
|
77
|
-
*
|
|
80
|
+
* Map of names of media decoding schemes the device supports, indexed by scheme
|
|
81
|
+
* ID.
|
|
78
82
|
*
|
|
79
83
|
* @member {PropertyEvent<Map<number, string>>} OcaCodingManager#OnAvailableDecodingSchemesChanged
|
|
80
84
|
*/
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
+
import { OcaNetworkControlProtocol } from '../../types/OcaNetworkControlProtocol';
|
|
2
|
+
import { PropertyEvent } from '../property_event';
|
|
1
3
|
import { RemoteDevice } from '../remote_device';
|
|
2
4
|
import { OcaApplicationNetwork } from './OcaApplicationNetwork';
|
|
3
5
|
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
import { OcaNetworkControlProtocol } from '../../types/OcaNetworkControlProtocol';
|
|
6
|
-
|
|
7
6
|
/**
|
|
8
|
-
* This was not documented in the OCA standard.
|
|
9
7
|
* @extends OcaApplicationNetwork
|
|
10
8
|
* @class OcaControlNetwork
|
|
11
9
|
*/
|
|
@@ -18,7 +16,8 @@ export declare class OcaControlNetwork extends OcaApplicationNetwork {
|
|
|
18
16
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
19
17
|
|
|
20
18
|
/**
|
|
21
|
-
* Gets the network's Protocol property. Return status indicates whether the
|
|
19
|
+
* Gets the network's Protocol property. Return status indicates whether the
|
|
20
|
+
* operation was successful.
|
|
22
21
|
*
|
|
23
22
|
* @method OcaControlNetwork#GetControlProtocol
|
|
24
23
|
* @returns {Promise<OcaNetworkControlProtocol>}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
+
import { OcaNetworkControlProtocol } from '../../OCP1/OcaNetworkControlProtocol.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaApplicationNetwork } from './OcaApplicationNetwork.js';
|
|
3
|
-
import { OcaNetworkControlProtocol } from '../../OCP1/OcaNetworkControlProtocol.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* This was not documented in the OCA standard.
|
|
7
6
|
* @extends OcaApplicationNetwork
|
|
8
7
|
* @class OcaControlNetwork
|
|
9
8
|
*/
|
|
@@ -29,17 +28,17 @@ export const OcaControlNetwork = make_control_class(
|
|
|
29
28
|
);
|
|
30
29
|
|
|
31
30
|
/**
|
|
32
|
-
* Gets the network's Protocol property. Return status indicates whether the
|
|
31
|
+
* Gets the network's Protocol property. Return status indicates whether the
|
|
32
|
+
* operation was successful.
|
|
33
33
|
*
|
|
34
34
|
* @method OcaControlNetwork#GetControlProtocol
|
|
35
35
|
* @returns {Promise<OcaNetworkControlProtocol>}
|
|
36
36
|
* A promise which resolves to a single value of type :class:`OcaNetworkControlProtocol`.
|
|
37
37
|
*/
|
|
38
38
|
/**
|
|
39
|
-
* This event is emitted when the property Protocol changes in the remote object.
|
|
39
|
+
* This event is emitted when the property ``Protocol`` changes in the remote object.
|
|
40
40
|
* The property ``Protocol`` is described in the AES70 standard as follows.
|
|
41
|
-
* Type of control protocol used by the network (OCAnn). Read-only
|
|
42
|
-
* property.
|
|
41
|
+
* Type of control protocol used by the network (OCAnn). Read-only property.
|
|
43
42
|
*
|
|
44
43
|
* @member {PropertyEvent<OcaNetworkControlProtocol>} OcaControlNetwork#OnProtocolChanged
|
|
45
44
|
*/
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaSensor } from './OcaSensor';
|
|
3
1
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
2
|
import { PropertyEvent } from '../property_event';
|
|
3
|
+
import { RemoteDevice } from '../remote_device';
|
|
4
|
+
import { OcaSensor } from './OcaSensor';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Basic current sensor.
|
|
@@ -18,7 +17,8 @@ export declare class OcaCurrentSensor extends OcaSensor {
|
|
|
18
17
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
|
-
* Gets the value and limits of the
|
|
20
|
+
* Gets the value and limits of the **Reading** property. The return value
|
|
21
|
+
* indicates whether the data was successfully retrieved.
|
|
22
22
|
* The return values of this method are
|
|
23
23
|
*
|
|
24
24
|
* - Reading of type ``number``
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaSensor } from './OcaSensor.js';
|
|
3
|
-
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Basic current sensor.
|
|
@@ -19,7 +19,8 @@ export const OcaCurrentSensor = make_control_class(
|
|
|
19
19
|
);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Gets the value and limits of the
|
|
22
|
+
* Gets the value and limits of the **Reading** property. The return value
|
|
23
|
+
* indicates whether the data was successfully retrieved.
|
|
23
24
|
* The return values of this method are
|
|
24
25
|
*
|
|
25
26
|
* - Reading of type ``number``
|
|
@@ -30,7 +31,7 @@ export const OcaCurrentSensor = make_control_class(
|
|
|
30
31
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
31
32
|
*/
|
|
32
33
|
/**
|
|
33
|
-
* This event is emitted when the property Reading changes in the remote object.
|
|
34
|
+
* This event is emitted when the property ``Reading`` changes in the remote object.
|
|
34
35
|
* The property ``Reading`` is described in the AES70 standard as follows.
|
|
35
36
|
* Current value (amperes).
|
|
36
37
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaActuator } from './OcaActuator';
|
|
3
1
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
2
|
import { PropertyEvent } from '../property_event';
|
|
3
|
+
import { RemoteDevice } from '../remote_device';
|
|
4
|
+
import { OcaActuator } from './OcaActuator';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Signal delay - basic version.
|
|
@@ -18,7 +17,8 @@ export declare class OcaDelay extends OcaActuator {
|
|
|
18
17
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
|
-
* Gets the value of the DelayTime property. The return value indicates
|
|
20
|
+
* Gets the value of the DelayTime property. The return value indicates
|
|
21
|
+
* whether the property was successfully retrieved.
|
|
22
22
|
* The return values of this method are
|
|
23
23
|
*
|
|
24
24
|
* - Time of type ``number``
|
|
@@ -31,7 +31,8 @@ export declare class OcaDelay extends OcaActuator {
|
|
|
31
31
|
GetDelayTime(): Promise<Arguments<[number, number, number]>>;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Sets the value of the DelayTime property. The return value indicates
|
|
34
|
+
* Sets the value of the DelayTime property. The return value indicates
|
|
35
|
+
* whether the property was successfully set.
|
|
35
36
|
*
|
|
36
37
|
* @method OcaDelay#SetDelayTime
|
|
37
38
|
* @param {number} delayTime
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaActuator } from './OcaActuator.js';
|
|
3
|
-
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Signal delay - basic version.
|
|
@@ -22,7 +22,8 @@ export const OcaDelay = make_control_class(
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the value of the DelayTime property. The return value indicates whether
|
|
25
|
+
* Gets the value of the DelayTime property. The return value indicates whether
|
|
26
|
+
* the property was successfully retrieved.
|
|
26
27
|
* The return values of this method are
|
|
27
28
|
*
|
|
28
29
|
* - Time of type ``number``
|
|
@@ -33,7 +34,8 @@ export const OcaDelay = make_control_class(
|
|
|
33
34
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
34
35
|
*/
|
|
35
36
|
/**
|
|
36
|
-
* Sets the value of the DelayTime property. The return value indicates whether
|
|
37
|
+
* Sets the value of the DelayTime property. The return value indicates whether
|
|
38
|
+
* the property was successfully set.
|
|
37
39
|
*
|
|
38
40
|
* @method OcaDelay#SetDelayTime
|
|
39
41
|
* @param {number} delayTime
|
|
@@ -41,7 +43,7 @@ export const OcaDelay = make_control_class(
|
|
|
41
43
|
* @returns {Promise<void>}
|
|
42
44
|
*/
|
|
43
45
|
/**
|
|
44
|
-
* This event is emitted when the property DelayTime changes in the remote object.
|
|
46
|
+
* This event is emitted when the property ``DelayTime`` changes in the remote object.
|
|
45
47
|
* The property ``DelayTime`` is described in the AES70 standard as follows.
|
|
46
48
|
* Delay in seconds.
|
|
47
49
|
*
|