aes70 1.6.1 → 2.0.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/COPYING +7 -7
- package/Changelog +9 -0
- package/README.md +74 -42
- package/dist/AES70.es5.js +24520 -1
- package/package.json +3 -3
- package/src/OCP1/Arguments.js +3 -0
- package/src/OCP1/Enum.js +8 -0
- package/src/OCP1/OcaActionObjectSearchResult.js +20 -0
- package/src/OCP1/OcaActionObjectSearchResultFlags.js +3 -0
- package/src/OCP1/OcaArray1D.js +108 -0
- package/src/OCP1/OcaBitstring.js +3 -0
- package/src/OCP1/OcaBlob.js +2 -43
- package/src/OCP1/OcaBlobFixedLen.js +8 -0
- package/src/OCP1/OcaBlockConfigurability.js +3 -0
- package/src/OCP1/OcaBoolean.js +3 -0
- package/src/OCP1/OcaCommand.js +17 -0
- package/src/OCP1/OcaCommandResult.js +17 -0
- package/src/OCP1/OcaCommandSetResult.js +17 -0
- package/src/OCP1/OcaConstructionParameter.js +16 -0
- package/src/OCP1/OcaCounter.js +22 -0
- package/src/OCP1/OcaCounterNotifierFilterParameters.js +19 -0
- package/src/OCP1/OcaCounterSet.js +17 -0
- package/src/OCP1/OcaCounterUpdate.js +18 -0
- package/src/OCP1/OcaCounterUpdateEventData.js +15 -0
- package/src/OCP1/OcaDatasetSearchResult.js +17 -0
- package/src/OCP1/OcaDeviceGenericState.js +4 -0
- package/src/OCP1/OcaDeviceOperationalState.js +16 -0
- package/src/OCP1/OcaExecutableType.js +4 -0
- package/src/OCP1/OcaFloat32.js +3 -0
- package/src/OCP1/OcaFloat64.js +3 -0
- package/src/OCP1/OcaGenericEndState.js +4 -0
- package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
- package/src/OCP1/OcaGroupException.js +18 -0
- package/src/OCP1/OcaIODirection.js +4 -0
- package/src/OCP1/OcaIP4AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP4Gateway.js +17 -0
- package/src/OCP1/OcaIP4NetworkSettings.js +23 -0
- package/src/OCP1/OcaIP6AutoconfigMode.js +4 -0
- package/src/OCP1/OcaIP6Gateway.js +17 -0
- package/src/OCP1/OcaIP6NetworkSettings.js +24 -0
- package/src/OCP1/OcaInt16.js +3 -0
- package/src/OCP1/OcaInt32.js +3 -0
- package/src/OCP1/OcaInt64.js +3 -0
- package/src/OCP1/OcaInt8.js +3 -0
- package/src/OCP1/OcaInterval.js +18 -0
- package/src/OCP1/OcaIntervalBounds.js +3 -0
- package/src/OCP1/OcaJobDisposedEventData.js +18 -0
- package/src/OCP1/OcaJobDisposition.js +4 -0
- package/src/OCP1/OcaJobQueueItem.js +24 -0
- package/src/OCP1/OcaList.js +2 -127
- package/src/OCP1/OcaList2D.js +6 -0
- package/src/OCP1/OcaList32.js +3 -0
- package/src/OCP1/OcaLockState.js +4 -0
- package/src/OCP1/OcaLogFilter.js +20 -0
- package/src/OCP1/OcaLogRecord.js +21 -0
- package/src/OCP1/OcaLongBlob.js +3 -0
- package/src/OCP1/OcaManufacturer.js +19 -0
- package/src/OCP1/OcaMap.js +3 -0
- package/src/OCP1/OcaMatrixCommand.js +19 -0
- package/src/OCP1/OcaMatrixCoordinates.js +15 -0
- package/src/OCP1/OcaMediaAccessMode.js +4 -0
- package/src/OCP1/OcaMediaFrameFormat.js +4 -0
- package/src/OCP1/OcaMediaPlayOption.js +4 -0
- package/src/OCP1/OcaMediaRecorderPlayerState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpoint.js +40 -0
- package/src/OCP1/OcaMediaStreamEndpointCommand.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointState.js +4 -0
- package/src/OCP1/OcaMediaStreamEndpointStatus.js +16 -0
- package/src/OCP1/OcaMediaStreamMode.js +21 -0
- package/src/OCP1/OcaMediaStreamModeCapability.js +29 -0
- package/src/OCP1/OcaMediaStreamModeCapabilityDirection.js +3 -0
- package/src/OCP1/OcaMediaTrackFunction.js +3 -0
- package/src/OCP1/OcaMediaTransportSession.js +30 -0
- package/src/OCP1/OcaMediaTransportSessionConnection.js +17 -0
- package/src/OCP1/OcaMediaTransportSessionConnectionState.js +15 -0
- package/src/OCP1/OcaMediaTransportSessionState.js +4 -0
- package/src/OCP1/OcaMediaTransportSessionStatus.js +16 -0
- package/src/OCP1/OcaMediaTransportTimingParameters.js +16 -0
- package/src/OCP1/OcaMediaVolumePosition.js +16 -0
- package/src/OCP1/OcaMediaVolumePositionType.js +4 -0
- package/src/OCP1/OcaMultiMap.js +3 -0
- package/src/OCP1/OcaNetworkAdvertisingMechanism.js +16 -0
- package/src/OCP1/OcaNetworkAdvertisingService.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceAssignment.js +23 -0
- package/src/OCP1/OcaNetworkInterfaceCommand.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceState.js +4 -0
- package/src/OCP1/OcaNetworkInterfaceStatus.js +16 -0
- package/src/OCP1/OcaObjectSearchResult.js +2 -18
- package/src/OCP1/OcaObjectSearchResultFlags.js +5 -3
- package/src/OCP1/OcaPort.js +1 -1
- package/src/OCP1/OcaPortClockMapEntry.js +16 -0
- package/src/OCP1/OcaPortID.js +2 -2
- package/src/OCP1/OcaPortIdentification.js +16 -0
- package/src/OCP1/OcaPortMode.js +5 -4
- package/src/OCP1/OcaPositionDescriptor.js +2 -2
- package/src/OCP1/OcaProduct.js +19 -0
- package/src/OCP1/OcaProgramResult.js +17 -0
- package/src/OCP1/OcaProgramRunMode.js +3 -0
- package/src/OCP1/OcaProtoPort.js +2 -2
- package/src/OCP1/OcaProtoPortClockMapEntry.js +17 -0
- package/src/OCP1/OcaProtoSignalPath.js +2 -2
- package/src/OCP1/OcaSamplingRateConverterType.js +4 -0
- package/src/OCP1/OcaSecurityType.js +4 -0
- package/src/OCP1/OcaSignalPath.js +2 -2
- package/src/OCP1/OcaString.js +3 -0
- package/src/OCP1/OcaTask.js +4 -3
- package/src/OCP1/OcaTaskExecutionTerminatedEventData.js +20 -0
- package/src/OCP1/OcaTaskGenericState.js +4 -0
- package/src/OCP1/OcaTaskOperationalState.js +17 -0
- package/src/OCP1/OcaTaskSchedulerState.js +4 -0
- package/src/OCP1/OcaTaskStatusChangedEventData.js +18 -0
- package/src/OCP1/OcaTime.js +18 -0
- package/src/OCP1/OcaTimeDeliveryMechanism.js +4 -0
- package/src/OCP1/OcaTimeDeliveryParameters_StreamEndpoint.js +15 -0
- package/src/OCP1/OcaTimePTP.js +2 -15
- package/src/OCP1/OcaTypedBlob.js +16 -0
- package/src/OCP1/OcaUint16.js +3 -0
- package/src/OCP1/OcaUint32.js +3 -0
- package/src/OCP1/OcaUint64.js +3 -0
- package/src/OCP1/OcaUint8.js +3 -0
- package/src/OCP1/OcaVariant.js +92 -0
- package/src/OCP1/OcaWhenPhysicalAbsolute.js +16 -0
- package/src/OCP1/OcaWhenPhysicalRelative.js +16 -0
- package/src/OCP1/RestWithOffset.js +3 -0
- package/src/OCP1/String16.js +3 -0
- package/src/OCP1/Struct.js +12 -0
- package/src/OCP1/Tuple.js +3 -0
- package/src/OCP1/createBlobType.js +58 -0
- package/src/OCP1/createListType.js +137 -0
- package/src/OCP1/createType.js +8 -4
- package/src/OCP1/decode_message.js +10 -2
- package/src/OCP1/encode_message.js +5 -1
- package/src/OCP1/getLengthEncoder.js +23 -0
- package/src/OCP1/notification2.js +70 -0
- package/src/OCP1/protocol_version.js +4 -0
- package/src/connection.js +14 -6
- package/src/controller/ControlClasses/OcaActuator.d.ts +3 -3
- package/src/controller/ControlClasses/OcaActuator.js +4 -4
- package/src/controller/ControlClasses/OcaAgent.d.ts +6 -14
- package/src/controller/ControlClasses/OcaAgent.js +8 -18
- package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +9 -17
- package/src/controller/ControlClasses/OcaApplicationNetwork.js +11 -32
- package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +4 -7
- package/src/controller/ControlClasses/OcaAudioLevelSensor.js +5 -8
- package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaAudioProcessingManager.js +2 -2
- package/src/controller/ControlClasses/OcaBasicActuator.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicActuator.js +2 -2
- package/src/controller/ControlClasses/OcaBasicSensor.d.ts +1 -1
- package/src/controller/ControlClasses/OcaBasicSensor.js +2 -2
- package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +34 -13
- package/src/controller/ControlClasses/OcaBitstringActuator.js +35 -18
- package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +19 -7
- package/src/controller/ControlClasses/OcaBitstringSensor.js +22 -12
- package/src/controller/ControlClasses/OcaBlock.d.ts +455 -89
- package/src/controller/ControlClasses/OcaBlock.js +477 -103
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.d.ts +299 -0
- package/src/controller/ControlClasses/OcaBlockFactoryAgent.js +360 -0
- package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaBooleanActuator.js +3 -5
- package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaBooleanSensor.js +3 -4
- package/src/controller/ControlClasses/OcaCodingManager.js +1 -1
- package/src/controller/ControlClasses/OcaCommandSet.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCommandSet.js +94 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.d.ts +31 -0
- package/src/controller/ControlClasses/OcaCommandSetAgent.js +38 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.d.ts +89 -0
- package/src/controller/ControlClasses/OcaCounterNotifier.js +101 -0
- package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaCurrentSensor.js +3 -4
- package/src/controller/ControlClasses/OcaDataset.d.ts +223 -0
- package/src/controller/ControlClasses/OcaDataset.js +234 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.d.ts +31 -0
- package/src/controller/ControlClasses/OcaDatasetWorker.js +40 -0
- package/src/controller/ControlClasses/OcaDelay.d.ts +2 -4
- package/src/controller/ControlClasses/OcaDelay.js +3 -5
- package/src/controller/ControlClasses/OcaDelayExtended.d.ts +5 -7
- package/src/controller/ControlClasses/OcaDelayExtended.js +6 -8
- package/src/controller/ControlClasses/OcaDeviceManager.d.ts +123 -62
- package/src/controller/ControlClasses/OcaDeviceManager.js +161 -83
- package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +43 -25
- package/src/controller/ControlClasses/OcaDeviceTimeManager.js +43 -28
- package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +1 -13
- package/src/controller/ControlClasses/OcaDiagnosticManager.js +3 -16
- package/src/controller/ControlClasses/OcaDynamics.d.ts +38 -63
- package/src/controller/ControlClasses/OcaDynamics.js +48 -71
- package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +169 -82
- package/src/controller/ControlClasses/OcaDynamicsCurve.js +189 -93
- package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +8 -16
- package/src/controller/ControlClasses/OcaDynamicsDetector.js +9 -17
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +5 -7
- package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +10 -12
- package/src/controller/ControlClasses/OcaFilterClassical.d.ts +15 -26
- package/src/controller/ControlClasses/OcaFilterClassical.js +15 -27
- package/src/controller/ControlClasses/OcaFilterFIR.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFilterFIR.js +12 -18
- package/src/controller/ControlClasses/OcaFilterParametric.d.ts +55 -26
- package/src/controller/ControlClasses/OcaFilterParametric.js +63 -32
- package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +5 -4
- package/src/controller/ControlClasses/OcaFilterPolynomial.js +8 -7
- package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +6 -11
- package/src/controller/ControlClasses/OcaFirmwareManager.js +5 -11
- package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaFloat64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaFloat64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +2 -4
- package/src/controller/ControlClasses/OcaFrequencyActuator.js +3 -5
- package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaFrequencySensor.js +2 -3
- package/src/controller/ControlClasses/OcaGain.d.ts +2 -4
- package/src/controller/ControlClasses/OcaGain.js +3 -5
- package/src/controller/ControlClasses/OcaGainSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaGainSensor.js +3 -4
- package/src/controller/ControlClasses/OcaGroup.d.ts +140 -0
- package/src/controller/ControlClasses/OcaGroup.js +156 -0
- package/src/controller/ControlClasses/OcaGrouper.d.ts +20 -140
- package/src/controller/ControlClasses/OcaGrouper.js +34 -171
- package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +5 -7
- package/src/controller/ControlClasses/OcaIdentificationActuator.js +7 -9
- package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +5 -6
- package/src/controller/ControlClasses/OcaIdentificationSensor.js +6 -7
- package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaImpedanceSensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaInt8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaInt8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaJsonActuator.d.ts +46 -0
- package/src/controller/ControlClasses/OcaJsonActuator.js +58 -0
- package/src/controller/ControlClasses/OcaJsonSensor.d.ts +51 -0
- package/src/controller/ControlClasses/OcaJsonSensor.js +65 -0
- package/src/controller/ControlClasses/OcaLevelSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaLevelSensor.js +2 -3
- package/src/controller/ControlClasses/OcaLibraryManager.d.ts +1 -1
- package/src/controller/ControlClasses/OcaLibraryManager.js +3 -3
- package/src/controller/ControlClasses/OcaLockManager.d.ts +44 -0
- package/src/controller/ControlClasses/OcaLockManager.js +53 -0
- package/src/controller/ControlClasses/OcaLog.d.ts +128 -0
- package/src/controller/ControlClasses/OcaLog.js +142 -0
- package/src/controller/ControlClasses/OcaManager.js +1 -1
- package/src/controller/ControlClasses/OcaMatrix.d.ts +104 -82
- package/src/controller/ControlClasses/OcaMatrix.js +121 -93
- package/src/controller/ControlClasses/OcaMediaClock.d.ts +27 -0
- package/src/controller/ControlClasses/OcaMediaClock.js +28 -4
- package/src/controller/ControlClasses/OcaMediaClock3.d.ts +16 -22
- package/src/controller/ControlClasses/OcaMediaClock3.js +22 -29
- package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +7 -10
- package/src/controller/ControlClasses/OcaMediaClockManager.js +9 -13
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaRecorderPlayer.js +261 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.d.ts +612 -0
- package/src/controller/ControlClasses/OcaMediaTransportApplication.js +704 -0
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +12 -25
- package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +12 -35
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.d.ts +235 -0
- package/src/controller/ControlClasses/OcaMediaTransportSessionAgent.js +249 -0
- package/src/controller/ControlClasses/OcaMute.d.ts +2 -4
- package/src/controller/ControlClasses/OcaMute.js +3 -5
- package/src/controller/ControlClasses/OcaNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaNetworkApplication.d.ts +179 -0
- package/src/controller/ControlClasses/OcaNetworkApplication.js +202 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.d.ts +318 -0
- package/src/controller/ControlClasses/OcaNetworkInterface.js +353 -0
- package/src/controller/ControlClasses/OcaNetworkManager.d.ts +45 -17
- package/src/controller/ControlClasses/OcaNetworkManager.js +59 -22
- package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +1 -1
- package/src/controller/ControlClasses/OcaNumericObserver.d.ts +24 -40
- package/src/controller/ControlClasses/OcaNumericObserver.js +25 -40
- package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +20 -33
- package/src/controller/ControlClasses/OcaNumericObserverList.js +26 -39
- package/src/controller/ControlClasses/OcaPanBalance.d.ts +4 -8
- package/src/controller/ControlClasses/OcaPanBalance.js +5 -9
- package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +3 -6
- package/src/controller/ControlClasses/OcaPhysicalPosition.js +4 -7
- package/src/controller/ControlClasses/OcaPolarity.d.ts +2 -4
- package/src/controller/ControlClasses/OcaPolarity.js +3 -5
- package/src/controller/ControlClasses/OcaPowerManager.d.ts +30 -14
- package/src/controller/ControlClasses/OcaPowerManager.js +32 -17
- package/src/controller/ControlClasses/OcaPowerSensor.d.ts +38 -0
- package/src/controller/ControlClasses/OcaPowerSensor.js +51 -0
- package/src/controller/ControlClasses/OcaPowerSupply.d.ts +8 -16
- package/src/controller/ControlClasses/OcaPowerSupply.js +13 -21
- package/src/controller/ControlClasses/OcaProgram.d.ts +63 -0
- package/src/controller/ControlClasses/OcaProgram.js +82 -0
- package/src/controller/ControlClasses/OcaRamper.d.ts +46 -10
- package/src/controller/ControlClasses/OcaRamper.js +65 -12
- package/src/controller/ControlClasses/OcaRoot.d.ts +69 -24
- package/src/controller/ControlClasses/OcaRoot.js +67 -26
- package/src/controller/ControlClasses/OcaSamplingRateConverter.d.ts +22 -0
- package/src/controller/ControlClasses/OcaSamplingRateConverter.js +28 -0
- package/src/controller/ControlClasses/OcaSecurityManager.d.ts +12 -13
- package/src/controller/ControlClasses/OcaSecurityManager.js +10 -12
- package/src/controller/ControlClasses/OcaSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaSensor.js +2 -3
- package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +21 -39
- package/src/controller/ControlClasses/OcaSignalGenerator.js +22 -40
- package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalInput.js +5 -5
- package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -4
- package/src/controller/ControlClasses/OcaSignalOutput.js +5 -5
- package/src/controller/ControlClasses/OcaStateSensor.d.ts +58 -0
- package/src/controller/ControlClasses/OcaStateSensor.js +75 -0
- package/src/controller/ControlClasses/OcaStreamConnector.js +1 -1
- package/src/controller/ControlClasses/OcaStreamNetwork.js +1 -1
- package/src/controller/ControlClasses/OcaStringActuator.d.ts +7 -8
- package/src/controller/ControlClasses/OcaStringActuator.js +7 -8
- package/src/controller/ControlClasses/OcaStringSensor.d.ts +20 -9
- package/src/controller/ControlClasses/OcaStringSensor.js +23 -13
- package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +211 -41
- package/src/controller/ControlClasses/OcaSubscriptionManager.js +224 -39
- package/src/controller/ControlClasses/OcaSummingPoint.d.ts +3 -2
- package/src/controller/ControlClasses/OcaSummingPoint.js +4 -3
- package/src/controller/ControlClasses/OcaSwitch.d.ts +70 -25
- package/src/controller/ControlClasses/OcaSwitch.js +113 -35
- package/src/controller/ControlClasses/OcaTaskAgent.d.ts +192 -0
- package/src/controller/ControlClasses/OcaTaskAgent.js +212 -0
- package/src/controller/ControlClasses/OcaTaskManager.d.ts +4 -6
- package/src/controller/ControlClasses/OcaTaskManager.js +7 -9
- package/src/controller/ControlClasses/OcaTaskScheduler.d.ts +150 -0
- package/src/controller/ControlClasses/OcaTaskScheduler.js +159 -0
- package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaTemperatureActuator.js +4 -6
- package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaTemperatureSensor.js +3 -4
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +1 -2
- package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +2 -3
- package/src/controller/ControlClasses/OcaTimeSource.d.ts +108 -37
- package/src/controller/ControlClasses/OcaTimeSource.js +148 -48
- package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint16Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint16Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint32Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint32Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint64Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint64Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +3 -5
- package/src/controller/ControlClasses/OcaUint8Actuator.js +4 -6
- package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaUint8Sensor.js +3 -4
- package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +2 -3
- package/src/controller/ControlClasses/OcaVoltageSensor.js +3 -4
- package/src/controller/ControlClasses/OcaWorker.d.ts +84 -37
- package/src/controller/ControlClasses/OcaWorker.js +93 -43
- package/src/controller/base_event.js +71 -23
- package/src/controller/client_connection.d.ts +26 -0
- package/src/controller/client_connection.js +39 -7
- package/src/controller/event.js +17 -20
- package/src/controller/make_control_class.js +3 -1
- package/src/controller/notification_error.d.ts +40 -0
- package/src/controller/notification_error.js +62 -0
- package/src/controller/observeProperty.js +8 -8
- package/src/controller/property_event.js +18 -10
- package/src/controller/remote_device.js +137 -49
- package/src/controller/tcp_connection.d.ts +8 -6
- package/src/index.default.d.ts +1 -0
- package/src/index.default.js +1 -0
- package/src/types/Enum.js +8 -0
- package/src/types/OcaActionObjectSearchResult.d.ts +73 -0
- package/src/types/OcaActionObjectSearchResult.js +34 -0
- package/src/types/OcaActionObjectSearchResultFlags.d.ts +37 -0
- package/src/types/OcaActionObjectSearchResultFlags.js +52 -0
- package/src/types/OcaApplicationNetworkCommand.d.ts +1 -19
- package/src/types/OcaApplicationNetworkCommand.js +0 -24
- package/src/types/OcaApplicationNetworkState.d.ts +1 -37
- package/src/types/OcaApplicationNetworkState.js +0 -48
- package/src/types/OcaBlockConfigurability.d.ts +26 -0
- package/src/types/OcaBlockConfigurability.js +35 -0
- package/src/types/OcaClassicalFilterShape.d.ts +1 -1
- package/src/types/OcaClassicalFilterShape.js +1 -1
- package/src/types/OcaCommand.d.ts +44 -0
- package/src/types/OcaCommand.js +25 -0
- package/src/types/OcaCommandResult.d.ts +42 -0
- package/src/types/OcaCommandResult.js +24 -0
- package/src/types/OcaCommandSetResult.d.ts +41 -0
- package/src/types/OcaCommandSetResult.js +23 -0
- package/src/types/OcaConstructionParameter.d.ts +40 -0
- package/src/types/OcaConstructionParameter.js +23 -0
- package/src/types/OcaCounter.d.ts +81 -0
- package/src/types/OcaCounter.js +38 -0
- package/src/types/OcaCounterNotifierFilterParameters.d.ts +81 -0
- package/src/types/OcaCounterNotifierFilterParameters.js +37 -0
- package/src/types/OcaCounterSet.d.ts +38 -0
- package/src/types/OcaCounterSet.js +22 -0
- package/src/types/OcaCounterUpdate.d.ts +54 -0
- package/src/types/OcaCounterUpdate.js +28 -0
- package/src/types/OcaCounterUpdateEventData.d.ts +27 -0
- package/src/types/OcaCounterUpdateEventData.js +17 -0
- package/src/types/OcaDatasetSearchResult.d.ts +51 -0
- package/src/types/OcaDatasetSearchResult.js +28 -0
- package/src/types/OcaDelayUnit.d.ts +2 -1
- package/src/types/OcaDelayUnit.js +2 -1
- package/src/types/OcaDelayValue.d.ts +2 -1
- package/src/types/OcaDelayValue.js +2 -1
- package/src/types/OcaDeviceGenericState.d.ts +62 -0
- package/src/types/OcaDeviceGenericState.js +52 -0
- package/src/types/OcaDeviceOperationalState.d.ts +42 -0
- package/src/types/OcaDeviceOperationalState.js +22 -0
- package/src/types/OcaDeviceState.d.ts +2 -2
- package/src/types/OcaDeviceState.js +2 -2
- package/src/types/OcaExecutableType.d.ts +50 -0
- package/src/types/OcaExecutableType.js +36 -0
- package/src/types/OcaGenericEndState.d.ts +56 -0
- package/src/types/OcaGenericEndState.js +44 -0
- package/src/types/OcaGlobalTypeIdentifier.d.ts +12 -12
- package/src/types/OcaGlobalTypeIdentifier.js +8 -7
- package/src/types/OcaGroupException.d.ts +53 -0
- package/src/types/OcaGroupException.js +28 -0
- package/src/types/OcaGrouperCitizen.d.ts +10 -10
- package/src/types/OcaGrouperCitizen.js +6 -6
- package/src/types/OcaGrouperEnrollment.d.ts +4 -9
- package/src/types/OcaGrouperEnrollment.js +3 -5
- package/src/types/OcaGrouperGroup.d.ts +9 -9
- package/src/types/OcaGrouperGroup.js +5 -5
- package/src/types/OcaGrouperMode.d.ts +4 -3
- package/src/types/OcaGrouperMode.js +4 -3
- package/src/types/OcaGrouperStatusChangeEventData.d.ts +2 -2
- package/src/types/OcaGrouperStatusChangeEventData.js +2 -2
- package/src/types/OcaGrouperStatusChangeType.d.ts +1 -1
- package/src/types/OcaGrouperStatusChangeType.js +1 -1
- package/src/types/OcaIODirection.d.ts +39 -0
- package/src/types/OcaIODirection.js +28 -0
- package/src/types/OcaIP4AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP4AutoconfigMode.js +44 -0
- package/src/types/OcaIP4Gateway.d.ts +53 -0
- package/src/types/OcaIP4Gateway.js +27 -0
- package/src/types/OcaIP4NetworkSettings.d.ts +111 -0
- package/src/types/OcaIP4NetworkSettings.js +56 -0
- package/src/types/OcaIP6AutoconfigMode.d.ts +56 -0
- package/src/types/OcaIP6AutoconfigMode.js +44 -0
- package/src/types/OcaIP6Gateway.d.ts +53 -0
- package/src/types/OcaIP6Gateway.js +27 -0
- package/src/types/OcaIP6NetworkSettings.d.ts +123 -0
- package/src/types/OcaIP6NetworkSettings.js +61 -0
- package/src/types/OcaInterval.d.ts +8 -0
- package/src/types/OcaInterval.js +84 -0
- package/src/types/OcaIntervalBounds.d.ts +41 -0
- package/src/types/OcaIntervalBounds.js +53 -0
- package/src/types/OcaJobDisposedEventData.d.ts +57 -0
- package/src/types/OcaJobDisposedEventData.js +28 -0
- package/src/types/OcaJobDisposition.d.ts +68 -0
- package/src/types/OcaJobDisposition.js +60 -0
- package/src/types/OcaJobQueueItem.d.ts +105 -0
- package/src/types/OcaJobQueueItem.js +44 -0
- package/src/types/OcaLibVolType.d.ts +2 -4
- package/src/types/OcaLibVolType.js +1 -2
- package/src/types/OcaLockState.d.ts +50 -0
- package/src/types/OcaLockState.js +36 -0
- package/src/types/OcaLogFilter.d.ts +70 -0
- package/src/types/OcaLogFilter.js +33 -0
- package/src/types/OcaLogRecord.d.ts +85 -0
- package/src/types/OcaLogRecord.js +40 -0
- package/src/types/OcaManagerDefaultObjectNumbers.d.ts +7 -0
- package/src/types/OcaManagerDefaultObjectNumbers.js +7 -0
- package/src/types/OcaManagerDescriptor.d.ts +11 -9
- package/src/types/OcaManagerDescriptor.js +6 -5
- package/src/types/OcaManufacturer.d.ts +87 -0
- package/src/types/OcaManufacturer.js +47 -0
- package/src/types/OcaMatrixCommand.d.ts +61 -0
- package/src/types/OcaMatrixCommand.js +29 -0
- package/src/types/OcaMatrixCoordinates.d.ts +38 -0
- package/src/types/OcaMatrixCoordinates.js +23 -0
- package/src/types/OcaMediaAccessMode.d.ts +50 -0
- package/src/types/OcaMediaAccessMode.js +36 -0
- package/src/types/OcaMediaClockAvailability.d.ts +1 -1
- package/src/types/OcaMediaClockAvailability.js +1 -1
- package/src/types/OcaMediaClockRate.d.ts +7 -7
- package/src/types/OcaMediaClockRate.js +4 -4
- package/src/types/OcaMediaConnection.d.ts +2 -2
- package/src/types/OcaMediaConnection.js +1 -1
- package/src/types/OcaMediaFrameFormat.d.ts +74 -0
- package/src/types/OcaMediaFrameFormat.js +68 -0
- package/src/types/OcaMediaPlayOption.d.ts +50 -0
- package/src/types/OcaMediaPlayOption.js +36 -0
- package/src/types/OcaMediaRecorderPlayerState.d.ts +62 -0
- package/src/types/OcaMediaRecorderPlayerState.js +52 -0
- package/src/types/OcaMediaStreamCastMode.d.ts +3 -3
- package/src/types/OcaMediaStreamCastMode.js +3 -3
- package/src/types/OcaMediaStreamEndpoint.d.ts +238 -0
- package/src/types/OcaMediaStreamEndpoint.js +114 -0
- package/src/types/OcaMediaStreamEndpointCommand.d.ts +80 -0
- package/src/types/OcaMediaStreamEndpointCommand.js +76 -0
- package/src/types/OcaMediaStreamEndpointState.d.ts +68 -0
- package/src/types/OcaMediaStreamEndpointState.js +60 -0
- package/src/types/OcaMediaStreamEndpointStatus.d.ts +44 -0
- package/src/types/OcaMediaStreamEndpointStatus.js +23 -0
- package/src/types/OcaMediaStreamMode.d.ts +83 -0
- package/src/types/OcaMediaStreamMode.js +43 -0
- package/src/types/OcaMediaStreamModeCapability.d.ts +167 -0
- package/src/types/OcaMediaStreamModeCapability.js +81 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.d.ts +21 -0
- package/src/types/OcaMediaStreamModeCapabilityDirection.js +27 -0
- package/src/types/OcaMediaTrackFunction.d.ts +27 -0
- package/src/types/OcaMediaTrackFunction.js +36 -0
- package/src/types/OcaMediaTransportSession.d.ts +119 -0
- package/src/types/OcaMediaTransportSession.js +58 -0
- package/src/types/OcaMediaTransportSessionConnection.d.ts +63 -0
- package/src/types/OcaMediaTransportSessionConnection.js +32 -0
- package/src/types/OcaMediaTransportSessionConnectionState.d.ts +47 -0
- package/src/types/OcaMediaTransportSessionConnectionState.js +24 -0
- package/src/types/OcaMediaTransportSessionState.d.ts +62 -0
- package/src/types/OcaMediaTransportSessionState.js +52 -0
- package/src/types/OcaMediaTransportSessionStatus.d.ts +43 -0
- package/src/types/OcaMediaTransportSessionStatus.js +23 -0
- package/src/types/OcaMediaTransportTimingParameters.d.ts +54 -0
- package/src/types/OcaMediaTransportTimingParameters.js +31 -0
- package/src/types/OcaMediaVolumePosition.d.ts +46 -0
- package/src/types/OcaMediaVolumePosition.js +23 -0
- package/src/types/OcaMediaVolumePositionType.d.ts +44 -0
- package/src/types/OcaMediaVolumePositionType.js +28 -0
- package/src/types/OcaModelGUID.d.ts +0 -1
- package/src/types/OcaModelGUID.js +0 -1
- package/src/types/OcaNetworkAdvertisingMechanism.d.ts +43 -0
- package/src/types/OcaNetworkAdvertisingMechanism.js +23 -0
- package/src/types/OcaNetworkAdvertisingService.d.ts +56 -0
- package/src/types/OcaNetworkAdvertisingService.js +44 -0
- package/src/types/OcaNetworkInterfaceAssignment.d.ts +99 -0
- package/src/types/OcaNetworkInterfaceAssignment.js +51 -0
- package/src/types/OcaNetworkInterfaceCommand.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceCommand.js +36 -0
- package/src/types/OcaNetworkInterfaceState.d.ts +50 -0
- package/src/types/OcaNetworkInterfaceState.js +36 -0
- package/src/types/OcaNetworkInterfaceStatus.d.ts +42 -0
- package/src/types/OcaNetworkInterfaceStatus.js +22 -0
- package/src/types/OcaNotificationDeliveryMode.d.ts +13 -1
- package/src/types/OcaNotificationDeliveryMode.js +17 -1
- package/src/types/OcaOPath.d.ts +16 -2
- package/src/types/OcaOPath.js +8 -1
- package/src/types/OcaObjectListEventData.d.ts +2 -2
- package/src/types/OcaObjectListEventData.js +2 -2
- package/src/types/OcaObjectSearchResult.d.ts +4 -83
- package/src/types/OcaObjectSearchResult.js +2 -37
- package/src/types/OcaObjectSearchResultFlags.d.ts +4 -33
- package/src/types/OcaObjectSearchResultFlags.js +2 -48
- package/src/types/OcaObservationEventData.d.ts +2 -2
- package/src/types/OcaObservationEventData.js +2 -2
- package/src/types/OcaObservationListEventData.d.ts +2 -2
- package/src/types/OcaObservationListEventData.js +2 -2
- package/src/types/OcaObserverState.d.ts +1 -1
- package/src/types/OcaObserverState.js +1 -1
- package/src/types/OcaParameterMask.d.ts +81 -1
- package/src/types/OcaParameterMask.js +131 -1
- package/src/types/OcaPort.d.ts +7 -5
- package/src/types/OcaPort.js +4 -3
- package/src/types/OcaPortClockMapEntry.d.ts +42 -0
- package/src/types/OcaPortClockMapEntry.js +23 -0
- package/src/types/OcaPortID.d.ts +12 -10
- package/src/types/OcaPortID.js +7 -6
- package/src/types/OcaPortIdentification.d.ts +39 -0
- package/src/types/OcaPortIdentification.js +23 -0
- package/src/types/OcaPortMode.d.ts +4 -36
- package/src/types/OcaPortMode.js +2 -25
- package/src/types/OcaPositionDescriptor.d.ts +6 -6
- package/src/types/OcaPositionDescriptor.js +2 -2
- package/src/types/OcaPositionDescriptorFieldFlags.d.ts +33 -3
- package/src/types/OcaPositionDescriptorFieldFlags.js +53 -3
- package/src/types/OcaPowerSupplyState.d.ts +1 -1
- package/src/types/OcaPowerSupplyState.js +1 -1
- package/src/types/OcaProduct.d.ts +92 -0
- package/src/types/OcaProduct.js +42 -0
- package/src/types/OcaProgramResult.d.ts +39 -0
- package/src/types/OcaProgramResult.js +22 -0
- package/src/types/OcaProgramRunMode.d.ts +24 -0
- package/src/types/OcaProgramRunMode.js +30 -0
- package/src/types/OcaProperty.d.ts +2 -2
- package/src/types/OcaProperty.js +2 -2
- package/src/types/OcaProtoObjectIdentification.d.ts +1 -1
- package/src/types/OcaProtoObjectIdentification.js +1 -1
- package/src/types/OcaProtoPort.d.ts +16 -18
- package/src/types/OcaProtoPort.js +6 -8
- package/src/types/OcaProtoPortClockMapEntry.d.ts +46 -0
- package/src/types/OcaProtoPortClockMapEntry.js +25 -0
- package/src/types/OcaProtoSignalPath.d.ts +12 -10
- package/src/types/OcaProtoSignalPath.js +7 -6
- package/src/types/OcaRamperState.d.ts +19 -18
- package/src/types/OcaRamperState.js +19 -18
- package/src/types/OcaResetCause.d.ts +7 -1
- package/src/types/OcaResetCause.js +8 -0
- package/src/types/OcaSamplingRateConverterType.d.ts +50 -0
- package/src/types/OcaSamplingRateConverterType.js +36 -0
- package/src/types/OcaSecurityType.d.ts +39 -0
- package/src/types/OcaSecurityType.js +28 -0
- package/src/types/OcaSignalPath.d.ts +10 -10
- package/src/types/OcaSignalPath.js +6 -6
- package/src/types/OcaStatus.d.ts +19 -1
- package/src/types/OcaStatus.js +24 -0
- package/src/types/OcaStream.d.ts +2 -2
- package/src/types/OcaStream.js +1 -1
- package/src/types/OcaTask.d.ts +23 -24
- package/src/types/OcaTask.js +7 -7
- package/src/types/OcaTaskCommand.d.ts +2 -7
- package/src/types/OcaTaskCommand.js +2 -9
- package/src/types/OcaTaskExecutionTerminatedEventData.d.ts +64 -0
- package/src/types/OcaTaskExecutionTerminatedEventData.js +30 -0
- package/src/types/OcaTaskGenericState.d.ts +64 -0
- package/src/types/OcaTaskGenericState.js +54 -0
- package/src/types/OcaTaskManagerState.d.ts +1 -0
- package/src/types/OcaTaskManagerState.js +1 -0
- package/src/types/OcaTaskOperationalState.d.ts +43 -0
- package/src/types/OcaTaskOperationalState.js +22 -0
- package/src/types/OcaTaskSchedulerState.d.ts +63 -0
- package/src/types/OcaTaskSchedulerState.js +53 -0
- package/src/types/OcaTaskStatus.d.ts +2 -12
- package/src/types/OcaTaskStatus.js +2 -12
- package/src/types/OcaTaskStatusChangedEventData.d.ts +61 -0
- package/src/types/OcaTaskStatusChangedEventData.js +29 -0
- package/src/types/OcaTime.d.ts +56 -0
- package/src/types/OcaTime.js +32 -0
- package/src/types/OcaTimeDeliveryMechanism.d.ts +167 -0
- package/src/types/OcaTimeDeliveryMechanism.js +191 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.d.ts +40 -0
- package/src/types/OcaTimeDeliveryParameters_StreamEndpoint.js +24 -0
- package/src/types/OcaTimePTP.d.ts +4 -51
- package/src/types/OcaTimePTP.js +2 -28
- package/src/types/OcaTimeReferenceType.d.ts +7 -13
- package/src/types/OcaTimeReferenceType.js +6 -14
- package/src/types/OcaTimeSourceAvailability.d.ts +1 -1
- package/src/types/OcaTimeSourceAvailability.js +1 -1
- package/src/types/OcaTimeSourceSyncStatus.d.ts +1 -1
- package/src/types/OcaTimeSourceSyncStatus.js +1 -1
- package/src/types/OcaTransferFunction.d.ts +1 -1
- package/src/types/OcaTransferFunction.js +1 -1
- package/src/types/OcaTypedBlob.d.ts +40 -0
- package/src/types/OcaTypedBlob.js +24 -0
- package/src/types/OcaVariant.d.ts +19 -0
- package/src/types/OcaVariant.js +18 -0
- package/src/types/OcaWhenPhysicalAbsolute.d.ts +39 -0
- package/src/types/OcaWhenPhysicalAbsolute.js +22 -0
- package/src/types/OcaWhenPhysicalRelative.d.ts +39 -0
- package/src/types/OcaWhenPhysicalRelative.js +22 -0
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
IOcaTimeDeliveryMechanism,
|
|
3
|
+
OcaTimeDeliveryMechanism,
|
|
4
|
+
} from '../../types/OcaTimeDeliveryMechanism';
|
|
2
5
|
import {
|
|
3
6
|
IOcaTimeReferenceType,
|
|
4
7
|
OcaTimeReferenceType,
|
|
@@ -10,8 +13,8 @@ import { RemoteDevice } from '../remote_device';
|
|
|
10
13
|
import { OcaAgent } from './OcaAgent';
|
|
11
14
|
|
|
12
15
|
/**
|
|
13
|
-
* A time source, internal or external
|
|
14
|
-
*
|
|
16
|
+
* A time source, internal or external, and the delivery method by which time
|
|
17
|
+
* values reach this device.
|
|
15
18
|
* @extends OcaAgent
|
|
16
19
|
* @class OcaTimeSource
|
|
17
20
|
*/
|
|
@@ -22,15 +25,23 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
22
25
|
OnAvailabilityChanged: PropertyEvent<OcaTimeSourceAvailability>;
|
|
23
26
|
|
|
24
27
|
/**
|
|
25
|
-
* This event is emitted whenever
|
|
28
|
+
* This event is emitted whenever TimeDeliveryMechanism changes.
|
|
26
29
|
*/
|
|
27
|
-
|
|
30
|
+
OnTimeDeliveryMechanismChanged: PropertyEvent<OcaTimeDeliveryMechanism>;
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
|
-
*
|
|
33
|
+
* An alias for OnTimeDeliveryMechanismChanged
|
|
31
34
|
*/
|
|
32
|
-
|
|
35
|
+
OnProtocolChanged: PropertyEvent<OcaTimeDeliveryMechanism>;
|
|
36
|
+
/**
|
|
37
|
+
* This event is emitted whenever ReferenceSDPDescription changes.
|
|
38
|
+
*/
|
|
39
|
+
OnReferenceSDPDescriptionChanged: PropertyEvent<string>;
|
|
33
40
|
|
|
41
|
+
/**
|
|
42
|
+
* An alias for OnReferenceSDPDescriptionChanged
|
|
43
|
+
*/
|
|
44
|
+
OnParametersChanged: PropertyEvent<string>;
|
|
34
45
|
/**
|
|
35
46
|
* This event is emitted whenever ReferenceType changes.
|
|
36
47
|
*/
|
|
@@ -46,11 +57,15 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
46
57
|
*/
|
|
47
58
|
OnSyncStatusChanged: PropertyEvent<OcaTimeSourceSyncStatus>;
|
|
48
59
|
|
|
60
|
+
/**
|
|
61
|
+
* This event is emitted whenever TimeDeliveryParameters changes.
|
|
62
|
+
*/
|
|
63
|
+
OnTimeDeliveryParametersChanged: PropertyEvent<string>;
|
|
64
|
+
|
|
49
65
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
50
66
|
|
|
51
67
|
/**
|
|
52
|
-
* Gets the value of the **Availability** property.
|
|
53
|
-
* whether the value was successfully retrieved.
|
|
68
|
+
* Gets the value of the **Availability** property.
|
|
54
69
|
*
|
|
55
70
|
* @method OcaTimeSource#GetAvailability
|
|
56
71
|
* @returns {Promise<OcaTimeSourceAvailability>}
|
|
@@ -59,29 +74,61 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
59
74
|
GetAvailability(): Promise<OcaTimeSourceAvailability>;
|
|
60
75
|
|
|
61
76
|
/**
|
|
62
|
-
* Gets the value of the **
|
|
63
|
-
*
|
|
77
|
+
* Gets the value of the **TimeDeliveryMechanism** property. Prior to v3 of
|
|
78
|
+
* this class, was named **GetProtocol.**
|
|
79
|
+
*
|
|
80
|
+
* @method OcaTimeSource#GetTimeDeliveryMechanism
|
|
81
|
+
* @returns {Promise<OcaTimeDeliveryMechanism>}
|
|
82
|
+
* A promise which resolves to a single value of type :class:`OcaTimeDeliveryMechanism`.
|
|
83
|
+
*/
|
|
84
|
+
GetTimeDeliveryMechanism(): Promise<OcaTimeDeliveryMechanism>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Gets the value of the **TimeDeliveryMechanism** property. Prior to v3 of
|
|
88
|
+
* this class, was named **GetProtocol.**
|
|
89
|
+
* An alias for GetTimeDeliveryMechanism.
|
|
64
90
|
*
|
|
65
91
|
* @method OcaTimeSource#GetProtocol
|
|
66
|
-
* @returns {Promise<
|
|
67
|
-
* A promise which resolves to a single value of type :class:`
|
|
92
|
+
* @returns {Promise<OcaTimeDeliveryMechanism>}
|
|
93
|
+
* A promise which resolves to a single value of type :class:`OcaTimeDeliveryMechanism`.
|
|
68
94
|
*/
|
|
69
|
-
GetProtocol(): Promise<
|
|
95
|
+
GetProtocol(): Promise<OcaTimeDeliveryMechanism>;
|
|
70
96
|
|
|
71
97
|
/**
|
|
72
|
-
* Sets the value of the **
|
|
73
|
-
*
|
|
98
|
+
* Sets the value of the **TimeDeliveryMechanism** property. Prior to v3 of
|
|
99
|
+
* this class, was named **SetProtocol**.
|
|
100
|
+
*
|
|
101
|
+
* @method OcaTimeSource#SetTimeDeliveryMechanism
|
|
102
|
+
* @param {IOcaTimeDeliveryMechanism} Mechanism
|
|
103
|
+
*
|
|
104
|
+
* @returns {Promise<void>}
|
|
105
|
+
*/
|
|
106
|
+
SetTimeDeliveryMechanism(Mechanism: IOcaTimeDeliveryMechanism): Promise<void>;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Sets the value of the **TimeDeliveryMechanism** property. Prior to v3 of
|
|
110
|
+
* this class, was named **SetProtocol**.
|
|
111
|
+
* An alias for SetTimeDeliveryMechanism.
|
|
74
112
|
*
|
|
75
113
|
* @method OcaTimeSource#SetProtocol
|
|
76
|
-
* @param {
|
|
114
|
+
* @param {IOcaTimeDeliveryMechanism} Mechanism
|
|
77
115
|
*
|
|
78
116
|
* @returns {Promise<void>}
|
|
79
117
|
*/
|
|
80
|
-
SetProtocol(
|
|
118
|
+
SetProtocol(Mechanism: IOcaTimeDeliveryMechanism): Promise<void>;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Gets the value of the **ReferenceSDPDescription** property.
|
|
122
|
+
*
|
|
123
|
+
* @method OcaTimeSource#GetReferenceSDPDescription
|
|
124
|
+
* @returns {Promise<string>}
|
|
125
|
+
* A promise which resolves to a single value of type ``string``.
|
|
126
|
+
*/
|
|
127
|
+
GetReferenceSDPDescription(): Promise<string>;
|
|
81
128
|
|
|
82
129
|
/**
|
|
83
|
-
* Gets the value of the **
|
|
84
|
-
*
|
|
130
|
+
* Gets the value of the **ReferenceSDPDescription** property.
|
|
131
|
+
* An alias for GetReferenceSDPDescription.
|
|
85
132
|
*
|
|
86
133
|
* @method OcaTimeSource#GetParameters
|
|
87
134
|
* @returns {Promise<string>}
|
|
@@ -90,9 +137,20 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
90
137
|
GetParameters(): Promise<string>;
|
|
91
138
|
|
|
92
139
|
/**
|
|
93
|
-
* Sets the value of the **
|
|
94
|
-
*
|
|
95
|
-
*
|
|
140
|
+
* Sets the value of the **ReferenceSDPDescription** property. Optional
|
|
141
|
+
* method, may not be supported in all implementations.
|
|
142
|
+
*
|
|
143
|
+
* @method OcaTimeSource#SetReferenceSDPDescription
|
|
144
|
+
* @param {string} Parameters
|
|
145
|
+
*
|
|
146
|
+
* @returns {Promise<void>}
|
|
147
|
+
*/
|
|
148
|
+
SetReferenceSDPDescription(Parameters: string): Promise<void>;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Sets the value of the **ReferenceSDPDescription** property. Optional
|
|
152
|
+
* method, may not be supported in all implementations.
|
|
153
|
+
* An alias for SetReferenceSDPDescription.
|
|
96
154
|
*
|
|
97
155
|
* @method OcaTimeSource#SetParameters
|
|
98
156
|
* @param {string} Parameters
|
|
@@ -102,8 +160,7 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
102
160
|
SetParameters(Parameters: string): Promise<void>;
|
|
103
161
|
|
|
104
162
|
/**
|
|
105
|
-
* Gets the time reference type.
|
|
106
|
-
* was successfully retrieved.
|
|
163
|
+
* Gets the time reference type. **This method is deprecated.**
|
|
107
164
|
*
|
|
108
165
|
* @method OcaTimeSource#GetReferenceType
|
|
109
166
|
* @returns {Promise<OcaTimeReferenceType>}
|
|
@@ -112,9 +169,8 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
112
169
|
GetReferenceType(): Promise<OcaTimeReferenceType>;
|
|
113
170
|
|
|
114
171
|
/**
|
|
115
|
-
* Sets the time reference type.
|
|
116
|
-
*
|
|
117
|
-
* implementations.
|
|
172
|
+
* Sets the time reference type. Optional method, may not be supported in all
|
|
173
|
+
* implementations. **This method is deprecated.**
|
|
118
174
|
*
|
|
119
175
|
* @method OcaTimeSource#SetReferenceType
|
|
120
176
|
* @param {IOcaTimeReferenceType} ReferenceType
|
|
@@ -124,8 +180,7 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
124
180
|
SetReferenceType(ReferenceType: IOcaTimeReferenceType): Promise<void>;
|
|
125
181
|
|
|
126
182
|
/**
|
|
127
|
-
* Gets the timing source ID.
|
|
128
|
-
* successfully retrieved. Optional method, not required for all time
|
|
183
|
+
* Gets the timing source ID. Optional method, not required for all time
|
|
129
184
|
* reference types.
|
|
130
185
|
*
|
|
131
186
|
* @method OcaTimeSource#GetReferenceID
|
|
@@ -135,9 +190,8 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
135
190
|
GetReferenceID(): Promise<string>;
|
|
136
191
|
|
|
137
192
|
/**
|
|
138
|
-
* Sets the time reference ID.
|
|
139
|
-
*
|
|
140
|
-
* types.
|
|
193
|
+
* Sets the time reference ID. Optional method, not required for all time
|
|
194
|
+
* reference types.
|
|
141
195
|
*
|
|
142
196
|
* @method OcaTimeSource#SetReferenceID
|
|
143
197
|
* @param {string} ID
|
|
@@ -147,8 +201,7 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
147
201
|
SetReferenceID(ID: string): Promise<void>;
|
|
148
202
|
|
|
149
203
|
/**
|
|
150
|
-
* Gets the synchronization status of this time source.
|
|
151
|
-
* indicates whether the value was successfully retrieved.
|
|
204
|
+
* Gets the synchronization status of this time source.
|
|
152
205
|
*
|
|
153
206
|
* @method OcaTimeSource#GetSyncStatus
|
|
154
207
|
* @returns {Promise<OcaTimeSourceSyncStatus>}
|
|
@@ -157,11 +210,29 @@ export declare class OcaTimeSource extends OcaAgent {
|
|
|
157
210
|
GetSyncStatus(): Promise<OcaTimeSourceSyncStatus>;
|
|
158
211
|
|
|
159
212
|
/**
|
|
160
|
-
* Resets this time source. Initiates a new synchronization sequence.
|
|
161
|
-
* return value indicates whether the reset was successful.
|
|
213
|
+
* Resets this time source. Initiates a new synchronization sequence.
|
|
162
214
|
*
|
|
163
215
|
* @method OcaTimeSource#Reset
|
|
164
216
|
* @returns {Promise<void>}
|
|
165
217
|
*/
|
|
166
218
|
Reset(): Promise<void>;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Gets the value of the **TimeDeliveryParameters** property. Optional method.
|
|
222
|
+
*
|
|
223
|
+
* @method OcaTimeSource#GetTimeDeliveryParameters
|
|
224
|
+
* @returns {Promise<string>}
|
|
225
|
+
* A promise which resolves to a single value of type ``string``.
|
|
226
|
+
*/
|
|
227
|
+
GetTimeDeliveryParameters(): Promise<string>;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* Sets the value of the **TimeDeliveryParameters** property. Optional method.
|
|
231
|
+
*
|
|
232
|
+
* @method OcaTimeSource#SetTimeDeliveryParameters
|
|
233
|
+
* @param {string} Record
|
|
234
|
+
*
|
|
235
|
+
* @returns {Promise<void>}
|
|
236
|
+
*/
|
|
237
|
+
SetTimeDeliveryParameters(Record: string): Promise<void>;
|
|
167
238
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OcaString } from '../../OCP1/OcaString.js';
|
|
2
|
-
import {
|
|
2
|
+
import { OcaTimeDeliveryMechanism } from '../../OCP1/OcaTimeDeliveryMechanism.js';
|
|
3
3
|
import { OcaTimeReferenceType } from '../../OCP1/OcaTimeReferenceType.js';
|
|
4
4
|
import { OcaTimeSourceAvailability } from '../../OCP1/OcaTimeSourceAvailability.js';
|
|
5
5
|
import { OcaTimeSourceSyncStatus } from '../../OCP1/OcaTimeSourceSyncStatus.js';
|
|
@@ -7,8 +7,8 @@ import { make_control_class } from '../make_control_class.js';
|
|
|
7
7
|
import { OcaAgent } from './OcaAgent.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* A time source, internal or external
|
|
11
|
-
*
|
|
10
|
+
* A time source, internal or external, and the delivery method by which time
|
|
11
|
+
* values reach this device.
|
|
12
12
|
* @extends OcaAgent
|
|
13
13
|
* @class OcaTimeSource
|
|
14
14
|
*/
|
|
@@ -16,69 +16,136 @@ export const OcaTimeSource = make_control_class(
|
|
|
16
16
|
'OcaTimeSource',
|
|
17
17
|
3,
|
|
18
18
|
'\u0001\u0002\u0010',
|
|
19
|
-
|
|
19
|
+
3,
|
|
20
20
|
OcaAgent,
|
|
21
21
|
[
|
|
22
22
|
['GetAvailability', 3, 1, [], [OcaTimeSourceAvailability]],
|
|
23
|
-
[
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
[
|
|
24
|
+
'GetTimeDeliveryMechanism',
|
|
25
|
+
3,
|
|
26
|
+
2,
|
|
27
|
+
[],
|
|
28
|
+
[OcaTimeDeliveryMechanism],
|
|
29
|
+
['GetProtocol'],
|
|
30
|
+
],
|
|
31
|
+
[
|
|
32
|
+
'SetTimeDeliveryMechanism',
|
|
33
|
+
3,
|
|
34
|
+
3,
|
|
35
|
+
[OcaTimeDeliveryMechanism],
|
|
36
|
+
[],
|
|
37
|
+
['SetProtocol'],
|
|
38
|
+
],
|
|
39
|
+
['GetReferenceSDPDescription', 3, 4, [], [OcaString], ['GetParameters']],
|
|
40
|
+
['SetReferenceSDPDescription', 3, 5, [OcaString], [], ['SetParameters']],
|
|
27
41
|
['GetReferenceType', 3, 6, [], [OcaTimeReferenceType]],
|
|
28
42
|
['SetReferenceType', 3, 7, [OcaTimeReferenceType], []],
|
|
29
43
|
['GetReferenceID', 3, 8, [], [OcaString]],
|
|
30
44
|
['SetReferenceID', 3, 9, [OcaString], []],
|
|
31
45
|
['GetSyncStatus', 3, 10, [], [OcaTimeSourceSyncStatus]],
|
|
32
46
|
['Reset', 3, 11, [], []],
|
|
47
|
+
['GetTimeDeliveryParameters', 3, 12, [], [OcaString]],
|
|
48
|
+
['SetTimeDeliveryParameters', 3, 13, [OcaString], []],
|
|
33
49
|
],
|
|
34
50
|
[
|
|
35
51
|
['Availability', [OcaTimeSourceAvailability], 3, 1, false, false, null],
|
|
36
|
-
[
|
|
37
|
-
|
|
52
|
+
[
|
|
53
|
+
'TimeDeliveryMechanism',
|
|
54
|
+
[OcaTimeDeliveryMechanism],
|
|
55
|
+
3,
|
|
56
|
+
2,
|
|
57
|
+
false,
|
|
58
|
+
false,
|
|
59
|
+
['Protocol'],
|
|
60
|
+
],
|
|
61
|
+
[
|
|
62
|
+
'ReferenceSDPDescription',
|
|
63
|
+
[OcaString],
|
|
64
|
+
3,
|
|
65
|
+
3,
|
|
66
|
+
false,
|
|
67
|
+
false,
|
|
68
|
+
['Parameters'],
|
|
69
|
+
],
|
|
38
70
|
['ReferenceType', [OcaTimeReferenceType], 3, 4, false, false, null],
|
|
39
71
|
['ReferenceID', [OcaString], 3, 5, false, false, null],
|
|
40
72
|
['SyncStatus', [OcaTimeSourceSyncStatus], 3, 6, false, false, null],
|
|
73
|
+
['TimeDeliveryParameters', [OcaString], 3, 7, false, false, null],
|
|
41
74
|
],
|
|
42
75
|
[]
|
|
43
76
|
);
|
|
44
77
|
|
|
45
78
|
/**
|
|
46
|
-
* Gets the value of the **Availability** property.
|
|
47
|
-
* whether the value was successfully retrieved.
|
|
79
|
+
* Gets the value of the **Availability** property.
|
|
48
80
|
*
|
|
49
81
|
* @method OcaTimeSource#GetAvailability
|
|
50
82
|
* @returns {Promise<OcaTimeSourceAvailability>}
|
|
51
83
|
* A promise which resolves to a single value of type :class:`OcaTimeSourceAvailability`.
|
|
52
84
|
*/
|
|
53
85
|
/**
|
|
54
|
-
* Gets the value of the **
|
|
55
|
-
*
|
|
86
|
+
* Gets the value of the **TimeDeliveryMechanism** property. Prior to v3 of this
|
|
87
|
+
* class, was named **GetProtocol.**
|
|
88
|
+
*
|
|
89
|
+
* @method OcaTimeSource#GetTimeDeliveryMechanism
|
|
90
|
+
* @returns {Promise<OcaTimeDeliveryMechanism>}
|
|
91
|
+
* A promise which resolves to a single value of type :class:`OcaTimeDeliveryMechanism`.
|
|
92
|
+
*/
|
|
93
|
+
/**
|
|
94
|
+
* Gets the value of the **TimeDeliveryMechanism** property. Prior to v3 of this
|
|
95
|
+
* class, was named **GetProtocol.**
|
|
96
|
+
* An alias for GetTimeDeliveryMechanism.
|
|
56
97
|
*
|
|
57
98
|
* @method OcaTimeSource#GetProtocol
|
|
58
|
-
* @returns {Promise<
|
|
59
|
-
* A promise which resolves to a single value of type :class:`
|
|
99
|
+
* @returns {Promise<OcaTimeDeliveryMechanism>}
|
|
100
|
+
* A promise which resolves to a single value of type :class:`OcaTimeDeliveryMechanism`.
|
|
101
|
+
*/
|
|
102
|
+
/**
|
|
103
|
+
* Sets the value of the **TimeDeliveryMechanism** property. Prior to v3 of this
|
|
104
|
+
* class, was named **SetProtocol**.
|
|
105
|
+
*
|
|
106
|
+
* @method OcaTimeSource#SetTimeDeliveryMechanism
|
|
107
|
+
* @param {IOcaTimeDeliveryMechanism} Mechanism
|
|
108
|
+
*
|
|
109
|
+
* @returns {Promise<void>}
|
|
60
110
|
*/
|
|
61
111
|
/**
|
|
62
|
-
* Sets the value of the **
|
|
63
|
-
*
|
|
112
|
+
* Sets the value of the **TimeDeliveryMechanism** property. Prior to v3 of this
|
|
113
|
+
* class, was named **SetProtocol**.
|
|
114
|
+
* An alias for SetTimeDeliveryMechanism.
|
|
64
115
|
*
|
|
65
116
|
* @method OcaTimeSource#SetProtocol
|
|
66
|
-
* @param {
|
|
117
|
+
* @param {IOcaTimeDeliveryMechanism} Mechanism
|
|
67
118
|
*
|
|
68
119
|
* @returns {Promise<void>}
|
|
69
120
|
*/
|
|
70
121
|
/**
|
|
71
|
-
* Gets the value of the **
|
|
72
|
-
*
|
|
122
|
+
* Gets the value of the **ReferenceSDPDescription** property.
|
|
123
|
+
*
|
|
124
|
+
* @method OcaTimeSource#GetReferenceSDPDescription
|
|
125
|
+
* @returns {Promise<string>}
|
|
126
|
+
* A promise which resolves to a single value of type ``string``.
|
|
127
|
+
*/
|
|
128
|
+
/**
|
|
129
|
+
* Gets the value of the **ReferenceSDPDescription** property.
|
|
130
|
+
* An alias for GetReferenceSDPDescription.
|
|
73
131
|
*
|
|
74
132
|
* @method OcaTimeSource#GetParameters
|
|
75
133
|
* @returns {Promise<string>}
|
|
76
134
|
* A promise which resolves to a single value of type ``string``.
|
|
77
135
|
*/
|
|
78
136
|
/**
|
|
79
|
-
* Sets the value of the **
|
|
80
|
-
*
|
|
81
|
-
*
|
|
137
|
+
* Sets the value of the **ReferenceSDPDescription** property. Optional method,
|
|
138
|
+
* may not be supported in all implementations.
|
|
139
|
+
*
|
|
140
|
+
* @method OcaTimeSource#SetReferenceSDPDescription
|
|
141
|
+
* @param {string} Parameters
|
|
142
|
+
*
|
|
143
|
+
* @returns {Promise<void>}
|
|
144
|
+
*/
|
|
145
|
+
/**
|
|
146
|
+
* Sets the value of the **ReferenceSDPDescription** property. Optional method,
|
|
147
|
+
* may not be supported in all implementations.
|
|
148
|
+
* An alias for SetReferenceSDPDescription.
|
|
82
149
|
*
|
|
83
150
|
* @method OcaTimeSource#SetParameters
|
|
84
151
|
* @param {string} Parameters
|
|
@@ -86,17 +153,15 @@ export const OcaTimeSource = make_control_class(
|
|
|
86
153
|
* @returns {Promise<void>}
|
|
87
154
|
*/
|
|
88
155
|
/**
|
|
89
|
-
* Gets the time reference type.
|
|
90
|
-
* was successfully retrieved.
|
|
156
|
+
* Gets the time reference type. **This method is deprecated.**
|
|
91
157
|
*
|
|
92
158
|
* @method OcaTimeSource#GetReferenceType
|
|
93
159
|
* @returns {Promise<OcaTimeReferenceType>}
|
|
94
160
|
* A promise which resolves to a single value of type :class:`OcaTimeReferenceType`.
|
|
95
161
|
*/
|
|
96
162
|
/**
|
|
97
|
-
* Sets the time reference type.
|
|
98
|
-
*
|
|
99
|
-
* implementations.
|
|
163
|
+
* Sets the time reference type. Optional method, may not be supported in all
|
|
164
|
+
* implementations. **This method is deprecated.**
|
|
100
165
|
*
|
|
101
166
|
* @method OcaTimeSource#SetReferenceType
|
|
102
167
|
* @param {IOcaTimeReferenceType} ReferenceType
|
|
@@ -104,17 +169,16 @@ export const OcaTimeSource = make_control_class(
|
|
|
104
169
|
* @returns {Promise<void>}
|
|
105
170
|
*/
|
|
106
171
|
/**
|
|
107
|
-
* Gets the timing source ID.
|
|
108
|
-
*
|
|
109
|
-
* types.
|
|
172
|
+
* Gets the timing source ID. Optional method, not required for all time
|
|
173
|
+
* reference types.
|
|
110
174
|
*
|
|
111
175
|
* @method OcaTimeSource#GetReferenceID
|
|
112
176
|
* @returns {Promise<string>}
|
|
113
177
|
* A promise which resolves to a single value of type ``string``.
|
|
114
178
|
*/
|
|
115
179
|
/**
|
|
116
|
-
* Sets the time reference ID.
|
|
117
|
-
*
|
|
180
|
+
* Sets the time reference ID. Optional method, not required for all time
|
|
181
|
+
* reference types.
|
|
118
182
|
*
|
|
119
183
|
* @method OcaTimeSource#SetReferenceID
|
|
120
184
|
* @param {string} ID
|
|
@@ -122,20 +186,33 @@ export const OcaTimeSource = make_control_class(
|
|
|
122
186
|
* @returns {Promise<void>}
|
|
123
187
|
*/
|
|
124
188
|
/**
|
|
125
|
-
* Gets the synchronization status of this time source.
|
|
126
|
-
* indicates whether the value was successfully retrieved.
|
|
189
|
+
* Gets the synchronization status of this time source.
|
|
127
190
|
*
|
|
128
191
|
* @method OcaTimeSource#GetSyncStatus
|
|
129
192
|
* @returns {Promise<OcaTimeSourceSyncStatus>}
|
|
130
193
|
* A promise which resolves to a single value of type :class:`OcaTimeSourceSyncStatus`.
|
|
131
194
|
*/
|
|
132
195
|
/**
|
|
133
|
-
* Resets this time source. Initiates a new synchronization sequence.
|
|
134
|
-
* value indicates whether the reset was successful.
|
|
196
|
+
* Resets this time source. Initiates a new synchronization sequence.
|
|
135
197
|
*
|
|
136
198
|
* @method OcaTimeSource#Reset
|
|
137
199
|
* @returns {Promise<void>}
|
|
138
200
|
*/
|
|
201
|
+
/**
|
|
202
|
+
* Gets the value of the **TimeDeliveryParameters** property. Optional method.
|
|
203
|
+
*
|
|
204
|
+
* @method OcaTimeSource#GetTimeDeliveryParameters
|
|
205
|
+
* @returns {Promise<string>}
|
|
206
|
+
* A promise which resolves to a single value of type ``string``.
|
|
207
|
+
*/
|
|
208
|
+
/**
|
|
209
|
+
* Sets the value of the **TimeDeliveryParameters** property. Optional method.
|
|
210
|
+
*
|
|
211
|
+
* @method OcaTimeSource#SetTimeDeliveryParameters
|
|
212
|
+
* @param {string} Record
|
|
213
|
+
*
|
|
214
|
+
* @returns {Promise<void>}
|
|
215
|
+
*/
|
|
139
216
|
/**
|
|
140
217
|
* This event is emitted when the property ``Availability`` changes in the remote object.
|
|
141
218
|
* The property ``Availability`` is described in the AES70 standard as follows.
|
|
@@ -144,32 +221,44 @@ export const OcaTimeSource = make_control_class(
|
|
|
144
221
|
* @member {PropertyEvent<OcaTimeSourceAvailability>} OcaTimeSource#OnAvailabilityChanged
|
|
145
222
|
*/
|
|
146
223
|
/**
|
|
147
|
-
* This event is emitted when the property ``
|
|
148
|
-
* The property ``
|
|
149
|
-
* Time
|
|
224
|
+
* This event is emitted when the property ``TimeDeliveryMechanism`` changes in the remote object.
|
|
225
|
+
* The property ``TimeDeliveryMechanism`` is described in the AES70 standard as follows.
|
|
226
|
+
* Time delivery mechanism used by this time source. Named **Protocol** prior to
|
|
227
|
+
* v3 of this class.
|
|
150
228
|
*
|
|
151
|
-
* @member {PropertyEvent<
|
|
229
|
+
* @member {PropertyEvent<OcaTimeDeliveryMechanism>} OcaTimeSource#OnTimeDeliveryMechanismChanged
|
|
152
230
|
*/
|
|
153
231
|
/**
|
|
154
|
-
*
|
|
155
|
-
*
|
|
232
|
+
* An alias for OnTimeDeliveryMechanismChanged
|
|
233
|
+
*
|
|
234
|
+
* @member {PropertyEvent<OcaTimeDeliveryMechanism>} OcaTimeSource#OnProtocolChanged
|
|
235
|
+
*/
|
|
236
|
+
/**
|
|
237
|
+
* This event is emitted when the property ``ReferenceSDPDescription`` changes in the remote object.
|
|
238
|
+
* The property ``ReferenceSDPDescription`` is described in the AES70 standard as follows.
|
|
156
239
|
* Parameters (identifiers, modifiers, etc.) for this time source . Content is
|
|
157
|
-
* an SDP
|
|
240
|
+
* an SDP time reference specification as defined in RFC7273, section 4.8.
|
|
241
|
+
*
|
|
242
|
+
* @member {PropertyEvent<string>} OcaTimeSource#OnReferenceSDPDescriptionChanged
|
|
243
|
+
*/
|
|
244
|
+
/**
|
|
245
|
+
* An alias for OnReferenceSDPDescriptionChanged
|
|
158
246
|
*
|
|
159
247
|
* @member {PropertyEvent<string>} OcaTimeSource#OnParametersChanged
|
|
160
248
|
*/
|
|
161
249
|
/**
|
|
162
250
|
* This event is emitted when the property ``ReferenceType`` changes in the remote object.
|
|
163
251
|
* The property ``ReferenceType`` is described in the AES70 standard as follows.
|
|
164
|
-
* Type of time reference to which this time source is
|
|
252
|
+
* Type of time reference to which this time source is synchronized, if any.
|
|
253
|
+
* **This property is deprecated.**
|
|
165
254
|
*
|
|
166
255
|
* @member {PropertyEvent<OcaTimeReferenceType>} OcaTimeSource#OnReferenceTypeChanged
|
|
167
256
|
*/
|
|
168
257
|
/**
|
|
169
258
|
* This event is emitted when the property ``ReferenceID`` changes in the remote object.
|
|
170
259
|
* The property ``ReferenceID`` is described in the AES70 standard as follows.
|
|
171
|
-
* Identifier of reference to which this time source is
|
|
172
|
-
* needed for all reference types.
|
|
260
|
+
* Identifier of reference to which this time source is synchronized, if any.
|
|
261
|
+
* Not needed for all time reference types. **This property is deprecated.**
|
|
173
262
|
*
|
|
174
263
|
* @member {PropertyEvent<string>} OcaTimeSource#OnReferenceIDChanged
|
|
175
264
|
*/
|
|
@@ -180,3 +269,14 @@ export const OcaTimeSource = make_control_class(
|
|
|
180
269
|
*
|
|
181
270
|
* @member {PropertyEvent<OcaTimeSourceSyncStatus>} OcaTimeSource#OnSyncStatusChanged
|
|
182
271
|
*/
|
|
272
|
+
/**
|
|
273
|
+
* This event is emitted when the property ``TimeDeliveryParameters`` changes in the remote object.
|
|
274
|
+
* The property ``TimeDeliveryParameters`` is described in the AES70 standard as follows.
|
|
275
|
+
* External parameter record for time delivery parameters. If
|
|
276
|
+
* **TimeDeliveryMechanism**=**StreamEndpoint**, then the schema of this
|
|
277
|
+
* parameter record shall be defined by the datatype
|
|
278
|
+
* **OcaTimeDeliveryParameters_StreamEndpoint**. Otherwise, the schema shall
|
|
279
|
+
* depend on the time delivery method chosen, and is out of scope of AES70-2.
|
|
280
|
+
*
|
|
281
|
+
* @member {PropertyEvent<string>} OcaTimeSource#OnTimeDeliveryParametersChanged
|
|
282
|
+
*/
|
|
@@ -4,7 +4,7 @@ import { RemoteDevice } from '../remote_device';
|
|
|
4
4
|
import { OcaBasicActuator } from './OcaBasicActuator';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* 16-bit unsigned integer actuator
|
|
8
8
|
* @extends OcaBasicActuator
|
|
9
9
|
* @class OcaUint16Actuator
|
|
10
10
|
*/
|
|
@@ -17,8 +17,7 @@ export declare class OcaUint16Actuator extends OcaBasicActuator {
|
|
|
17
17
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Gets the value and limits of the Setting property.
|
|
21
|
-
* indicates whether the data was successfully retrieved.
|
|
20
|
+
* Gets the value and limits of the **Setting** property.
|
|
22
21
|
* The return values of this method are
|
|
23
22
|
*
|
|
24
23
|
* - Setting of type ``number``
|
|
@@ -31,8 +30,7 @@ export declare class OcaUint16Actuator extends OcaBasicActuator {
|
|
|
31
30
|
GetSetting(): Promise<Arguments<[number, number, number]>>;
|
|
32
31
|
|
|
33
32
|
/**
|
|
34
|
-
* Sets the value of the **Setting** property.
|
|
35
|
-
* whether the property was successfully set.
|
|
33
|
+
* Sets the value of the **Setting** property.
|
|
36
34
|
*
|
|
37
35
|
* @method OcaUint16Actuator#SetSetting
|
|
38
36
|
* @param {number} Setting
|
|
@@ -3,7 +3,7 @@ import { make_control_class } from '../make_control_class.js';
|
|
|
3
3
|
import { OcaBasicActuator } from './OcaBasicActuator.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* 16-bit unsigned integer actuator
|
|
7
7
|
* @extends OcaBasicActuator
|
|
8
8
|
* @class OcaUint16Actuator
|
|
9
9
|
*/
|
|
@@ -11,7 +11,7 @@ export const OcaUint16Actuator = make_control_class(
|
|
|
11
11
|
'OcaUint16Actuator',
|
|
12
12
|
5,
|
|
13
13
|
'\u0001\u0001\u0001\u0001\u0007',
|
|
14
|
-
|
|
14
|
+
3,
|
|
15
15
|
OcaBasicActuator,
|
|
16
16
|
[
|
|
17
17
|
['GetSetting', 5, 1, [], [OcaUint16, OcaUint16, OcaUint16]],
|
|
@@ -22,8 +22,7 @@ export const OcaUint16Actuator = make_control_class(
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the value and limits of the Setting property.
|
|
26
|
-
* whether the data was successfully retrieved.
|
|
25
|
+
* Gets the value and limits of the **Setting** property.
|
|
27
26
|
* The return values of this method are
|
|
28
27
|
*
|
|
29
28
|
* - Setting of type ``number``
|
|
@@ -34,8 +33,7 @@ export const OcaUint16Actuator = make_control_class(
|
|
|
34
33
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
35
34
|
*/
|
|
36
35
|
/**
|
|
37
|
-
* Sets the value of the **Setting** property.
|
|
38
|
-
* whether the property was successfully set.
|
|
36
|
+
* Sets the value of the **Setting** property.
|
|
39
37
|
*
|
|
40
38
|
* @method OcaUint16Actuator#SetSetting
|
|
41
39
|
* @param {number} Setting
|
|
@@ -4,7 +4,7 @@ import { RemoteDevice } from '../remote_device';
|
|
|
4
4
|
import { OcaBasicSensor } from './OcaBasicSensor';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* 16-bit unsigned integer sensor
|
|
8
8
|
* @extends OcaBasicSensor
|
|
9
9
|
* @class OcaUint16Sensor
|
|
10
10
|
*/
|
|
@@ -17,8 +17,7 @@ export declare class OcaUint16Sensor extends OcaBasicSensor {
|
|
|
17
17
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Gets the value and limits of the **Reading** property.
|
|
21
|
-
* indicates whether the data was successfully retrieved.
|
|
20
|
+
* Gets the value and limits of the **Reading** property.
|
|
22
21
|
* The return values of this method are
|
|
23
22
|
*
|
|
24
23
|
* - Reading of type ``number``
|