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,34 +1,61 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaAgent } from './OcaAgent.js';
|
|
3
1
|
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
4
|
-
import { OcaEvent } from '../../OCP1/OcaEvent.js';
|
|
5
2
|
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
6
3
|
import { OcaFloat64 } from '../../OCP1/OcaFloat64.js';
|
|
7
4
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
5
|
+
import { OcaObservationListEventData } from '../../OCP1/OcaObservationListEventData.js';
|
|
8
6
|
import { OcaObserverState } from '../../OCP1/OcaObserverState.js';
|
|
9
7
|
import { OcaProperty } from '../../OCP1/OcaProperty.js';
|
|
10
8
|
import { OcaRelationalOperator } from '../../OCP1/OcaRelationalOperator.js';
|
|
9
|
+
import { make_control_class } from '../make_control_class.js';
|
|
10
|
+
import { OcaAgent } from './OcaAgent.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* Observer of a scalar numeric or boolean property ("target property") of a set
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* -
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
13
|
+
* Observer of a scalar numeric or boolean property ("target property") of a set
|
|
14
|
+
* of specified objects. This class is a subclass of **OcaNumericObserver**, and
|
|
15
|
+
* differs from that class only in that it observes a set of properties rather
|
|
16
|
+
* than a single property. Does not work for array, list, map, struct, or string
|
|
17
|
+
* properties. **OcaNumericObserverList** emits an **Observation** event under
|
|
18
|
+
* certain conditions. There are three kinds of conditions:
|
|
19
|
+
*
|
|
20
|
+
* - **Numeric comparison**. A target property value meets a certain comparison
|
|
21
|
+
* condition. A selection of comparison operators is available. Such
|
|
22
|
+
* observations are called "asynchronous observations".
|
|
23
|
+
*
|
|
24
|
+
* - **Timer expiry**. The value of the** Period** property, if nonzero, is a
|
|
25
|
+
* the time interval for the recurrent timed emission of **Observation**
|
|
26
|
+
* events. Such events ("periodic observations") are emitted regardless of
|
|
27
|
+
* the target property's value.
|
|
28
|
+
*
|
|
29
|
+
* - **Combination of (1) and (2)**. If a numeric comparison and a nonzero
|
|
30
|
+
* period are both specified, then the **Observation** event is emitted when
|
|
31
|
+
* the timer expires **and** the numeric comparison is true for at least one
|
|
32
|
+
* of the observed properties. Such observations are called
|
|
33
|
+
* "conditional-periodic observations".
|
|
34
|
+
*
|
|
35
|
+
*
|
|
36
|
+
* This is a weakly typed class. Its threshold is specified as an **OcaFloat64**
|
|
37
|
+
* number.
|
|
38
|
+
*
|
|
39
|
+
* - For unsigned integer targets, the threshold and target are both coerced to
|
|
40
|
+
* **OcaUint64** before comparing.
|
|
41
|
+
*
|
|
42
|
+
* - For signed integer targets, the threshold and target are both coerced to
|
|
43
|
+
* **OcaInt64** before comparing.
|
|
44
|
+
*
|
|
45
|
+
* - For boolean values, the threshold hreshold and target are both coerced to
|
|
46
|
+
* **OcaUint8**, True is assigned the value One, False is assigned the value
|
|
47
|
+
* Zero.
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* Note that this coercion may result in rounding errors if the observed
|
|
51
|
+
* datatype is of type OcaUint64 or OcaUint64. An **OcaNumericObserver**
|
|
52
|
+
* instance and the property it observes are bound at the time the
|
|
53
|
+
* **OcaNumericObserver** instance is constructed. For static devices,
|
|
54
|
+
* construction will occur during manufacture, or possibly during a subsequent
|
|
55
|
+
* hardware configuration step. For reconfigurable devices, construction might
|
|
56
|
+
* be done by online controllers as part of device configuration sessions. This
|
|
57
|
+
* class is normally used for monitoring readings of sensor readings, but may be
|
|
58
|
+
* used equally well for watching workers' parameter settings.
|
|
32
59
|
* @extends OcaAgent
|
|
33
60
|
* @class OcaNumericObserverList
|
|
34
61
|
*/
|
|
@@ -63,47 +90,66 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
63
90
|
['Hysteresis', [OcaFloat64], 3, 6, false, false, null],
|
|
64
91
|
['Period', [OcaFloat32], 3, 7, false, false, null],
|
|
65
92
|
],
|
|
66
|
-
[['Observation', 3, 1, [
|
|
93
|
+
[['Observation', 3, 1, [OcaObservationListEventData]]]
|
|
67
94
|
);
|
|
68
95
|
|
|
69
96
|
/**
|
|
70
|
-
* Gets the values of the observed property that were reported by the most
|
|
97
|
+
* Gets the values of the observed property that were reported by the most
|
|
98
|
+
* recently emitted Observation event. If the numeric observer has never emitted
|
|
99
|
+
* an Observation event, returns a list of IEEE not-a-number values. The order
|
|
100
|
+
* of values in the returned list is determined by the order of values set by
|
|
101
|
+
* SetObservedProperties, and is the same as the order of values returned by the
|
|
102
|
+
* Observation event, and the same as the order of object identifications
|
|
103
|
+
* returned by GetObservedProperties. The return status indicates whether the
|
|
104
|
+
* value has been successfully returned.
|
|
71
105
|
*
|
|
72
106
|
* @method OcaNumericObserverList#GetLastObservation
|
|
73
107
|
* @returns {Promise<number[]>}
|
|
74
108
|
* A promise which resolves to a single value of type ``number[]``.
|
|
75
109
|
*/
|
|
76
110
|
/**
|
|
77
|
-
* Gets the observer's state. The return value indicates whether the state was
|
|
111
|
+
* Gets the observer's state. The return value indicates whether the state was
|
|
112
|
+
* successfully retrieved.
|
|
78
113
|
*
|
|
79
114
|
* @method OcaNumericObserverList#GetState
|
|
80
115
|
* @returns {Promise<OcaObserverState>}
|
|
81
116
|
* A promise which resolves to a single value of type :class:`OcaObserverState`.
|
|
82
117
|
*/
|
|
83
118
|
/**
|
|
84
|
-
* Gets the identifications of the properties that the observer observes. The
|
|
119
|
+
* Gets the identifications of the properties that the observer observes. The
|
|
120
|
+
* order of property identifications in the returned list is determined by the
|
|
121
|
+
* order of property identifications set by SetObservedProperties, and is the
|
|
122
|
+
* same as the order of values returned by GetLastObservation and the
|
|
123
|
+
* Observation event. The return value indicates whether the identifications
|
|
124
|
+
* were successfully retrieved.
|
|
85
125
|
*
|
|
86
126
|
* @method OcaNumericObserverList#GetObservedProperties
|
|
87
127
|
* @returns {Promise<OcaProperty[]>}
|
|
88
|
-
* A promise which resolves to a single value of type
|
|
128
|
+
* A promise which resolves to a single value of type :class:`OcaProperty[]`.
|
|
89
129
|
*/
|
|
90
130
|
/**
|
|
91
|
-
* Sets the identifications of the properties that the observer observes. The
|
|
131
|
+
* Sets the identifications of the properties that the observer observes. The
|
|
132
|
+
* order of property identifications supplied determines the order of property
|
|
133
|
+
* identifications returned by GetObservedProperties and the order of values
|
|
134
|
+
* returned by GetLastObservation and the Observation event. The return value
|
|
135
|
+
* indicates whether the identifications were successfully set.
|
|
92
136
|
*
|
|
93
137
|
* @method OcaNumericObserverList#SetObservedProperties
|
|
94
|
-
* @param {
|
|
138
|
+
* @param {IOcaProperty[]} property
|
|
95
139
|
*
|
|
96
140
|
* @returns {Promise<void>}
|
|
97
141
|
*/
|
|
98
142
|
/**
|
|
99
|
-
* Gets the value of the
|
|
143
|
+
* Gets the value of the **Threshold** property. The return value indicates
|
|
144
|
+
* whether the threshold value was successfully retrieved.
|
|
100
145
|
*
|
|
101
146
|
* @method OcaNumericObserverList#GetThreshold
|
|
102
147
|
* @returns {Promise<number>}
|
|
103
148
|
* A promise which resolves to a single value of type ``number``.
|
|
104
149
|
*/
|
|
105
150
|
/**
|
|
106
|
-
* Sets the value of the
|
|
151
|
+
* Sets the value of the **Threshold** property. The return value indicates
|
|
152
|
+
* whether the threshold value was successfully set.
|
|
107
153
|
*
|
|
108
154
|
* @method OcaNumericObserverList#SetThreshold
|
|
109
155
|
* @param {number} Threshold
|
|
@@ -111,29 +157,33 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
111
157
|
* @returns {Promise<void>}
|
|
112
158
|
*/
|
|
113
159
|
/**
|
|
114
|
-
* Gets the value of the
|
|
160
|
+
* Gets the value of the **Operator** property. The return value indicates
|
|
161
|
+
* whether the property was successfully retrieved.
|
|
115
162
|
*
|
|
116
163
|
* @method OcaNumericObserverList#GetOperator
|
|
117
164
|
* @returns {Promise<OcaRelationalOperator>}
|
|
118
165
|
* A promise which resolves to a single value of type :class:`OcaRelationalOperator`.
|
|
119
166
|
*/
|
|
120
167
|
/**
|
|
121
|
-
* Sets the value of the
|
|
168
|
+
* Sets the value of the **Operator** property. The return value indicates
|
|
169
|
+
* whether the operator was successfully set.
|
|
122
170
|
*
|
|
123
171
|
* @method OcaNumericObserverList#SetOperator
|
|
124
|
-
* @param {
|
|
172
|
+
* @param {IOcaRelationalOperator} operator
|
|
125
173
|
*
|
|
126
174
|
* @returns {Promise<void>}
|
|
127
175
|
*/
|
|
128
176
|
/**
|
|
129
|
-
* Gets the value of the
|
|
177
|
+
* Gets the value of the **TwoWay** property. The return value indicates whether
|
|
178
|
+
* the property was successfully retrieved.
|
|
130
179
|
*
|
|
131
180
|
* @method OcaNumericObserverList#GetTwoWay
|
|
132
181
|
* @returns {Promise<boolean>}
|
|
133
182
|
* A promise which resolves to a single value of type ``boolean``.
|
|
134
183
|
*/
|
|
135
184
|
/**
|
|
136
|
-
* Sets the value of the
|
|
185
|
+
* Sets the value of the **TwoWay** property. The return value indicates whether
|
|
186
|
+
* the property was successfully set.
|
|
137
187
|
*
|
|
138
188
|
* @method OcaNumericObserverList#SetTwoWay
|
|
139
189
|
* @param {boolean} twoWay
|
|
@@ -141,14 +191,16 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
141
191
|
* @returns {Promise<void>}
|
|
142
192
|
*/
|
|
143
193
|
/**
|
|
144
|
-
* Gets the value of the
|
|
194
|
+
* Gets the value of the **Hysteresis** property. The return value indicates
|
|
195
|
+
* whether the property was successfully retrieved.
|
|
145
196
|
*
|
|
146
197
|
* @method OcaNumericObserverList#GetHysteresis
|
|
147
198
|
* @returns {Promise<number>}
|
|
148
199
|
* A promise which resolves to a single value of type ``number``.
|
|
149
200
|
*/
|
|
150
201
|
/**
|
|
151
|
-
* Sets the value of the
|
|
202
|
+
* Sets the value of the **Hysteresis** property. The return value indicates
|
|
203
|
+
* whether the property was successfully set.
|
|
152
204
|
*
|
|
153
205
|
* @method OcaNumericObserverList#SetHysteresis
|
|
154
206
|
* @param {number} hysteresis
|
|
@@ -156,14 +208,16 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
156
208
|
* @returns {Promise<void>}
|
|
157
209
|
*/
|
|
158
210
|
/**
|
|
159
|
-
* Gets the value of the
|
|
211
|
+
* Gets the value of the **Period** property. The return value indicates whether
|
|
212
|
+
* the property was successfully retrieved.
|
|
160
213
|
*
|
|
161
214
|
* @method OcaNumericObserverList#GetPeriod
|
|
162
215
|
* @returns {Promise<number>}
|
|
163
216
|
* A promise which resolves to a single value of type ``number``.
|
|
164
217
|
*/
|
|
165
218
|
/**
|
|
166
|
-
* Sets the value of the
|
|
219
|
+
* Sets the value of the **Period** property. The return value indicates whether
|
|
220
|
+
* the property was successfully set.
|
|
167
221
|
*
|
|
168
222
|
* @method OcaNumericObserverList#SetPeriod
|
|
169
223
|
* @param {number} period
|
|
@@ -171,82 +225,77 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
171
225
|
* @returns {Promise<void>}
|
|
172
226
|
*/
|
|
173
227
|
/**
|
|
174
|
-
* Event emitted to signal an asynchronous, periodic, or conditional-periodic
|
|
228
|
+
* Event emitted to signal an asynchronous, periodic, or conditional-periodic
|
|
229
|
+
* observation. This event returns the complete list of values being observed,
|
|
230
|
+
* regardless of which one(s) may have triggered it in the first place. The
|
|
231
|
+
* order of values in the returned list is determined by the order of values set
|
|
232
|
+
* by SetObservedProperties, and is the same as the order of values returned by
|
|
233
|
+
* GetLastObservation, and the same as the order of object identifications
|
|
234
|
+
* returned by GetObservedProperties.
|
|
175
235
|
* @member OcaNumericObserverList#OnObservation {Event}
|
|
176
|
-
* Event emitted to signal an asynchronous, periodic, or
|
|
177
|
-
* conditional-periodic observation. This event returns the complete list
|
|
178
|
-
* of values being observed, regardless of which one(s) may have
|
|
179
|
-
* triggered it in the first place. The order of values in the returned
|
|
180
|
-
* list is determined by the order of values set by
|
|
181
|
-
* SetObservedProperties, and is the same as the order of values returned
|
|
182
|
-
* by GetLastObservation, and the same as the order of object
|
|
183
|
-
* identifications returned by GetObservedProperties.
|
|
184
236
|
*/
|
|
185
237
|
/**
|
|
186
|
-
* This event is emitted when the property State changes in the remote object.
|
|
238
|
+
* This event is emitted when the property ``State`` changes in the remote object.
|
|
187
239
|
* The property ``State`` is described in the AES70 standard as follows.
|
|
188
240
|
* State: triggered, not triggered
|
|
189
241
|
*
|
|
190
242
|
* @member {PropertyEvent<OcaObserverState>} OcaNumericObserverList#OnStateChanged
|
|
191
243
|
*/
|
|
192
244
|
/**
|
|
193
|
-
* This event is emitted when the property ObservedProperties changes in the remote object.
|
|
245
|
+
* This event is emitted when the property ``ObservedProperties`` changes in the remote object.
|
|
194
246
|
* The property ``ObservedProperties`` is described in the AES70 standard as follows.
|
|
195
247
|
* List of identifiers of the properties are being observed.
|
|
196
248
|
*
|
|
197
249
|
* @member {PropertyEvent<OcaProperty[]>} OcaNumericObserverList#OnObservedPropertiesChanged
|
|
198
250
|
*/
|
|
199
251
|
/**
|
|
200
|
-
* This event is emitted when the property Threshold changes in the remote object.
|
|
252
|
+
* This event is emitted when the property ``Threshold`` changes in the remote object.
|
|
201
253
|
* The property ``Threshold`` is described in the AES70 standard as follows.
|
|
202
|
-
* Comparison value for raising the
|
|
254
|
+
* Comparison value for raising the **Triggered** event.
|
|
203
255
|
*
|
|
204
256
|
* @member {PropertyEvent<number>} OcaNumericObserverList#OnThresholdChanged
|
|
205
257
|
*/
|
|
206
258
|
/**
|
|
207
|
-
* This event is emitted when the property Operator changes in the remote object.
|
|
259
|
+
* This event is emitted when the property ``Operator`` changes in the remote object.
|
|
208
260
|
* The property ``Operator`` is described in the AES70 standard as follows.
|
|
209
|
-
* Relational operator used when comparing the value of the observed
|
|
210
|
-
*
|
|
261
|
+
* Relational operator used when comparing the value of the observed property to
|
|
262
|
+
* the threshold value.
|
|
211
263
|
*
|
|
212
264
|
* @member {PropertyEvent<OcaRelationalOperator>} OcaNumericObserverList#OnOperatorChanged
|
|
213
265
|
*/
|
|
214
266
|
/**
|
|
215
|
-
* This event is emitted when the property TwoWay changes in the remote object.
|
|
267
|
+
* This event is emitted when the property ``TwoWay`` changes in the remote object.
|
|
216
268
|
* The property ``TwoWay`` is described in the AES70 standard as follows.
|
|
217
|
-
* True to emit a
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
* <u>Equality</u>; inequality when <b>Operator </b>is set to
|
|
224
|
-
* <u>Inequality</u>).
|
|
269
|
+
* True to emit a **Triggered** event upon crossing the threshold in either
|
|
270
|
+
* direction; false to emit only upon crossing in the primary direction (i.e.
|
|
271
|
+
* rising when **Operator** is set to GreaterThan or GreaterThanOrEqual; falling
|
|
272
|
+
* when **Operator** is set to LessThan**** or LessThanOrEqual; equality when
|
|
273
|
+
* **Operator** is set to Equality; inequality when **Operator** is set to
|
|
274
|
+
* Inequality).
|
|
225
275
|
*
|
|
226
276
|
* @member {PropertyEvent<boolean>} OcaNumericObserverList#OnTwoWayChanged
|
|
227
277
|
*/
|
|
228
278
|
/**
|
|
229
|
-
* This event is emitted when the property Hysteresis changes in the remote object.
|
|
279
|
+
* This event is emitted when the property ``Hysteresis`` changes in the remote object.
|
|
230
280
|
* The property ``Hysteresis`` is described in the AES70 standard as follows.
|
|
231
|
-
* Hysteresis that is used when observing the property value. This
|
|
232
|
-
*
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
* meet the ‘Threshold including Hysteresis’<b> .</b>
|
|
281
|
+
* Hysteresis that is used when observing the property value. This indicates
|
|
282
|
+
* which amount must be added/subtracted from the **Threshold** value to raise
|
|
283
|
+
* or re-enable the **Triggered** event of this **OcaObserver** object. The
|
|
284
|
+
* rules for hysteresis handling depend upon the configured **Operator** and
|
|
285
|
+
* **TwoWay** properties. The **Hysteresis** property is ignored if the
|
|
286
|
+
* **Operator** property is 'Inequality'. If the State is **Not Triggered** it
|
|
287
|
+
* changes to **Triggered** if any of the ObservedProperties reaches the
|
|
288
|
+
* Threshold. If the State is **Triggered** it changes to **Not Triggered** only
|
|
289
|
+
* if all of the ObservedProperties no longer meet the ‘Threshold including
|
|
290
|
+
* Hysteresis’** .**
|
|
242
291
|
*
|
|
243
292
|
* @member {PropertyEvent<number>} OcaNumericObserverList#OnHysteresisChanged
|
|
244
293
|
*/
|
|
245
294
|
/**
|
|
246
|
-
* This event is emitted when the property Period changes in the remote object.
|
|
295
|
+
* This event is emitted when the property ``Period`` changes in the remote object.
|
|
247
296
|
* The property ``Period`` is described in the AES70 standard as follows.
|
|
248
|
-
* Repetition period or zero. If nonzero, the observer will retrieve the
|
|
249
|
-
*
|
|
297
|
+
* Repetition period or zero. If nonzero, the observer will retrieve the value
|
|
298
|
+
* and emit
|
|
250
299
|
*
|
|
251
300
|
* @member {PropertyEvent<number>} OcaNumericObserverList#OnPeriodChanged
|
|
252
301
|
*/
|
|
@@ -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
|
* Pan or Balance control.
|
|
@@ -23,7 +22,8 @@ export declare class OcaPanBalance extends OcaActuator {
|
|
|
23
22
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
24
23
|
|
|
25
24
|
/**
|
|
26
|
-
* Gets the value and limits of the Position property. The return value
|
|
25
|
+
* Gets the value and limits of the Position property. The return value
|
|
26
|
+
* indicates whether the data was successfully retrieved.
|
|
27
27
|
* The return values of this method are
|
|
28
28
|
*
|
|
29
29
|
* - Position of type ``number``
|
|
@@ -36,7 +36,8 @@ export declare class OcaPanBalance extends OcaActuator {
|
|
|
36
36
|
GetPosition(): Promise<Arguments<[number, number, number]>>;
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* Sets the value of the Position property. The return value indicates whether
|
|
39
|
+
* Sets the value of the Position property. The return value indicates whether
|
|
40
|
+
* the property was successfully set.
|
|
40
41
|
*
|
|
41
42
|
* @method OcaPanBalance#SetPosition
|
|
42
43
|
* @param {number} Position
|
|
@@ -46,7 +47,8 @@ export declare class OcaPanBalance extends OcaActuator {
|
|
|
46
47
|
SetPosition(Position: number): Promise<void>;
|
|
47
48
|
|
|
48
49
|
/**
|
|
49
|
-
* Gets the value and limits of the MidpointGain property. The return value
|
|
50
|
+
* Gets the value and limits of the MidpointGain property. The return value
|
|
51
|
+
* indicates whether the data was successfully retrieved.
|
|
50
52
|
* The return values of this method are
|
|
51
53
|
*
|
|
52
54
|
* - Gain of type ``number``
|
|
@@ -59,7 +61,8 @@ export declare class OcaPanBalance extends OcaActuator {
|
|
|
59
61
|
GetMidpointGain(): Promise<Arguments<[number, number, number]>>;
|
|
60
62
|
|
|
61
63
|
/**
|
|
62
|
-
* Sets the value of the MidpointGain property. The return value indicates
|
|
64
|
+
* Sets the value of the MidpointGain property. The return value indicates
|
|
65
|
+
* whether the property was successfully set.
|
|
63
66
|
*
|
|
64
67
|
* @method OcaPanBalance#SetMidpointGain
|
|
65
68
|
* @param {number} Gain
|
|
@@ -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
|
* Pan or Balance control.
|
|
@@ -27,7 +27,8 @@ export const OcaPanBalance = make_control_class(
|
|
|
27
27
|
);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Gets the value and limits of the Position property. The return value
|
|
30
|
+
* Gets the value and limits of the Position property. The return value
|
|
31
|
+
* indicates whether the data was successfully retrieved.
|
|
31
32
|
* The return values of this method are
|
|
32
33
|
*
|
|
33
34
|
* - Position of type ``number``
|
|
@@ -38,7 +39,8 @@ export const OcaPanBalance = make_control_class(
|
|
|
38
39
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
39
40
|
*/
|
|
40
41
|
/**
|
|
41
|
-
* Sets the value of the Position property. The return value indicates whether
|
|
42
|
+
* Sets the value of the Position property. The return value indicates whether
|
|
43
|
+
* the property was successfully set.
|
|
42
44
|
*
|
|
43
45
|
* @method OcaPanBalance#SetPosition
|
|
44
46
|
* @param {number} Position
|
|
@@ -46,7 +48,8 @@ export const OcaPanBalance = make_control_class(
|
|
|
46
48
|
* @returns {Promise<void>}
|
|
47
49
|
*/
|
|
48
50
|
/**
|
|
49
|
-
* Gets the value and limits of the MidpointGain property. The return value
|
|
51
|
+
* Gets the value and limits of the MidpointGain property. The return value
|
|
52
|
+
* indicates whether the data was successfully retrieved.
|
|
50
53
|
* The return values of this method are
|
|
51
54
|
*
|
|
52
55
|
* - Gain of type ``number``
|
|
@@ -57,7 +60,8 @@ export const OcaPanBalance = make_control_class(
|
|
|
57
60
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
58
61
|
*/
|
|
59
62
|
/**
|
|
60
|
-
* Sets the value of the MidpointGain property. The return value indicates
|
|
63
|
+
* Sets the value of the MidpointGain property. The return value indicates
|
|
64
|
+
* whether the property was successfully set.
|
|
61
65
|
*
|
|
62
66
|
* @method OcaPanBalance#SetMidpointGain
|
|
63
67
|
* @param {number} Gain
|
|
@@ -65,18 +69,17 @@ export const OcaPanBalance = make_control_class(
|
|
|
65
69
|
* @returns {Promise<void>}
|
|
66
70
|
*/
|
|
67
71
|
/**
|
|
68
|
-
* This event is emitted when the property Position changes in the remote object.
|
|
72
|
+
* This event is emitted when the property ``Position`` changes in the remote object.
|
|
69
73
|
* The property ``Position`` is described in the AES70 standard as follows.
|
|
70
|
-
* Pan position. Range = -1.0 to +1.0. -1.0 is 100% left, +1.0 is 100%
|
|
71
|
-
* right.
|
|
74
|
+
* Pan position. Range = -1.0 to +1.0. -1.0 is 100% left, +1.0 is 100% right.
|
|
72
75
|
*
|
|
73
76
|
* @member {PropertyEvent<number>} OcaPanBalance#OnPositionChanged
|
|
74
77
|
*/
|
|
75
78
|
/**
|
|
76
|
-
* This event is emitted when the property MidpointGain changes in the remote object.
|
|
79
|
+
* This event is emitted when the property ``MidpointGain`` changes in the remote object.
|
|
77
80
|
* The property ``MidpointGain`` is described in the AES70 standard as follows.
|
|
78
|
-
* Midpoint gain. Normally, max=0dB, min=-6dB. May be readonly for
|
|
79
|
-
*
|
|
81
|
+
* Midpoint gain. Normally, max=0dB, min=-6dB. May be readonly for pan/balance
|
|
82
|
+
* objects with fixed midpoint gains.
|
|
80
83
|
*
|
|
81
84
|
* @member {PropertyEvent<number>} OcaPanBalance#OnMidpointGainChanged
|
|
82
85
|
*/
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { OcaPositionCoordinateSystem } from '../../types/OcaPositionCoordinateSystem';
|
|
2
|
+
import {
|
|
3
|
+
IOcaPositionDescriptor,
|
|
4
|
+
OcaPositionDescriptor,
|
|
5
|
+
} from '../../types/OcaPositionDescriptor';
|
|
6
|
+
import { OcaPositionDescriptorFieldFlags } from '../../types/OcaPositionDescriptorFieldFlags';
|
|
3
7
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
8
|
import { PropertyEvent } from '../property_event';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { OcaPositionDescriptor } from '../../types/OcaPositionDescriptor';
|
|
9
|
+
import { RemoteDevice } from '../remote_device';
|
|
10
|
+
import { OcaAgent } from './OcaAgent';
|
|
9
11
|
|
|
10
12
|
/**
|
|
11
|
-
* Physical position of device or an element of it. AES70 supports a variety of
|
|
13
|
+
* Physical position of device or an element of it. AES70 supports a variety of
|
|
14
|
+
* positional coordinate systems. For details, see AES70-1, section 5.5.9.
|
|
12
15
|
* @extends OcaAgent
|
|
13
16
|
* @class OcaPhysicalPosition
|
|
14
17
|
*/
|
|
@@ -21,7 +24,8 @@ export declare class OcaPhysicalPosition extends OcaAgent {
|
|
|
21
24
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
|
-
* Retrieves value of property
|
|
27
|
+
* Retrieves value of property **CoordinateSystem**. Result indicates whether
|
|
28
|
+
* retrieval was successful.
|
|
25
29
|
*
|
|
26
30
|
* @method OcaPhysicalPosition#GetCoordinateSystem
|
|
27
31
|
* @returns {Promise<OcaPositionCoordinateSystem>}
|
|
@@ -30,21 +34,23 @@ export declare class OcaPhysicalPosition extends OcaAgent {
|
|
|
30
34
|
GetCoordinateSystem(): Promise<OcaPositionCoordinateSystem>;
|
|
31
35
|
|
|
32
36
|
/**
|
|
33
|
-
* Retrieves value of property
|
|
37
|
+
* Retrieves value of property **PositionDescriptorFieldFlags**. Result
|
|
38
|
+
* indicates whether retrieval was successful.
|
|
34
39
|
*
|
|
35
40
|
* @method OcaPhysicalPosition#GetPositionDescriptorFieldFlags
|
|
36
|
-
* @returns {Promise<
|
|
37
|
-
* A promise which resolves to a single value of type
|
|
41
|
+
* @returns {Promise<OcaPositionDescriptorFieldFlags>}
|
|
42
|
+
* A promise which resolves to a single value of type :class:`OcaPositionDescriptorFieldFlags`.
|
|
38
43
|
*/
|
|
39
|
-
GetPositionDescriptorFieldFlags(): Promise<
|
|
44
|
+
GetPositionDescriptorFieldFlags(): Promise<OcaPositionDescriptorFieldFlags>;
|
|
40
45
|
|
|
41
46
|
/**
|
|
42
|
-
* Retrieves value of property
|
|
47
|
+
* Retrieves value of property **PositioinDescriptor**. Result indicates
|
|
48
|
+
* whether retrieval was successful.
|
|
43
49
|
* The return values of this method are
|
|
44
50
|
*
|
|
45
|
-
* - PositionDescriptor of type
|
|
46
|
-
* - minPositionDescriptor of type
|
|
47
|
-
* - maxPositionDescriptor of type
|
|
51
|
+
* - PositionDescriptor of type ``IOcaPositionDescriptor``
|
|
52
|
+
* - minPositionDescriptor of type ``IOcaPositionDescriptor``
|
|
53
|
+
* - maxPositionDescriptor of type ``IOcaPositionDescriptor``
|
|
48
54
|
*
|
|
49
55
|
* @method OcaPhysicalPosition#GetPositionDescriptor
|
|
50
56
|
* @returns {Promise<Arguments<OcaPositionDescriptor,OcaPositionDescriptor,OcaPositionDescriptor>>}
|
|
@@ -56,10 +62,17 @@ export declare class OcaPhysicalPosition extends OcaAgent {
|
|
|
56
62
|
>;
|
|
57
63
|
|
|
58
64
|
/**
|
|
59
|
-
* Sets value of property
|
|
65
|
+
* Sets value of property **PositionDescriptor**. Result indicates whether
|
|
66
|
+
* setting was successful. The **ParameterError** status is returned if: (a)
|
|
67
|
+
* the **FieldFlags** field of the given **PositionDescriptor** value differs
|
|
68
|
+
* from the object's basic position descriptor as given in its
|
|
69
|
+
* **PositionDescriptorFieldFlags** property, or (b) the given
|
|
70
|
+
* **CoordinateSystem** value conflicts with the object's basic coordinate
|
|
71
|
+
* system as given in its **CoordinateSystem** property. This is an optional
|
|
72
|
+
* method, not implemented for read-only position objects.
|
|
60
73
|
*
|
|
61
74
|
* @method OcaPhysicalPosition#SetPositionDescriptor
|
|
62
|
-
* @param {
|
|
75
|
+
* @param {IOcaPositionDescriptor} PositionDescriptor
|
|
63
76
|
*
|
|
64
77
|
* @returns {Promise<void>}
|
|
65
78
|
*/
|