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,6 +1,6 @@
|
|
|
1
|
+
import { OcaUint64 } from '../../OCP1/OcaUint64.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaBasicActuator } from './OcaBasicActuator.js';
|
|
3
|
-
import { OcaUint64 } from '../../OCP1/OcaUint64.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Basic Uint64 actuator.
|
|
@@ -22,7 +22,8 @@ export const OcaUint64Actuator = make_control_class(
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the value and limits of the Gain property. The return value indicates
|
|
25
|
+
* Gets the value and limits of the Gain property. The return value indicates
|
|
26
|
+
* whether the data was successfully retrieved.
|
|
26
27
|
* The return values of this method are
|
|
27
28
|
*
|
|
28
29
|
* - Setting of type ``number|BigInt``
|
|
@@ -33,7 +34,8 @@ export const OcaUint64Actuator = make_control_class(
|
|
|
33
34
|
* @returns {Promise<Arguments<number|BigInt,number|BigInt,number|BigInt>>}
|
|
34
35
|
*/
|
|
35
36
|
/**
|
|
36
|
-
* Sets the value of the Level property. The return value indicates whether the
|
|
37
|
+
* Sets the value of the Level property. The return value indicates whether the
|
|
38
|
+
* property was successfully set.
|
|
37
39
|
*
|
|
38
40
|
* @method OcaUint64Actuator#SetSetting
|
|
39
41
|
* @param {number|BigInt} Setting
|
|
@@ -41,7 +43,7 @@ export const OcaUint64Actuator = make_control_class(
|
|
|
41
43
|
* @returns {Promise<void>}
|
|
42
44
|
*/
|
|
43
45
|
/**
|
|
44
|
-
* This event is emitted when the property Setting changes in the remote object.
|
|
46
|
+
* This event is emitted when the property ``Setting`` changes in the remote object.
|
|
45
47
|
* The property ``Setting`` is described in the AES70 standard as follows.
|
|
46
48
|
* Uint64 setting.
|
|
47
49
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaBasicSensor } from './OcaBasicSensor';
|
|
3
1
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
2
|
import { PropertyEvent } from '../property_event';
|
|
3
|
+
import { RemoteDevice } from '../remote_device';
|
|
4
|
+
import { OcaBasicSensor } from './OcaBasicSensor';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Basic Uint64 sensor.
|
|
@@ -18,7 +17,8 @@ export declare class OcaUint64Sensor extends OcaBasicSensor {
|
|
|
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|BigInt``
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { OcaUint64 } from '../../OCP1/OcaUint64.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaBasicSensor } from './OcaBasicSensor.js';
|
|
3
|
-
import { OcaUint64 } from '../../OCP1/OcaUint64.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Basic Uint64 sensor.
|
|
@@ -19,7 +19,8 @@ export const OcaUint64Sensor = 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|BigInt``
|
|
@@ -30,7 +31,7 @@ export const OcaUint64Sensor = make_control_class(
|
|
|
30
31
|
* @returns {Promise<Arguments<number|BigInt,number|BigInt,number|BigInt>>}
|
|
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
|
* Uint64 reading.
|
|
36
37
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaBasicActuator } from './OcaBasicActuator';
|
|
3
1
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
2
|
import { PropertyEvent } from '../property_event';
|
|
3
|
+
import { RemoteDevice } from '../remote_device';
|
|
4
|
+
import { OcaBasicActuator } from './OcaBasicActuator';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Basic uint8 actuator.
|
|
@@ -18,7 +17,8 @@ export declare class OcaUint8Actuator extends OcaBasicActuator {
|
|
|
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 **Setting** 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
|
* - Setting of type ``number``
|
|
@@ -31,7 +31,8 @@ export declare class OcaUint8Actuator extends OcaBasicActuator {
|
|
|
31
31
|
GetSetting(): Promise<Arguments<[number, number, number]>>;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Sets the
|
|
34
|
+
* Sets the **Setting** property. The return value indicates whether the
|
|
35
|
+
* property was successfully set.
|
|
35
36
|
*
|
|
36
37
|
* @method OcaUint8Actuator#SetSetting
|
|
37
38
|
* @param {number} Setting
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { OcaUint8 } from '../../OCP1/OcaUint8.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaBasicActuator } from './OcaBasicActuator.js';
|
|
3
|
-
import { OcaUint8 } from '../../OCP1/OcaUint8.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Basic uint8 actuator.
|
|
@@ -22,7 +22,8 @@ export const OcaUint8Actuator = make_control_class(
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the value and limits of the
|
|
25
|
+
* Gets the value and limits of the **Setting** property. The return value
|
|
26
|
+
* indicates whether the data was successfully retrieved.
|
|
26
27
|
* The return values of this method are
|
|
27
28
|
*
|
|
28
29
|
* - Setting of type ``number``
|
|
@@ -33,7 +34,8 @@ export const OcaUint8Actuator = make_control_class(
|
|
|
33
34
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
34
35
|
*/
|
|
35
36
|
/**
|
|
36
|
-
* Sets the
|
|
37
|
+
* Sets the **Setting** property. The return value indicates whether the
|
|
38
|
+
* property was successfully set.
|
|
37
39
|
*
|
|
38
40
|
* @method OcaUint8Actuator#SetSetting
|
|
39
41
|
* @param {number} Setting
|
|
@@ -41,7 +43,7 @@ export const OcaUint8Actuator = make_control_class(
|
|
|
41
43
|
* @returns {Promise<void>}
|
|
42
44
|
*/
|
|
43
45
|
/**
|
|
44
|
-
* This event is emitted when the property Setting changes in the remote object.
|
|
46
|
+
* This event is emitted when the property ``Setting`` changes in the remote object.
|
|
45
47
|
* The property ``Setting`` is described in the AES70 standard as follows.
|
|
46
48
|
* Uint8 setting.
|
|
47
49
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaBasicSensor } from './OcaBasicSensor';
|
|
3
1
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
2
|
import { PropertyEvent } from '../property_event';
|
|
3
|
+
import { RemoteDevice } from '../remote_device';
|
|
4
|
+
import { OcaBasicSensor } from './OcaBasicSensor';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Basic uint8 sensor.
|
|
@@ -18,7 +17,8 @@ export declare class OcaUint8Sensor extends OcaBasicSensor {
|
|
|
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 { OcaUint8 } from '../../OCP1/OcaUint8.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaBasicSensor } from './OcaBasicSensor.js';
|
|
3
|
-
import { OcaUint8 } from '../../OCP1/OcaUint8.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Basic uint8 sensor.
|
|
@@ -19,7 +19,8 @@ export const OcaUint8Sensor = 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 OcaUint8Sensor = 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
|
* Uint8 reading.
|
|
36
37
|
*
|
|
@@ -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 voltage sensor.
|
|
@@ -18,7 +17,8 @@ export declare class OcaVoltageSensor 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 voltage sensor.
|
|
@@ -19,7 +19,8 @@ export const OcaVoltageSensor = 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 OcaVoltageSensor = 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
|
* Voltage value (volts).
|
|
36
37
|
*
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { OcaPort } from '../../types/OcaPort';
|
|
2
|
+
import { IOcaPortID, OcaPortID } from '../../types/OcaPortID';
|
|
3
|
+
import { IOcaPortMode } from '../../types/OcaPortMode';
|
|
3
4
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
5
|
import { PropertyEvent } from '../property_event';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { OcaPort } from '../../types/OcaPort';
|
|
9
|
-
import { OcaPortID } from '../../types/OcaPortID';
|
|
6
|
+
import { RemoteDevice } from '../remote_device';
|
|
7
|
+
import { OcaRoot } from './OcaRoot';
|
|
10
8
|
|
|
11
9
|
/**
|
|
12
|
-
* Abstract base class for classes that represent the device's application and
|
|
10
|
+
* Abstract base class for classes that represent the device's application and
|
|
11
|
+
* support functions.
|
|
13
12
|
* @extends OcaRoot
|
|
14
13
|
* @class OcaWorker
|
|
15
14
|
*/
|
|
@@ -42,7 +41,8 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
42
41
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
43
42
|
|
|
44
43
|
/**
|
|
45
|
-
* Gets the value of the Enabled property. The return value indicates whether
|
|
44
|
+
* Gets the value of the Enabled property. The return value indicates whether
|
|
45
|
+
* the property was successfully retrieved.
|
|
46
46
|
*
|
|
47
47
|
* @method OcaWorker#GetEnabled
|
|
48
48
|
* @returns {Promise<boolean>}
|
|
@@ -51,7 +51,8 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
51
51
|
GetEnabled(): Promise<boolean>;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* Sets the value of the Enabled property. The return value indicates whether
|
|
54
|
+
* Sets the value of the Enabled property. The return value indicates whether
|
|
55
|
+
* the property was successfully set.
|
|
55
56
|
*
|
|
56
57
|
* @method OcaWorker#SetEnabled
|
|
57
58
|
* @param {boolean} enabled
|
|
@@ -61,12 +62,12 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
61
62
|
SetEnabled(enabled: boolean): Promise<void>;
|
|
62
63
|
|
|
63
64
|
/**
|
|
64
|
-
* Adds an input or output port.. The return value indicates whether the port
|
|
65
|
+
* Adds an input or output port.. The return value indicates whether the port
|
|
66
|
+
* was successfully added.
|
|
65
67
|
*
|
|
66
68
|
* @method OcaWorker#AddPort
|
|
67
69
|
* @param {string} Label
|
|
68
|
-
*
|
|
69
|
-
* @param {OcaPortMode} Mode
|
|
70
|
+
* @param {IOcaPortMode} Mode
|
|
70
71
|
*
|
|
71
72
|
* @returns {Promise<OcaPortID>}
|
|
72
73
|
* A promise which resolves to a single value of type :class:`OcaPortID`.
|
|
@@ -74,29 +75,32 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
74
75
|
AddPort(Label: string, Mode: IOcaPortMode): Promise<OcaPortID>;
|
|
75
76
|
|
|
76
77
|
/**
|
|
77
|
-
* Deletes an input or output port.. The return value indicates whether the
|
|
78
|
+
* Deletes an input or output port.. The return value indicates whether the
|
|
79
|
+
* port was successfully deleted.
|
|
78
80
|
*
|
|
79
81
|
* @method OcaWorker#DeletePort
|
|
80
|
-
* @param {
|
|
82
|
+
* @param {IOcaPortID} ID
|
|
81
83
|
*
|
|
82
84
|
* @returns {Promise<void>}
|
|
83
85
|
*/
|
|
84
86
|
DeletePort(ID: IOcaPortID): Promise<void>;
|
|
85
87
|
|
|
86
88
|
/**
|
|
87
|
-
* Gets the list of ports owned by the Worker object. The return value
|
|
89
|
+
* Gets the list of ports owned by the Worker object. The return value
|
|
90
|
+
* indicates whether the list was successfully retrieved.
|
|
88
91
|
*
|
|
89
92
|
* @method OcaWorker#GetPorts
|
|
90
93
|
* @returns {Promise<OcaPort[]>}
|
|
91
|
-
* A promise which resolves to a single value of type
|
|
94
|
+
* A promise which resolves to a single value of type :class:`OcaPort[]`.
|
|
92
95
|
*/
|
|
93
96
|
GetPorts(): Promise<OcaPort[]>;
|
|
94
97
|
|
|
95
98
|
/**
|
|
96
|
-
* Gets the name of the designated port. The return value indicates whether
|
|
99
|
+
* Gets the name of the designated port. The return value indicates whether
|
|
100
|
+
* the name was successfully retrieved.
|
|
97
101
|
*
|
|
98
102
|
* @method OcaWorker#GetPortName
|
|
99
|
-
* @param {
|
|
103
|
+
* @param {IOcaPortID} PortID
|
|
100
104
|
*
|
|
101
105
|
* @returns {Promise<string>}
|
|
102
106
|
* A promise which resolves to a single value of type ``string``.
|
|
@@ -104,11 +108,11 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
104
108
|
GetPortName(PortID: IOcaPortID): Promise<string>;
|
|
105
109
|
|
|
106
110
|
/**
|
|
107
|
-
* Sets the name of the designated port. The return value indicates whether
|
|
111
|
+
* Sets the name of the designated port. The return value indicates whether
|
|
112
|
+
* the name was successfully set.
|
|
108
113
|
*
|
|
109
114
|
* @method OcaWorker#SetPortName
|
|
110
|
-
* @param {
|
|
111
|
-
*
|
|
115
|
+
* @param {IOcaPortID} PortID
|
|
112
116
|
* @param {string} Name
|
|
113
117
|
*
|
|
114
118
|
* @returns {Promise<void>}
|
|
@@ -116,7 +120,8 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
116
120
|
SetPortName(PortID: IOcaPortID, Name: string): Promise<void>;
|
|
117
121
|
|
|
118
122
|
/**
|
|
119
|
-
* Gets the value of the Label property. The return value indicates whether
|
|
123
|
+
* Gets the value of the Label property. The return value indicates whether
|
|
124
|
+
* the property was successfully retrieved.
|
|
120
125
|
*
|
|
121
126
|
* @method OcaWorker#GetLabel
|
|
122
127
|
* @returns {Promise<string>}
|
|
@@ -125,7 +130,8 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
125
130
|
GetLabel(): Promise<string>;
|
|
126
131
|
|
|
127
132
|
/**
|
|
128
|
-
* Sets the value of the Label property. The return value indicates whether
|
|
133
|
+
* Sets the value of the Label property. The return value indicates whether
|
|
134
|
+
* the property was successfully set.
|
|
129
135
|
*
|
|
130
136
|
* @method OcaWorker#SetLabel
|
|
131
137
|
* @param {string} label
|
|
@@ -135,7 +141,8 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
135
141
|
SetLabel(label: string): Promise<void>;
|
|
136
142
|
|
|
137
143
|
/**
|
|
138
|
-
* Gets the value of the Owner property. The return value indicates whether
|
|
144
|
+
* Gets the value of the Owner property. The return value indicates whether
|
|
145
|
+
* the property was successfully retrieved.
|
|
139
146
|
*
|
|
140
147
|
* @method OcaWorker#GetOwner
|
|
141
148
|
* @returns {Promise<number>}
|
|
@@ -144,7 +151,8 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
144
151
|
GetOwner(): Promise<number>;
|
|
145
152
|
|
|
146
153
|
/**
|
|
147
|
-
* Gets the value of the Latency property. The return value indicates whether
|
|
154
|
+
* Gets the value of the Latency property. The return value indicates whether
|
|
155
|
+
* the property was successfully retrieved.
|
|
148
156
|
*
|
|
149
157
|
* @method OcaWorker#GetLatency
|
|
150
158
|
* @returns {Promise<number>}
|
|
@@ -153,7 +161,8 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
153
161
|
GetLatency(): Promise<number>;
|
|
154
162
|
|
|
155
163
|
/**
|
|
156
|
-
* Sets the value of the Latency property. The return value indicates whether
|
|
164
|
+
* Sets the value of the Latency property. The return value indicates whether
|
|
165
|
+
* the property was successfully set.
|
|
157
166
|
*
|
|
158
167
|
* @method OcaWorker#SetLatency
|
|
159
168
|
* @param {number} latency
|
|
@@ -163,7 +172,8 @@ export declare class OcaWorker extends OcaRoot {
|
|
|
163
172
|
SetLatency(latency: number): Promise<void>;
|
|
164
173
|
|
|
165
174
|
/**
|
|
166
|
-
* Returns path from the given object down to root. The return value indicates
|
|
175
|
+
* Returns path from the given object down to root. The return value indicates
|
|
176
|
+
* whether the operation succeeded. Added in version 2.
|
|
167
177
|
* The return values of this method are
|
|
168
178
|
*
|
|
169
179
|
* - NamePath of type ``string[]``
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaRoot } from './OcaRoot.js';
|
|
3
1
|
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
4
2
|
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
5
3
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
@@ -8,9 +6,12 @@ import { OcaPortID } from '../../OCP1/OcaPortID.js';
|
|
|
8
6
|
import { OcaPortMode } from '../../OCP1/OcaPortMode.js';
|
|
9
7
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
10
8
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
9
|
+
import { make_control_class } from '../make_control_class.js';
|
|
10
|
+
import { OcaRoot } from './OcaRoot.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
|
-
* Abstract base class for classes that represent the device's application and
|
|
13
|
+
* Abstract base class for classes that represent the device's application and
|
|
14
|
+
* support functions.
|
|
14
15
|
* @extends OcaRoot
|
|
15
16
|
* @class OcaWorker
|
|
16
17
|
*/
|
|
@@ -46,14 +47,16 @@ export const OcaWorker = make_control_class(
|
|
|
46
47
|
);
|
|
47
48
|
|
|
48
49
|
/**
|
|
49
|
-
* Gets the value of the Enabled property. The return value indicates whether
|
|
50
|
+
* Gets the value of the Enabled property. The return value indicates whether
|
|
51
|
+
* the property was successfully retrieved.
|
|
50
52
|
*
|
|
51
53
|
* @method OcaWorker#GetEnabled
|
|
52
54
|
* @returns {Promise<boolean>}
|
|
53
55
|
* A promise which resolves to a single value of type ``boolean``.
|
|
54
56
|
*/
|
|
55
57
|
/**
|
|
56
|
-
* Sets the value of the Enabled property. The return value indicates whether
|
|
58
|
+
* Sets the value of the Enabled property. The return value indicates whether
|
|
59
|
+
* the property was successfully set.
|
|
57
60
|
*
|
|
58
61
|
* @method OcaWorker#SetEnabled
|
|
59
62
|
* @param {boolean} enabled
|
|
@@ -61,59 +64,64 @@ export const OcaWorker = make_control_class(
|
|
|
61
64
|
* @returns {Promise<void>}
|
|
62
65
|
*/
|
|
63
66
|
/**
|
|
64
|
-
* Adds an input or output port.. The return value indicates whether the port
|
|
67
|
+
* Adds an input or output port.. The return value indicates whether the port
|
|
68
|
+
* was successfully added.
|
|
65
69
|
*
|
|
66
70
|
* @method OcaWorker#AddPort
|
|
67
71
|
* @param {string} Label
|
|
68
|
-
*
|
|
69
|
-
* @param {OcaPortMode} Mode
|
|
72
|
+
* @param {IOcaPortMode} Mode
|
|
70
73
|
*
|
|
71
74
|
* @returns {Promise<OcaPortID>}
|
|
72
75
|
* A promise which resolves to a single value of type :class:`OcaPortID`.
|
|
73
76
|
*/
|
|
74
77
|
/**
|
|
75
|
-
* Deletes an input or output port.. The return value indicates whether the port
|
|
78
|
+
* Deletes an input or output port.. The return value indicates whether the port
|
|
79
|
+
* was successfully deleted.
|
|
76
80
|
*
|
|
77
81
|
* @method OcaWorker#DeletePort
|
|
78
|
-
* @param {
|
|
82
|
+
* @param {IOcaPortID} ID
|
|
79
83
|
*
|
|
80
84
|
* @returns {Promise<void>}
|
|
81
85
|
*/
|
|
82
86
|
/**
|
|
83
|
-
* Gets the list of ports owned by the Worker object. The return value indicates
|
|
87
|
+
* Gets the list of ports owned by the Worker object. The return value indicates
|
|
88
|
+
* whether the list was successfully retrieved.
|
|
84
89
|
*
|
|
85
90
|
* @method OcaWorker#GetPorts
|
|
86
91
|
* @returns {Promise<OcaPort[]>}
|
|
87
|
-
* A promise which resolves to a single value of type
|
|
92
|
+
* A promise which resolves to a single value of type :class:`OcaPort[]`.
|
|
88
93
|
*/
|
|
89
94
|
/**
|
|
90
|
-
* Gets the name of the designated port. The return value indicates whether the
|
|
95
|
+
* Gets the name of the designated port. The return value indicates whether the
|
|
96
|
+
* name was successfully retrieved.
|
|
91
97
|
*
|
|
92
98
|
* @method OcaWorker#GetPortName
|
|
93
|
-
* @param {
|
|
99
|
+
* @param {IOcaPortID} PortID
|
|
94
100
|
*
|
|
95
101
|
* @returns {Promise<string>}
|
|
96
102
|
* A promise which resolves to a single value of type ``string``.
|
|
97
103
|
*/
|
|
98
104
|
/**
|
|
99
|
-
* Sets the name of the designated port. The return value indicates whether the
|
|
105
|
+
* Sets the name of the designated port. The return value indicates whether the
|
|
106
|
+
* name was successfully set.
|
|
100
107
|
*
|
|
101
108
|
* @method OcaWorker#SetPortName
|
|
102
|
-
* @param {
|
|
103
|
-
*
|
|
109
|
+
* @param {IOcaPortID} PortID
|
|
104
110
|
* @param {string} Name
|
|
105
111
|
*
|
|
106
112
|
* @returns {Promise<void>}
|
|
107
113
|
*/
|
|
108
114
|
/**
|
|
109
|
-
* Gets the value of the Label property. The return value indicates whether the
|
|
115
|
+
* Gets the value of the Label property. The return value indicates whether the
|
|
116
|
+
* property was successfully retrieved.
|
|
110
117
|
*
|
|
111
118
|
* @method OcaWorker#GetLabel
|
|
112
119
|
* @returns {Promise<string>}
|
|
113
120
|
* A promise which resolves to a single value of type ``string``.
|
|
114
121
|
*/
|
|
115
122
|
/**
|
|
116
|
-
* Sets the value of the Label property. The return value indicates whether the
|
|
123
|
+
* Sets the value of the Label property. The return value indicates whether the
|
|
124
|
+
* property was successfully set.
|
|
117
125
|
*
|
|
118
126
|
* @method OcaWorker#SetLabel
|
|
119
127
|
* @param {string} label
|
|
@@ -121,21 +129,24 @@ export const OcaWorker = make_control_class(
|
|
|
121
129
|
* @returns {Promise<void>}
|
|
122
130
|
*/
|
|
123
131
|
/**
|
|
124
|
-
* Gets the value of the Owner property. The return value indicates whether the
|
|
132
|
+
* Gets the value of the Owner property. The return value indicates whether the
|
|
133
|
+
* property was successfully retrieved.
|
|
125
134
|
*
|
|
126
135
|
* @method OcaWorker#GetOwner
|
|
127
136
|
* @returns {Promise<number>}
|
|
128
137
|
* A promise which resolves to a single value of type ``number``.
|
|
129
138
|
*/
|
|
130
139
|
/**
|
|
131
|
-
* Gets the value of the Latency property. The return value indicates whether
|
|
140
|
+
* Gets the value of the Latency property. The return value indicates whether
|
|
141
|
+
* the property was successfully retrieved.
|
|
132
142
|
*
|
|
133
143
|
* @method OcaWorker#GetLatency
|
|
134
144
|
* @returns {Promise<number>}
|
|
135
145
|
* A promise which resolves to a single value of type ``number``.
|
|
136
146
|
*/
|
|
137
147
|
/**
|
|
138
|
-
* Sets the value of the Latency property. The return value indicates whether
|
|
148
|
+
* Sets the value of the Latency property. The return value indicates whether
|
|
149
|
+
* the property was successfully set.
|
|
139
150
|
*
|
|
140
151
|
* @method OcaWorker#SetLatency
|
|
141
152
|
* @param {number} latency
|
|
@@ -143,7 +154,8 @@ export const OcaWorker = make_control_class(
|
|
|
143
154
|
* @returns {Promise<void>}
|
|
144
155
|
*/
|
|
145
156
|
/**
|
|
146
|
-
* Returns path from the given object down to root. The return value indicates
|
|
157
|
+
* Returns path from the given object down to root. The return value indicates
|
|
158
|
+
* whether the operation succeeded. Added in version 2.
|
|
147
159
|
* The return values of this method are
|
|
148
160
|
*
|
|
149
161
|
* - NamePath of type ``string[]``
|
|
@@ -153,46 +165,44 @@ export const OcaWorker = make_control_class(
|
|
|
153
165
|
* @returns {Promise<Arguments<string[],number[]>>}
|
|
154
166
|
*/
|
|
155
167
|
/**
|
|
156
|
-
* This event is emitted when the property Enabled changes in the remote object.
|
|
168
|
+
* This event is emitted when the property ``Enabled`` changes in the remote object.
|
|
157
169
|
* The property ``Enabled`` is described in the AES70 standard as follows.
|
|
158
|
-
* Read/write property that indicates whether the worker object is
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
170
|
+
* Read/write property that indicates whether the worker object is enabled in
|
|
171
|
+
* the device. If an object is disabled it cannot be used by the application.
|
|
172
|
+
* Note that the behavior of a disabled object depends on the object itself
|
|
173
|
+
* (e.g. a disabled chime generator is silent, a disabled equalizer is flat,
|
|
174
|
+
* etc.).
|
|
163
175
|
*
|
|
164
176
|
* @member {PropertyEvent<boolean>} OcaWorker#OnEnabledChanged
|
|
165
177
|
*/
|
|
166
178
|
/**
|
|
167
|
-
* This event is emitted when the property Ports changes in the remote object.
|
|
179
|
+
* This event is emitted when the property ``Ports`` changes in the remote object.
|
|
168
180
|
* The property ``Ports`` is described in the AES70 standard as follows.
|
|
169
|
-
* The list of (input and output) OCA ports the worker object has. Note
|
|
170
|
-
*
|
|
171
|
-
* empty).
|
|
181
|
+
* The list of (input and output) OCA ports the worker object has. Note that a
|
|
182
|
+
* worker object can have no ports (in which case the list is empty).
|
|
172
183
|
*
|
|
173
184
|
* @member {PropertyEvent<OcaPort[]>} OcaWorker#OnPortsChanged
|
|
174
185
|
*/
|
|
175
186
|
/**
|
|
176
|
-
* This event is emitted when the property Label changes in the remote object.
|
|
187
|
+
* This event is emitted when the property ``Label`` changes in the remote object.
|
|
177
188
|
* The property ``Label`` is described in the AES70 standard as follows.
|
|
178
189
|
* Specific label of the worker. Can be used to provide human readable
|
|
179
|
-
* information about the worker. The label can be get and set over the
|
|
180
|
-
* network.
|
|
190
|
+
* information about the worker. The label can be get and set over the network.
|
|
181
191
|
*
|
|
182
192
|
* @member {PropertyEvent<string>} OcaWorker#OnLabelChanged
|
|
183
193
|
*/
|
|
184
194
|
/**
|
|
185
|
-
* This event is emitted when the property Owner changes in the remote object.
|
|
195
|
+
* This event is emitted when the property ``Owner`` changes in the remote object.
|
|
186
196
|
* The property ``Owner`` is described in the AES70 standard as follows.
|
|
187
197
|
* Object number of block that contains this worker.
|
|
188
198
|
*
|
|
189
199
|
* @member {PropertyEvent<number>} OcaWorker#OnOwnerChanged
|
|
190
200
|
*/
|
|
191
201
|
/**
|
|
192
|
-
* This event is emitted when the property Latency changes in the remote object.
|
|
202
|
+
* This event is emitted when the property ``Latency`` changes in the remote object.
|
|
193
203
|
* The property ``Latency`` is described in the AES70 standard as follows.
|
|
194
|
-
* Processing latency of this object. Optional. Readonly or readwrite,
|
|
195
|
-
*
|
|
204
|
+
* Processing latency of this object. Optional. Readonly or readwrite, depending
|
|
205
|
+
* on implementation.
|
|
196
206
|
*
|
|
197
207
|
* @member {PropertyEvent<number>} OcaWorker#OnLatencyChanged
|
|
198
208
|
*/
|
|
@@ -11,15 +11,15 @@ function delay(n) {
|
|
|
11
11
|
|
|
12
12
|
async function waitForKeepalive(socket, options) {
|
|
13
13
|
const waiter = socket.receiveMessage().then((buffer) => {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
const pdus = [];
|
|
15
|
+
let pos = 0;
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
pos = decodeMessage(new DataView(buffer), 0, pdus);
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
if (pdus.length !== 1) throw new Error('Expected keepalive response.');
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
return true;
|
|
22
|
+
});
|
|
23
23
|
|
|
24
24
|
const msg = encodeMessage(new KeepAlive(1000));
|
|
25
25
|
const t = 5 * (options.retry_interval || 250);
|
|
@@ -97,7 +97,11 @@ export class AbstractUDPConnection extends ClientConnection {
|
|
|
97
97
|
* The connection.
|
|
98
98
|
*/
|
|
99
99
|
static async connect(udpApi, options) {
|
|
100
|
-
const socket = await udpApi.connect(
|
|
100
|
+
const socket = await udpApi.connect(
|
|
101
|
+
options.host,
|
|
102
|
+
options.port,
|
|
103
|
+
options.type
|
|
104
|
+
);
|
|
101
105
|
|
|
102
106
|
await waitForKeepalive(socket, options);
|
|
103
107
|
|