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,11 +1,12 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaAgent } from './OcaAgent.js';
|
|
3
|
-
import { OcaBitSet16 } from '../../OCP1/OcaBitSet16.js';
|
|
4
1
|
import { OcaPositionCoordinateSystem } from '../../OCP1/OcaPositionCoordinateSystem.js';
|
|
5
2
|
import { OcaPositionDescriptor } from '../../OCP1/OcaPositionDescriptor.js';
|
|
3
|
+
import { OcaPositionDescriptorFieldFlags } from '../../OCP1/OcaPositionDescriptorFieldFlags.js';
|
|
4
|
+
import { make_control_class } from '../make_control_class.js';
|
|
5
|
+
import { OcaAgent } from './OcaAgent.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
|
-
* Physical position of device or an element of it. AES70 supports a variety of
|
|
8
|
+
* Physical position of device or an element of it. AES70 supports a variety of
|
|
9
|
+
* positional coordinate systems. For details, see AES70-1, section 5.5.9.
|
|
9
10
|
* @extends OcaAgent
|
|
10
11
|
* @class OcaPhysicalPosition
|
|
11
12
|
*/
|
|
@@ -17,7 +18,13 @@ export const OcaPhysicalPosition = make_control_class(
|
|
|
17
18
|
OcaAgent,
|
|
18
19
|
[
|
|
19
20
|
['GetCoordinateSystem', 3, 1, [], [OcaPositionCoordinateSystem]],
|
|
20
|
-
[
|
|
21
|
+
[
|
|
22
|
+
'GetPositionDescriptorFieldFlags',
|
|
23
|
+
3,
|
|
24
|
+
2,
|
|
25
|
+
[],
|
|
26
|
+
[OcaPositionDescriptorFieldFlags],
|
|
27
|
+
],
|
|
21
28
|
[
|
|
22
29
|
'GetPositionDescriptor',
|
|
23
30
|
3,
|
|
@@ -37,50 +44,68 @@ export const OcaPhysicalPosition = make_control_class(
|
|
|
37
44
|
false,
|
|
38
45
|
null,
|
|
39
46
|
],
|
|
40
|
-
[
|
|
47
|
+
[
|
|
48
|
+
'PositionDescriptorFieldFlags',
|
|
49
|
+
[OcaPositionDescriptorFieldFlags],
|
|
50
|
+
3,
|
|
51
|
+
2,
|
|
52
|
+
true,
|
|
53
|
+
false,
|
|
54
|
+
null,
|
|
55
|
+
],
|
|
41
56
|
['PositionDescriptor', [OcaPositionDescriptor], 3, 3, false, false, null],
|
|
42
57
|
],
|
|
43
58
|
[]
|
|
44
59
|
);
|
|
45
60
|
|
|
46
61
|
/**
|
|
47
|
-
* Retrieves value of property
|
|
62
|
+
* Retrieves value of property **CoordinateSystem**. Result indicates whether
|
|
63
|
+
* retrieval was successful.
|
|
48
64
|
*
|
|
49
65
|
* @method OcaPhysicalPosition#GetCoordinateSystem
|
|
50
66
|
* @returns {Promise<OcaPositionCoordinateSystem>}
|
|
51
67
|
* A promise which resolves to a single value of type :class:`OcaPositionCoordinateSystem`.
|
|
52
68
|
*/
|
|
53
69
|
/**
|
|
54
|
-
* Retrieves value of property
|
|
70
|
+
* Retrieves value of property **PositionDescriptorFieldFlags**. Result
|
|
71
|
+
* indicates whether retrieval was successful.
|
|
55
72
|
*
|
|
56
73
|
* @method OcaPhysicalPosition#GetPositionDescriptorFieldFlags
|
|
57
|
-
* @returns {Promise<
|
|
58
|
-
* A promise which resolves to a single value of type
|
|
74
|
+
* @returns {Promise<OcaPositionDescriptorFieldFlags>}
|
|
75
|
+
* A promise which resolves to a single value of type :class:`OcaPositionDescriptorFieldFlags`.
|
|
59
76
|
*/
|
|
60
77
|
/**
|
|
61
|
-
* Retrieves value of property
|
|
78
|
+
* Retrieves value of property **PositioinDescriptor**. Result indicates whether
|
|
79
|
+
* retrieval was successful.
|
|
62
80
|
* The return values of this method are
|
|
63
81
|
*
|
|
64
|
-
* - PositionDescriptor of type
|
|
65
|
-
* - minPositionDescriptor of type
|
|
66
|
-
* - maxPositionDescriptor of type
|
|
82
|
+
* - PositionDescriptor of type ``IOcaPositionDescriptor``
|
|
83
|
+
* - minPositionDescriptor of type ``IOcaPositionDescriptor``
|
|
84
|
+
* - maxPositionDescriptor of type ``IOcaPositionDescriptor``
|
|
67
85
|
*
|
|
68
86
|
* @method OcaPhysicalPosition#GetPositionDescriptor
|
|
69
87
|
* @returns {Promise<Arguments<OcaPositionDescriptor,OcaPositionDescriptor,OcaPositionDescriptor>>}
|
|
70
88
|
*/
|
|
71
89
|
/**
|
|
72
|
-
* Sets value of property
|
|
90
|
+
* Sets value of property **PositionDescriptor**. Result indicates whether
|
|
91
|
+
* setting was successful. The **ParameterError** status is returned if: (a) the
|
|
92
|
+
* **FieldFlags** field of the given **PositionDescriptor** value differs from
|
|
93
|
+
* the object's basic position descriptor as given in its
|
|
94
|
+
* **PositionDescriptorFieldFlags** property, or (b) the given
|
|
95
|
+
* **CoordinateSystem** value conflicts with the object's basic coordinate
|
|
96
|
+
* system as given in its **CoordinateSystem** property. This is an optional
|
|
97
|
+
* method, not implemented for read-only position objects.
|
|
73
98
|
*
|
|
74
99
|
* @method OcaPhysicalPosition#SetPositionDescriptor
|
|
75
|
-
* @param {
|
|
100
|
+
* @param {IOcaPositionDescriptor} PositionDescriptor
|
|
76
101
|
*
|
|
77
102
|
* @returns {Promise<void>}
|
|
78
103
|
*/
|
|
79
104
|
/**
|
|
80
|
-
* This event is emitted when the property PositionDescriptor changes in the remote object.
|
|
105
|
+
* This event is emitted when the property ``PositionDescriptor`` changes in the remote object.
|
|
81
106
|
* The property ``PositionDescriptor`` is described in the AES70 standard as follows.
|
|
82
107
|
* Position coordinates. For details, see AES70-1, section 5.5.9 and the
|
|
83
|
-
*
|
|
108
|
+
* **OcaPositionDescriptor** datatype definition.
|
|
84
109
|
*
|
|
85
110
|
* @member {PropertyEvent<OcaPositionDescriptor>} OcaPhysicalPosition#OnPositionDescriptorChanged
|
|
86
111
|
*/
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IOcaPolarityState,
|
|
3
|
+
OcaPolarityState,
|
|
4
|
+
} from '../../types/OcaPolarityState';
|
|
5
|
+
import { PropertyEvent } from '../property_event';
|
|
1
6
|
import { RemoteDevice } from '../remote_device';
|
|
2
7
|
import { OcaActuator } from './OcaActuator';
|
|
3
8
|
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
import { IOcaPolarityState } from '../../types/OcaPolarityState';
|
|
6
|
-
import { OcaPolarityState } from '../../types/OcaPolarityState';
|
|
7
|
-
|
|
8
9
|
/**
|
|
9
10
|
* Signal inverter
|
|
10
11
|
* @extends OcaActuator
|
|
@@ -19,7 +20,8 @@ export declare class OcaPolarity extends OcaActuator {
|
|
|
19
20
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
20
21
|
|
|
21
22
|
/**
|
|
22
|
-
* Gets the current inverter state. The return value indicates whether the
|
|
23
|
+
* Gets the current inverter state. The return value indicates whether the
|
|
24
|
+
* state was successfully retrieved.
|
|
23
25
|
*
|
|
24
26
|
* @method OcaPolarity#GetState
|
|
25
27
|
* @returns {Promise<OcaPolarityState>}
|
|
@@ -28,10 +30,11 @@ export declare class OcaPolarity extends OcaActuator {
|
|
|
28
30
|
GetState(): Promise<OcaPolarityState>;
|
|
29
31
|
|
|
30
32
|
/**
|
|
31
|
-
* Sets the inversion state (i.e. value of the State property). The return
|
|
33
|
+
* Sets the inversion state (i.e. value of the State property). The return
|
|
34
|
+
* value indicates whether the state was successfully set.
|
|
32
35
|
*
|
|
33
36
|
* @method OcaPolarity#SetState
|
|
34
|
-
* @param {
|
|
37
|
+
* @param {IOcaPolarityState} state
|
|
35
38
|
*
|
|
36
39
|
* @returns {Promise<void>}
|
|
37
40
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { OcaPolarityState } from '../../OCP1/OcaPolarityState.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaActuator } from './OcaActuator.js';
|
|
3
|
-
import { OcaPolarityState } from '../../OCP1/OcaPolarityState.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Signal inverter
|
|
@@ -22,22 +22,24 @@ export const OcaPolarity = make_control_class(
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the current inverter state. The return value indicates whether the state
|
|
25
|
+
* Gets the current inverter state. The return value indicates whether the state
|
|
26
|
+
* was successfully retrieved.
|
|
26
27
|
*
|
|
27
28
|
* @method OcaPolarity#GetState
|
|
28
29
|
* @returns {Promise<OcaPolarityState>}
|
|
29
30
|
* A promise which resolves to a single value of type :class:`OcaPolarityState`.
|
|
30
31
|
*/
|
|
31
32
|
/**
|
|
32
|
-
* Sets the inversion state (i.e. value of the State property). The return value
|
|
33
|
+
* Sets the inversion state (i.e. value of the State property). The return value
|
|
34
|
+
* indicates whether the state was successfully set.
|
|
33
35
|
*
|
|
34
36
|
* @method OcaPolarity#SetState
|
|
35
|
-
* @param {
|
|
37
|
+
* @param {IOcaPolarityState} state
|
|
36
38
|
*
|
|
37
39
|
* @returns {Promise<void>}
|
|
38
40
|
*/
|
|
39
41
|
/**
|
|
40
|
-
* This event is emitted when the property State changes in the remote object.
|
|
42
|
+
* This event is emitted when the property ``State`` changes in the remote object.
|
|
41
43
|
* The property ``State`` is described in the AES70 standard as follows.
|
|
42
44
|
* Current state of the inverter - {noninverted, inverted].
|
|
43
45
|
*
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
+
import { IOcaPowerState, OcaPowerState } from '../../types/OcaPowerState';
|
|
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 { IOcaPowerState } from '../../types/OcaPowerState';
|
|
6
|
-
import { OcaPowerState } from '../../types/OcaPowerState';
|
|
7
|
-
|
|
8
6
|
/**
|
|
9
7
|
* Optional manager that manages power settings and state.
|
|
10
8
|
*
|
|
11
9
|
* - May be instantiated once in any device.
|
|
12
10
|
*
|
|
13
|
-
*
|
|
14
11
|
* - If instantiated, object number must be 5.
|
|
15
12
|
*
|
|
13
|
+
*
|
|
16
14
|
* @extends OcaManager
|
|
17
15
|
* @class OcaPowerManager
|
|
18
16
|
*/
|
|
@@ -45,7 +43,9 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
45
43
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
46
44
|
|
|
47
45
|
/**
|
|
48
|
-
* Retrieve the value of property
|
|
46
|
+
* Retrieve the value of property **03p01 State**, the current power state of
|
|
47
|
+
* the device. Return value indicates whether the value was successfully
|
|
48
|
+
* retrieved.
|
|
49
49
|
*
|
|
50
50
|
* @method OcaPowerManager#GetState
|
|
51
51
|
* @returns {Promise<OcaPowerState>}
|
|
@@ -54,17 +54,19 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
54
54
|
GetState(): Promise<OcaPowerState>;
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
* Change the device power state. The return value indicates whether the
|
|
57
|
+
* Change the device power state. The return value indicates whether the
|
|
58
|
+
* requested change has been successfully made.
|
|
58
59
|
*
|
|
59
60
|
* @method OcaPowerManager#SetState
|
|
60
|
-
* @param {
|
|
61
|
+
* @param {IOcaPowerState} State
|
|
61
62
|
*
|
|
62
63
|
* @returns {Promise<void>}
|
|
63
64
|
*/
|
|
64
65
|
SetState(State: IOcaPowerState): Promise<void>;
|
|
65
66
|
|
|
66
67
|
/**
|
|
67
|
-
* Retrieves list of object number(s) of all power supply(ies). Return value
|
|
68
|
+
* Retrieves list of object number(s) of all power supply(ies). Return value
|
|
69
|
+
* indicates whether the data was successfully retrieved.
|
|
68
70
|
*
|
|
69
71
|
* @method OcaPowerManager#GetPowerSupplies
|
|
70
72
|
* @returns {Promise<number[]>}
|
|
@@ -73,7 +75,8 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
73
75
|
GetPowerSupplies(): Promise<number[]>;
|
|
74
76
|
|
|
75
77
|
/**
|
|
76
|
-
* Retrieves list of object number(s) of active power supply(ies). Return
|
|
78
|
+
* Retrieves list of object number(s) of active power supply(ies). Return
|
|
79
|
+
* value indicates whether the data was successfully retrieved.
|
|
77
80
|
*
|
|
78
81
|
* @method OcaPowerManager#GetActivePowerSupplies
|
|
79
82
|
* @returns {Promise<number[]>}
|
|
@@ -82,13 +85,15 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
82
85
|
GetActivePowerSupplies(): Promise<number[]>;
|
|
83
86
|
|
|
84
87
|
/**
|
|
85
|
-
* Deactivate one power supply and activate another. An option switch
|
|
88
|
+
* Deactivate one power supply and activate another. An option switch
|
|
89
|
+
* indicates whether the previously active power supply is to be turned off.
|
|
90
|
+
* If it is not turned off, it will be placed in the **Unavailable** state.
|
|
91
|
+
* The return value indicates whether the requested exchange has been
|
|
92
|
+
* successfully made.
|
|
86
93
|
*
|
|
87
94
|
* @method OcaPowerManager#ExchangePowerSupply
|
|
88
95
|
* @param {number} oldPsu
|
|
89
|
-
*
|
|
90
96
|
* @param {number} newPsu
|
|
91
|
-
*
|
|
92
97
|
* @param {boolean} powerOffOld
|
|
93
98
|
*
|
|
94
99
|
* @returns {Promise<void>}
|
|
@@ -100,7 +105,8 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
100
105
|
): Promise<void>;
|
|
101
106
|
|
|
102
107
|
/**
|
|
103
|
-
* Gets the value of the
|
|
108
|
+
* Gets the value of the **AutoState** property. The return value indicates
|
|
109
|
+
* whether the value was successfully retrieved.
|
|
104
110
|
*
|
|
105
111
|
* @method OcaPowerManager#GetAutoState
|
|
106
112
|
* @returns {Promise<boolean>}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaManager } from './OcaManager.js';
|
|
3
1
|
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
4
2
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
5
3
|
import { OcaPowerState } from '../../OCP1/OcaPowerState.js';
|
|
6
4
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
5
|
+
import { make_control_class } from '../make_control_class.js';
|
|
6
|
+
import { OcaManager } from './OcaManager.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Optional manager that manages power settings and state.
|
|
10
10
|
*
|
|
11
11
|
* - May be instantiated once in any device.
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
13
|
* - If instantiated, object number must be 5.
|
|
15
14
|
*
|
|
15
|
+
*
|
|
16
16
|
* @extends OcaManager
|
|
17
17
|
* @class OcaPowerManager
|
|
18
18
|
*/
|
|
@@ -41,87 +41,93 @@ export const OcaPowerManager = make_control_class(
|
|
|
41
41
|
);
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Retrieve the value of property
|
|
44
|
+
* Retrieve the value of property **03p01 State**, the current power state of
|
|
45
|
+
* the device. Return value indicates whether the value was successfully
|
|
46
|
+
* retrieved.
|
|
45
47
|
*
|
|
46
48
|
* @method OcaPowerManager#GetState
|
|
47
49
|
* @returns {Promise<OcaPowerState>}
|
|
48
50
|
* A promise which resolves to a single value of type :class:`OcaPowerState`.
|
|
49
51
|
*/
|
|
50
52
|
/**
|
|
51
|
-
* Change the device power state. The return value indicates whether the
|
|
53
|
+
* Change the device power state. The return value indicates whether the
|
|
54
|
+
* requested change has been successfully made.
|
|
52
55
|
*
|
|
53
56
|
* @method OcaPowerManager#SetState
|
|
54
|
-
* @param {
|
|
57
|
+
* @param {IOcaPowerState} State
|
|
55
58
|
*
|
|
56
59
|
* @returns {Promise<void>}
|
|
57
60
|
*/
|
|
58
61
|
/**
|
|
59
|
-
* Retrieves list of object number(s) of all power supply(ies). Return value
|
|
62
|
+
* Retrieves list of object number(s) of all power supply(ies). Return value
|
|
63
|
+
* indicates whether the data was successfully retrieved.
|
|
60
64
|
*
|
|
61
65
|
* @method OcaPowerManager#GetPowerSupplies
|
|
62
66
|
* @returns {Promise<number[]>}
|
|
63
67
|
* A promise which resolves to a single value of type ``number[]``.
|
|
64
68
|
*/
|
|
65
69
|
/**
|
|
66
|
-
* Retrieves list of object number(s) of active power supply(ies). Return value
|
|
70
|
+
* Retrieves list of object number(s) of active power supply(ies). Return value
|
|
71
|
+
* indicates whether the data was successfully retrieved.
|
|
67
72
|
*
|
|
68
73
|
* @method OcaPowerManager#GetActivePowerSupplies
|
|
69
74
|
* @returns {Promise<number[]>}
|
|
70
75
|
* A promise which resolves to a single value of type ``number[]``.
|
|
71
76
|
*/
|
|
72
77
|
/**
|
|
73
|
-
* Deactivate one power supply and activate another. An option switch indicates
|
|
78
|
+
* Deactivate one power supply and activate another. An option switch indicates
|
|
79
|
+
* whether the previously active power supply is to be turned off. If it is not
|
|
80
|
+
* turned off, it will be placed in the **Unavailable** state. The return value
|
|
81
|
+
* indicates whether the requested exchange has been successfully made.
|
|
74
82
|
*
|
|
75
83
|
* @method OcaPowerManager#ExchangePowerSupply
|
|
76
84
|
* @param {number} oldPsu
|
|
77
|
-
*
|
|
78
85
|
* @param {number} newPsu
|
|
79
|
-
*
|
|
80
86
|
* @param {boolean} powerOffOld
|
|
81
87
|
*
|
|
82
88
|
* @returns {Promise<void>}
|
|
83
89
|
*/
|
|
84
90
|
/**
|
|
85
|
-
* Gets the value of the
|
|
91
|
+
* Gets the value of the **AutoState** property. The return value indicates
|
|
92
|
+
* whether the value was successfully retrieved.
|
|
86
93
|
*
|
|
87
94
|
* @method OcaPowerManager#GetAutoState
|
|
88
95
|
* @returns {Promise<boolean>}
|
|
89
96
|
* A promise which resolves to a single value of type ``boolean``.
|
|
90
97
|
*/
|
|
91
98
|
/**
|
|
92
|
-
* This event is emitted when the property State changes in the remote object.
|
|
99
|
+
* This event is emitted when the property ``State`` changes in the remote object.
|
|
93
100
|
* The property ``State`` is described in the AES70 standard as follows.
|
|
94
101
|
* Current power state of device. Readonly.
|
|
95
102
|
*
|
|
96
103
|
* @member {PropertyEvent<OcaPowerState>} OcaPowerManager#OnStateChanged
|
|
97
104
|
*/
|
|
98
105
|
/**
|
|
99
|
-
* This event is emitted when the property PowerSupplies changes in the remote object.
|
|
106
|
+
* This event is emitted when the property ``PowerSupplies`` changes in the remote object.
|
|
100
107
|
* The property ``PowerSupplies`` is described in the AES70 standard as follows.
|
|
101
108
|
* List of object numbers of available power supplies.
|
|
102
109
|
*
|
|
103
110
|
* @member {PropertyEvent<number[]>} OcaPowerManager#OnPowerSuppliesChanged
|
|
104
111
|
*/
|
|
105
112
|
/**
|
|
106
|
-
* This event is emitted when the property ActivePowerSupplies changes in the remote object.
|
|
113
|
+
* This event is emitted when the property ``ActivePowerSupplies`` changes in the remote object.
|
|
107
114
|
* The property ``ActivePowerSupplies`` is described in the AES70 standard as follows.
|
|
108
115
|
* Object number(s) of power suppl(ies) currently in use.
|
|
109
116
|
*
|
|
110
117
|
* @member {PropertyEvent<number[]>} OcaPowerManager#OnActivePowerSuppliesChanged
|
|
111
118
|
*/
|
|
112
119
|
/**
|
|
113
|
-
* This event is emitted when the property AutoState changes in the remote object.
|
|
120
|
+
* This event is emitted when the property ``AutoState`` changes in the remote object.
|
|
114
121
|
* The property ``AutoState`` is described in the AES70 standard as follows.
|
|
115
|
-
* True if current state was invoked automatically, not by a controller
|
|
116
|
-
* action.
|
|
122
|
+
* True if current state was invoked automatically, not by a controller action.
|
|
117
123
|
*
|
|
118
124
|
* @member {PropertyEvent<boolean>} OcaPowerManager#OnAutoStateChanged
|
|
119
125
|
*/
|
|
120
126
|
/**
|
|
121
|
-
* This event is emitted when the property TargetState changes in the remote object.
|
|
127
|
+
* This event is emitted when the property ``TargetState`` changes in the remote object.
|
|
122
128
|
* The property ``TargetState`` is described in the AES70 standard as follows.
|
|
123
|
-
* Power state to which the device is transitioning. If no transition is
|
|
124
|
-
*
|
|
129
|
+
* Power state to which the device is transitioning. If no transition is in
|
|
130
|
+
* progress, has value None. Readonly.
|
|
125
131
|
*
|
|
126
132
|
* @member {PropertyEvent<OcaPowerState>} OcaPowerManager#OnTargetStateChanged
|
|
127
133
|
*/
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaAgent } from './OcaAgent';
|
|
3
|
-
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
import { IOcaPowerSupplyState } from '../../types/OcaPowerSupplyState';
|
|
6
1
|
import { OcaPowerSupplyLocation } from '../../types/OcaPowerSupplyLocation';
|
|
7
|
-
import {
|
|
2
|
+
import {
|
|
3
|
+
IOcaPowerSupplyState,
|
|
4
|
+
OcaPowerSupplyState,
|
|
5
|
+
} from '../../types/OcaPowerSupplyState';
|
|
8
6
|
import { OcaPowerSupplyType } from '../../types/OcaPowerSupplyType';
|
|
7
|
+
import { PropertyEvent } from '../property_event';
|
|
8
|
+
import { RemoteDevice } from '../remote_device';
|
|
9
|
+
import { OcaAgent } from './OcaAgent';
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* A power supply.
|
|
@@ -46,7 +47,8 @@ export declare class OcaPowerSupply extends OcaAgent {
|
|
|
46
47
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
47
48
|
|
|
48
49
|
/**
|
|
49
|
-
* Gets the type of the power supply. Return value indicates whether the data
|
|
50
|
+
* Gets the type of the power supply. Return value indicates whether the data
|
|
51
|
+
* was successfully retrieved.
|
|
50
52
|
*
|
|
51
53
|
* @method OcaPowerSupply#GetType
|
|
52
54
|
* @returns {Promise<OcaPowerSupplyType>}
|
|
@@ -55,7 +57,8 @@ export declare class OcaPowerSupply extends OcaAgent {
|
|
|
55
57
|
GetType(): Promise<OcaPowerSupplyType>;
|
|
56
58
|
|
|
57
59
|
/**
|
|
58
|
-
* Gets the power supply's model information text. Return value indicates
|
|
60
|
+
* Gets the power supply's model information text. Return value indicates
|
|
61
|
+
* whether the data was successfully retrieved.
|
|
59
62
|
*
|
|
60
63
|
* @method OcaPowerSupply#GetModelInfo
|
|
61
64
|
* @returns {Promise<string>}
|
|
@@ -64,7 +67,8 @@ export declare class OcaPowerSupply extends OcaAgent {
|
|
|
64
67
|
GetModelInfo(): Promise<string>;
|
|
65
68
|
|
|
66
69
|
/**
|
|
67
|
-
* Gets the state of the power supply. Return value indicates whether the data
|
|
70
|
+
* Gets the state of the power supply. Return value indicates whether the data
|
|
71
|
+
* was successfully retrieved.
|
|
68
72
|
*
|
|
69
73
|
* @method OcaPowerSupply#GetState
|
|
70
74
|
* @returns {Promise<OcaPowerSupplyState>}
|
|
@@ -73,17 +77,19 @@ export declare class OcaPowerSupply extends OcaAgent {
|
|
|
73
77
|
GetState(): Promise<OcaPowerSupplyState>;
|
|
74
78
|
|
|
75
79
|
/**
|
|
76
|
-
* Changes the power supply's state. Return value indicates whether the state
|
|
80
|
+
* Changes the power supply's state. Return value indicates whether the state
|
|
81
|
+
* was successfully changed.
|
|
77
82
|
*
|
|
78
83
|
* @method OcaPowerSupply#SetState
|
|
79
|
-
* @param {
|
|
84
|
+
* @param {IOcaPowerSupplyState} state
|
|
80
85
|
*
|
|
81
86
|
* @returns {Promise<void>}
|
|
82
87
|
*/
|
|
83
88
|
SetState(state: IOcaPowerSupplyState): Promise<void>;
|
|
84
89
|
|
|
85
90
|
/**
|
|
86
|
-
* Gets the value of property
|
|
91
|
+
* Gets the value of property **Charging**. Return value indicates whether the
|
|
92
|
+
* value was successfully retrieved.
|
|
87
93
|
*
|
|
88
94
|
* @method OcaPowerSupply#GetCharging
|
|
89
95
|
* @returns {Promise<boolean>}
|
|
@@ -92,7 +98,8 @@ export declare class OcaPowerSupply extends OcaAgent {
|
|
|
92
98
|
GetCharging(): Promise<boolean>;
|
|
93
99
|
|
|
94
100
|
/**
|
|
95
|
-
* Gets the available load fraction. Return value indicates whether the data
|
|
101
|
+
* Gets the available load fraction. Return value indicates whether the data
|
|
102
|
+
* was successfully retrieved.
|
|
96
103
|
*
|
|
97
104
|
* @method OcaPowerSupply#GetLoadFractionAvailable
|
|
98
105
|
* @returns {Promise<number>}
|
|
@@ -101,7 +108,8 @@ export declare class OcaPowerSupply extends OcaAgent {
|
|
|
101
108
|
GetLoadFractionAvailable(): Promise<number>;
|
|
102
109
|
|
|
103
110
|
/**
|
|
104
|
-
* Gets the available storage fraction. Return value indicates whether the
|
|
111
|
+
* Gets the available storage fraction. Return value indicates whether the
|
|
112
|
+
* data was successfully retrieved.
|
|
105
113
|
*
|
|
106
114
|
* @method OcaPowerSupply#GetStorageFractionAvailable
|
|
107
115
|
* @returns {Promise<number>}
|
|
@@ -110,7 +118,8 @@ export declare class OcaPowerSupply extends OcaAgent {
|
|
|
110
118
|
GetStorageFractionAvailable(): Promise<number>;
|
|
111
119
|
|
|
112
120
|
/**
|
|
113
|
-
* Gets the power supply physical location. Return value indicates whether the
|
|
121
|
+
* Gets the power supply physical location. Return value indicates whether the
|
|
122
|
+
* data was successfully retrieved.
|
|
114
123
|
*
|
|
115
124
|
* @method OcaPowerSupply#GetLocation
|
|
116
125
|
* @returns {Promise<OcaPowerSupplyLocation>}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { make_control_class } from '../make_control_class.js';
|
|
2
|
-
import { OcaAgent } from './OcaAgent.js';
|
|
3
1
|
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
4
2
|
import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
|
|
5
3
|
import { OcaPowerSupplyLocation } from '../../OCP1/OcaPowerSupplyLocation.js';
|
|
6
4
|
import { OcaPowerSupplyState } from '../../OCP1/OcaPowerSupplyState.js';
|
|
7
5
|
import { OcaPowerSupplyType } from '../../OCP1/OcaPowerSupplyType.js';
|
|
8
6
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
7
|
+
import { make_control_class } from '../make_control_class.js';
|
|
8
|
+
import { OcaAgent } from './OcaAgent.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A power supply.
|
|
@@ -41,71 +41,79 @@ export const OcaPowerSupply = make_control_class(
|
|
|
41
41
|
);
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Gets the type of the power supply. Return value indicates whether the data
|
|
44
|
+
* Gets the type of the power supply. Return value indicates whether the data
|
|
45
|
+
* was successfully retrieved.
|
|
45
46
|
*
|
|
46
47
|
* @method OcaPowerSupply#GetType
|
|
47
48
|
* @returns {Promise<OcaPowerSupplyType>}
|
|
48
49
|
* A promise which resolves to a single value of type :class:`OcaPowerSupplyType`.
|
|
49
50
|
*/
|
|
50
51
|
/**
|
|
51
|
-
* Gets the power supply's model information text. Return value indicates
|
|
52
|
+
* Gets the power supply's model information text. Return value indicates
|
|
53
|
+
* whether the data was successfully retrieved.
|
|
52
54
|
*
|
|
53
55
|
* @method OcaPowerSupply#GetModelInfo
|
|
54
56
|
* @returns {Promise<string>}
|
|
55
57
|
* A promise which resolves to a single value of type ``string``.
|
|
56
58
|
*/
|
|
57
59
|
/**
|
|
58
|
-
* Gets the state of the power supply. Return value indicates whether the data
|
|
60
|
+
* Gets the state of the power supply. Return value indicates whether the data
|
|
61
|
+
* was successfully retrieved.
|
|
59
62
|
*
|
|
60
63
|
* @method OcaPowerSupply#GetState
|
|
61
64
|
* @returns {Promise<OcaPowerSupplyState>}
|
|
62
65
|
* A promise which resolves to a single value of type :class:`OcaPowerSupplyState`.
|
|
63
66
|
*/
|
|
64
67
|
/**
|
|
65
|
-
* Changes the power supply's state. Return value indicates whether the state
|
|
68
|
+
* Changes the power supply's state. Return value indicates whether the state
|
|
69
|
+
* was successfully changed.
|
|
66
70
|
*
|
|
67
71
|
* @method OcaPowerSupply#SetState
|
|
68
|
-
* @param {
|
|
72
|
+
* @param {IOcaPowerSupplyState} state
|
|
69
73
|
*
|
|
70
74
|
* @returns {Promise<void>}
|
|
71
75
|
*/
|
|
72
76
|
/**
|
|
73
|
-
* Gets the value of property
|
|
77
|
+
* Gets the value of property **Charging**. Return value indicates whether the
|
|
78
|
+
* value was successfully retrieved.
|
|
74
79
|
*
|
|
75
80
|
* @method OcaPowerSupply#GetCharging
|
|
76
81
|
* @returns {Promise<boolean>}
|
|
77
82
|
* A promise which resolves to a single value of type ``boolean``.
|
|
78
83
|
*/
|
|
79
84
|
/**
|
|
80
|
-
* Gets the available load fraction. Return value indicates whether the data was
|
|
85
|
+
* Gets the available load fraction. Return value indicates whether the data was
|
|
86
|
+
* successfully retrieved.
|
|
81
87
|
*
|
|
82
88
|
* @method OcaPowerSupply#GetLoadFractionAvailable
|
|
83
89
|
* @returns {Promise<number>}
|
|
84
90
|
* A promise which resolves to a single value of type ``number``.
|
|
85
91
|
*/
|
|
86
92
|
/**
|
|
87
|
-
* Gets the available storage fraction. Return value indicates whether the data
|
|
93
|
+
* Gets the available storage fraction. Return value indicates whether the data
|
|
94
|
+
* was successfully retrieved.
|
|
88
95
|
*
|
|
89
96
|
* @method OcaPowerSupply#GetStorageFractionAvailable
|
|
90
97
|
* @returns {Promise<number>}
|
|
91
98
|
* A promise which resolves to a single value of type ``number``.
|
|
92
99
|
*/
|
|
93
100
|
/**
|
|
94
|
-
* Gets the power supply physical location. Return value indicates whether the
|
|
101
|
+
* Gets the power supply physical location. Return value indicates whether the
|
|
102
|
+
* data was successfully retrieved.
|
|
95
103
|
*
|
|
96
104
|
* @method OcaPowerSupply#GetLocation
|
|
97
105
|
* @returns {Promise<OcaPowerSupplyLocation>}
|
|
98
106
|
* A promise which resolves to a single value of type :class:`OcaPowerSupplyLocation`.
|
|
99
107
|
*/
|
|
100
108
|
/**
|
|
101
|
-
* This event is emitted when the property Type changes in the remote object.
|
|
109
|
+
* This event is emitted when the property ``Type`` changes in the remote object.
|
|
102
110
|
* The property ``Type`` is described in the AES70 standard as follows.
|
|
103
111
|
* Type of power supply.
|
|
104
112
|
*
|
|
105
113
|
* @member {PropertyEvent<OcaPowerSupplyType>} OcaPowerSupply#OnTypeChanged
|
|
106
114
|
*/
|
|
107
115
|
/**
|
|
108
|
-
* This event is emitted when the property ModelInfo changes in the remote object.
|
|
116
|
+
* This event is emitted when the property ``ModelInfo`` changes in the remote object.
|
|
109
117
|
* The property ``ModelInfo`` is described in the AES70 standard as follows.
|
|
110
118
|
* Model information for power supply. Text; content is
|
|
111
119
|
* implementation-dependent.
|
|
@@ -113,34 +121,34 @@ export const OcaPowerSupply = make_control_class(
|
|
|
113
121
|
* @member {PropertyEvent<string>} OcaPowerSupply#OnModelInfoChanged
|
|
114
122
|
*/
|
|
115
123
|
/**
|
|
116
|
-
* This event is emitted when the property State changes in the remote object.
|
|
124
|
+
* This event is emitted when the property ``State`` changes in the remote object.
|
|
117
125
|
* The property ``State`` is described in the AES70 standard as follows.
|
|
118
126
|
* State of power supply: off, unavailable, available, active.
|
|
119
127
|
*
|
|
120
128
|
* @member {PropertyEvent<OcaPowerSupplyState>} OcaPowerSupply#OnStateChanged
|
|
121
129
|
*/
|
|
122
130
|
/**
|
|
123
|
-
* This event is emitted when the property Charging changes in the remote object.
|
|
131
|
+
* This event is emitted when the property ``Charging`` changes in the remote object.
|
|
124
132
|
* The property ``Charging`` is described in the AES70 standard as follows.
|
|
125
133
|
* True iff charging. For rechargable supplies (obviously).
|
|
126
134
|
*
|
|
127
135
|
* @member {PropertyEvent<boolean>} OcaPowerSupply#OnChargingChanged
|
|
128
136
|
*/
|
|
129
137
|
/**
|
|
130
|
-
* This event is emitted when the property LoadFractionAvailable changes in the remote object.
|
|
138
|
+
* This event is emitted when the property ``LoadFractionAvailable`` changes in the remote object.
|
|
131
139
|
* The property ``LoadFractionAvailable`` is described in the AES70 standard as follows.
|
|
132
|
-
* Fraction of power supply's load capacity that is currently not being
|
|
133
|
-
*
|
|
134
|
-
*
|
|
140
|
+
* Fraction of power supply's load capacity that is currently not being used.
|
|
141
|
+
* Readonly. Normal value range 0...1. A negative value indicates this data is
|
|
142
|
+
* not available.
|
|
135
143
|
*
|
|
136
144
|
* @member {PropertyEvent<number>} OcaPowerSupply#OnLoadFractionAvailableChanged
|
|
137
145
|
*/
|
|
138
146
|
/**
|
|
139
|
-
* This event is emitted when the property StorageFractionAvailable changes in the remote object.
|
|
147
|
+
* This event is emitted when the property ``StorageFractionAvailable`` changes in the remote object.
|
|
140
148
|
* The property ``StorageFractionAvailable`` is described in the AES70 standard as follows.
|
|
141
|
-
* Fraction of power supply's energy storage that remains available. For
|
|
142
|
-
*
|
|
143
|
-
*
|
|
149
|
+
* Fraction of power supply's energy storage that remains available. For battery
|
|
150
|
+
* supplies. Readonly. Normal value range 0...1. A negative value indicates this
|
|
151
|
+
* data is not available.
|
|
144
152
|
*
|
|
145
153
|
* @member {PropertyEvent<number>} OcaPowerSupply#OnStorageFractionAvailableChanged
|
|
146
154
|
*/
|