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,44 +1,112 @@
|
|
|
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 { OcaGrouperCitizen } from '../../OCP1/OcaGrouperCitizen.js';
|
|
5
3
|
import { OcaGrouperEnrollment } from '../../OCP1/OcaGrouperEnrollment.js';
|
|
6
4
|
import { OcaGrouperGroup } from '../../OCP1/OcaGrouperGroup.js';
|
|
7
5
|
import { OcaGrouperMode } from '../../OCP1/OcaGrouperMode.js';
|
|
8
|
-
import {
|
|
6
|
+
import { OcaGrouperStatusChangeEventData } from '../../OCP1/OcaGrouperStatusChangeEventData.js';
|
|
9
7
|
import { OcaList } from '../../OCP1/OcaList.js';
|
|
10
8
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
11
9
|
import { OcaUint16 } from '../../OCP1/OcaUint16.js';
|
|
12
10
|
import { OcaUint32 } from '../../OCP1/OcaUint32.js';
|
|
11
|
+
import { make_control_class } from '../make_control_class.js';
|
|
12
|
+
import { OcaAgent } from './OcaAgent.js';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* **Concept** ** **A **grouper** is an object responsible for aggregating
|
|
16
|
+
* property values. An **actuator grouper** allows control of many actuator
|
|
17
|
+
* objects from a single input value; a **sensor grouper** allows observing many
|
|
18
|
+
* sensor objects via a single output value. Actuator groupers are described
|
|
19
|
+
* below; sensor groupers are TBD. In a working media system, many actuator
|
|
20
|
+
* objects (we will call them **citizens**) will be members of multiple groups.
|
|
21
|
+
* For example, in a multiway stereo sound reinforcement system, the left woofer
|
|
22
|
+
* power amplifier might be controlled by a master gain group, a left-side gain
|
|
23
|
+
* group, and a woofer gain group. To manage the interactions of these multiple
|
|
24
|
+
* memberships, we need a single entity that manages all three of these groups,
|
|
25
|
+
* anticipating the interactions and taking appropriate action. An actuator
|
|
26
|
+
* grouper is such an entity. The grouper:
|
|
16
27
|
*
|
|
17
28
|
* - Registers all the groups and all the citizens.
|
|
18
29
|
*
|
|
19
|
-
*
|
|
20
30
|
* - Remembers which citizens belong to which groups.
|
|
21
31
|
*
|
|
22
|
-
*
|
|
23
32
|
* - Computes new property values when group settings change.
|
|
24
33
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
+
* - Manages overrange and underrange conditions proactively, so that citizens
|
|
35
|
+
* are never asked to assume out of range values.
|
|
36
|
+
*
|
|
37
|
+
*
|
|
38
|
+
* For any given grouper instance, all of its citizens will all be of the same
|
|
39
|
+
* class. Applications may have a number of grouper instances, one for each
|
|
40
|
+
* citizen class -- an OcaGain grouper, an OcaFrequency grouper, etc. For
|
|
41
|
+
* controlling each group, the grouper creates a proxy object of the same class
|
|
42
|
+
* as its citizens, so that the same controller logic can be used for either a
|
|
43
|
+
* group or an individual worker. It may be helpful to visualize a grouper as a
|
|
44
|
+
* matrix whose rows are groups, columns are citizens, and each cell contains
|
|
45
|
+
* information relating to the membership of the citizen in the group. This
|
|
46
|
+
* information is called the citizen's **enrollment** in the group.
|
|
47
|
+
* **Mechanism** Each Grouper is an instance of this class (**OcaGrouper**). A
|
|
48
|
+
* **group** is a collection of citizens. A citizen that belongs to a group is
|
|
49
|
+
* called a **member** of that group. There is a many-to-many relationship
|
|
50
|
+
* between groups and citizens -- any citizen can be a member of any number of
|
|
51
|
+
* groups. The purpose of the Grouper is to contain the set of groups and the
|
|
52
|
+
* set of citizens, to remember which citizens belong to which groups, and to
|
|
53
|
+
* compute new aggregate values when settings or readings change. The Grouper
|
|
54
|
+
* itself does not provide direct access to parameter data values. That access
|
|
55
|
+
* is provided by **group proxies** or by **peer to peer** mastering -- see
|
|
56
|
+
* below. It is useful to think of a Grouper as a matrix in which groups are
|
|
57
|
+
* rows and citizens are columns. A cell of the matrix is nonempty whenever its
|
|
58
|
+
* column (=citizen) belongs to its row (=group). Such a cell is called an
|
|
59
|
+
* **enrollment.** **Classes of Grouped Objects** Group members can be actuator
|
|
60
|
+
* or sensor objects. A group whose members are actuators is called an
|
|
61
|
+
* **actuator group**. A group whose members are sensors is called a **sensor
|
|
62
|
+
* group**. All the citizens of a given Grouper must be of the same worker class
|
|
63
|
+
* (sounds communistic, doesn't it :) called the **citizen class**. Typically an
|
|
64
|
+
* application will have multiple Groupers, each one supporting a different
|
|
65
|
+
* citizen class. **Adding Groups** New groups can be added to the Grouper at
|
|
66
|
+
* any time, using OcaGrouper's **AddGroup** method. **Group Proxies; Peer to
|
|
67
|
+
* Peer Mastering** Depending on the setting of its **mode** property, a grouper
|
|
68
|
+
* may be in **master-slave mode** or **peer to peer mode. ** In master-slave
|
|
69
|
+
* mode, each time a caller adds a group to a Grouper instance, the Grouper
|
|
70
|
+
* instance creates an object known as a **group proxy.** Thus, there is one
|
|
71
|
+
* group proxy instance per group.** ** The class of the group proxy is the same
|
|
72
|
+
* as the Grouper's citizen class. For example, for a group of OcaGain
|
|
73
|
+
* actuators, the group proxy is an OcaGain object. The purpose of the group
|
|
74
|
+
* proxy is to allow controllers to access the group's setpoint (for actuator
|
|
75
|
+
* groups) or reading (for sensor groups) in the same way as they would access
|
|
76
|
+
* individual workers of the citizen class. In peer-to-peer mode, no group proxy
|
|
77
|
+
* is created. Instead, the group setpoint is changed whenever *any* member's
|
|
78
|
+
* setpoint is changed. In effect, all the group's members behave as though they
|
|
79
|
+
* were group proxies. **Adding Citizens** New citizens may be added to a
|
|
80
|
+
* Grouper instance at any time, using OcaGrouper's **AddCitizen** method.
|
|
81
|
+
* Newly-added citizens are by default not members of any group. Citizens may be
|
|
82
|
+
* enrolled in groups at any time using OcaGrouper's **SetEnrollment** method.
|
|
83
|
+
* **Deleting** The Grouper allows deletion of groups and citizens at any time,
|
|
84
|
+
* although excessive deletion may lead to sparse memory use, depending on
|
|
85
|
+
* Grouper implementation.**Setpoints, Readings, and Aggregation** **Setpoints
|
|
86
|
+
* and Rules** Each group has a **setpoint** (for actuator groups) or
|
|
87
|
+
* **reading** (for sensor groups) whose value is related to its members'
|
|
88
|
+
* setpoints or readings by the combination of two rules:
|
|
89
|
+
*
|
|
90
|
+
* - The group's **saturation rules**, which control handling of overrange
|
|
91
|
+
* conditions; and
|
|
92
|
+
*
|
|
93
|
+
* - Each member's **aggregation rules**, which determine the algorithms by
|
|
94
|
+
* which aggregate values are computed.
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* ** ****Scope of the OcaGrouper Class** Many aspects of groupers will vary
|
|
98
|
+
* from product to product. **OcaGrouper** is an abstract class that defines
|
|
99
|
+
* common concepts and terms for groupers, a canonical control interface, and
|
|
100
|
+
* most aspects of membership management . However it but stops short of
|
|
101
|
+
* specifying actual semantics. Implementations will need to define (at least):
|
|
34
102
|
*
|
|
35
103
|
* - Saturation rules
|
|
36
104
|
*
|
|
37
|
-
*
|
|
38
105
|
* - Aggregation rules
|
|
39
106
|
*
|
|
107
|
+
* - Error-handling mechanisms (e.g. what happens when a grouper loses its
|
|
108
|
+
* connection to a citizen, and what happens when it later re-attaches)
|
|
40
109
|
*
|
|
41
|
-
* - Error-handling mechanisms (e.g. what happens when a grouper loses its connection to a citizen, and what happens when it later re-attaches)
|
|
42
110
|
*
|
|
43
111
|
* @extends OcaAgent
|
|
44
112
|
* @class OcaGrouper
|
|
@@ -89,11 +157,13 @@ export const OcaGrouper = make_control_class(
|
|
|
89
157
|
],
|
|
90
158
|
['Mode', [OcaGrouperMode], 3, 5, false, false, null],
|
|
91
159
|
],
|
|
92
|
-
[['StatusChange', 3, 1, [
|
|
160
|
+
[['StatusChange', 3, 1, [OcaGrouperStatusChangeEventData]]]
|
|
93
161
|
);
|
|
94
162
|
|
|
95
163
|
/**
|
|
96
|
-
* Adds a group to the grouper and returns its object number. (The group's
|
|
164
|
+
* Adds a group to the grouper and returns its object number. (The group's
|
|
165
|
+
* network address will be the same as the grouper's). The return value
|
|
166
|
+
* indicates whether the group was successfully added.
|
|
97
167
|
* The return values of this method are
|
|
98
168
|
*
|
|
99
169
|
* - Index of type ``number``
|
|
@@ -105,7 +175,9 @@ export const OcaGrouper = make_control_class(
|
|
|
105
175
|
* @returns {Promise<Arguments<number,number>>}
|
|
106
176
|
*/
|
|
107
177
|
/**
|
|
108
|
-
* Deletes a group from the grouper. The return value indicates whether the
|
|
178
|
+
* Deletes a group from the grouper. The return value indicates whether the
|
|
179
|
+
* group was successfully deleted. Note: index values of deleted groups are not
|
|
180
|
+
* reused during the lifetime of the grouper instance.
|
|
109
181
|
*
|
|
110
182
|
* @method OcaGrouper#DeleteGroup
|
|
111
183
|
* @param {number} Index
|
|
@@ -113,30 +185,38 @@ export const OcaGrouper = make_control_class(
|
|
|
113
185
|
* @returns {Promise<void>}
|
|
114
186
|
*/
|
|
115
187
|
/**
|
|
116
|
-
* Gets the count of groups owned by this grouper. The return value indicates
|
|
188
|
+
* Gets the count of groups owned by this grouper. The return value indicates
|
|
189
|
+
* whether the count was successfully retrieved.
|
|
117
190
|
*
|
|
118
191
|
* @method OcaGrouper#GetGroupCount
|
|
119
192
|
* @returns {Promise<number>}
|
|
120
193
|
* A promise which resolves to a single value of type ``number``.
|
|
121
194
|
*/
|
|
122
195
|
/**
|
|
123
|
-
* Gets the list of groups owned by this grouper. The return value indicates
|
|
196
|
+
* Gets the list of groups owned by this grouper. The return value indicates
|
|
197
|
+
* whether the list was successfully retrieved.
|
|
124
198
|
*
|
|
125
199
|
* @method OcaGrouper#GetGroupList
|
|
126
200
|
* @returns {Promise<OcaGrouperGroup[]>}
|
|
127
|
-
* A promise which resolves to a single value of type
|
|
201
|
+
* A promise which resolves to a single value of type :class:`OcaGrouperGroup[]`.
|
|
128
202
|
*/
|
|
129
203
|
/**
|
|
130
|
-
* Adds a target to the group. The return value indicates whether the target was
|
|
204
|
+
* Adds a target to the group. The return value indicates whether the target was
|
|
205
|
+
* successfully added. This method does not enroll the new target in any of the
|
|
206
|
+
* grouper's groups -- it merely makes the target available for enrollment.
|
|
207
|
+
* Group membership is controlled by the SetEnrollment method, q.v.
|
|
131
208
|
*
|
|
132
209
|
* @method OcaGrouper#AddCitizen
|
|
133
|
-
* @param {
|
|
210
|
+
* @param {IOcaGrouperCitizen} Citizen
|
|
134
211
|
*
|
|
135
212
|
* @returns {Promise<number>}
|
|
136
213
|
* A promise which resolves to a single value of type ``number``.
|
|
137
214
|
*/
|
|
138
215
|
/**
|
|
139
|
-
* Delete a citizen from the grouper (and therefore from all of its groups). The
|
|
216
|
+
* Delete a citizen from the grouper (and therefore from all of its groups). The
|
|
217
|
+
* return value indicates whether the citizen was successfully deleted. Note:
|
|
218
|
+
* index values of deleted citizens are not reused during the lifetime of the
|
|
219
|
+
* grouper instance.
|
|
140
220
|
*
|
|
141
221
|
* @method OcaGrouper#DeleteCitizen
|
|
142
222
|
* @param {number} Index
|
|
@@ -144,56 +224,62 @@ export const OcaGrouper = make_control_class(
|
|
|
144
224
|
* @returns {Promise<void>}
|
|
145
225
|
*/
|
|
146
226
|
/**
|
|
147
|
-
* Gets the count of citizens registered in this grouper. The return value
|
|
227
|
+
* Gets the count of citizens registered in this grouper. The return value
|
|
228
|
+
* indicates whether the count was successfully retrieved.
|
|
148
229
|
*
|
|
149
230
|
* @method OcaGrouper#GetCitizenCount
|
|
150
231
|
* @returns {Promise<number>}
|
|
151
232
|
* A promise which resolves to a single value of type ``number``.
|
|
152
233
|
*/
|
|
153
234
|
/**
|
|
154
|
-
* Gets the list of citizens registered in this grouper. The return value
|
|
235
|
+
* Gets the list of citizens registered in this grouper. The return value
|
|
236
|
+
* indicates whether the list was successfully retrieved.
|
|
155
237
|
*
|
|
156
238
|
* @method OcaGrouper#GetCitizenList
|
|
157
239
|
* @returns {Promise<OcaGrouperCitizen[]>}
|
|
158
|
-
* A promise which resolves to a single value of type
|
|
240
|
+
* A promise which resolves to a single value of type :class:`OcaGrouperCitizen[]`.
|
|
159
241
|
*/
|
|
160
242
|
/**
|
|
161
|
-
* Gets membership status for given target in given group. The return value
|
|
243
|
+
* Gets membership status for given target in given group. The return value
|
|
244
|
+
* indicates whether the status was successfully retrieved.
|
|
162
245
|
*
|
|
163
246
|
* @method OcaGrouper#GetEnrollment
|
|
164
|
-
* @param {
|
|
247
|
+
* @param {IOcaGrouperEnrollment} Enrollment
|
|
165
248
|
*
|
|
166
249
|
* @returns {Promise<boolean>}
|
|
167
250
|
* A promise which resolves to a single value of type ``boolean``.
|
|
168
251
|
*/
|
|
169
252
|
/**
|
|
170
|
-
* Sets membership status for given target in given group. The return value
|
|
253
|
+
* Sets membership status for given target in given group. The return value
|
|
254
|
+
* indicates whether the status was successfully set.
|
|
171
255
|
*
|
|
172
256
|
* @method OcaGrouper#SetEnrollment
|
|
173
|
-
* @param {
|
|
174
|
-
*
|
|
257
|
+
* @param {IOcaGrouperEnrollment} Enrollment
|
|
175
258
|
* @param {boolean} IsMember
|
|
176
259
|
*
|
|
177
260
|
* @returns {Promise<void>}
|
|
178
261
|
*/
|
|
179
262
|
/**
|
|
180
|
-
* Gets the list of members of the given group. The return value indicates
|
|
263
|
+
* Gets the list of members of the given group. The return value indicates
|
|
264
|
+
* whether the list was successfully retrieved.
|
|
181
265
|
*
|
|
182
266
|
* @method OcaGrouper#GetGroupMemberList
|
|
183
267
|
* @param {number} Index
|
|
184
268
|
*
|
|
185
269
|
* @returns {Promise<OcaGrouperCitizen[]>}
|
|
186
|
-
* A promise which resolves to a single value of type
|
|
270
|
+
* A promise which resolves to a single value of type :class:`OcaGrouperCitizen[]`.
|
|
187
271
|
*/
|
|
188
272
|
/**
|
|
189
|
-
* Gets the value of the ActuatorOrSensor property. The return value indicates
|
|
273
|
+
* Gets the value of the ActuatorOrSensor property. The return value indicates
|
|
274
|
+
* whether the value was successfully retrieved.
|
|
190
275
|
*
|
|
191
276
|
* @method OcaGrouper#GetActuatorOrSensor
|
|
192
277
|
* @returns {Promise<boolean>}
|
|
193
278
|
* A promise which resolves to a single value of type ``boolean``.
|
|
194
279
|
*/
|
|
195
280
|
/**
|
|
196
|
-
* Sets the value of the ActuatorOrSensor property. The return value indicates
|
|
281
|
+
* Sets the value of the ActuatorOrSensor property. The return value indicates
|
|
282
|
+
* whether the value was successfully set.
|
|
197
283
|
*
|
|
198
284
|
* @method OcaGrouper#SetActuatorOrSensor
|
|
199
285
|
* @param {boolean} ActuatorOrSensor
|
|
@@ -201,75 +287,67 @@ export const OcaGrouper = make_control_class(
|
|
|
201
287
|
* @returns {Promise<void>}
|
|
202
288
|
*/
|
|
203
289
|
/**
|
|
204
|
-
* Gets the value of the Mode property. The return value indicates whether the
|
|
290
|
+
* Gets the value of the Mode property. The return value indicates whether the
|
|
291
|
+
* value was successfully retrieved.
|
|
205
292
|
*
|
|
206
293
|
* @method OcaGrouper#GetMode
|
|
207
294
|
* @returns {Promise<OcaGrouperMode>}
|
|
208
295
|
* A promise which resolves to a single value of type :class:`OcaGrouperMode`.
|
|
209
296
|
*/
|
|
210
297
|
/**
|
|
211
|
-
* Sets the value of the Mode property. The return value indicates whether the
|
|
298
|
+
* Sets the value of the Mode property. The return value indicates whether the
|
|
299
|
+
* value was successfully set.
|
|
212
300
|
*
|
|
213
301
|
* @method OcaGrouper#SetMode
|
|
214
|
-
* @param {
|
|
302
|
+
* @param {IOcaGrouperMode} Mode
|
|
215
303
|
*
|
|
216
304
|
* @returns {Promise<void>}
|
|
217
305
|
*/
|
|
218
306
|
/**
|
|
219
|
-
* Event that is emitted whenever key aspects of a group's status change. Status
|
|
307
|
+
* Event that is emitted whenever key aspects of a group's status change. Status
|
|
308
|
+
* events include:
|
|
220
309
|
*
|
|
221
310
|
* - Citizen joins grouper
|
|
222
311
|
*
|
|
223
|
-
*
|
|
224
312
|
* - Citizen leaves grouper
|
|
225
313
|
*
|
|
226
|
-
*
|
|
227
314
|
* - Citizen fails to execute grouper value change request
|
|
228
315
|
*
|
|
229
|
-
*
|
|
230
316
|
* - Connection to online citizen is lost
|
|
231
317
|
*
|
|
232
|
-
*
|
|
233
318
|
* - Connection to offline citizen is reestablished
|
|
234
319
|
*
|
|
235
|
-
*
|
|
236
320
|
* - Citizen enrolls in group
|
|
237
321
|
*
|
|
238
|
-
*
|
|
239
322
|
* - Citizen de-enrolls from group
|
|
240
323
|
*
|
|
324
|
+
*
|
|
241
325
|
* @member OcaGrouper#OnStatusChange {Event}
|
|
242
|
-
* Event that is emitted whenever key aspects of a group's status change.
|
|
243
|
-
* Status events include: <ul> <li>Citizen joins grouper</li> <li>Citizen
|
|
244
|
-
* leaves grouper</li> <li>Citizen fails to execute grouper value change
|
|
245
|
-
* request</li> <li>Connection to online citizen is lost</li>
|
|
246
|
-
* <li>Connection to offline citizen is reestablished</li> <li>Citizen
|
|
247
|
-
* enrolls in group</li> <li>Citizen de-enrolls from group</li> </ul>
|
|
248
326
|
*/
|
|
249
327
|
/**
|
|
250
|
-
* This event is emitted when the property ActuatorOrSensor changes in the remote object.
|
|
328
|
+
* This event is emitted when the property ``ActuatorOrSensor`` changes in the remote object.
|
|
251
329
|
* The property ``ActuatorOrSensor`` is described in the AES70 standard as follows.
|
|
252
330
|
* True if Grouper is actuator grouper, false if sensor grouper.
|
|
253
331
|
*
|
|
254
332
|
* @member {PropertyEvent<boolean>} OcaGrouper#OnActuatorOrSensorChanged
|
|
255
333
|
*/
|
|
256
334
|
/**
|
|
257
|
-
* This event is emitted when the property Groups changes in the remote object.
|
|
335
|
+
* This event is emitted when the property ``Groups`` changes in the remote object.
|
|
258
336
|
* The property ``Groups`` is described in the AES70 standard as follows.
|
|
259
|
-
* List of groups in the grouper. Groups are added to and deleted from a
|
|
260
|
-
*
|
|
337
|
+
* List of groups in the grouper. Groups are added to and deleted from a grouper
|
|
338
|
+
* by the AdGroup and DeleteGroup methods of OcaGrouper.
|
|
261
339
|
*
|
|
262
340
|
* @member {PropertyEvent<OcaGrouperGroup[]>} OcaGrouper#OnGroupsChanged
|
|
263
341
|
*/
|
|
264
342
|
/**
|
|
265
|
-
* This event is emitted when the property Citizens changes in the remote object.
|
|
343
|
+
* This event is emitted when the property ``Citizens`` changes in the remote object.
|
|
266
344
|
* The property ``Citizens`` is described in the AES70 standard as follows.
|
|
267
345
|
* List of citizens defined for this grouper.
|
|
268
346
|
*
|
|
269
347
|
* @member {PropertyEvent<OcaGrouperCitizen[]>} OcaGrouper#OnCitizensChanged
|
|
270
348
|
*/
|
|
271
349
|
/**
|
|
272
|
-
* This event is emitted when the property Enrollments changes in the remote object.
|
|
350
|
+
* This event is emitted when the property ``Enrollments`` changes in the remote object.
|
|
273
351
|
* The property ``Enrollments`` is described in the AES70 standard as follows.
|
|
274
352
|
* List of grouper's enrollments, i.e. which citizen(s) belong to which
|
|
275
353
|
* group(s).
|
|
@@ -277,7 +355,7 @@ export const OcaGrouper = make_control_class(
|
|
|
277
355
|
* @member {PropertyEvent<OcaGrouperEnrollment[]>} OcaGrouper#OnEnrollmentsChanged
|
|
278
356
|
*/
|
|
279
357
|
/**
|
|
280
|
-
* This event is emitted when the property Mode changes in the remote object.
|
|
358
|
+
* This event is emitted when the property ``Mode`` changes in the remote object.
|
|
281
359
|
* The property ``Mode`` is described in the AES70 standard as follows.
|
|
282
360
|
* Switch that determines whether grouper is in master-slave mode or
|
|
283
361
|
* peer-to-peer mode.
|
|
@@ -1,28 +1,25 @@
|
|
|
1
|
+
import { PropertyEvent } from '../property_event';
|
|
1
2
|
import { RemoteDevice } from '../remote_device';
|
|
2
3
|
import { OcaActuator } from './OcaActuator';
|
|
3
4
|
|
|
4
|
-
import { PropertyEvent } from '../property_event';
|
|
5
|
-
|
|
6
5
|
/**
|
|
7
|
-
* Represents a function that turns on some kind of human-detectable indicator
|
|
6
|
+
* Represents a function that turns on some kind of human-detectable indicator
|
|
7
|
+
* for purposes of device identification during network setup. Physical form of
|
|
8
|
+
* indicator is not defined by OCA, so it could be anything, e.g.
|
|
8
9
|
*
|
|
9
10
|
* - LED
|
|
10
11
|
*
|
|
11
|
-
*
|
|
12
12
|
* - Foghorn
|
|
13
13
|
*
|
|
14
|
-
*
|
|
15
14
|
* - Smoke emitter
|
|
16
15
|
*
|
|
17
|
-
*
|
|
18
16
|
* - Little waving robot hand wearing white glove
|
|
19
17
|
*
|
|
20
|
-
*
|
|
21
18
|
* - Jack-in-the-box popout
|
|
22
19
|
*
|
|
23
|
-
*
|
|
24
20
|
* - et cetera
|
|
25
21
|
*
|
|
22
|
+
*
|
|
26
23
|
* @extends OcaActuator
|
|
27
24
|
* @class OcaIdentificationActuator
|
|
28
25
|
*/
|
|
@@ -35,7 +32,8 @@ export declare class OcaIdentificationActuator extends OcaActuator {
|
|
|
35
32
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
36
33
|
|
|
37
34
|
/**
|
|
38
|
-
* Gets the current identification indicator activity state. The return value
|
|
35
|
+
* Gets the current identification indicator activity state. The return value
|
|
36
|
+
* indicates whether the state was successfully retrieved.
|
|
39
37
|
*
|
|
40
38
|
* @method OcaIdentificationActuator#GetActive
|
|
41
39
|
* @returns {Promise<boolean>}
|
|
@@ -44,7 +42,8 @@ export declare class OcaIdentificationActuator extends OcaActuator {
|
|
|
44
42
|
GetActive(): Promise<boolean>;
|
|
45
43
|
|
|
46
44
|
/**
|
|
47
|
-
* Sets the Active state (i.e. value of the Active property). The return value
|
|
45
|
+
* Sets the Active state (i.e. value of the Active property). The return value
|
|
46
|
+
* indicates whether the state was successfully set.
|
|
48
47
|
*
|
|
49
48
|
* @method OcaIdentificationActuator#SetActive
|
|
50
49
|
* @param {boolean} active
|
|
@@ -1,27 +1,25 @@
|
|
|
1
|
+
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaActuator } from './OcaActuator.js';
|
|
3
|
-
import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Represents a function that turns on some kind of human-detectable indicator
|
|
6
|
+
* Represents a function that turns on some kind of human-detectable indicator
|
|
7
|
+
* for purposes of device identification during network setup. Physical form of
|
|
8
|
+
* indicator is not defined by OCA, so it could be anything, e.g.
|
|
7
9
|
*
|
|
8
10
|
* - LED
|
|
9
11
|
*
|
|
10
|
-
*
|
|
11
12
|
* - Foghorn
|
|
12
13
|
*
|
|
13
|
-
*
|
|
14
14
|
* - Smoke emitter
|
|
15
15
|
*
|
|
16
|
-
*
|
|
17
16
|
* - Little waving robot hand wearing white glove
|
|
18
17
|
*
|
|
19
|
-
*
|
|
20
18
|
* - Jack-in-the-box popout
|
|
21
19
|
*
|
|
22
|
-
*
|
|
23
20
|
* - et cetera
|
|
24
21
|
*
|
|
22
|
+
*
|
|
25
23
|
* @extends OcaActuator
|
|
26
24
|
* @class OcaIdentificationActuator
|
|
27
25
|
*/
|
|
@@ -40,14 +38,16 @@ export const OcaIdentificationActuator = make_control_class(
|
|
|
40
38
|
);
|
|
41
39
|
|
|
42
40
|
/**
|
|
43
|
-
* Gets the current identification indicator activity state. The return value
|
|
41
|
+
* Gets the current identification indicator activity state. The return value
|
|
42
|
+
* indicates whether the state was successfully retrieved.
|
|
44
43
|
*
|
|
45
44
|
* @method OcaIdentificationActuator#GetActive
|
|
46
45
|
* @returns {Promise<boolean>}
|
|
47
46
|
* A promise which resolves to a single value of type ``boolean``.
|
|
48
47
|
*/
|
|
49
48
|
/**
|
|
50
|
-
* Sets the Active state (i.e. value of the Active property). The return value
|
|
49
|
+
* Sets the Active state (i.e. value of the Active property). The return value
|
|
50
|
+
* indicates whether the state was successfully set.
|
|
51
51
|
*
|
|
52
52
|
* @method OcaIdentificationActuator#SetActive
|
|
53
53
|
* @param {boolean} active
|
|
@@ -55,7 +55,7 @@ export const OcaIdentificationActuator = make_control_class(
|
|
|
55
55
|
* @returns {Promise<void>}
|
|
56
56
|
*/
|
|
57
57
|
/**
|
|
58
|
-
* This event is emitted when the property Active changes in the remote object.
|
|
58
|
+
* This event is emitted when the property ``Active`` changes in the remote object.
|
|
59
59
|
* The property ``Active`` is described in the AES70 standard as follows.
|
|
60
60
|
* True iff indicator is active.
|
|
61
61
|
*
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
+
import { Event } from '../event';
|
|
1
2
|
import { RemoteDevice } from '../remote_device';
|
|
2
3
|
import { OcaSensor } from './OcaSensor';
|
|
3
|
-
import { Event } from '../event';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* Sensor for device identification mechanism. The idea of this mechanism is
|
|
6
|
+
* Sensor for device identification mechanism. The idea of this mechanism is
|
|
7
|
+
* that there is some kind of control -- a pushbutton, for instance -- that the
|
|
8
|
+
* user depresses to send a device identification event to the controller. Such
|
|
9
|
+
* mechanisms aid in the setup of networks.
|
|
7
10
|
* @extends OcaSensor
|
|
8
11
|
* @class OcaIdentificationSensor
|
|
9
12
|
*/
|
|
10
13
|
export declare class OcaIdentificationSensor extends OcaSensor {
|
|
11
14
|
/**
|
|
12
|
-
* Event that is emitted when someone actuates the device identification control.
|
|
13
|
-
* @member OcaIdentificationSensor#OnIdentify {Event}
|
|
14
15
|
* Event that is emitted when someone actuates the device identification
|
|
15
16
|
* control.
|
|
17
|
+
* @member OcaIdentificationSensor#OnIdentify {Event}
|
|
16
18
|
*/
|
|
17
19
|
OnIdentify: Event;
|
|
18
20
|
|
|
@@ -2,7 +2,10 @@ import { make_control_class } from '../make_control_class.js';
|
|
|
2
2
|
import { OcaSensor } from './OcaSensor.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* Sensor for device identification mechanism. The idea of this mechanism is
|
|
5
|
+
* Sensor for device identification mechanism. The idea of this mechanism is
|
|
6
|
+
* that there is some kind of control -- a pushbutton, for instance -- that the
|
|
7
|
+
* user depresses to send a device identification event to the controller. Such
|
|
8
|
+
* mechanisms aid in the setup of networks.
|
|
6
9
|
* @extends OcaSensor
|
|
7
10
|
* @class OcaIdentificationSensor
|
|
8
11
|
*/
|
|
@@ -18,8 +21,7 @@ export const OcaIdentificationSensor = make_control_class(
|
|
|
18
21
|
);
|
|
19
22
|
|
|
20
23
|
/**
|
|
21
|
-
* Event that is emitted when someone actuates the device identification control.
|
|
22
|
-
* @member OcaIdentificationSensor#OnIdentify {Event}
|
|
23
24
|
* Event that is emitted when someone actuates the device identification
|
|
24
25
|
* control.
|
|
26
|
+
* @member OcaIdentificationSensor#OnIdentify {Event}
|
|
25
27
|
*/
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { OcaSensor } from './OcaSensor';
|
|
1
|
+
import { OcaImpedance } from '../../types/OcaImpedance';
|
|
3
2
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
3
|
import { PropertyEvent } from '../property_event';
|
|
6
|
-
import {
|
|
4
|
+
import { RemoteDevice } from '../remote_device';
|
|
5
|
+
import { OcaSensor } from './OcaSensor';
|
|
7
6
|
|
|
8
7
|
/**
|
|
9
8
|
* Basic impedance sensor. Value is complex (magnitude and phase).
|
|
@@ -19,12 +18,13 @@ export declare class OcaImpedanceSensor extends OcaSensor {
|
|
|
19
18
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
20
19
|
|
|
21
20
|
/**
|
|
22
|
-
* Gets the value and limits of the
|
|
21
|
+
* Gets the value and limits of the **Reading** property. The return value
|
|
22
|
+
* indicates whether the data was successfully retrieved.
|
|
23
23
|
* The return values of this method are
|
|
24
24
|
*
|
|
25
|
-
* - Reading of type
|
|
26
|
-
* - minReading of type
|
|
27
|
-
* - maxReading of type
|
|
25
|
+
* - Reading of type ``IOcaImpedance``
|
|
26
|
+
* - minReading of type ``IOcaImpedance``
|
|
27
|
+
* - maxReading of type ``IOcaImpedance``
|
|
28
28
|
*
|
|
29
29
|
* @method OcaImpedanceSensor#GetReading
|
|
30
30
|
* @returns {Promise<Arguments<OcaImpedance,OcaImpedance,OcaImpedance>>}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { OcaImpedance } from '../../OCP1/OcaImpedance.js';
|
|
1
2
|
import { make_control_class } from '../make_control_class.js';
|
|
2
3
|
import { OcaSensor } from './OcaSensor.js';
|
|
3
|
-
import { OcaImpedance } from '../../OCP1/OcaImpedance.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Basic impedance sensor. Value is complex (magnitude and phase).
|
|
@@ -19,18 +19,19 @@ export const OcaImpedanceSensor = make_control_class(
|
|
|
19
19
|
);
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Gets the value and limits of the
|
|
22
|
+
* Gets the value and limits of the **Reading** property. The return value
|
|
23
|
+
* indicates whether the data was successfully retrieved.
|
|
23
24
|
* The return values of this method are
|
|
24
25
|
*
|
|
25
|
-
* - Reading of type
|
|
26
|
-
* - minReading of type
|
|
27
|
-
* - maxReading of type
|
|
26
|
+
* - Reading of type ``IOcaImpedance``
|
|
27
|
+
* - minReading of type ``IOcaImpedance``
|
|
28
|
+
* - maxReading of type ``IOcaImpedance``
|
|
28
29
|
*
|
|
29
30
|
* @method OcaImpedanceSensor#GetReading
|
|
30
31
|
* @returns {Promise<Arguments<OcaImpedance,OcaImpedance,OcaImpedance>>}
|
|
31
32
|
*/
|
|
32
33
|
/**
|
|
33
|
-
* This event is emitted when the property Reading changes in the remote object.
|
|
34
|
+
* This event is emitted when the property ``Reading`` changes in the remote object.
|
|
34
35
|
* The property ``Reading`` is described in the AES70 standard as follows.
|
|
35
36
|
* Impedance value (magnitude and phase).
|
|
36
37
|
*
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RemoteDevice } from '../remote_device';
|
|
2
|
-
import { OcaBasicActuator } from './OcaBasicActuator';
|
|
3
1
|
import { Arguments } from '../arguments';
|
|
4
|
-
|
|
5
2
|
import { PropertyEvent } from '../property_event';
|
|
3
|
+
import { RemoteDevice } from '../remote_device';
|
|
4
|
+
import { OcaBasicActuator } from './OcaBasicActuator';
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Basic int16 actuator.
|
|
@@ -18,7 +17,8 @@ export declare class OcaInt16Actuator extends OcaBasicActuator {
|
|
|
18
17
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
19
18
|
|
|
20
19
|
/**
|
|
21
|
-
* Gets the value and limits of the
|
|
20
|
+
* Gets the value and limits of the **Setting** property. The return value
|
|
21
|
+
* indicates whether the data was successfully retrieved.
|
|
22
22
|
* The return values of this method are
|
|
23
23
|
*
|
|
24
24
|
* - Setting of type ``number``
|
|
@@ -31,7 +31,8 @@ export declare class OcaInt16Actuator extends OcaBasicActuator {
|
|
|
31
31
|
GetSetting(): Promise<Arguments<[number, number, number]>>;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Sets the
|
|
34
|
+
* Sets the **Setting** property. The return value indicates whether the
|
|
35
|
+
* property was successfully set.
|
|
35
36
|
*
|
|
36
37
|
* @method OcaInt16Actuator#SetSetting
|
|
37
38
|
* @param {number} Setting
|