aes70 1.3.8 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Changelog +14 -1
- package/dist/AES70.es5.js +1 -1
- package/package.json +1 -1
- package/src/OCP1/OcaBlockMember.js +1 -1
- package/src/OCP1/OcaClassAuthorityID.js +1 -1
- package/src/OCP1/OcaClassIdentification.js +1 -1
- package/src/OCP1/OcaDBr.js +1 -1
- package/src/OCP1/OcaDelayValue.js +1 -1
- package/src/OCP1/OcaEvent.js +1 -1
- package/src/OCP1/OcaEventID.js +1 -1
- package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
- package/src/OCP1/OcaGrouperCitizen.js +1 -1
- package/src/OCP1/OcaGrouperEnrollment.js +1 -1
- package/src/OCP1/OcaGrouperGroup.js +1 -1
- package/src/OCP1/OcaGrouperStatusChangeEventData.js +1 -3
- package/src/OCP1/OcaImpedance.js +1 -1
- package/src/OCP1/OcaLibParamSetAssignment.js +1 -1
- package/src/OCP1/OcaLibVol.js +1 -1
- package/src/OCP1/OcaLibVolChangedEventData.js +1 -3
- package/src/OCP1/OcaLibVolData_ParamSet.js +1 -1
- package/src/OCP1/OcaLibVolIdentifier.js +1 -1
- package/src/OCP1/OcaLibVolMetadata.js +1 -1
- package/src/OCP1/OcaLibVolType.js +1 -1
- package/src/OCP1/OcaLibraryIdentifier.js +1 -1
- package/src/OCP1/OcaManagerDescriptor.js +1 -1
- package/src/OCP1/OcaMediaClockRate.js +1 -1
- package/src/OCP1/OcaMediaCoding.js +1 -1
- package/src/OCP1/OcaMediaConnection.js +1 -1
- package/src/OCP1/OcaMediaConnectorElement.js +2 -2
- package/src/OCP1/OcaMediaConnectorStatus.js +1 -1
- package/src/OCP1/OcaMediaConnectorStatusChangedEventData.js +1 -3
- package/src/OCP1/OcaMediaSinkConnector.js +1 -1
- package/src/OCP1/OcaMediaSinkConnectorChangedEventData.js +1 -3
- package/src/OCP1/OcaMediaSourceConnector.js +1 -1
- package/src/OCP1/OcaMediaSourceConnectorChangedEventData.js +1 -3
- package/src/OCP1/OcaMethod.js +1 -1
- package/src/OCP1/OcaMethodID.js +1 -1
- package/src/OCP1/OcaModelDescription.js +1 -1
- package/src/OCP1/OcaModelGUID.js +1 -1
- package/src/OCP1/OcaNetworkStatistics.js +1 -1
- package/src/OCP1/OcaNetworkSystemInterfaceDescriptor.js +1 -1
- package/src/OCP1/OcaNetworkSystemInterfaceID.js +1 -1
- package/src/OCP1/OcaOPath.js +1 -1
- package/src/OCP1/OcaObjectIdentification.js +1 -1
- package/src/OCP1/OcaObjectListEventData.js +1 -3
- package/src/OCP1/OcaObjectSearchResult.js +1 -1
- package/src/OCP1/OcaObservationEventData.js +1 -3
- package/src/OCP1/OcaObservationListEventData.js +1 -3
- package/src/OCP1/OcaParameterMask.js +3 -0
- package/src/OCP1/OcaPilotToneDetectorSpec.js +1 -1
- package/src/OCP1/OcaPort.js +1 -1
- package/src/OCP1/OcaPortID.js +1 -1
- package/src/OCP1/OcaPositionDescriptor.js +3 -3
- package/src/OCP1/OcaPositionDescriptorFieldFlags.js +3 -0
- package/src/OCP1/OcaProperty.js +1 -1
- package/src/OCP1/OcaPropertyDescriptor.js +1 -1
- package/src/OCP1/OcaPropertyID.js +1 -1
- package/src/OCP1/OcaProtoObjectIdentification.js +1 -1
- package/src/OCP1/OcaProtoPort.js +1 -1
- package/src/OCP1/OcaProtoPortID.js +1 -1
- package/src/OCP1/OcaProtoSignalPath.js +1 -1
- package/src/OCP1/OcaSignalPath.js +1 -1
- package/src/OCP1/OcaStream.js +1 -1
- package/src/OCP1/OcaStreamConnectorIdentification.js +1 -1
- package/src/OCP1/OcaTask.js +1 -1
- package/src/OCP1/OcaTaskStateChangedEventData.js +1 -1
- package/src/OCP1/OcaTaskStatus.js +1 -1
- package/src/OCP1/OcaTimePTP.js +1 -1
- package/src/OCP1/OcaTransferFunction.js +1 -1
- package/src/OCP1/OcaVersion.js +1 -1
- package/src/controller/ControlClasses/OcaActuator.d.ts +3 -1
- package/src/controller/ControlClasses/OcaActuator.js +3 -1
- package/src/controller/ControlClasses/OcaAgent.d.ts +10 -7
- package/src/controller/ControlClasses/OcaAgent.js +12 -8
- package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +35 -21
- package/src/controller/ControlClasses/OcaApplicationNetwork.js +43 -32
- package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +14 -8
- package/src/controller/ControlClasses/OcaAudioLevelSensor.js +13 -9
- package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +3 -2
- package/src/controller/ControlClasses/OcaAudioProcessingManager.js +3 -2
- package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +11 -8
- package/src/controller/ControlClasses/OcaBitstringActuator.js +13 -9
- package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +7 -5
- package/src/controller/ControlClasses/OcaBitstringSensor.js +9 -6
- package/src/controller/ControlClasses/OcaBlock.d.ts +88 -74
- package/src/controller/ControlClasses/OcaBlock.js +80 -63
- package/src/controller/ControlClasses/OcaBlockFactory.d.ts +73 -29
- package/src/controller/ControlClasses/OcaBlockFactory.js +69 -42
- package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +5 -4
- package/src/controller/ControlClasses/OcaBooleanActuator.js +6 -4
- package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +3 -3
- package/src/controller/ControlClasses/OcaBooleanSensor.js +4 -3
- package/src/controller/ControlClasses/OcaCodingManager.d.ts +10 -7
- package/src/controller/ControlClasses/OcaCodingManager.js +17 -13
- package/src/controller/ControlClasses/OcaControlNetwork.d.ts +4 -5
- package/src/controller/ControlClasses/OcaControlNetwork.js +5 -6
- package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaCurrentSensor.js +4 -3
- package/src/controller/ControlClasses/OcaDelay.d.ts +6 -5
- package/src/controller/ControlClasses/OcaDelay.js +6 -4
- package/src/controller/ControlClasses/OcaDelayExtended.d.ts +18 -15
- package/src/controller/ControlClasses/OcaDelayExtended.js +17 -12
- package/src/controller/ControlClasses/OcaDeviceManager.d.ts +56 -31
- package/src/controller/ControlClasses/OcaDeviceManager.js +75 -51
- package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +33 -16
- package/src/controller/ControlClasses/OcaDeviceTimeManager.js +36 -18
- package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +6 -3
- package/src/controller/ControlClasses/OcaDiagnosticManager.js +8 -5
- package/src/controller/ControlClasses/OcaDynamics.d.ts +89 -61
- package/src/controller/ControlClasses/OcaDynamics.js +101 -79
- package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +77 -30
- package/src/controller/ControlClasses/OcaDynamicsCurve.js +85 -37
- package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +30 -22
- package/src/controller/ControlClasses/OcaDynamicsDetector.js +36 -24
- package/src/controller/ControlClasses/OcaEventHandler.d.ts +8 -6
- package/src/controller/ControlClasses/OcaEventHandler.js +9 -6
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +13 -9
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +15 -12
- package/src/controller/ControlClasses/OcaFilterClassical.d.ts +43 -30
- package/src/controller/ControlClasses/OcaFilterClassical.js +40 -31
- package/src/controller/ControlClasses/OcaFilterFIR.d.ts +12 -8
- package/src/controller/ControlClasses/OcaFilterFIR.js +19 -14
- package/src/controller/ControlClasses/OcaFilterParametric.d.ts +34 -25
- package/src/controller/ControlClasses/OcaFilterParametric.js +39 -33
- package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +6 -6
- package/src/controller/ControlClasses/OcaFilterPolynomial.js +11 -10
- package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +71 -21
- package/src/controller/ControlClasses/OcaFirmwareManager.js +71 -22
- package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFloat32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFloat32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFloat64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFloat64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaFrequencyActuator.js +6 -4
- package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaFrequencySensor.js +4 -3
- package/src/controller/ControlClasses/OcaGain.d.ts +6 -5
- package/src/controller/ControlClasses/OcaGain.js +6 -4
- package/src/controller/ControlClasses/OcaGainSensor.d.ts +6 -5
- package/src/controller/ControlClasses/OcaGainSensor.js +6 -4
- package/src/controller/ControlClasses/OcaGrouper.d.ts +138 -58
- package/src/controller/ControlClasses/OcaGrouper.js +139 -61
- package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +9 -10
- package/src/controller/ControlClasses/OcaIdentificationActuator.js +10 -10
- package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +6 -4
- package/src/controller/ControlClasses/OcaIdentificationSensor.js +5 -3
- package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +8 -8
- package/src/controller/ControlClasses/OcaImpedanceSensor.js +7 -6
- package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt16Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt16Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaInt8Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaInt8Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaLevelSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaLevelSensor.js +4 -3
- package/src/controller/ControlClasses/OcaLibrary.d.ts +50 -25
- package/src/controller/ControlClasses/OcaLibrary.js +54 -26
- package/src/controller/ControlClasses/OcaLibraryManager.d.ts +22 -16
- package/src/controller/ControlClasses/OcaLibraryManager.js +22 -17
- package/src/controller/ControlClasses/OcaManager.d.ts +4 -1
- package/src/controller/ControlClasses/OcaManager.js +4 -1
- package/src/controller/ControlClasses/OcaMatrix.d.ts +69 -20
- package/src/controller/ControlClasses/OcaMatrix.js +86 -38
- package/src/controller/ControlClasses/OcaMediaClock.d.ts +33 -19
- package/src/controller/ControlClasses/OcaMediaClock.js +30 -19
- package/src/controller/ControlClasses/OcaMediaClock3.d.ts +37 -22
- package/src/controller/ControlClasses/OcaMediaClock3.js +39 -27
- package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +15 -9
- package/src/controller/ControlClasses/OcaMediaClockManager.js +28 -23
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +106 -74
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +121 -111
- package/src/controller/ControlClasses/OcaMute.d.ts +7 -7
- package/src/controller/ControlClasses/OcaMute.js +7 -5
- package/src/controller/ControlClasses/OcaNetwork.d.ts +38 -20
- package/src/controller/ControlClasses/OcaNetwork.js +58 -42
- package/src/controller/ControlClasses/OcaNetworkManager.d.ts +20 -9
- package/src/controller/ControlClasses/OcaNetworkManager.js +33 -23
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.d.ts +43 -19
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +67 -44
- package/src/controller/ControlClasses/OcaNumericObserver.d.ts +77 -38
- package/src/controller/ControlClasses/OcaNumericObserver.js +95 -59
- package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +96 -45
- package/src/controller/ControlClasses/OcaNumericObserverList.js +129 -80
- package/src/controller/ControlClasses/OcaPanBalance.d.ts +10 -7
- package/src/controller/ControlClasses/OcaPanBalance.js +14 -11
- package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +31 -18
- package/src/controller/ControlClasses/OcaPhysicalPosition.js +43 -18
- package/src/controller/ControlClasses/OcaPolarity.d.ts +10 -7
- package/src/controller/ControlClasses/OcaPolarity.js +7 -5
- package/src/controller/ControlClasses/OcaPowerManager.d.ts +20 -14
- package/src/controller/ControlClasses/OcaPowerManager.js +27 -21
- package/src/controller/ControlClasses/OcaPowerSupply.d.ts +24 -15
- package/src/controller/ControlClasses/OcaPowerSupply.js +31 -23
- package/src/controller/ControlClasses/OcaRamper.d.ts +55 -34
- package/src/controller/ControlClasses/OcaRamper.js +58 -37
- package/src/controller/ControlClasses/OcaRoot.d.ts +28 -14
- package/src/controller/ControlClasses/OcaRoot.js +32 -24
- package/src/controller/ControlClasses/OcaSecurityManager.d.ts +29 -13
- package/src/controller/ControlClasses/OcaSecurityManager.js +31 -14
- package/src/controller/ControlClasses/OcaSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSensor.js +6 -5
- package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +48 -38
- package/src/controller/ControlClasses/OcaSignalGenerator.js +57 -46
- package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -1
- package/src/controller/ControlClasses/OcaSignalInput.js +4 -1
- package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -1
- package/src/controller/ControlClasses/OcaSignalOutput.js +4 -1
- package/src/controller/ControlClasses/OcaStreamConnector.d.ts +59 -24
- package/src/controller/ControlClasses/OcaStreamConnector.js +80 -48
- package/src/controller/ControlClasses/OcaStreamNetwork.d.ts +100 -27
- package/src/controller/ControlClasses/OcaStreamNetwork.js +124 -54
- package/src/controller/ControlClasses/OcaStringActuator.d.ts +5 -4
- package/src/controller/ControlClasses/OcaStringActuator.js +7 -5
- package/src/controller/ControlClasses/OcaStringSensor.d.ts +7 -5
- package/src/controller/ControlClasses/OcaStringSensor.js +10 -7
- package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +73 -46
- package/src/controller/ControlClasses/OcaSubscriptionManager.js +78 -51
- package/src/controller/ControlClasses/OcaSummingPoint.d.ts +2 -1
- package/src/controller/ControlClasses/OcaSummingPoint.js +2 -1
- package/src/controller/ControlClasses/OcaSwitch.d.ts +23 -15
- package/src/controller/ControlClasses/OcaSwitch.js +31 -23
- package/src/controller/ControlClasses/OcaTaskManager.d.ts +47 -38
- package/src/controller/ControlClasses/OcaTaskManager.js +48 -37
- package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaTemperatureActuator.js +6 -4
- package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaTemperatureSensor.js +4 -3
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +4 -3
- package/src/controller/ControlClasses/OcaTimeSource.d.ts +38 -22
- package/src/controller/ControlClasses/OcaTimeSource.js +41 -27
- package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint16Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint16Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint32Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint32Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint64Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint64Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +6 -5
- package/src/controller/ControlClasses/OcaUint8Actuator.js +6 -4
- package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaUint8Sensor.js +4 -3
- package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +4 -4
- package/src/controller/ControlClasses/OcaVoltageSensor.js +4 -3
- package/src/controller/ControlClasses/OcaWorker.d.ts +38 -28
- package/src/controller/ControlClasses/OcaWorker.js +50 -40
- package/src/controller/abstract_udp_connection.js +11 -7
- package/src/controller/client_connection.d.ts +1 -1
- package/src/controller/node_udp.js +2 -3
- package/src/controller/property_event.js +1 -1
- package/src/types/OcaBlockMember.d.ts +1 -2
- package/src/types/OcaClassAuthorityID.d.ts +14 -3
- package/src/types/OcaClassAuthorityID.js +8 -2
- package/src/types/OcaClassIdentification.d.ts +4 -3
- package/src/types/OcaClassIdentification.js +2 -2
- package/src/types/OcaComponent.d.ts +3 -1
- package/src/types/OcaComponent.js +3 -1
- package/src/types/OcaDBr.d.ts +6 -4
- package/src/types/OcaDBr.js +3 -2
- package/src/types/OcaDelayValue.d.ts +1 -2
- package/src/types/OcaDeviceState.d.ts +4 -1
- package/src/types/OcaDeviceState.js +4 -1
- package/src/types/OcaDynamicsFunction.d.ts +2 -1
- package/src/types/OcaDynamicsFunction.js +2 -1
- package/src/types/OcaEvent.d.ts +3 -3
- package/src/types/OcaEvent.js +2 -1
- package/src/types/OcaEventID.d.ts +3 -1
- package/src/types/OcaEventID.js +3 -1
- package/src/types/OcaGlobalTypeIdentifier.d.ts +10 -4
- package/src/types/OcaGlobalTypeIdentifier.js +5 -2
- package/src/types/OcaGrouperCitizen.d.ts +7 -5
- package/src/types/OcaGrouperCitizen.js +4 -2
- package/src/types/OcaGrouperEnrollment.d.ts +8 -4
- package/src/types/OcaGrouperEnrollment.js +4 -2
- package/src/types/OcaGrouperGroup.d.ts +4 -2
- package/src/types/OcaGrouperGroup.js +2 -1
- package/src/types/OcaGrouperMode.d.ts +1 -1
- package/src/types/OcaGrouperMode.js +1 -1
- package/src/types/OcaGrouperStatusChangeEventData.d.ts +7 -19
- package/src/types/OcaGrouperStatusChangeEventData.js +5 -8
- package/src/types/OcaGrouperStatusChangeType.d.ts +2 -1
- package/src/types/OcaGrouperStatusChangeType.js +2 -1
- package/src/types/OcaLevelDetectionLaw.d.ts +2 -1
- package/src/types/OcaLevelDetectionLaw.js +2 -1
- package/src/types/OcaLibParamSetAssignment.d.ts +3 -3
- package/src/types/OcaLibParamSetAssignment.js +2 -1
- package/src/types/OcaLibVol.d.ts +3 -3
- package/src/types/OcaLibVol.js +3 -2
- package/src/types/OcaLibVolChangedEventData.d.ts +4 -21
- package/src/types/OcaLibVolChangedEventData.js +3 -7
- package/src/types/OcaLibVolData_ParamSet.d.ts +13 -3
- package/src/types/OcaLibVolData_ParamSet.js +11 -3
- package/src/types/OcaLibVolMetadata.d.ts +4 -5
- package/src/types/OcaLibVolMetadata.js +1 -1
- package/src/types/OcaLibVolType.d.ts +12 -4
- package/src/types/OcaLibVolType.js +6 -2
- package/src/types/OcaLibraryIdentifier.d.ts +3 -3
- package/src/types/OcaLibraryIdentifier.js +2 -1
- package/src/types/OcaManagerDefaultObjectNumbers.d.ts +58 -116
- package/src/types/OcaManagerDefaultObjectNumbers.js +2 -2
- package/src/types/OcaManagerDescriptor.d.ts +4 -0
- package/src/types/OcaManagerDescriptor.js +2 -0
- package/src/types/OcaMediaClockRate.d.ts +12 -6
- package/src/types/OcaMediaClockRate.js +6 -3
- package/src/types/OcaMediaCoding.d.ts +4 -2
- package/src/types/OcaMediaCoding.js +2 -1
- package/src/types/OcaMediaConnection.d.ts +21 -8
- package/src/types/OcaMediaConnection.js +18 -5
- package/src/types/OcaMediaConnectorStatus.d.ts +5 -4
- package/src/types/OcaMediaConnectorStatus.js +2 -1
- package/src/types/OcaMediaConnectorStatusChangedEventData.d.ts +2 -17
- package/src/types/OcaMediaConnectorStatusChangedEventData.js +1 -7
- package/src/types/OcaMediaSinkConnector.d.ts +43 -15
- package/src/types/OcaMediaSinkConnector.js +23 -7
- package/src/types/OcaMediaSinkConnectorChangedEventData.d.ts +20 -30
- package/src/types/OcaMediaSinkConnectorChangedEventData.js +8 -11
- package/src/types/OcaMediaSourceConnector.d.ts +33 -13
- package/src/types/OcaMediaSourceConnector.js +17 -7
- package/src/types/OcaMediaSourceConnectorChangedEventData.d.ts +20 -30
- package/src/types/OcaMediaSourceConnectorChangedEventData.js +8 -11
- package/src/types/OcaMethod.d.ts +8 -5
- package/src/types/OcaMethod.js +5 -2
- package/src/types/OcaMethodID.d.ts +3 -1
- package/src/types/OcaMethodID.js +3 -1
- package/src/types/OcaModelGUID.d.ts +4 -2
- package/src/types/OcaModelGUID.js +5 -4
- package/src/types/OcaNetworkMediaSourceOrSink.d.ts +2 -1
- package/src/types/OcaNetworkMediaSourceOrSink.js +2 -1
- package/src/types/OcaNetworkSystemInterfaceDescriptor.d.ts +2 -1
- package/src/types/OcaNetworkSystemInterfaceDescriptor.js +3 -2
- package/src/types/OcaNetworkSystemInterfaceID.d.ts +2 -1
- package/src/types/OcaNetworkSystemInterfaceID.js +3 -2
- package/src/types/OcaNotificationDeliveryMode.d.ts +2 -1
- package/src/types/OcaNotificationDeliveryMode.js +2 -1
- package/src/types/OcaOPath.d.ts +2 -1
- package/src/types/OcaOPath.js +2 -1
- package/src/types/OcaObjectIdentification.d.ts +3 -3
- package/src/types/OcaObjectIdentification.js +2 -1
- package/src/types/OcaObjectListEventData.d.ts +3 -16
- package/src/types/OcaObjectListEventData.js +4 -8
- package/src/types/OcaObjectSearchResult.d.ts +5 -3
- package/src/types/OcaObjectSearchResult.js +4 -1
- package/src/types/OcaObjectSearchResultFlags.d.ts +1 -1
- package/src/types/OcaObjectSearchResultFlags.js +1 -1
- package/src/types/OcaObservationEventData.d.ts +8 -16
- package/src/types/OcaObservationEventData.js +8 -7
- package/src/types/OcaObservationListEventData.d.ts +8 -16
- package/src/types/OcaObservationListEventData.js +9 -8
- package/src/types/OcaParameterMask.d.ts +13 -0
- package/src/types/OcaParameterMask.js +11 -0
- package/src/types/OcaPilotToneDetectorSpec.d.ts +1 -2
- package/src/types/OcaPort.d.ts +3 -3
- package/src/types/OcaPort.js +2 -1
- package/src/types/OcaPortID.d.ts +4 -3
- package/src/types/OcaPortID.js +3 -1
- package/src/types/OcaPositionCoordinateSystem.d.ts +2 -1
- package/src/types/OcaPositionCoordinateSystem.js +2 -1
- package/src/types/OcaPositionDescriptor.d.ts +21 -20
- package/src/types/OcaPositionDescriptor.js +12 -14
- package/src/types/OcaPositionDescriptorFieldFlags.d.ts +13 -0
- package/src/types/OcaPositionDescriptorFieldFlags.js +11 -0
- package/src/types/OcaPowerState.d.ts +2 -1
- package/src/types/OcaPowerState.js +2 -1
- package/src/types/OcaPresentationUnit.d.ts +8 -1
- package/src/types/OcaPresentationUnit.js +8 -1
- package/src/types/OcaProperty.d.ts +3 -3
- package/src/types/OcaProperty.js +2 -1
- package/src/types/OcaPropertyDescriptor.d.ts +9 -9
- package/src/types/OcaPropertyDescriptor.js +4 -3
- package/src/types/OcaPropertyID.d.ts +3 -1
- package/src/types/OcaPropertyID.js +3 -1
- package/src/types/OcaProtoObjectIdentification.d.ts +3 -3
- package/src/types/OcaProtoObjectIdentification.js +2 -1
- package/src/types/OcaProtoPort.d.ts +9 -5
- package/src/types/OcaProtoPort.js +5 -2
- package/src/types/OcaProtoPortID.d.ts +4 -3
- package/src/types/OcaProtoPortID.js +3 -1
- package/src/types/OcaProtoSignalPath.d.ts +1 -2
- package/src/types/OcaRamperCommand.d.ts +1 -1
- package/src/types/OcaRamperCommand.js +1 -1
- package/src/types/OcaRamperState.d.ts +15 -10
- package/src/types/OcaRamperState.js +15 -10
- package/src/types/OcaSensorReadingState.d.ts +2 -1
- package/src/types/OcaSensorReadingState.js +2 -1
- package/src/types/OcaSignalPath.d.ts +1 -2
- package/src/types/OcaStream.d.ts +23 -10
- package/src/types/OcaStream.js +17 -5
- package/src/types/OcaStreamConnectorIdentification.d.ts +17 -7
- package/src/types/OcaStreamConnectorIdentification.js +15 -6
- package/src/types/OcaSubscriptionManagerState.d.ts +1 -1
- package/src/types/OcaSubscriptionManagerState.js +1 -1
- package/src/types/OcaTask.d.ts +27 -13
- package/src/types/OcaTask.js +14 -6
- package/src/types/OcaTaskManagerState.d.ts +13 -9
- package/src/types/OcaTaskManagerState.js +13 -9
- package/src/types/OcaTaskState.d.ts +3 -1
- package/src/types/OcaTaskState.js +3 -1
- package/src/types/OcaTaskStateChangedEventData.d.ts +6 -6
- package/src/types/OcaTaskStateChangedEventData.js +2 -2
- package/src/types/OcaTaskStatus.d.ts +6 -5
- package/src/types/OcaTaskStatus.js +5 -3
- package/src/types/OcaTimeMode.d.ts +1 -1
- package/src/types/OcaTimeMode.js +1 -1
- package/src/types/OcaTimePTP.d.ts +8 -3
- package/src/types/OcaTimePTP.js +6 -2
- package/src/types/OcaTransferFunction.js +3 -3
- package/src/types/OcaUnitOfMeasure.d.ts +5 -1
- package/src/types/OcaUnitOfMeasure.js +5 -1
- package/src/types/OcaVersion.d.ts +7 -5
- package/src/types/OcaVersion.js +4 -2
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaManager } from './OcaManager.js';
|
|
3
1
|
import { OcaBlob } from '../../OCP1/OcaBlob.js';
|
|
4
2
|
import { OcaBlobFixedLen } from '../../OCP1/OcaBlobFixedLen.js';
|
|
5
3
|
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
@@ -11,15 +9,17 @@ import { OcaModelGUID } from '../../OCP1/OcaModelGUID.js';
|
|
|
11
9
|
import { OcaResetCause } from '../../OCP1/OcaResetCause.js';
|
|
12
10
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
13
11
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
12
|
+
import { make_control_class } from '../make_control_class.js';
|
|
13
|
+
import { OcaManager } from './OcaManager.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Mandatory manager that contains information relevant to the whole device.
|
|
17
17
|
*
|
|
18
18
|
* - Must be instantiated once in every device.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
21
20
|
* - Must have object number 1.
|
|
22
21
|
*
|
|
22
|
+
*
|
|
23
23
|
* @extends OcaManager
|
|
24
24
|
* @class OcaDeviceManager
|
|
25
25
|
*/
|
|
@@ -71,35 +71,40 @@ export const OcaDeviceManager = make_control_class(
|
|
|
71
71
|
);
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Gets the value of the OcaVersion property. The return value indicates whether
|
|
74
|
+
* Gets the value of the OcaVersion property. The return value indicates whether
|
|
75
|
+
* the property was successfully retrieved.
|
|
75
76
|
*
|
|
76
77
|
* @method OcaDeviceManager#GetOcaVersion
|
|
77
78
|
* @returns {Promise<number>}
|
|
78
79
|
* A promise which resolves to a single value of type ``number``.
|
|
79
80
|
*/
|
|
80
81
|
/**
|
|
81
|
-
* Gets the model GUID. The return value indicates whether the GUID was
|
|
82
|
+
* Gets the model GUID. The return value indicates whether the GUID was
|
|
83
|
+
* successfully retrieved.
|
|
82
84
|
*
|
|
83
85
|
* @method OcaDeviceManager#GetModelGUID
|
|
84
86
|
* @returns {Promise<OcaModelGUID>}
|
|
85
87
|
* A promise which resolves to a single value of type :class:`OcaModelGUID`.
|
|
86
88
|
*/
|
|
87
89
|
/**
|
|
88
|
-
* Gets the value of the SerialNumber property. The return value indicates
|
|
90
|
+
* Gets the value of the SerialNumber property. The return value indicates
|
|
91
|
+
* whether the property was successfully retrieved.
|
|
89
92
|
*
|
|
90
93
|
* @method OcaDeviceManager#GetSerialNumber
|
|
91
94
|
* @returns {Promise<string>}
|
|
92
95
|
* A promise which resolves to a single value of type ``string``.
|
|
93
96
|
*/
|
|
94
97
|
/**
|
|
95
|
-
* Gets the device name. The return value indicates whether the property was
|
|
98
|
+
* Gets the device name. The return value indicates whether the property was
|
|
99
|
+
* successfully retrieved.
|
|
96
100
|
*
|
|
97
101
|
* @method OcaDeviceManager#GetDeviceName
|
|
98
102
|
* @returns {Promise<string>}
|
|
99
103
|
* A promise which resolves to a single value of type ``string``.
|
|
100
104
|
*/
|
|
101
105
|
/**
|
|
102
|
-
* Sets the device name. The return value indicates whether the property was
|
|
106
|
+
* Sets the device name. The return value indicates whether the property was
|
|
107
|
+
* successfully set.
|
|
103
108
|
*
|
|
104
109
|
* @method OcaDeviceManager#SetDeviceName
|
|
105
110
|
* @param {string} Name
|
|
@@ -107,21 +112,24 @@ export const OcaDeviceManager = make_control_class(
|
|
|
107
112
|
* @returns {Promise<void>}
|
|
108
113
|
*/
|
|
109
114
|
/**
|
|
110
|
-
* Gets the model description. The return value indicates whether the
|
|
115
|
+
* Gets the model description. The return value indicates whether the
|
|
116
|
+
* description was successfully retrieved.
|
|
111
117
|
*
|
|
112
118
|
* @method OcaDeviceManager#GetModelDescription
|
|
113
119
|
* @returns {Promise<OcaModelDescription>}
|
|
114
120
|
* A promise which resolves to a single value of type :class:`OcaModelDescription`.
|
|
115
121
|
*/
|
|
116
122
|
/**
|
|
117
|
-
* Gets the value of the Role property. The return value indicates whether the
|
|
123
|
+
* Gets the value of the Role property. The return value indicates whether the
|
|
124
|
+
* property was successfully retrieved.
|
|
118
125
|
*
|
|
119
126
|
* @method OcaDeviceManager#GetDeviceRole
|
|
120
127
|
* @returns {Promise<string>}
|
|
121
128
|
* A promise which resolves to a single value of type ``string``.
|
|
122
129
|
*/
|
|
123
130
|
/**
|
|
124
|
-
* Sets the value of the Role property. The return value indicates whether the
|
|
131
|
+
* Sets the value of the Role property. The return value indicates whether the
|
|
132
|
+
* property was successfully set.
|
|
125
133
|
*
|
|
126
134
|
* @method OcaDeviceManager#SetDeviceRole
|
|
127
135
|
* @param {string} role
|
|
@@ -129,14 +137,16 @@ export const OcaDeviceManager = make_control_class(
|
|
|
129
137
|
* @returns {Promise<void>}
|
|
130
138
|
*/
|
|
131
139
|
/**
|
|
132
|
-
* Gets the value of the UserInventoryCode property. The return value indicates
|
|
140
|
+
* Gets the value of the UserInventoryCode property. The return value indicates
|
|
141
|
+
* whether the property was successfully retrieved.
|
|
133
142
|
*
|
|
134
143
|
* @method OcaDeviceManager#GetUserInventoryCode
|
|
135
144
|
* @returns {Promise<string>}
|
|
136
145
|
* A promise which resolves to a single value of type ``string``.
|
|
137
146
|
*/
|
|
138
147
|
/**
|
|
139
|
-
* Sets the value of the UserInventoryCode property. The return value indicates
|
|
148
|
+
* Sets the value of the UserInventoryCode property. The return value indicates
|
|
149
|
+
* whether the property was successfully set.
|
|
140
150
|
*
|
|
141
151
|
* @method OcaDeviceManager#SetUserInventoryCode
|
|
142
152
|
* @param {string} Code
|
|
@@ -144,14 +154,16 @@ export const OcaDeviceManager = make_control_class(
|
|
|
144
154
|
* @returns {Promise<void>}
|
|
145
155
|
*/
|
|
146
156
|
/**
|
|
147
|
-
* Gets the value of the Enabled property. The return value indicates whether
|
|
157
|
+
* Gets the value of the Enabled property. The return value indicates whether
|
|
158
|
+
* the property was successfully retrieved.
|
|
148
159
|
*
|
|
149
160
|
* @method OcaDeviceManager#GetEnabled
|
|
150
161
|
* @returns {Promise<boolean>}
|
|
151
162
|
* A promise which resolves to a single value of type ``boolean``.
|
|
152
163
|
*/
|
|
153
164
|
/**
|
|
154
|
-
* Sets the value of the Enabled property. The return value indicates whether
|
|
165
|
+
* Sets the value of the Enabled property. The return value indicates whether
|
|
166
|
+
* the property was successfully set.
|
|
155
167
|
*
|
|
156
168
|
* @method OcaDeviceManager#SetEnabled
|
|
157
169
|
* @param {boolean} enabled
|
|
@@ -159,44 +171,56 @@ export const OcaDeviceManager = make_control_class(
|
|
|
159
171
|
* @returns {Promise<void>}
|
|
160
172
|
*/
|
|
161
173
|
/**
|
|
162
|
-
* Gets the value of the State property. The return value indicates whether the
|
|
174
|
+
* Gets the value of the State property. The return value indicates whether the
|
|
175
|
+
* property was successfully retrieved.
|
|
163
176
|
*
|
|
164
177
|
* @method OcaDeviceManager#GetState
|
|
165
|
-
* @returns {Promise<
|
|
166
|
-
* A promise which resolves to a single value of type :class:`
|
|
178
|
+
* @returns {Promise<OcaDeviceState>}
|
|
179
|
+
* A promise which resolves to a single value of type :class:`OcaDeviceState`.
|
|
167
180
|
*/
|
|
168
181
|
/**
|
|
169
|
-
* Sets the value of the reset key of the device. The return value indicates
|
|
182
|
+
* Sets the value of the reset key of the device. The return value indicates
|
|
183
|
+
* whether the property was successfully set. Note that the device manager must
|
|
184
|
+
* inform the CAP gateway of this key (via the host interface), since the CAP
|
|
185
|
+
* gateway will check for and handle the special reset message.
|
|
170
186
|
*
|
|
171
187
|
* @method OcaDeviceManager#SetResetKey
|
|
172
188
|
* @param {Uint8Array} Key
|
|
173
|
-
*
|
|
174
189
|
* @param {Uint8Array} Address
|
|
175
190
|
*
|
|
176
191
|
* @returns {Promise<void>}
|
|
177
192
|
*/
|
|
178
193
|
/**
|
|
179
|
-
* Gets the value of the ResetCause property. The return value indicates whether
|
|
194
|
+
* Gets the value of the ResetCause property. The return value indicates whether
|
|
195
|
+
* the property was successfully retrieved.
|
|
180
196
|
*
|
|
181
197
|
* @method OcaDeviceManager#GetResetCause
|
|
182
198
|
* @returns {Promise<OcaResetCause>}
|
|
183
199
|
* A promise which resolves to a single value of type :class:`OcaResetCause`.
|
|
184
200
|
*/
|
|
185
201
|
/**
|
|
186
|
-
* Clears the ResetCause property, i.e. resets it to the default value
|
|
202
|
+
* Clears the ResetCause property, i.e. resets it to the default value
|
|
203
|
+
* 'PowerOn'. Must be used after the reset cause has been read out to ensure
|
|
204
|
+
* differentation between reconnects due to network loss and reconnects due to
|
|
205
|
+
* external or internal reset. Offered as a separate method (instead of
|
|
206
|
+
* implicitly clearing the cause after it has been read out) to accomodate
|
|
207
|
+
* systems that have multiple controllers. The return value indicates whether
|
|
208
|
+
* the property was successfully retrieved.
|
|
187
209
|
*
|
|
188
210
|
* @method OcaDeviceManager#ClearResetCause
|
|
189
211
|
* @returns {Promise<void>}
|
|
190
212
|
*/
|
|
191
213
|
/**
|
|
192
|
-
* Gets the value of property
|
|
214
|
+
* Gets the value of property **Message**. Return value indicates whether value
|
|
215
|
+
* was successfully retrieved.
|
|
193
216
|
*
|
|
194
217
|
* @method OcaDeviceManager#GetMessage
|
|
195
218
|
* @returns {Promise<string>}
|
|
196
219
|
* A promise which resolves to a single value of type ``string``.
|
|
197
220
|
*/
|
|
198
221
|
/**
|
|
199
|
-
* Set arbitrary text message into
|
|
222
|
+
* Set arbitrary text message into **Message** property. The return value
|
|
223
|
+
* indicates whether the value was successfully set.
|
|
200
224
|
*
|
|
201
225
|
* @method OcaDeviceManager#SetMessage
|
|
202
226
|
* @param {string} Text
|
|
@@ -204,21 +228,23 @@ export const OcaDeviceManager = make_control_class(
|
|
|
204
228
|
* @returns {Promise<void>}
|
|
205
229
|
*/
|
|
206
230
|
/**
|
|
207
|
-
* Retrive the list of descriptors of managers instantiated in this device. The
|
|
231
|
+
* Retrive the list of descriptors of managers instantiated in this device. The
|
|
232
|
+
* return value indicates whether the retrieval was successful.
|
|
208
233
|
*
|
|
209
234
|
* @method OcaDeviceManager#GetManagers
|
|
210
235
|
* @returns {Promise<OcaManagerDescriptor[]>}
|
|
211
|
-
* A promise which resolves to a single value of type
|
|
236
|
+
* A promise which resolves to a single value of type :class:`OcaManagerDescriptor[]`.
|
|
212
237
|
*/
|
|
213
238
|
/**
|
|
214
|
-
* Gets the value of property
|
|
239
|
+
* Gets the value of property **DeviceRevisionID**. Return value indicates
|
|
240
|
+
* whether value was successfully retrieved.
|
|
215
241
|
*
|
|
216
242
|
* @method OcaDeviceManager#GetDeviceRevisionID
|
|
217
243
|
* @returns {Promise<string>}
|
|
218
244
|
* A promise which resolves to a single value of type ``string``.
|
|
219
245
|
*/
|
|
220
246
|
/**
|
|
221
|
-
* This event is emitted when the property ModelGUID changes in the remote object.
|
|
247
|
+
* This event is emitted when the property ``ModelGUID`` changes in the remote object.
|
|
222
248
|
* The property ``ModelGUID`` is described in the AES70 standard as follows.
|
|
223
249
|
* Read-only property that identifies the model of the device. Note this
|
|
224
250
|
* property is not equivalent to a MAC address, because (a) MAC addresses
|
|
@@ -228,31 +254,29 @@ export const OcaDeviceManager = make_control_class(
|
|
|
228
254
|
* @member {PropertyEvent<OcaModelGUID>} OcaDeviceManager#OnModelGUIDChanged
|
|
229
255
|
*/
|
|
230
256
|
/**
|
|
231
|
-
* This event is emitted when the property SerialNumber changes in the remote object.
|
|
257
|
+
* This event is emitted when the property ``SerialNumber`` changes in the remote object.
|
|
232
258
|
* The property ``SerialNumber`` is described in the AES70 standard as follows.
|
|
233
|
-
* Read-only property that identifies the serial number of the CAP
|
|
234
|
-
* device.
|
|
259
|
+
* Read-only property that identifies the serial number of the CAP device.
|
|
235
260
|
*
|
|
236
261
|
* @member {PropertyEvent<string>} OcaDeviceManager#OnSerialNumberChanged
|
|
237
262
|
*/
|
|
238
263
|
/**
|
|
239
|
-
* This event is emitted when the property ModelDescription changes in the remote object.
|
|
264
|
+
* This event is emitted when the property ``ModelDescription`` changes in the remote object.
|
|
240
265
|
* The property ``ModelDescription`` is described in the AES70 standard as follows.
|
|
241
|
-
* Read-only property that contains text names for this model, its
|
|
242
|
-
*
|
|
266
|
+
* Read-only property that contains text names for this model, its manufacturer,
|
|
267
|
+
* and its version.
|
|
243
268
|
*
|
|
244
269
|
* @member {PropertyEvent<OcaModelDescription>} OcaDeviceManager#OnModelDescriptionChanged
|
|
245
270
|
*/
|
|
246
271
|
/**
|
|
247
|
-
* This event is emitted when the property DeviceName changes in the remote object.
|
|
272
|
+
* This event is emitted when the property ``DeviceName`` changes in the remote object.
|
|
248
273
|
* The property ``DeviceName`` is described in the AES70 standard as follows.
|
|
249
|
-
* Name of the device. Should be unique manufacturer-qualified
|
|
250
|
-
* identifier.
|
|
274
|
+
* Name of the device. Should be unique manufacturer-qualified identifier.
|
|
251
275
|
*
|
|
252
276
|
* @member {PropertyEvent<string>} OcaDeviceManager#OnDeviceNameChanged
|
|
253
277
|
*/
|
|
254
278
|
/**
|
|
255
|
-
* This event is emitted when the property OcaVersion changes in the remote object.
|
|
279
|
+
* This event is emitted when the property ``OcaVersion`` changes in the remote object.
|
|
256
280
|
* The property ``OcaVersion`` is described in the AES70 standard as follows.
|
|
257
281
|
* Read-only property that indicates the AES70 version number used by the
|
|
258
282
|
* device.
|
|
@@ -260,58 +284,58 @@ export const OcaDeviceManager = make_control_class(
|
|
|
260
284
|
* @member {PropertyEvent<number>} OcaDeviceManager#OnOcaVersionChanged
|
|
261
285
|
*/
|
|
262
286
|
/**
|
|
263
|
-
* This event is emitted when the property DeviceRole changes in the remote object.
|
|
287
|
+
* This event is emitted when the property ``DeviceRole`` changes in the remote object.
|
|
264
288
|
* The property ``DeviceRole`` is described in the AES70 standard as follows.
|
|
265
289
|
* Role of device in application (arbitrary).
|
|
266
290
|
*
|
|
267
291
|
* @member {PropertyEvent<string>} OcaDeviceManager#OnDeviceRoleChanged
|
|
268
292
|
*/
|
|
269
293
|
/**
|
|
270
|
-
* This event is emitted when the property UserInventoryCode changes in the remote object.
|
|
294
|
+
* This event is emitted when the property ``UserInventoryCode`` changes in the remote object.
|
|
271
295
|
* The property ``UserInventoryCode`` is described in the AES70 standard as follows.
|
|
272
296
|
* Code used for equipment tracking.
|
|
273
297
|
*
|
|
274
298
|
* @member {PropertyEvent<string>} OcaDeviceManager#OnUserInventoryCodeChanged
|
|
275
299
|
*/
|
|
276
300
|
/**
|
|
277
|
-
* This event is emitted when the property Enabled changes in the remote object.
|
|
301
|
+
* This event is emitted when the property ``Enabled`` changes in the remote object.
|
|
278
302
|
* The property ``Enabled`` is described in the AES70 standard as follows.
|
|
279
303
|
* Indicates whether the device is enabled (and therefore operational).
|
|
280
304
|
*
|
|
281
305
|
* @member {PropertyEvent<boolean>} OcaDeviceManager#OnEnabledChanged
|
|
282
306
|
*/
|
|
283
307
|
/**
|
|
284
|
-
* This event is emitted when the property State changes in the remote object.
|
|
308
|
+
* This event is emitted when the property ``State`` changes in the remote object.
|
|
285
309
|
* The property ``State`` is described in the AES70 standard as follows.
|
|
286
310
|
* Read-only property that indicates the current state of the device.
|
|
287
311
|
*
|
|
288
|
-
* @member {PropertyEvent<
|
|
312
|
+
* @member {PropertyEvent<OcaDeviceState>} OcaDeviceManager#OnStateChanged
|
|
289
313
|
*/
|
|
290
314
|
/**
|
|
291
|
-
* This event is emitted when the property Busy changes in the remote object.
|
|
315
|
+
* This event is emitted when the property ``Busy`` changes in the remote object.
|
|
292
316
|
* The property ``Busy`` is described in the AES70 standard as follows.
|
|
293
|
-
* True iff device is working on something and is not available for OCA
|
|
294
|
-
*
|
|
317
|
+
* True iff device is working on something and is not available for OCA command
|
|
318
|
+
* activity. Readonly.
|
|
295
319
|
*
|
|
296
320
|
* @member {PropertyEvent<boolean>} OcaDeviceManager#OnBusyChanged
|
|
297
321
|
*/
|
|
298
322
|
/**
|
|
299
|
-
* This event is emitted when the property ResetCause changes in the remote object.
|
|
323
|
+
* This event is emitted when the property ``ResetCause`` changes in the remote object.
|
|
300
324
|
* The property ``ResetCause`` is described in the AES70 standard as follows.
|
|
301
325
|
* Read-only attribute that indicates the reset cause of the last reset.
|
|
302
326
|
*
|
|
303
327
|
* @member {PropertyEvent<OcaResetCause>} OcaDeviceManager#OnResetCauseChanged
|
|
304
328
|
*/
|
|
305
329
|
/**
|
|
306
|
-
* This event is emitted when the property Message changes in the remote object.
|
|
330
|
+
* This event is emitted when the property ``Message`` changes in the remote object.
|
|
307
331
|
* The property ``Message`` is described in the AES70 standard as follows.
|
|
308
|
-
* Arbitrary text message provided by controller. Display and handling of
|
|
309
|
-
*
|
|
332
|
+
* Arbitrary text message provided by controller. Display and handling of the
|
|
333
|
+
* text is device-dependent and not defined by OCA.
|
|
310
334
|
*
|
|
311
335
|
* @member {PropertyEvent<string>} OcaDeviceManager#OnMessageChanged
|
|
312
336
|
*/
|
|
313
337
|
/**
|
|
314
|
-
* This event is emitted when the property Managers changes in the remote object.
|
|
338
|
+
* This event is emitted when the property ``Managers`` changes in the remote object.
|
|
315
339
|
* The property ``Managers`` is described in the AES70 standard as follows.
|
|
316
340
|
* List of all manager objects instantiated in this device.
|
|
317
341
|
*
|
|
@@ -1,18 +1,25 @@
|
|
|
1
|
+
import { IOcaTimePTP, OcaTimePTP } from '../../types/OcaTimePTP';
|
|
2
|
+
import { PropertyEvent } from '../property_event';
|
|
1
3
|
import { RemoteDevice } from '../remote_device';
|
|
2
4
|
import { OcaManager } from './OcaManager';
|
|
3
5
|
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
import { IOcaTimePTP } from '../../types/OcaTimePTP';
|
|
6
|
-
import { OcaTimePTP } from '../../types/OcaTimePTP';
|
|
7
|
-
|
|
8
6
|
/**
|
|
9
|
-
* Manager that allows controlling and monitoring a device's time-of-day clock,
|
|
10
|
-
*
|
|
11
|
-
* - Must be instantiated once in every device that has more than one time source object. In this context, a "time source object" is an instance of **OcaTimeSource** or a subclass of it.
|
|
7
|
+
* Manager that allows controlling and monitoring a device's time-of-day clock,
|
|
8
|
+
* and that collects the device's time source objects.
|
|
12
9
|
*
|
|
10
|
+
* - Must be instantiated once in every device that has more than one time
|
|
11
|
+
* source object. In this context, a "time source object" is an instance of
|
|
12
|
+
* **OcaTimeSource** or a subclass of it.
|
|
13
13
|
*
|
|
14
14
|
* - If instantiated, object number must be 10.
|
|
15
|
-
*
|
|
15
|
+
*
|
|
16
|
+
*
|
|
17
|
+
* Note: The clock value is accessible via Get and Set methods, but has not been
|
|
18
|
+
* defined as a public property because its value is volatile and should not
|
|
19
|
+
* cause property-change events. The current value of the **OcaTimeSource**
|
|
20
|
+
* object designated by the **CurrentDeviceTimeSource** property of this Manager
|
|
21
|
+
* is known as the **Device Time**. The property **TimeSources** was added in
|
|
22
|
+
* version 2 of this class.
|
|
16
23
|
* @extends OcaManager
|
|
17
24
|
* @class OcaDeviceTimeManager
|
|
18
25
|
*/
|
|
@@ -30,7 +37,9 @@ export declare class OcaDeviceTimeManager extends OcaManager {
|
|
|
30
37
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
31
38
|
|
|
32
39
|
/**
|
|
33
|
-
* Get current value of device time-of-day clock in NTP format. Return value
|
|
40
|
+
* Get current value of device time-of-day clock in NTP format. Return value
|
|
41
|
+
* indicates whether value was successfully retrieved. This method is optional
|
|
42
|
+
* and deprecated.
|
|
34
43
|
*
|
|
35
44
|
* @method OcaDeviceTimeManager#GetDeviceTimeNTP
|
|
36
45
|
* @returns {Promise<number|BigInt>}
|
|
@@ -39,7 +48,9 @@ export declare class OcaDeviceTimeManager extends OcaManager {
|
|
|
39
48
|
GetDeviceTimeNTP(): Promise<number | BigInt>;
|
|
40
49
|
|
|
41
50
|
/**
|
|
42
|
-
* Sets device time-of-day clock in NTP format. Return value indicates whether
|
|
51
|
+
* Sets device time-of-day clock in NTP format. Return value indicates whether
|
|
52
|
+
* value was successfully set. Not available if a time source is identified in
|
|
53
|
+
* property CurrentDeviceTimeSource. This method is optional and deprecated.
|
|
43
54
|
*
|
|
44
55
|
* @method OcaDeviceTimeManager#SetDeviceTimeNTP
|
|
45
56
|
* @param {number|BigInt} DeviceTime
|
|
@@ -49,7 +60,8 @@ export declare class OcaDeviceTimeManager extends OcaManager {
|
|
|
49
60
|
SetDeviceTimeNTP(DeviceTime: number | BigInt): Promise<void>;
|
|
50
61
|
|
|
51
62
|
/**
|
|
52
|
-
* Returns list of object numbers of OcaTimeSource instances in this device.
|
|
63
|
+
* Returns list of object numbers of OcaTimeSource instances in this device.
|
|
64
|
+
* Return value indicates whether list was successfully retrieved.
|
|
53
65
|
*
|
|
54
66
|
* @method OcaDeviceTimeManager#GetTimeSources
|
|
55
67
|
* @returns {Promise<number[]>}
|
|
@@ -58,7 +70,8 @@ export declare class OcaDeviceTimeManager extends OcaManager {
|
|
|
58
70
|
GetTimeSources(): Promise<number[]>;
|
|
59
71
|
|
|
60
72
|
/**
|
|
61
|
-
* Retrieves ONo of current time source object, or zero if none. Return value
|
|
73
|
+
* Retrieves ONo of current time source object, or zero if none. Return value
|
|
74
|
+
* indicates whether value was successfully retrieved.
|
|
62
75
|
*
|
|
63
76
|
* @method OcaDeviceTimeManager#GetCurrentDeviceTimeSource
|
|
64
77
|
* @returns {Promise<number>}
|
|
@@ -67,7 +80,8 @@ export declare class OcaDeviceTimeManager extends OcaManager {
|
|
|
67
80
|
GetCurrentDeviceTimeSource(): Promise<number>;
|
|
68
81
|
|
|
69
82
|
/**
|
|
70
|
-
* Sets ONo of current time source object, or zero if none. Return value
|
|
83
|
+
* Sets ONo of current time source object, or zero if none. Return value
|
|
84
|
+
* indicates whether value was successfully retrieved.
|
|
71
85
|
*
|
|
72
86
|
* @method OcaDeviceTimeManager#SetCurrentDeviceTimeSource
|
|
73
87
|
* @param {number} TimeSourceONo
|
|
@@ -77,7 +91,8 @@ export declare class OcaDeviceTimeManager extends OcaManager {
|
|
|
77
91
|
SetCurrentDeviceTimeSource(TimeSourceONo: number): Promise<void>;
|
|
78
92
|
|
|
79
93
|
/**
|
|
80
|
-
* Get current value of device time-of-day clock in PTP format. Return value
|
|
94
|
+
* Get current value of device time-of-day clock in PTP format. Return value
|
|
95
|
+
* indicates whether value was successfully retrieved.
|
|
81
96
|
*
|
|
82
97
|
* @method OcaDeviceTimeManager#GetDeviceTimePTP
|
|
83
98
|
* @returns {Promise<OcaTimePTP>}
|
|
@@ -86,10 +101,12 @@ export declare class OcaDeviceTimeManager extends OcaManager {
|
|
|
86
101
|
GetDeviceTimePTP(): Promise<OcaTimePTP>;
|
|
87
102
|
|
|
88
103
|
/**
|
|
89
|
-
* Sets device time-of-day clock in PTP format. Return value indicates whether
|
|
104
|
+
* Sets device time-of-day clock in PTP format. Return value indicates whether
|
|
105
|
+
* value was successfully set. Not available if a time source is identified in
|
|
106
|
+
* property CurrentDeviceTimeSource.
|
|
90
107
|
*
|
|
91
108
|
* @method OcaDeviceTimeManager#SetDeviceTimePTP
|
|
92
|
-
* @param {
|
|
109
|
+
* @param {IOcaTimePTP} DeviceTime
|
|
93
110
|
*
|
|
94
111
|
* @returns {Promise<void>}
|
|
95
112
|
*/
|
|
@@ -1,18 +1,27 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaManager } from './OcaManager.js';
|
|
3
1
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
4
2
|
import { OcaTimePTP } from '../../OCP1/OcaTimePTP.js';
|
|
5
3
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
6
4
|
import { OcaUint64 } from '../../OCP1/OcaUint64.js';
|
|
5
|
+
import { make_control_class } from '../make_control_class.js';
|
|
6
|
+
import { OcaManager } from './OcaManager.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Manager that allows controlling and monitoring a device's time-of-day clock,
|
|
10
|
-
*
|
|
11
|
-
* - Must be instantiated once in every device that has more than one time source object. In this context, a "time source object" is an instance of **OcaTimeSource** or a subclass of it.
|
|
9
|
+
* Manager that allows controlling and monitoring a device's time-of-day clock,
|
|
10
|
+
* and that collects the device's time source objects.
|
|
12
11
|
*
|
|
12
|
+
* - Must be instantiated once in every device that has more than one time
|
|
13
|
+
* source object. In this context, a "time source object" is an instance of
|
|
14
|
+
* **OcaTimeSource** or a subclass of it.
|
|
13
15
|
*
|
|
14
16
|
* - If instantiated, object number must be 10.
|
|
15
|
-
*
|
|
17
|
+
*
|
|
18
|
+
*
|
|
19
|
+
* Note: The clock value is accessible via Get and Set methods, but has not been
|
|
20
|
+
* defined as a public property because its value is volatile and should not
|
|
21
|
+
* cause property-change events. The current value of the **OcaTimeSource**
|
|
22
|
+
* object designated by the **CurrentDeviceTimeSource** property of this Manager
|
|
23
|
+
* is known as the **Device Time**. The property **TimeSources** was added in
|
|
24
|
+
* version 2 of this class.
|
|
16
25
|
* @extends OcaManager
|
|
17
26
|
* @class OcaDeviceTimeManager
|
|
18
27
|
*/
|
|
@@ -39,14 +48,18 @@ export const OcaDeviceTimeManager = make_control_class(
|
|
|
39
48
|
);
|
|
40
49
|
|
|
41
50
|
/**
|
|
42
|
-
* Get current value of device time-of-day clock in NTP format. Return value
|
|
51
|
+
* Get current value of device time-of-day clock in NTP format. Return value
|
|
52
|
+
* indicates whether value was successfully retrieved. This method is optional
|
|
53
|
+
* and deprecated.
|
|
43
54
|
*
|
|
44
55
|
* @method OcaDeviceTimeManager#GetDeviceTimeNTP
|
|
45
56
|
* @returns {Promise<number|BigInt>}
|
|
46
57
|
* A promise which resolves to a single value of type ``number|BigInt``.
|
|
47
58
|
*/
|
|
48
59
|
/**
|
|
49
|
-
* Sets device time-of-day clock in NTP format. Return value indicates whether
|
|
60
|
+
* Sets device time-of-day clock in NTP format. Return value indicates whether
|
|
61
|
+
* value was successfully set. Not available if a time source is identified in
|
|
62
|
+
* property CurrentDeviceTimeSource. This method is optional and deprecated.
|
|
50
63
|
*
|
|
51
64
|
* @method OcaDeviceTimeManager#SetDeviceTimeNTP
|
|
52
65
|
* @param {number|BigInt} DeviceTime
|
|
@@ -54,21 +67,24 @@ export const OcaDeviceTimeManager = make_control_class(
|
|
|
54
67
|
* @returns {Promise<void>}
|
|
55
68
|
*/
|
|
56
69
|
/**
|
|
57
|
-
* Returns list of object numbers of OcaTimeSource instances in this device.
|
|
70
|
+
* Returns list of object numbers of OcaTimeSource instances in this device.
|
|
71
|
+
* Return value indicates whether list was successfully retrieved.
|
|
58
72
|
*
|
|
59
73
|
* @method OcaDeviceTimeManager#GetTimeSources
|
|
60
74
|
* @returns {Promise<number[]>}
|
|
61
75
|
* A promise which resolves to a single value of type ``number[]``.
|
|
62
76
|
*/
|
|
63
77
|
/**
|
|
64
|
-
* Retrieves ONo of current time source object, or zero if none. Return value
|
|
78
|
+
* Retrieves ONo of current time source object, or zero if none. Return value
|
|
79
|
+
* indicates whether value was successfully retrieved.
|
|
65
80
|
*
|
|
66
81
|
* @method OcaDeviceTimeManager#GetCurrentDeviceTimeSource
|
|
67
82
|
* @returns {Promise<number>}
|
|
68
83
|
* A promise which resolves to a single value of type ``number``.
|
|
69
84
|
*/
|
|
70
85
|
/**
|
|
71
|
-
* Sets ONo of current time source object, or zero if none. Return value
|
|
86
|
+
* Sets ONo of current time source object, or zero if none. Return value
|
|
87
|
+
* indicates whether value was successfully retrieved.
|
|
72
88
|
*
|
|
73
89
|
* @method OcaDeviceTimeManager#SetCurrentDeviceTimeSource
|
|
74
90
|
* @param {number} TimeSourceONo
|
|
@@ -76,32 +92,34 @@ export const OcaDeviceTimeManager = make_control_class(
|
|
|
76
92
|
* @returns {Promise<void>}
|
|
77
93
|
*/
|
|
78
94
|
/**
|
|
79
|
-
* Get current value of device time-of-day clock in PTP format. Return value
|
|
95
|
+
* Get current value of device time-of-day clock in PTP format. Return value
|
|
96
|
+
* indicates whether value was successfully retrieved.
|
|
80
97
|
*
|
|
81
98
|
* @method OcaDeviceTimeManager#GetDeviceTimePTP
|
|
82
99
|
* @returns {Promise<OcaTimePTP>}
|
|
83
100
|
* A promise which resolves to a single value of type :class:`OcaTimePTP`.
|
|
84
101
|
*/
|
|
85
102
|
/**
|
|
86
|
-
* Sets device time-of-day clock in PTP format. Return value indicates whether
|
|
103
|
+
* Sets device time-of-day clock in PTP format. Return value indicates whether
|
|
104
|
+
* value was successfully set. Not available if a time source is identified in
|
|
105
|
+
* property CurrentDeviceTimeSource.
|
|
87
106
|
*
|
|
88
107
|
* @method OcaDeviceTimeManager#SetDeviceTimePTP
|
|
89
|
-
* @param {
|
|
108
|
+
* @param {IOcaTimePTP} DeviceTime
|
|
90
109
|
*
|
|
91
110
|
* @returns {Promise<void>}
|
|
92
111
|
*/
|
|
93
112
|
/**
|
|
94
|
-
* This event is emitted when the property TimeSources changes in the remote object.
|
|
113
|
+
* This event is emitted when the property ``TimeSources`` changes in the remote object.
|
|
95
114
|
* The property ``TimeSources`` is described in the AES70 standard as follows.
|
|
96
115
|
* The list of ONos of OcaTimeSource objects in this device
|
|
97
116
|
*
|
|
98
117
|
* @member {PropertyEvent<number[]>} OcaDeviceTimeManager#OnTimeSourcesChanged
|
|
99
118
|
*/
|
|
100
119
|
/**
|
|
101
|
-
* This event is emitted when the property CurrentDeviceTimeSource changes in the remote object.
|
|
120
|
+
* This event is emitted when the property ``CurrentDeviceTimeSource`` changes in the remote object.
|
|
102
121
|
* The property ``CurrentDeviceTimeSource`` is described in the AES70 standard as follows.
|
|
103
|
-
* The current time source for this device's device time, or zero if
|
|
104
|
-
* none.
|
|
122
|
+
* The current time source for this device's device time, or zero if none.
|
|
105
123
|
*
|
|
106
124
|
* @member {PropertyEvent<number>} OcaDeviceTimeManager#OnCurrentDeviceTimeSourceChanged
|
|
107
125
|
*/
|
|
@@ -2,13 +2,15 @@ import { RemoteDevice } from '../remote_device';
|
|
|
2
2
|
import { OcaManager } from './OcaManager';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Optional manager that provides application diagnostic aids. Unlike other
|
|
5
|
+
* Optional manager that provides application diagnostic aids. Unlike other
|
|
6
|
+
* manager classes, OcaDiagnosticManager may be subclassed to provide
|
|
7
|
+
* proprietary application diagnostic enhancements.
|
|
6
8
|
*
|
|
7
9
|
* - May be instantiated once in any device.
|
|
8
10
|
*
|
|
9
|
-
*
|
|
10
11
|
* - If instantiated, object number must be 13.
|
|
11
12
|
*
|
|
13
|
+
*
|
|
12
14
|
* @extends OcaManager
|
|
13
15
|
* @class OcaDiagnosticManager
|
|
14
16
|
*/
|
|
@@ -16,7 +18,8 @@ export declare class OcaDiagnosticManager extends OcaManager {
|
|
|
16
18
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
17
19
|
|
|
18
20
|
/**
|
|
19
|
-
* Retrieves a text description of the given object's lock status. Return
|
|
21
|
+
* Retrieves a text description of the given object's lock status. Return
|
|
22
|
+
* value indicates success of the retrieval.
|
|
20
23
|
*
|
|
21
24
|
* @method OcaDiagnosticManager#GetLockStatus
|
|
22
25
|
* @param {number} ONo
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaManager } from './OcaManager.js';
|
|
3
1
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
4
2
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
3
|
+
import { make_control_class } from '../make_control_class.js';
|
|
4
|
+
import { OcaManager } from './OcaManager.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Optional manager that provides application diagnostic aids. Unlike other
|
|
7
|
+
* Optional manager that provides application diagnostic aids. Unlike other
|
|
8
|
+
* manager classes, OcaDiagnosticManager may be subclassed to provide
|
|
9
|
+
* proprietary application diagnostic enhancements.
|
|
8
10
|
*
|
|
9
11
|
* - May be instantiated once in any device.
|
|
10
12
|
*
|
|
11
|
-
*
|
|
12
13
|
* - If instantiated, object number must be 13.
|
|
13
14
|
*
|
|
15
|
+
*
|
|
14
16
|
* @extends OcaManager
|
|
15
17
|
* @class OcaDiagnosticManager
|
|
16
18
|
*/
|
|
@@ -26,7 +28,8 @@ export const OcaDiagnosticManager = make_control_class(
|
|
|
26
28
|
);
|
|
27
29
|
|
|
28
30
|
/**
|
|
29
|
-
* Retrieves a text description of the given object's lock status. Return value
|
|
31
|
+
* Retrieves a text description of the given object's lock status. Return value
|
|
32
|
+
* indicates success of the retrieval.
|
|
30
33
|
*
|
|
31
34
|
* @method OcaDiagnosticManager#GetLockStatus
|
|
32
35
|
* @param {number} ONo
|