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
|
@@ -42,20 +42,20 @@ import { OcaAgent } from './OcaAgent';
|
|
|
42
42
|
* - For signed integer targets, the threshold and target are both coerced to
|
|
43
43
|
* **OcaInt64** before comparing.
|
|
44
44
|
*
|
|
45
|
-
* - For boolean values, the threshold
|
|
45
|
+
* - For boolean values, the threshold and target are both coerced to
|
|
46
46
|
* **OcaUint8**, True is assigned the value One, False is assigned the value
|
|
47
47
|
* Zero.
|
|
48
48
|
*
|
|
49
49
|
*
|
|
50
50
|
* Note that this coercion may result in rounding errors if the observed
|
|
51
|
-
* datatype is of type OcaUint64 or
|
|
51
|
+
* datatype is of type **OcaUint64** or **OcaInt64**. An **OcaNumericObserver**
|
|
52
52
|
* instance and the property it observes are bound at the time the
|
|
53
53
|
* **OcaNumericObserver** instance is constructed. For static devices,
|
|
54
54
|
* construction will occur during manufacture, or possibly during a subsequent
|
|
55
55
|
* hardware configuration step. For reconfigurable devices, construction might
|
|
56
56
|
* be done by online controllers as part of device configuration sessions. This
|
|
57
|
-
* class is normally used for monitoring
|
|
58
|
-
*
|
|
57
|
+
* class is normally used for monitoring sensor readings, but may be used
|
|
58
|
+
* equally well for watching workers' parameter settings.
|
|
59
59
|
* @extends OcaAgent
|
|
60
60
|
* @class OcaNumericObserverList
|
|
61
61
|
*/
|
|
@@ -115,8 +115,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
115
115
|
* The order of values in the returned list is determined by the order of
|
|
116
116
|
* values set by SetObservedProperties, and is the same as the order of values
|
|
117
117
|
* returned by the Observation event, and the same as the order of object
|
|
118
|
-
* identifications returned by GetObservedProperties.
|
|
119
|
-
* indicates whether the value has been successfully returned.
|
|
118
|
+
* identifications returned by GetObservedProperties.
|
|
120
119
|
*
|
|
121
120
|
* @method OcaNumericObserverList#GetLastObservation
|
|
122
121
|
* @returns {Promise<number[]>}
|
|
@@ -125,8 +124,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
125
124
|
GetLastObservation(): Promise<number[]>;
|
|
126
125
|
|
|
127
126
|
/**
|
|
128
|
-
* Gets the observer's state.
|
|
129
|
-
* successfully retrieved.
|
|
127
|
+
* Gets the observer's state.
|
|
130
128
|
*
|
|
131
129
|
* @method OcaNumericObserverList#GetState
|
|
132
130
|
* @returns {Promise<OcaObserverState>}
|
|
@@ -137,10 +135,9 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
137
135
|
/**
|
|
138
136
|
* Gets the identifications of the properties that the observer observes. The
|
|
139
137
|
* order of property identifications in the returned list is determined by the
|
|
140
|
-
* order of property identifications set by SetObservedProperties
|
|
141
|
-
* same as the order of values returned by GetLastObservation and the
|
|
142
|
-
* Observation event.
|
|
143
|
-
* were successfully retrieved.
|
|
138
|
+
* order of property identifications set by **SetObservedProperties**, and is
|
|
139
|
+
* the same as the order of values returned by **GetLastObservation** and the
|
|
140
|
+
* **Observation** event.
|
|
144
141
|
*
|
|
145
142
|
* @method OcaNumericObserverList#GetObservedProperties
|
|
146
143
|
* @returns {Promise<OcaProperty[]>}
|
|
@@ -151,9 +148,8 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
151
148
|
/**
|
|
152
149
|
* Sets the identifications of the properties that the observer observes. The
|
|
153
150
|
* order of property identifications supplied determines the order of property
|
|
154
|
-
* identifications returned by GetObservedProperties and the order of
|
|
155
|
-
* returned by GetLastObservation and the Observation event.
|
|
156
|
-
* indicates whether the identifications were successfully set.
|
|
151
|
+
* identifications returned by **GetObservedProperties** and the order of
|
|
152
|
+
* values returned by **GetLastObservation** and the **Observation** event.
|
|
157
153
|
*
|
|
158
154
|
* @method OcaNumericObserverList#SetObservedProperties
|
|
159
155
|
* @param {IOcaProperty[]} property
|
|
@@ -163,8 +159,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
163
159
|
SetObservedProperties(property: IOcaProperty[]): Promise<void>;
|
|
164
160
|
|
|
165
161
|
/**
|
|
166
|
-
* Gets the value of the **Threshold** property.
|
|
167
|
-
* whether the threshold value was successfully retrieved.
|
|
162
|
+
* Gets the value of the **Threshold** property.
|
|
168
163
|
*
|
|
169
164
|
* @method OcaNumericObserverList#GetThreshold
|
|
170
165
|
* @returns {Promise<number>}
|
|
@@ -173,8 +168,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
173
168
|
GetThreshold(): Promise<number>;
|
|
174
169
|
|
|
175
170
|
/**
|
|
176
|
-
* Sets the value of the **Threshold** property.
|
|
177
|
-
* whether the threshold value was successfully set.
|
|
171
|
+
* Sets the value of the **Threshold** property.
|
|
178
172
|
*
|
|
179
173
|
* @method OcaNumericObserverList#SetThreshold
|
|
180
174
|
* @param {number} Threshold
|
|
@@ -194,8 +188,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
194
188
|
GetOperator(): Promise<OcaRelationalOperator>;
|
|
195
189
|
|
|
196
190
|
/**
|
|
197
|
-
* Sets the value of the **Operator** property.
|
|
198
|
-
* whether the operator was successfully set.
|
|
191
|
+
* Sets the value of the **Operator** property.
|
|
199
192
|
*
|
|
200
193
|
* @method OcaNumericObserverList#SetOperator
|
|
201
194
|
* @param {IOcaRelationalOperator} operator
|
|
@@ -205,8 +198,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
205
198
|
SetOperator(operator: IOcaRelationalOperator): Promise<void>;
|
|
206
199
|
|
|
207
200
|
/**
|
|
208
|
-
* Gets the value of the **TwoWay** property.
|
|
209
|
-
* whether the property was successfully retrieved.
|
|
201
|
+
* Gets the value of the **TwoWay** property.
|
|
210
202
|
*
|
|
211
203
|
* @method OcaNumericObserverList#GetTwoWay
|
|
212
204
|
* @returns {Promise<boolean>}
|
|
@@ -215,8 +207,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
215
207
|
GetTwoWay(): Promise<boolean>;
|
|
216
208
|
|
|
217
209
|
/**
|
|
218
|
-
* Sets the value of the **TwoWay** property.
|
|
219
|
-
* whether the property was successfully set.
|
|
210
|
+
* Sets the value of the **TwoWay** property.
|
|
220
211
|
*
|
|
221
212
|
* @method OcaNumericObserverList#SetTwoWay
|
|
222
213
|
* @param {boolean} twoWay
|
|
@@ -226,8 +217,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
226
217
|
SetTwoWay(twoWay: boolean): Promise<void>;
|
|
227
218
|
|
|
228
219
|
/**
|
|
229
|
-
* Gets the value of the **Hysteresis** property.
|
|
230
|
-
* whether the property was successfully retrieved.
|
|
220
|
+
* Gets the value of the **Hysteresis** property.
|
|
231
221
|
*
|
|
232
222
|
* @method OcaNumericObserverList#GetHysteresis
|
|
233
223
|
* @returns {Promise<number>}
|
|
@@ -236,8 +226,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
236
226
|
GetHysteresis(): Promise<number>;
|
|
237
227
|
|
|
238
228
|
/**
|
|
239
|
-
* Sets the value of the **Hysteresis** property.
|
|
240
|
-
* whether the property was successfully set.
|
|
229
|
+
* Sets the value of the **Hysteresis** property.
|
|
241
230
|
*
|
|
242
231
|
* @method OcaNumericObserverList#SetHysteresis
|
|
243
232
|
* @param {number} hysteresis
|
|
@@ -247,8 +236,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
247
236
|
SetHysteresis(hysteresis: number): Promise<void>;
|
|
248
237
|
|
|
249
238
|
/**
|
|
250
|
-
* Gets the value of the **Period** property.
|
|
251
|
-
* whether the property was successfully retrieved.
|
|
239
|
+
* Gets the value of the **Period** property.
|
|
252
240
|
*
|
|
253
241
|
* @method OcaNumericObserverList#GetPeriod
|
|
254
242
|
* @returns {Promise<number>}
|
|
@@ -257,8 +245,7 @@ export declare class OcaNumericObserverList extends OcaAgent {
|
|
|
257
245
|
GetPeriod(): Promise<number>;
|
|
258
246
|
|
|
259
247
|
/**
|
|
260
|
-
* Sets the value of the **Period** property.
|
|
261
|
-
* whether the property was successfully set.
|
|
248
|
+
* Sets the value of the **Period** property.
|
|
262
249
|
*
|
|
263
250
|
* @method OcaNumericObserverList#SetPeriod
|
|
264
251
|
* @param {number} period
|
|
@@ -42,20 +42,20 @@ import { OcaAgent } from './OcaAgent.js';
|
|
|
42
42
|
* - For signed integer targets, the threshold and target are both coerced to
|
|
43
43
|
* **OcaInt64** before comparing.
|
|
44
44
|
*
|
|
45
|
-
* - For boolean values, the threshold
|
|
45
|
+
* - For boolean values, the threshold and target are both coerced to
|
|
46
46
|
* **OcaUint8**, True is assigned the value One, False is assigned the value
|
|
47
47
|
* Zero.
|
|
48
48
|
*
|
|
49
49
|
*
|
|
50
50
|
* Note that this coercion may result in rounding errors if the observed
|
|
51
|
-
* datatype is of type OcaUint64 or
|
|
51
|
+
* datatype is of type **OcaUint64** or **OcaInt64**. An **OcaNumericObserver**
|
|
52
52
|
* instance and the property it observes are bound at the time the
|
|
53
53
|
* **OcaNumericObserver** instance is constructed. For static devices,
|
|
54
54
|
* construction will occur during manufacture, or possibly during a subsequent
|
|
55
55
|
* hardware configuration step. For reconfigurable devices, construction might
|
|
56
56
|
* be done by online controllers as part of device configuration sessions. This
|
|
57
|
-
* class is normally used for monitoring
|
|
58
|
-
*
|
|
57
|
+
* class is normally used for monitoring sensor readings, but may be used
|
|
58
|
+
* equally well for watching workers' parameter settings.
|
|
59
59
|
* @extends OcaAgent
|
|
60
60
|
* @class OcaNumericObserverList
|
|
61
61
|
*/
|
|
@@ -63,7 +63,7 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
63
63
|
'OcaNumericObserverList',
|
|
64
64
|
3,
|
|
65
65
|
'\u0001\u0002\t',
|
|
66
|
-
|
|
66
|
+
3,
|
|
67
67
|
OcaAgent,
|
|
68
68
|
[
|
|
69
69
|
['GetLastObservation', 3, 1, [], [OcaList(OcaFloat64)]],
|
|
@@ -100,16 +100,14 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
100
100
|
* of values in the returned list is determined by the order of values set by
|
|
101
101
|
* SetObservedProperties, and is the same as the order of values returned by the
|
|
102
102
|
* Observation event, and the same as the order of object identifications
|
|
103
|
-
* returned by GetObservedProperties.
|
|
104
|
-
* value has been successfully returned.
|
|
103
|
+
* returned by GetObservedProperties.
|
|
105
104
|
*
|
|
106
105
|
* @method OcaNumericObserverList#GetLastObservation
|
|
107
106
|
* @returns {Promise<number[]>}
|
|
108
107
|
* A promise which resolves to a single value of type ``number[]``.
|
|
109
108
|
*/
|
|
110
109
|
/**
|
|
111
|
-
* Gets the observer's state.
|
|
112
|
-
* successfully retrieved.
|
|
110
|
+
* Gets the observer's state.
|
|
113
111
|
*
|
|
114
112
|
* @method OcaNumericObserverList#GetState
|
|
115
113
|
* @returns {Promise<OcaObserverState>}
|
|
@@ -118,10 +116,9 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
118
116
|
/**
|
|
119
117
|
* Gets the identifications of the properties that the observer observes. The
|
|
120
118
|
* order of property identifications in the returned list is determined by the
|
|
121
|
-
* order of property identifications set by SetObservedProperties
|
|
122
|
-
* same as the order of values returned by GetLastObservation and the
|
|
123
|
-
* Observation event.
|
|
124
|
-
* were successfully retrieved.
|
|
119
|
+
* order of property identifications set by **SetObservedProperties**, and is
|
|
120
|
+
* the same as the order of values returned by **GetLastObservation** and the
|
|
121
|
+
* **Observation** event.
|
|
125
122
|
*
|
|
126
123
|
* @method OcaNumericObserverList#GetObservedProperties
|
|
127
124
|
* @returns {Promise<OcaProperty[]>}
|
|
@@ -130,9 +127,8 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
130
127
|
/**
|
|
131
128
|
* Sets the identifications of the properties that the observer observes. The
|
|
132
129
|
* order of property identifications supplied determines the order of property
|
|
133
|
-
* identifications returned by GetObservedProperties and the order of values
|
|
134
|
-
* returned by GetLastObservation and the Observation event.
|
|
135
|
-
* indicates whether the identifications were successfully set.
|
|
130
|
+
* identifications returned by **GetObservedProperties** and the order of values
|
|
131
|
+
* returned by **GetLastObservation** and the **Observation** event.
|
|
136
132
|
*
|
|
137
133
|
* @method OcaNumericObserverList#SetObservedProperties
|
|
138
134
|
* @param {IOcaProperty[]} property
|
|
@@ -140,16 +136,14 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
140
136
|
* @returns {Promise<void>}
|
|
141
137
|
*/
|
|
142
138
|
/**
|
|
143
|
-
* Gets the value of the **Threshold** property.
|
|
144
|
-
* whether the threshold value was successfully retrieved.
|
|
139
|
+
* Gets the value of the **Threshold** property.
|
|
145
140
|
*
|
|
146
141
|
* @method OcaNumericObserverList#GetThreshold
|
|
147
142
|
* @returns {Promise<number>}
|
|
148
143
|
* A promise which resolves to a single value of type ``number``.
|
|
149
144
|
*/
|
|
150
145
|
/**
|
|
151
|
-
* Sets the value of the **Threshold** property.
|
|
152
|
-
* whether the threshold value was successfully set.
|
|
146
|
+
* Sets the value of the **Threshold** property.
|
|
153
147
|
*
|
|
154
148
|
* @method OcaNumericObserverList#SetThreshold
|
|
155
149
|
* @param {number} Threshold
|
|
@@ -165,8 +159,7 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
165
159
|
* A promise which resolves to a single value of type :class:`OcaRelationalOperator`.
|
|
166
160
|
*/
|
|
167
161
|
/**
|
|
168
|
-
* Sets the value of the **Operator** property.
|
|
169
|
-
* whether the operator was successfully set.
|
|
162
|
+
* Sets the value of the **Operator** property.
|
|
170
163
|
*
|
|
171
164
|
* @method OcaNumericObserverList#SetOperator
|
|
172
165
|
* @param {IOcaRelationalOperator} operator
|
|
@@ -174,16 +167,14 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
174
167
|
* @returns {Promise<void>}
|
|
175
168
|
*/
|
|
176
169
|
/**
|
|
177
|
-
* Gets the value of the **TwoWay** property.
|
|
178
|
-
* the property was successfully retrieved.
|
|
170
|
+
* Gets the value of the **TwoWay** property.
|
|
179
171
|
*
|
|
180
172
|
* @method OcaNumericObserverList#GetTwoWay
|
|
181
173
|
* @returns {Promise<boolean>}
|
|
182
174
|
* A promise which resolves to a single value of type ``boolean``.
|
|
183
175
|
*/
|
|
184
176
|
/**
|
|
185
|
-
* Sets the value of the **TwoWay** property.
|
|
186
|
-
* the property was successfully set.
|
|
177
|
+
* Sets the value of the **TwoWay** property.
|
|
187
178
|
*
|
|
188
179
|
* @method OcaNumericObserverList#SetTwoWay
|
|
189
180
|
* @param {boolean} twoWay
|
|
@@ -191,16 +182,14 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
191
182
|
* @returns {Promise<void>}
|
|
192
183
|
*/
|
|
193
184
|
/**
|
|
194
|
-
* Gets the value of the **Hysteresis** property.
|
|
195
|
-
* whether the property was successfully retrieved.
|
|
185
|
+
* Gets the value of the **Hysteresis** property.
|
|
196
186
|
*
|
|
197
187
|
* @method OcaNumericObserverList#GetHysteresis
|
|
198
188
|
* @returns {Promise<number>}
|
|
199
189
|
* A promise which resolves to a single value of type ``number``.
|
|
200
190
|
*/
|
|
201
191
|
/**
|
|
202
|
-
* Sets the value of the **Hysteresis** property.
|
|
203
|
-
* whether the property was successfully set.
|
|
192
|
+
* Sets the value of the **Hysteresis** property.
|
|
204
193
|
*
|
|
205
194
|
* @method OcaNumericObserverList#SetHysteresis
|
|
206
195
|
* @param {number} hysteresis
|
|
@@ -208,16 +197,14 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
208
197
|
* @returns {Promise<void>}
|
|
209
198
|
*/
|
|
210
199
|
/**
|
|
211
|
-
* Gets the value of the **Period** property.
|
|
212
|
-
* the property was successfully retrieved.
|
|
200
|
+
* Gets the value of the **Period** property.
|
|
213
201
|
*
|
|
214
202
|
* @method OcaNumericObserverList#GetPeriod
|
|
215
203
|
* @returns {Promise<number>}
|
|
216
204
|
* A promise which resolves to a single value of type ``number``.
|
|
217
205
|
*/
|
|
218
206
|
/**
|
|
219
|
-
* Sets the value of the **Period** property.
|
|
220
|
-
* the property was successfully set.
|
|
207
|
+
* Sets the value of the **Period** property.
|
|
221
208
|
*
|
|
222
209
|
* @method OcaNumericObserverList#SetPeriod
|
|
223
210
|
* @param {number} period
|
|
@@ -244,7 +231,7 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
244
231
|
/**
|
|
245
232
|
* This event is emitted when the property ``ObservedProperties`` changes in the remote object.
|
|
246
233
|
* The property ``ObservedProperties`` is described in the AES70 standard as follows.
|
|
247
|
-
* List of identifiers of the properties
|
|
234
|
+
* List of identifiers of the properties being observed.
|
|
248
235
|
*
|
|
249
236
|
* @member {PropertyEvent<OcaProperty[]>} OcaNumericObserverList#OnObservedPropertiesChanged
|
|
250
237
|
*/
|
|
@@ -286,16 +273,16 @@ export const OcaNumericObserverList = make_control_class(
|
|
|
286
273
|
* **Operator** property is 'Inequality'. If the State is **Not Triggered** it
|
|
287
274
|
* changes to **Triggered** if any of the ObservedProperties reaches the
|
|
288
275
|
* Threshold. If the State is **Triggered** it changes to **Not Triggered** only
|
|
289
|
-
* if all of the ObservedProperties no longer meet the
|
|
290
|
-
* Hysteresis
|
|
276
|
+
* if all of the ObservedProperties no longer meet the �Threshold including
|
|
277
|
+
* Hysteresis�** .**
|
|
291
278
|
*
|
|
292
279
|
* @member {PropertyEvent<number>} OcaNumericObserverList#OnHysteresisChanged
|
|
293
280
|
*/
|
|
294
281
|
/**
|
|
295
282
|
* This event is emitted when the property ``Period`` changes in the remote object.
|
|
296
283
|
* The property ``Period`` is described in the AES70 standard as follows.
|
|
297
|
-
* Repetition period or zero.
|
|
298
|
-
*
|
|
284
|
+
* Repetition period or zero. Zero value means the **Observation** event is not
|
|
285
|
+
* emitted periodically.
|
|
299
286
|
*
|
|
300
287
|
* @member {PropertyEvent<number>} OcaNumericObserverList#OnPeriodChanged
|
|
301
288
|
*/
|
|
@@ -22,8 +22,7 @@ export declare class OcaPanBalance extends OcaActuator {
|
|
|
22
22
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the value and limits of the Position property.
|
|
26
|
-
* indicates whether the data was successfully retrieved.
|
|
25
|
+
* Gets the value and limits of the **Position** property.
|
|
27
26
|
* The return values of this method are
|
|
28
27
|
*
|
|
29
28
|
* - Position of type ``number``
|
|
@@ -36,8 +35,7 @@ export declare class OcaPanBalance extends OcaActuator {
|
|
|
36
35
|
GetPosition(): Promise<Arguments<[number, number, number]>>;
|
|
37
36
|
|
|
38
37
|
/**
|
|
39
|
-
* Sets the value of the Position property.
|
|
40
|
-
* the property was successfully set.
|
|
38
|
+
* Sets the value of the **Position** property.
|
|
41
39
|
*
|
|
42
40
|
* @method OcaPanBalance#SetPosition
|
|
43
41
|
* @param {number} Position
|
|
@@ -47,8 +45,7 @@ export declare class OcaPanBalance extends OcaActuator {
|
|
|
47
45
|
SetPosition(Position: number): Promise<void>;
|
|
48
46
|
|
|
49
47
|
/**
|
|
50
|
-
* Gets the value and limits of the MidpointGain property.
|
|
51
|
-
* indicates whether the data was successfully retrieved.
|
|
48
|
+
* Gets the value and limits of the **MidpointGain** property.
|
|
52
49
|
* The return values of this method are
|
|
53
50
|
*
|
|
54
51
|
* - Gain of type ``number``
|
|
@@ -61,8 +58,7 @@ export declare class OcaPanBalance extends OcaActuator {
|
|
|
61
58
|
GetMidpointGain(): Promise<Arguments<[number, number, number]>>;
|
|
62
59
|
|
|
63
60
|
/**
|
|
64
|
-
* Sets the value of the MidpointGain property.
|
|
65
|
-
* whether the property was successfully set.
|
|
61
|
+
* Sets the value of the **MidpointGain** property.
|
|
66
62
|
*
|
|
67
63
|
* @method OcaPanBalance#SetMidpointGain
|
|
68
64
|
* @param {number} Gain
|
|
@@ -11,7 +11,7 @@ export const OcaPanBalance = make_control_class(
|
|
|
11
11
|
'OcaPanBalance',
|
|
12
12
|
4,
|
|
13
13
|
'\u0001\u0001\u0001\u0006',
|
|
14
|
-
|
|
14
|
+
3,
|
|
15
15
|
OcaActuator,
|
|
16
16
|
[
|
|
17
17
|
['GetPosition', 4, 1, [], [OcaFloat32, OcaFloat32, OcaFloat32]],
|
|
@@ -27,8 +27,7 @@ export const OcaPanBalance = make_control_class(
|
|
|
27
27
|
);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Gets the value and limits of the Position property.
|
|
31
|
-
* indicates whether the data was successfully retrieved.
|
|
30
|
+
* Gets the value and limits of the **Position** property.
|
|
32
31
|
* The return values of this method are
|
|
33
32
|
*
|
|
34
33
|
* - Position of type ``number``
|
|
@@ -39,8 +38,7 @@ export const OcaPanBalance = make_control_class(
|
|
|
39
38
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
40
39
|
*/
|
|
41
40
|
/**
|
|
42
|
-
* Sets the value of the Position property.
|
|
43
|
-
* the property was successfully set.
|
|
41
|
+
* Sets the value of the **Position** property.
|
|
44
42
|
*
|
|
45
43
|
* @method OcaPanBalance#SetPosition
|
|
46
44
|
* @param {number} Position
|
|
@@ -48,8 +46,7 @@ export const OcaPanBalance = make_control_class(
|
|
|
48
46
|
* @returns {Promise<void>}
|
|
49
47
|
*/
|
|
50
48
|
/**
|
|
51
|
-
* Gets the value and limits of the MidpointGain property.
|
|
52
|
-
* indicates whether the data was successfully retrieved.
|
|
49
|
+
* Gets the value and limits of the **MidpointGain** property.
|
|
53
50
|
* The return values of this method are
|
|
54
51
|
*
|
|
55
52
|
* - Gain of type ``number``
|
|
@@ -60,8 +57,7 @@ export const OcaPanBalance = make_control_class(
|
|
|
60
57
|
* @returns {Promise<Arguments<number,number,number>>}
|
|
61
58
|
*/
|
|
62
59
|
/**
|
|
63
|
-
* Sets the value of the MidpointGain property.
|
|
64
|
-
* whether the property was successfully set.
|
|
60
|
+
* Sets the value of the **MidpointGain** property.
|
|
65
61
|
*
|
|
66
62
|
* @method OcaPanBalance#SetMidpointGain
|
|
67
63
|
* @param {number} Gain
|
|
@@ -24,8 +24,7 @@ export declare class OcaPhysicalPosition extends OcaAgent {
|
|
|
24
24
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
28
|
-
* retrieval was successful.
|
|
27
|
+
* Gets value of property **CoordinateSystem**.
|
|
29
28
|
*
|
|
30
29
|
* @method OcaPhysicalPosition#GetCoordinateSystem
|
|
31
30
|
* @returns {Promise<OcaPositionCoordinateSystem>}
|
|
@@ -34,8 +33,7 @@ export declare class OcaPhysicalPosition extends OcaAgent {
|
|
|
34
33
|
GetCoordinateSystem(): Promise<OcaPositionCoordinateSystem>;
|
|
35
34
|
|
|
36
35
|
/**
|
|
37
|
-
*
|
|
38
|
-
* indicates whether retrieval was successful.
|
|
36
|
+
* Gets value of property **PositionDescriptorFieldFlags**.
|
|
39
37
|
*
|
|
40
38
|
* @method OcaPhysicalPosition#GetPositionDescriptorFieldFlags
|
|
41
39
|
* @returns {Promise<IOcaPositionDescriptorFieldFlags>}
|
|
@@ -44,8 +42,7 @@ export declare class OcaPhysicalPosition extends OcaAgent {
|
|
|
44
42
|
GetPositionDescriptorFieldFlags(): Promise<IOcaPositionDescriptorFieldFlags>;
|
|
45
43
|
|
|
46
44
|
/**
|
|
47
|
-
*
|
|
48
|
-
* whether retrieval was successful.
|
|
45
|
+
* Gets value of property **PositionDescriptor**.
|
|
49
46
|
* The return values of this method are
|
|
50
47
|
*
|
|
51
48
|
* - PositionDescriptor of type ``IOcaPositionDescriptor``
|
|
@@ -14,7 +14,7 @@ export const OcaPhysicalPosition = make_control_class(
|
|
|
14
14
|
'OcaPhysicalPosition',
|
|
15
15
|
3,
|
|
16
16
|
'\u0001\u0002\u0011',
|
|
17
|
-
|
|
17
|
+
3,
|
|
18
18
|
OcaAgent,
|
|
19
19
|
[
|
|
20
20
|
['GetCoordinateSystem', 3, 1, [], [OcaPositionCoordinateSystem]],
|
|
@@ -59,24 +59,21 @@ export const OcaPhysicalPosition = make_control_class(
|
|
|
59
59
|
);
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
63
|
-
* retrieval was successful.
|
|
62
|
+
* Gets value of property **CoordinateSystem**.
|
|
64
63
|
*
|
|
65
64
|
* @method OcaPhysicalPosition#GetCoordinateSystem
|
|
66
65
|
* @returns {Promise<OcaPositionCoordinateSystem>}
|
|
67
66
|
* A promise which resolves to a single value of type :class:`OcaPositionCoordinateSystem`.
|
|
68
67
|
*/
|
|
69
68
|
/**
|
|
70
|
-
*
|
|
71
|
-
* indicates whether retrieval was successful.
|
|
69
|
+
* Gets value of property **PositionDescriptorFieldFlags**.
|
|
72
70
|
*
|
|
73
71
|
* @method OcaPhysicalPosition#GetPositionDescriptorFieldFlags
|
|
74
72
|
* @returns {Promise<IOcaPositionDescriptorFieldFlags>}
|
|
75
73
|
* A promise which resolves to a single value of type ``IOcaPositionDescriptorFieldFlags``.
|
|
76
74
|
*/
|
|
77
75
|
/**
|
|
78
|
-
*
|
|
79
|
-
* retrieval was successful.
|
|
76
|
+
* Gets value of property **PositionDescriptor**.
|
|
80
77
|
* The return values of this method are
|
|
81
78
|
*
|
|
82
79
|
* - PositionDescriptor of type ``IOcaPositionDescriptor``
|
|
@@ -20,8 +20,7 @@ export declare class OcaPolarity extends OcaActuator {
|
|
|
20
20
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Gets the
|
|
24
|
-
* state was successfully retrieved.
|
|
23
|
+
* Gets the inversion state (i.e. value of the **State** property.
|
|
25
24
|
*
|
|
26
25
|
* @method OcaPolarity#GetState
|
|
27
26
|
* @returns {Promise<OcaPolarityState>}
|
|
@@ -30,8 +29,7 @@ export declare class OcaPolarity extends OcaActuator {
|
|
|
30
29
|
GetState(): Promise<OcaPolarityState>;
|
|
31
30
|
|
|
32
31
|
/**
|
|
33
|
-
* Sets the inversion state (i.e. value of the State property).
|
|
34
|
-
* value indicates whether the state was successfully set.
|
|
32
|
+
* Sets the inversion state (i.e. value of the **State** property).
|
|
35
33
|
*
|
|
36
34
|
* @method OcaPolarity#SetState
|
|
37
35
|
* @param {IOcaPolarityState} state
|
|
@@ -11,7 +11,7 @@ export const OcaPolarity = make_control_class(
|
|
|
11
11
|
'OcaPolarity',
|
|
12
12
|
4,
|
|
13
13
|
'\u0001\u0001\u0001\u0003',
|
|
14
|
-
|
|
14
|
+
3,
|
|
15
15
|
OcaActuator,
|
|
16
16
|
[
|
|
17
17
|
['GetState', 4, 1, [], [OcaPolarityState]],
|
|
@@ -22,16 +22,14 @@ export const OcaPolarity = make_control_class(
|
|
|
22
22
|
);
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* Gets the
|
|
26
|
-
* was successfully retrieved.
|
|
25
|
+
* Gets the inversion state (i.e. value of the **State** property.
|
|
27
26
|
*
|
|
28
27
|
* @method OcaPolarity#GetState
|
|
29
28
|
* @returns {Promise<OcaPolarityState>}
|
|
30
29
|
* A promise which resolves to a single value of type :class:`OcaPolarityState`.
|
|
31
30
|
*/
|
|
32
31
|
/**
|
|
33
|
-
* Sets the inversion state (i.e. value of the State property).
|
|
34
|
-
* indicates whether the state was successfully set.
|
|
32
|
+
* Sets the inversion state (i.e. value of the **State** property).
|
|
35
33
|
*
|
|
36
34
|
* @method OcaPolarity#SetState
|
|
37
35
|
* @param {IOcaPolarityState} state
|
|
@@ -6,7 +6,7 @@ import { OcaManager } from './OcaManager';
|
|
|
6
6
|
/**
|
|
7
7
|
* Optional manager that manages power settings and state.
|
|
8
8
|
*
|
|
9
|
-
* - May be instantiated once in any device.
|
|
9
|
+
* - May be instantiated at most once in any device.
|
|
10
10
|
*
|
|
11
11
|
* - If instantiated, object number must be 5.
|
|
12
12
|
*
|
|
@@ -43,9 +43,8 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
43
43
|
constructor(objectNumber: number, device: RemoteDevice);
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* Retrieve the value of property **
|
|
47
|
-
*
|
|
48
|
-
* retrieved.
|
|
46
|
+
* Retrieve the value of property **State**, the current power state of the
|
|
47
|
+
* device.
|
|
49
48
|
*
|
|
50
49
|
* @method OcaPowerManager#GetState
|
|
51
50
|
* @returns {Promise<OcaPowerState>}
|
|
@@ -54,8 +53,20 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
54
53
|
GetState(): Promise<OcaPowerState>;
|
|
55
54
|
|
|
56
55
|
/**
|
|
57
|
-
* Change the
|
|
58
|
-
*
|
|
56
|
+
* Change the target power state. Erroneously named **SetState** prior to v3
|
|
57
|
+
* of this class.
|
|
58
|
+
*
|
|
59
|
+
* @method OcaPowerManager#SetTargetState
|
|
60
|
+
* @param {IOcaPowerState} State
|
|
61
|
+
*
|
|
62
|
+
* @returns {Promise<void>}
|
|
63
|
+
*/
|
|
64
|
+
SetTargetState(State: IOcaPowerState): Promise<void>;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Change the target power state. Erroneously named **SetState** prior to v3
|
|
68
|
+
* of this class.
|
|
69
|
+
* An alias for SetTargetState.
|
|
59
70
|
*
|
|
60
71
|
* @method OcaPowerManager#SetState
|
|
61
72
|
* @param {IOcaPowerState} State
|
|
@@ -65,8 +76,7 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
65
76
|
SetState(State: IOcaPowerState): Promise<void>;
|
|
66
77
|
|
|
67
78
|
/**
|
|
68
|
-
* Retrieves list of object number(s) of all power supply(ies).
|
|
69
|
-
* indicates whether the data was successfully retrieved.
|
|
79
|
+
* Retrieves list of object number(s) of all power supply(ies).
|
|
70
80
|
*
|
|
71
81
|
* @method OcaPowerManager#GetPowerSupplies
|
|
72
82
|
* @returns {Promise<number[]>}
|
|
@@ -75,8 +85,7 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
75
85
|
GetPowerSupplies(): Promise<number[]>;
|
|
76
86
|
|
|
77
87
|
/**
|
|
78
|
-
* Retrieves list of object number(s) of active power supply(ies).
|
|
79
|
-
* value indicates whether the data was successfully retrieved.
|
|
88
|
+
* Retrieves list of object number(s) of active power supply(ies).
|
|
80
89
|
*
|
|
81
90
|
* @method OcaPowerManager#GetActivePowerSupplies
|
|
82
91
|
* @returns {Promise<number[]>}
|
|
@@ -88,8 +97,6 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
88
97
|
* Deactivate one power supply and activate another. An option switch
|
|
89
98
|
* indicates whether the previously active power supply is to be turned off.
|
|
90
99
|
* If it is not turned off, it will be placed in the **Unavailable** state.
|
|
91
|
-
* The return value indicates whether the requested exchange has been
|
|
92
|
-
* successfully made.
|
|
93
100
|
*
|
|
94
101
|
* @method OcaPowerManager#ExchangePowerSupply
|
|
95
102
|
* @param {number} oldPsu
|
|
@@ -105,12 +112,21 @@ export declare class OcaPowerManager extends OcaManager {
|
|
|
105
112
|
): Promise<void>;
|
|
106
113
|
|
|
107
114
|
/**
|
|
108
|
-
* Gets the value of the **AutoState** property.
|
|
109
|
-
* whether the value was successfully retrieved.
|
|
115
|
+
* Gets the value of the **AutoState** property.
|
|
110
116
|
*
|
|
111
117
|
* @method OcaPowerManager#GetAutoState
|
|
112
118
|
* @returns {Promise<boolean>}
|
|
113
119
|
* A promise which resolves to a single value of type ``boolean``.
|
|
114
120
|
*/
|
|
115
121
|
GetAutoState(): Promise<boolean>;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Retrieve the value of property** TargetState**, the power state of the
|
|
125
|
+
* device to which the device is transitioning.
|
|
126
|
+
*
|
|
127
|
+
* @method OcaPowerManager#GetTargetState
|
|
128
|
+
* @returns {Promise<OcaPowerState>}
|
|
129
|
+
* A promise which resolves to a single value of type :class:`OcaPowerState`.
|
|
130
|
+
*/
|
|
131
|
+
GetTargetState(): Promise<OcaPowerState>;
|
|
116
132
|
}
|