aes70 1.3.8 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (430) hide show
  1. package/Changelog +14 -1
  2. package/dist/AES70.es5.js +1 -1
  3. package/package.json +1 -1
  4. package/src/OCP1/OcaBlockMember.js +1 -1
  5. package/src/OCP1/OcaClassAuthorityID.js +1 -1
  6. package/src/OCP1/OcaClassIdentification.js +1 -1
  7. package/src/OCP1/OcaDBr.js +1 -1
  8. package/src/OCP1/OcaDelayValue.js +1 -1
  9. package/src/OCP1/OcaEvent.js +1 -1
  10. package/src/OCP1/OcaEventID.js +1 -1
  11. package/src/OCP1/OcaGlobalTypeIdentifier.js +1 -1
  12. package/src/OCP1/OcaGrouperCitizen.js +1 -1
  13. package/src/OCP1/OcaGrouperEnrollment.js +1 -1
  14. package/src/OCP1/OcaGrouperGroup.js +1 -1
  15. package/src/OCP1/OcaGrouperStatusChangeEventData.js +1 -3
  16. package/src/OCP1/OcaImpedance.js +1 -1
  17. package/src/OCP1/OcaLibParamSetAssignment.js +1 -1
  18. package/src/OCP1/OcaLibVol.js +1 -1
  19. package/src/OCP1/OcaLibVolChangedEventData.js +1 -3
  20. package/src/OCP1/OcaLibVolData_ParamSet.js +1 -1
  21. package/src/OCP1/OcaLibVolIdentifier.js +1 -1
  22. package/src/OCP1/OcaLibVolMetadata.js +1 -1
  23. package/src/OCP1/OcaLibVolType.js +1 -1
  24. package/src/OCP1/OcaLibraryIdentifier.js +1 -1
  25. package/src/OCP1/OcaManagerDescriptor.js +1 -1
  26. package/src/OCP1/OcaMediaClockRate.js +1 -1
  27. package/src/OCP1/OcaMediaCoding.js +1 -1
  28. package/src/OCP1/OcaMediaConnection.js +1 -1
  29. package/src/OCP1/OcaMediaConnectorElement.js +2 -2
  30. package/src/OCP1/OcaMediaConnectorStatus.js +1 -1
  31. package/src/OCP1/OcaMediaConnectorStatusChangedEventData.js +1 -3
  32. package/src/OCP1/OcaMediaSinkConnector.js +1 -1
  33. package/src/OCP1/OcaMediaSinkConnectorChangedEventData.js +1 -3
  34. package/src/OCP1/OcaMediaSourceConnector.js +1 -1
  35. package/src/OCP1/OcaMediaSourceConnectorChangedEventData.js +1 -3
  36. package/src/OCP1/OcaMethod.js +1 -1
  37. package/src/OCP1/OcaMethodID.js +1 -1
  38. package/src/OCP1/OcaModelDescription.js +1 -1
  39. package/src/OCP1/OcaModelGUID.js +1 -1
  40. package/src/OCP1/OcaNetworkStatistics.js +1 -1
  41. package/src/OCP1/OcaNetworkSystemInterfaceDescriptor.js +1 -1
  42. package/src/OCP1/OcaNetworkSystemInterfaceID.js +1 -1
  43. package/src/OCP1/OcaOPath.js +1 -1
  44. package/src/OCP1/OcaObjectIdentification.js +1 -1
  45. package/src/OCP1/OcaObjectListEventData.js +1 -3
  46. package/src/OCP1/OcaObjectSearchResult.js +1 -1
  47. package/src/OCP1/OcaObservationEventData.js +1 -3
  48. package/src/OCP1/OcaObservationListEventData.js +1 -3
  49. package/src/OCP1/OcaParameterMask.js +3 -0
  50. package/src/OCP1/OcaPilotToneDetectorSpec.js +1 -1
  51. package/src/OCP1/OcaPort.js +1 -1
  52. package/src/OCP1/OcaPortID.js +1 -1
  53. package/src/OCP1/OcaPositionDescriptor.js +3 -3
  54. package/src/OCP1/OcaPositionDescriptorFieldFlags.js +3 -0
  55. package/src/OCP1/OcaProperty.js +1 -1
  56. package/src/OCP1/OcaPropertyDescriptor.js +1 -1
  57. package/src/OCP1/OcaPropertyID.js +1 -1
  58. package/src/OCP1/OcaProtoObjectIdentification.js +1 -1
  59. package/src/OCP1/OcaProtoPort.js +1 -1
  60. package/src/OCP1/OcaProtoPortID.js +1 -1
  61. package/src/OCP1/OcaProtoSignalPath.js +1 -1
  62. package/src/OCP1/OcaSignalPath.js +1 -1
  63. package/src/OCP1/OcaStream.js +1 -1
  64. package/src/OCP1/OcaStreamConnectorIdentification.js +1 -1
  65. package/src/OCP1/OcaTask.js +1 -1
  66. package/src/OCP1/OcaTaskStateChangedEventData.js +1 -1
  67. package/src/OCP1/OcaTaskStatus.js +1 -1
  68. package/src/OCP1/OcaTimePTP.js +1 -1
  69. package/src/OCP1/OcaTransferFunction.js +1 -1
  70. package/src/OCP1/OcaVersion.js +1 -1
  71. package/src/controller/ControlClasses/OcaActuator.d.ts +3 -1
  72. package/src/controller/ControlClasses/OcaActuator.js +3 -1
  73. package/src/controller/ControlClasses/OcaAgent.d.ts +10 -7
  74. package/src/controller/ControlClasses/OcaAgent.js +12 -8
  75. package/src/controller/ControlClasses/OcaApplicationNetwork.d.ts +35 -21
  76. package/src/controller/ControlClasses/OcaApplicationNetwork.js +43 -32
  77. package/src/controller/ControlClasses/OcaAudioLevelSensor.d.ts +14 -8
  78. package/src/controller/ControlClasses/OcaAudioLevelSensor.js +13 -9
  79. package/src/controller/ControlClasses/OcaAudioProcessingManager.d.ts +3 -2
  80. package/src/controller/ControlClasses/OcaAudioProcessingManager.js +3 -2
  81. package/src/controller/ControlClasses/OcaBitstringActuator.d.ts +11 -8
  82. package/src/controller/ControlClasses/OcaBitstringActuator.js +13 -9
  83. package/src/controller/ControlClasses/OcaBitstringSensor.d.ts +7 -5
  84. package/src/controller/ControlClasses/OcaBitstringSensor.js +9 -6
  85. package/src/controller/ControlClasses/OcaBlock.d.ts +88 -74
  86. package/src/controller/ControlClasses/OcaBlock.js +80 -63
  87. package/src/controller/ControlClasses/OcaBlockFactory.d.ts +73 -29
  88. package/src/controller/ControlClasses/OcaBlockFactory.js +69 -42
  89. package/src/controller/ControlClasses/OcaBooleanActuator.d.ts +5 -4
  90. package/src/controller/ControlClasses/OcaBooleanActuator.js +6 -4
  91. package/src/controller/ControlClasses/OcaBooleanSensor.d.ts +3 -3
  92. package/src/controller/ControlClasses/OcaBooleanSensor.js +4 -3
  93. package/src/controller/ControlClasses/OcaCodingManager.d.ts +10 -7
  94. package/src/controller/ControlClasses/OcaCodingManager.js +17 -13
  95. package/src/controller/ControlClasses/OcaControlNetwork.d.ts +4 -5
  96. package/src/controller/ControlClasses/OcaControlNetwork.js +5 -6
  97. package/src/controller/ControlClasses/OcaCurrentSensor.d.ts +4 -4
  98. package/src/controller/ControlClasses/OcaCurrentSensor.js +4 -3
  99. package/src/controller/ControlClasses/OcaDelay.d.ts +6 -5
  100. package/src/controller/ControlClasses/OcaDelay.js +6 -4
  101. package/src/controller/ControlClasses/OcaDelayExtended.d.ts +18 -15
  102. package/src/controller/ControlClasses/OcaDelayExtended.js +17 -12
  103. package/src/controller/ControlClasses/OcaDeviceManager.d.ts +56 -31
  104. package/src/controller/ControlClasses/OcaDeviceManager.js +75 -51
  105. package/src/controller/ControlClasses/OcaDeviceTimeManager.d.ts +33 -16
  106. package/src/controller/ControlClasses/OcaDeviceTimeManager.js +36 -18
  107. package/src/controller/ControlClasses/OcaDiagnosticManager.d.ts +6 -3
  108. package/src/controller/ControlClasses/OcaDiagnosticManager.js +8 -5
  109. package/src/controller/ControlClasses/OcaDynamics.d.ts +89 -61
  110. package/src/controller/ControlClasses/OcaDynamics.js +101 -79
  111. package/src/controller/ControlClasses/OcaDynamicsCurve.d.ts +77 -30
  112. package/src/controller/ControlClasses/OcaDynamicsCurve.js +85 -37
  113. package/src/controller/ControlClasses/OcaDynamicsDetector.d.ts +30 -22
  114. package/src/controller/ControlClasses/OcaDynamicsDetector.js +36 -24
  115. package/src/controller/ControlClasses/OcaEventHandler.d.ts +8 -6
  116. package/src/controller/ControlClasses/OcaEventHandler.js +9 -6
  117. package/src/controller/ControlClasses/OcaFilterArbitraryCurve.d.ts +13 -9
  118. package/src/controller/ControlClasses/OcaFilterArbitraryCurve.js +15 -12
  119. package/src/controller/ControlClasses/OcaFilterClassical.d.ts +43 -30
  120. package/src/controller/ControlClasses/OcaFilterClassical.js +40 -31
  121. package/src/controller/ControlClasses/OcaFilterFIR.d.ts +12 -8
  122. package/src/controller/ControlClasses/OcaFilterFIR.js +19 -14
  123. package/src/controller/ControlClasses/OcaFilterParametric.d.ts +34 -25
  124. package/src/controller/ControlClasses/OcaFilterParametric.js +39 -33
  125. package/src/controller/ControlClasses/OcaFilterPolynomial.d.ts +6 -6
  126. package/src/controller/ControlClasses/OcaFilterPolynomial.js +11 -10
  127. package/src/controller/ControlClasses/OcaFirmwareManager.d.ts +71 -21
  128. package/src/controller/ControlClasses/OcaFirmwareManager.js +71 -22
  129. package/src/controller/ControlClasses/OcaFloat32Actuator.d.ts +6 -5
  130. package/src/controller/ControlClasses/OcaFloat32Actuator.js +6 -4
  131. package/src/controller/ControlClasses/OcaFloat32Sensor.d.ts +4 -4
  132. package/src/controller/ControlClasses/OcaFloat32Sensor.js +4 -3
  133. package/src/controller/ControlClasses/OcaFloat64Actuator.d.ts +6 -5
  134. package/src/controller/ControlClasses/OcaFloat64Actuator.js +6 -4
  135. package/src/controller/ControlClasses/OcaFloat64Sensor.d.ts +4 -4
  136. package/src/controller/ControlClasses/OcaFloat64Sensor.js +4 -3
  137. package/src/controller/ControlClasses/OcaFrequencyActuator.d.ts +6 -5
  138. package/src/controller/ControlClasses/OcaFrequencyActuator.js +6 -4
  139. package/src/controller/ControlClasses/OcaFrequencySensor.d.ts +4 -4
  140. package/src/controller/ControlClasses/OcaFrequencySensor.js +4 -3
  141. package/src/controller/ControlClasses/OcaGain.d.ts +6 -5
  142. package/src/controller/ControlClasses/OcaGain.js +6 -4
  143. package/src/controller/ControlClasses/OcaGainSensor.d.ts +6 -5
  144. package/src/controller/ControlClasses/OcaGainSensor.js +6 -4
  145. package/src/controller/ControlClasses/OcaGrouper.d.ts +138 -58
  146. package/src/controller/ControlClasses/OcaGrouper.js +139 -61
  147. package/src/controller/ControlClasses/OcaIdentificationActuator.d.ts +9 -10
  148. package/src/controller/ControlClasses/OcaIdentificationActuator.js +10 -10
  149. package/src/controller/ControlClasses/OcaIdentificationSensor.d.ts +6 -4
  150. package/src/controller/ControlClasses/OcaIdentificationSensor.js +5 -3
  151. package/src/controller/ControlClasses/OcaImpedanceSensor.d.ts +8 -8
  152. package/src/controller/ControlClasses/OcaImpedanceSensor.js +7 -6
  153. package/src/controller/ControlClasses/OcaInt16Actuator.d.ts +6 -5
  154. package/src/controller/ControlClasses/OcaInt16Actuator.js +6 -4
  155. package/src/controller/ControlClasses/OcaInt16Sensor.d.ts +4 -4
  156. package/src/controller/ControlClasses/OcaInt16Sensor.js +4 -3
  157. package/src/controller/ControlClasses/OcaInt32Actuator.d.ts +6 -5
  158. package/src/controller/ControlClasses/OcaInt32Actuator.js +6 -4
  159. package/src/controller/ControlClasses/OcaInt32Sensor.d.ts +4 -4
  160. package/src/controller/ControlClasses/OcaInt32Sensor.js +4 -3
  161. package/src/controller/ControlClasses/OcaInt64Actuator.d.ts +6 -5
  162. package/src/controller/ControlClasses/OcaInt64Actuator.js +6 -4
  163. package/src/controller/ControlClasses/OcaInt64Sensor.d.ts +4 -4
  164. package/src/controller/ControlClasses/OcaInt64Sensor.js +4 -3
  165. package/src/controller/ControlClasses/OcaInt8Actuator.d.ts +6 -5
  166. package/src/controller/ControlClasses/OcaInt8Actuator.js +6 -4
  167. package/src/controller/ControlClasses/OcaInt8Sensor.d.ts +4 -4
  168. package/src/controller/ControlClasses/OcaInt8Sensor.js +4 -3
  169. package/src/controller/ControlClasses/OcaLevelSensor.d.ts +4 -4
  170. package/src/controller/ControlClasses/OcaLevelSensor.js +4 -3
  171. package/src/controller/ControlClasses/OcaLibrary.d.ts +50 -25
  172. package/src/controller/ControlClasses/OcaLibrary.js +54 -26
  173. package/src/controller/ControlClasses/OcaLibraryManager.d.ts +22 -16
  174. package/src/controller/ControlClasses/OcaLibraryManager.js +22 -17
  175. package/src/controller/ControlClasses/OcaManager.d.ts +4 -1
  176. package/src/controller/ControlClasses/OcaManager.js +4 -1
  177. package/src/controller/ControlClasses/OcaMatrix.d.ts +69 -20
  178. package/src/controller/ControlClasses/OcaMatrix.js +86 -38
  179. package/src/controller/ControlClasses/OcaMediaClock.d.ts +33 -19
  180. package/src/controller/ControlClasses/OcaMediaClock.js +30 -19
  181. package/src/controller/ControlClasses/OcaMediaClock3.d.ts +37 -22
  182. package/src/controller/ControlClasses/OcaMediaClock3.js +39 -27
  183. package/src/controller/ControlClasses/OcaMediaClockManager.d.ts +15 -9
  184. package/src/controller/ControlClasses/OcaMediaClockManager.js +28 -23
  185. package/src/controller/ControlClasses/OcaMediaTransportNetwork.d.ts +106 -74
  186. package/src/controller/ControlClasses/OcaMediaTransportNetwork.js +121 -111
  187. package/src/controller/ControlClasses/OcaMute.d.ts +7 -7
  188. package/src/controller/ControlClasses/OcaMute.js +7 -5
  189. package/src/controller/ControlClasses/OcaNetwork.d.ts +38 -20
  190. package/src/controller/ControlClasses/OcaNetwork.js +58 -42
  191. package/src/controller/ControlClasses/OcaNetworkManager.d.ts +20 -9
  192. package/src/controller/ControlClasses/OcaNetworkManager.js +33 -23
  193. package/src/controller/ControlClasses/OcaNetworkSignalChannel.d.ts +43 -19
  194. package/src/controller/ControlClasses/OcaNetworkSignalChannel.js +67 -44
  195. package/src/controller/ControlClasses/OcaNumericObserver.d.ts +77 -38
  196. package/src/controller/ControlClasses/OcaNumericObserver.js +95 -59
  197. package/src/controller/ControlClasses/OcaNumericObserverList.d.ts +96 -45
  198. package/src/controller/ControlClasses/OcaNumericObserverList.js +129 -80
  199. package/src/controller/ControlClasses/OcaPanBalance.d.ts +10 -7
  200. package/src/controller/ControlClasses/OcaPanBalance.js +14 -11
  201. package/src/controller/ControlClasses/OcaPhysicalPosition.d.ts +31 -18
  202. package/src/controller/ControlClasses/OcaPhysicalPosition.js +43 -18
  203. package/src/controller/ControlClasses/OcaPolarity.d.ts +10 -7
  204. package/src/controller/ControlClasses/OcaPolarity.js +7 -5
  205. package/src/controller/ControlClasses/OcaPowerManager.d.ts +20 -14
  206. package/src/controller/ControlClasses/OcaPowerManager.js +27 -21
  207. package/src/controller/ControlClasses/OcaPowerSupply.d.ts +24 -15
  208. package/src/controller/ControlClasses/OcaPowerSupply.js +31 -23
  209. package/src/controller/ControlClasses/OcaRamper.d.ts +55 -34
  210. package/src/controller/ControlClasses/OcaRamper.js +58 -37
  211. package/src/controller/ControlClasses/OcaRoot.d.ts +28 -14
  212. package/src/controller/ControlClasses/OcaRoot.js +32 -24
  213. package/src/controller/ControlClasses/OcaSecurityManager.d.ts +29 -13
  214. package/src/controller/ControlClasses/OcaSecurityManager.js +31 -14
  215. package/src/controller/ControlClasses/OcaSensor.d.ts +4 -4
  216. package/src/controller/ControlClasses/OcaSensor.js +6 -5
  217. package/src/controller/ControlClasses/OcaSignalGenerator.d.ts +48 -38
  218. package/src/controller/ControlClasses/OcaSignalGenerator.js +57 -46
  219. package/src/controller/ControlClasses/OcaSignalInput.d.ts +4 -1
  220. package/src/controller/ControlClasses/OcaSignalInput.js +4 -1
  221. package/src/controller/ControlClasses/OcaSignalOutput.d.ts +4 -1
  222. package/src/controller/ControlClasses/OcaSignalOutput.js +4 -1
  223. package/src/controller/ControlClasses/OcaStreamConnector.d.ts +59 -24
  224. package/src/controller/ControlClasses/OcaStreamConnector.js +80 -48
  225. package/src/controller/ControlClasses/OcaStreamNetwork.d.ts +100 -27
  226. package/src/controller/ControlClasses/OcaStreamNetwork.js +124 -54
  227. package/src/controller/ControlClasses/OcaStringActuator.d.ts +5 -4
  228. package/src/controller/ControlClasses/OcaStringActuator.js +7 -5
  229. package/src/controller/ControlClasses/OcaStringSensor.d.ts +7 -5
  230. package/src/controller/ControlClasses/OcaStringSensor.js +10 -7
  231. package/src/controller/ControlClasses/OcaSubscriptionManager.d.ts +73 -46
  232. package/src/controller/ControlClasses/OcaSubscriptionManager.js +78 -51
  233. package/src/controller/ControlClasses/OcaSummingPoint.d.ts +2 -1
  234. package/src/controller/ControlClasses/OcaSummingPoint.js +2 -1
  235. package/src/controller/ControlClasses/OcaSwitch.d.ts +23 -15
  236. package/src/controller/ControlClasses/OcaSwitch.js +31 -23
  237. package/src/controller/ControlClasses/OcaTaskManager.d.ts +47 -38
  238. package/src/controller/ControlClasses/OcaTaskManager.js +48 -37
  239. package/src/controller/ControlClasses/OcaTemperatureActuator.d.ts +6 -5
  240. package/src/controller/ControlClasses/OcaTemperatureActuator.js +6 -4
  241. package/src/controller/ControlClasses/OcaTemperatureSensor.d.ts +4 -4
  242. package/src/controller/ControlClasses/OcaTemperatureSensor.js +4 -3
  243. package/src/controller/ControlClasses/OcaTimeIntervalSensor.d.ts +4 -4
  244. package/src/controller/ControlClasses/OcaTimeIntervalSensor.js +4 -3
  245. package/src/controller/ControlClasses/OcaTimeSource.d.ts +38 -22
  246. package/src/controller/ControlClasses/OcaTimeSource.js +41 -27
  247. package/src/controller/ControlClasses/OcaUint16Actuator.d.ts +6 -5
  248. package/src/controller/ControlClasses/OcaUint16Actuator.js +6 -4
  249. package/src/controller/ControlClasses/OcaUint16Sensor.d.ts +4 -4
  250. package/src/controller/ControlClasses/OcaUint16Sensor.js +4 -3
  251. package/src/controller/ControlClasses/OcaUint32Actuator.d.ts +6 -5
  252. package/src/controller/ControlClasses/OcaUint32Actuator.js +6 -4
  253. package/src/controller/ControlClasses/OcaUint32Sensor.d.ts +4 -4
  254. package/src/controller/ControlClasses/OcaUint32Sensor.js +4 -3
  255. package/src/controller/ControlClasses/OcaUint64Actuator.d.ts +6 -5
  256. package/src/controller/ControlClasses/OcaUint64Actuator.js +6 -4
  257. package/src/controller/ControlClasses/OcaUint64Sensor.d.ts +4 -4
  258. package/src/controller/ControlClasses/OcaUint64Sensor.js +4 -3
  259. package/src/controller/ControlClasses/OcaUint8Actuator.d.ts +6 -5
  260. package/src/controller/ControlClasses/OcaUint8Actuator.js +6 -4
  261. package/src/controller/ControlClasses/OcaUint8Sensor.d.ts +4 -4
  262. package/src/controller/ControlClasses/OcaUint8Sensor.js +4 -3
  263. package/src/controller/ControlClasses/OcaVoltageSensor.d.ts +4 -4
  264. package/src/controller/ControlClasses/OcaVoltageSensor.js +4 -3
  265. package/src/controller/ControlClasses/OcaWorker.d.ts +38 -28
  266. package/src/controller/ControlClasses/OcaWorker.js +50 -40
  267. package/src/controller/abstract_udp_connection.js +11 -7
  268. package/src/controller/client_connection.d.ts +1 -1
  269. package/src/controller/node_udp.js +2 -3
  270. package/src/controller/property_event.js +1 -1
  271. package/src/types/OcaBlockMember.d.ts +1 -2
  272. package/src/types/OcaClassAuthorityID.d.ts +14 -3
  273. package/src/types/OcaClassAuthorityID.js +8 -2
  274. package/src/types/OcaClassIdentification.d.ts +4 -3
  275. package/src/types/OcaClassIdentification.js +2 -2
  276. package/src/types/OcaComponent.d.ts +3 -1
  277. package/src/types/OcaComponent.js +3 -1
  278. package/src/types/OcaDBr.d.ts +6 -4
  279. package/src/types/OcaDBr.js +3 -2
  280. package/src/types/OcaDelayValue.d.ts +1 -2
  281. package/src/types/OcaDeviceState.d.ts +4 -1
  282. package/src/types/OcaDeviceState.js +4 -1
  283. package/src/types/OcaDynamicsFunction.d.ts +2 -1
  284. package/src/types/OcaDynamicsFunction.js +2 -1
  285. package/src/types/OcaEvent.d.ts +3 -3
  286. package/src/types/OcaEvent.js +2 -1
  287. package/src/types/OcaEventID.d.ts +3 -1
  288. package/src/types/OcaEventID.js +3 -1
  289. package/src/types/OcaGlobalTypeIdentifier.d.ts +10 -4
  290. package/src/types/OcaGlobalTypeIdentifier.js +5 -2
  291. package/src/types/OcaGrouperCitizen.d.ts +7 -5
  292. package/src/types/OcaGrouperCitizen.js +4 -2
  293. package/src/types/OcaGrouperEnrollment.d.ts +8 -4
  294. package/src/types/OcaGrouperEnrollment.js +4 -2
  295. package/src/types/OcaGrouperGroup.d.ts +4 -2
  296. package/src/types/OcaGrouperGroup.js +2 -1
  297. package/src/types/OcaGrouperMode.d.ts +1 -1
  298. package/src/types/OcaGrouperMode.js +1 -1
  299. package/src/types/OcaGrouperStatusChangeEventData.d.ts +7 -19
  300. package/src/types/OcaGrouperStatusChangeEventData.js +5 -8
  301. package/src/types/OcaGrouperStatusChangeType.d.ts +2 -1
  302. package/src/types/OcaGrouperStatusChangeType.js +2 -1
  303. package/src/types/OcaLevelDetectionLaw.d.ts +2 -1
  304. package/src/types/OcaLevelDetectionLaw.js +2 -1
  305. package/src/types/OcaLibParamSetAssignment.d.ts +3 -3
  306. package/src/types/OcaLibParamSetAssignment.js +2 -1
  307. package/src/types/OcaLibVol.d.ts +3 -3
  308. package/src/types/OcaLibVol.js +3 -2
  309. package/src/types/OcaLibVolChangedEventData.d.ts +4 -21
  310. package/src/types/OcaLibVolChangedEventData.js +3 -7
  311. package/src/types/OcaLibVolData_ParamSet.d.ts +13 -3
  312. package/src/types/OcaLibVolData_ParamSet.js +11 -3
  313. package/src/types/OcaLibVolMetadata.d.ts +4 -5
  314. package/src/types/OcaLibVolMetadata.js +1 -1
  315. package/src/types/OcaLibVolType.d.ts +12 -4
  316. package/src/types/OcaLibVolType.js +6 -2
  317. package/src/types/OcaLibraryIdentifier.d.ts +3 -3
  318. package/src/types/OcaLibraryIdentifier.js +2 -1
  319. package/src/types/OcaManagerDefaultObjectNumbers.d.ts +58 -116
  320. package/src/types/OcaManagerDefaultObjectNumbers.js +2 -2
  321. package/src/types/OcaManagerDescriptor.d.ts +4 -0
  322. package/src/types/OcaManagerDescriptor.js +2 -0
  323. package/src/types/OcaMediaClockRate.d.ts +12 -6
  324. package/src/types/OcaMediaClockRate.js +6 -3
  325. package/src/types/OcaMediaCoding.d.ts +4 -2
  326. package/src/types/OcaMediaCoding.js +2 -1
  327. package/src/types/OcaMediaConnection.d.ts +21 -8
  328. package/src/types/OcaMediaConnection.js +18 -5
  329. package/src/types/OcaMediaConnectorStatus.d.ts +5 -4
  330. package/src/types/OcaMediaConnectorStatus.js +2 -1
  331. package/src/types/OcaMediaConnectorStatusChangedEventData.d.ts +2 -17
  332. package/src/types/OcaMediaConnectorStatusChangedEventData.js +1 -7
  333. package/src/types/OcaMediaSinkConnector.d.ts +43 -15
  334. package/src/types/OcaMediaSinkConnector.js +23 -7
  335. package/src/types/OcaMediaSinkConnectorChangedEventData.d.ts +20 -30
  336. package/src/types/OcaMediaSinkConnectorChangedEventData.js +8 -11
  337. package/src/types/OcaMediaSourceConnector.d.ts +33 -13
  338. package/src/types/OcaMediaSourceConnector.js +17 -7
  339. package/src/types/OcaMediaSourceConnectorChangedEventData.d.ts +20 -30
  340. package/src/types/OcaMediaSourceConnectorChangedEventData.js +8 -11
  341. package/src/types/OcaMethod.d.ts +8 -5
  342. package/src/types/OcaMethod.js +5 -2
  343. package/src/types/OcaMethodID.d.ts +3 -1
  344. package/src/types/OcaMethodID.js +3 -1
  345. package/src/types/OcaModelGUID.d.ts +4 -2
  346. package/src/types/OcaModelGUID.js +5 -4
  347. package/src/types/OcaNetworkMediaSourceOrSink.d.ts +2 -1
  348. package/src/types/OcaNetworkMediaSourceOrSink.js +2 -1
  349. package/src/types/OcaNetworkSystemInterfaceDescriptor.d.ts +2 -1
  350. package/src/types/OcaNetworkSystemInterfaceDescriptor.js +3 -2
  351. package/src/types/OcaNetworkSystemInterfaceID.d.ts +2 -1
  352. package/src/types/OcaNetworkSystemInterfaceID.js +3 -2
  353. package/src/types/OcaNotificationDeliveryMode.d.ts +2 -1
  354. package/src/types/OcaNotificationDeliveryMode.js +2 -1
  355. package/src/types/OcaOPath.d.ts +2 -1
  356. package/src/types/OcaOPath.js +2 -1
  357. package/src/types/OcaObjectIdentification.d.ts +3 -3
  358. package/src/types/OcaObjectIdentification.js +2 -1
  359. package/src/types/OcaObjectListEventData.d.ts +3 -16
  360. package/src/types/OcaObjectListEventData.js +4 -8
  361. package/src/types/OcaObjectSearchResult.d.ts +5 -3
  362. package/src/types/OcaObjectSearchResult.js +4 -1
  363. package/src/types/OcaObjectSearchResultFlags.d.ts +1 -1
  364. package/src/types/OcaObjectSearchResultFlags.js +1 -1
  365. package/src/types/OcaObservationEventData.d.ts +8 -16
  366. package/src/types/OcaObservationEventData.js +8 -7
  367. package/src/types/OcaObservationListEventData.d.ts +8 -16
  368. package/src/types/OcaObservationListEventData.js +9 -8
  369. package/src/types/OcaParameterMask.d.ts +13 -0
  370. package/src/types/OcaParameterMask.js +11 -0
  371. package/src/types/OcaPilotToneDetectorSpec.d.ts +1 -2
  372. package/src/types/OcaPort.d.ts +3 -3
  373. package/src/types/OcaPort.js +2 -1
  374. package/src/types/OcaPortID.d.ts +4 -3
  375. package/src/types/OcaPortID.js +3 -1
  376. package/src/types/OcaPositionCoordinateSystem.d.ts +2 -1
  377. package/src/types/OcaPositionCoordinateSystem.js +2 -1
  378. package/src/types/OcaPositionDescriptor.d.ts +21 -20
  379. package/src/types/OcaPositionDescriptor.js +12 -14
  380. package/src/types/OcaPositionDescriptorFieldFlags.d.ts +13 -0
  381. package/src/types/OcaPositionDescriptorFieldFlags.js +11 -0
  382. package/src/types/OcaPowerState.d.ts +2 -1
  383. package/src/types/OcaPowerState.js +2 -1
  384. package/src/types/OcaPresentationUnit.d.ts +8 -1
  385. package/src/types/OcaPresentationUnit.js +8 -1
  386. package/src/types/OcaProperty.d.ts +3 -3
  387. package/src/types/OcaProperty.js +2 -1
  388. package/src/types/OcaPropertyDescriptor.d.ts +9 -9
  389. package/src/types/OcaPropertyDescriptor.js +4 -3
  390. package/src/types/OcaPropertyID.d.ts +3 -1
  391. package/src/types/OcaPropertyID.js +3 -1
  392. package/src/types/OcaProtoObjectIdentification.d.ts +3 -3
  393. package/src/types/OcaProtoObjectIdentification.js +2 -1
  394. package/src/types/OcaProtoPort.d.ts +9 -5
  395. package/src/types/OcaProtoPort.js +5 -2
  396. package/src/types/OcaProtoPortID.d.ts +4 -3
  397. package/src/types/OcaProtoPortID.js +3 -1
  398. package/src/types/OcaProtoSignalPath.d.ts +1 -2
  399. package/src/types/OcaRamperCommand.d.ts +1 -1
  400. package/src/types/OcaRamperCommand.js +1 -1
  401. package/src/types/OcaRamperState.d.ts +15 -10
  402. package/src/types/OcaRamperState.js +15 -10
  403. package/src/types/OcaSensorReadingState.d.ts +2 -1
  404. package/src/types/OcaSensorReadingState.js +2 -1
  405. package/src/types/OcaSignalPath.d.ts +1 -2
  406. package/src/types/OcaStream.d.ts +23 -10
  407. package/src/types/OcaStream.js +17 -5
  408. package/src/types/OcaStreamConnectorIdentification.d.ts +17 -7
  409. package/src/types/OcaStreamConnectorIdentification.js +15 -6
  410. package/src/types/OcaSubscriptionManagerState.d.ts +1 -1
  411. package/src/types/OcaSubscriptionManagerState.js +1 -1
  412. package/src/types/OcaTask.d.ts +27 -13
  413. package/src/types/OcaTask.js +14 -6
  414. package/src/types/OcaTaskManagerState.d.ts +13 -9
  415. package/src/types/OcaTaskManagerState.js +13 -9
  416. package/src/types/OcaTaskState.d.ts +3 -1
  417. package/src/types/OcaTaskState.js +3 -1
  418. package/src/types/OcaTaskStateChangedEventData.d.ts +6 -6
  419. package/src/types/OcaTaskStateChangedEventData.js +2 -2
  420. package/src/types/OcaTaskStatus.d.ts +6 -5
  421. package/src/types/OcaTaskStatus.js +5 -3
  422. package/src/types/OcaTimeMode.d.ts +1 -1
  423. package/src/types/OcaTimeMode.js +1 -1
  424. package/src/types/OcaTimePTP.d.ts +8 -3
  425. package/src/types/OcaTimePTP.js +6 -2
  426. package/src/types/OcaTransferFunction.js +3 -3
  427. package/src/types/OcaUnitOfMeasure.d.ts +5 -1
  428. package/src/types/OcaUnitOfMeasure.js +5 -1
  429. package/src/types/OcaVersion.d.ts +7 -5
  430. package/src/types/OcaVersion.js +4 -2
@@ -1,6 +1,6 @@
1
+ import { OcaUint64 } from '../../OCP1/OcaUint64.js';
1
2
  import { make_control_class } from '../make_control_class.js';
2
3
  import { OcaBasicActuator } from './OcaBasicActuator.js';
3
- import { OcaUint64 } from '../../OCP1/OcaUint64.js';
4
4
 
5
5
  /**
6
6
  * Basic Uint64 actuator.
@@ -22,7 +22,8 @@ export const OcaUint64Actuator = make_control_class(
22
22
  );
23
23
 
24
24
  /**
25
- * Gets the value and limits of the Gain property. The return value indicates whether the data was successfully retrieved.
25
+ * Gets the value and limits of the Gain property. The return value indicates
26
+ * whether the data was successfully retrieved.
26
27
  * The return values of this method are
27
28
  *
28
29
  * - Setting of type ``number|BigInt``
@@ -33,7 +34,8 @@ export const OcaUint64Actuator = make_control_class(
33
34
  * @returns {Promise<Arguments<number|BigInt,number|BigInt,number|BigInt>>}
34
35
  */
35
36
  /**
36
- * Sets the value of the Level property. The return value indicates whether the property was successfully set.
37
+ * Sets the value of the Level property. The return value indicates whether the
38
+ * property was successfully set.
37
39
  *
38
40
  * @method OcaUint64Actuator#SetSetting
39
41
  * @param {number|BigInt} Setting
@@ -41,7 +43,7 @@ export const OcaUint64Actuator = make_control_class(
41
43
  * @returns {Promise<void>}
42
44
  */
43
45
  /**
44
- * This event is emitted when the property Setting changes in the remote object.
46
+ * This event is emitted when the property ``Setting`` changes in the remote object.
45
47
  * The property ``Setting`` is described in the AES70 standard as follows.
46
48
  * Uint64 setting.
47
49
  *
@@ -1,8 +1,7 @@
1
- import { RemoteDevice } from '../remote_device';
2
- import { OcaBasicSensor } from './OcaBasicSensor';
3
1
  import { Arguments } from '../arguments';
4
-
5
2
  import { PropertyEvent } from '../property_event';
3
+ import { RemoteDevice } from '../remote_device';
4
+ import { OcaBasicSensor } from './OcaBasicSensor';
6
5
 
7
6
  /**
8
7
  * Basic Uint64 sensor.
@@ -18,7 +17,8 @@ export declare class OcaUint64Sensor extends OcaBasicSensor {
18
17
  constructor(objectNumber: number, device: RemoteDevice);
19
18
 
20
19
  /**
21
- * Gets the value and limits of the **Reading** property. The return value indicates whether the data was successfully retrieved.
20
+ * Gets the value and limits of the **Reading** property. The return value
21
+ * indicates whether the data was successfully retrieved.
22
22
  * The return values of this method are
23
23
  *
24
24
  * - Reading of type ``number|BigInt``
@@ -1,6 +1,6 @@
1
+ import { OcaUint64 } from '../../OCP1/OcaUint64.js';
1
2
  import { make_control_class } from '../make_control_class.js';
2
3
  import { OcaBasicSensor } from './OcaBasicSensor.js';
3
- import { OcaUint64 } from '../../OCP1/OcaUint64.js';
4
4
 
5
5
  /**
6
6
  * Basic Uint64 sensor.
@@ -19,7 +19,8 @@ export const OcaUint64Sensor = make_control_class(
19
19
  );
20
20
 
21
21
  /**
22
- * Gets the value and limits of the **Reading** property. The return value indicates whether the data was successfully retrieved.
22
+ * Gets the value and limits of the **Reading** property. The return value
23
+ * indicates whether the data was successfully retrieved.
23
24
  * The return values of this method are
24
25
  *
25
26
  * - Reading of type ``number|BigInt``
@@ -30,7 +31,7 @@ export const OcaUint64Sensor = make_control_class(
30
31
  * @returns {Promise<Arguments<number|BigInt,number|BigInt,number|BigInt>>}
31
32
  */
32
33
  /**
33
- * This event is emitted when the property Reading changes in the remote object.
34
+ * This event is emitted when the property ``Reading`` changes in the remote object.
34
35
  * The property ``Reading`` is described in the AES70 standard as follows.
35
36
  * Uint64 reading.
36
37
  *
@@ -1,8 +1,7 @@
1
- import { RemoteDevice } from '../remote_device';
2
- import { OcaBasicActuator } from './OcaBasicActuator';
3
1
  import { Arguments } from '../arguments';
4
-
5
2
  import { PropertyEvent } from '../property_event';
3
+ import { RemoteDevice } from '../remote_device';
4
+ import { OcaBasicActuator } from './OcaBasicActuator';
6
5
 
7
6
  /**
8
7
  * Basic uint8 actuator.
@@ -18,7 +17,8 @@ export declare class OcaUint8Actuator extends OcaBasicActuator {
18
17
  constructor(objectNumber: number, device: RemoteDevice);
19
18
 
20
19
  /**
21
- * Gets the value and limits of the **Setting** property. The return value indicates whether the data was successfully retrieved.
20
+ * Gets the value and limits of the **Setting** property. The return value
21
+ * indicates whether the data was successfully retrieved.
22
22
  * The return values of this method are
23
23
  *
24
24
  * - Setting of type ``number``
@@ -31,7 +31,8 @@ export declare class OcaUint8Actuator extends OcaBasicActuator {
31
31
  GetSetting(): Promise<Arguments<[number, number, number]>>;
32
32
 
33
33
  /**
34
- * Sets the **Setting** property. The return value indicates whether the property was successfully set.
34
+ * Sets the **Setting** property. The return value indicates whether the
35
+ * property was successfully set.
35
36
  *
36
37
  * @method OcaUint8Actuator#SetSetting
37
38
  * @param {number} Setting
@@ -1,6 +1,6 @@
1
+ import { OcaUint8 } from '../../OCP1/OcaUint8.js';
1
2
  import { make_control_class } from '../make_control_class.js';
2
3
  import { OcaBasicActuator } from './OcaBasicActuator.js';
3
- import { OcaUint8 } from '../../OCP1/OcaUint8.js';
4
4
 
5
5
  /**
6
6
  * Basic uint8 actuator.
@@ -22,7 +22,8 @@ export const OcaUint8Actuator = make_control_class(
22
22
  );
23
23
 
24
24
  /**
25
- * Gets the value and limits of the **Setting** property. The return value indicates whether the data was successfully retrieved.
25
+ * Gets the value and limits of the **Setting** property. The return value
26
+ * indicates whether the data was successfully retrieved.
26
27
  * The return values of this method are
27
28
  *
28
29
  * - Setting of type ``number``
@@ -33,7 +34,8 @@ export const OcaUint8Actuator = make_control_class(
33
34
  * @returns {Promise<Arguments<number,number,number>>}
34
35
  */
35
36
  /**
36
- * Sets the **Setting** property. The return value indicates whether the property was successfully set.
37
+ * Sets the **Setting** property. The return value indicates whether the
38
+ * property was successfully set.
37
39
  *
38
40
  * @method OcaUint8Actuator#SetSetting
39
41
  * @param {number} Setting
@@ -41,7 +43,7 @@ export const OcaUint8Actuator = make_control_class(
41
43
  * @returns {Promise<void>}
42
44
  */
43
45
  /**
44
- * This event is emitted when the property Setting changes in the remote object.
46
+ * This event is emitted when the property ``Setting`` changes in the remote object.
45
47
  * The property ``Setting`` is described in the AES70 standard as follows.
46
48
  * Uint8 setting.
47
49
  *
@@ -1,8 +1,7 @@
1
- import { RemoteDevice } from '../remote_device';
2
- import { OcaBasicSensor } from './OcaBasicSensor';
3
1
  import { Arguments } from '../arguments';
4
-
5
2
  import { PropertyEvent } from '../property_event';
3
+ import { RemoteDevice } from '../remote_device';
4
+ import { OcaBasicSensor } from './OcaBasicSensor';
6
5
 
7
6
  /**
8
7
  * Basic uint8 sensor.
@@ -18,7 +17,8 @@ export declare class OcaUint8Sensor extends OcaBasicSensor {
18
17
  constructor(objectNumber: number, device: RemoteDevice);
19
18
 
20
19
  /**
21
- * Gets the value and limits of the **Reading** property. The return value indicates whether the data was successfully retrieved.
20
+ * Gets the value and limits of the **Reading** property. The return value
21
+ * indicates whether the data was successfully retrieved.
22
22
  * The return values of this method are
23
23
  *
24
24
  * - Reading of type ``number``
@@ -1,6 +1,6 @@
1
+ import { OcaUint8 } from '../../OCP1/OcaUint8.js';
1
2
  import { make_control_class } from '../make_control_class.js';
2
3
  import { OcaBasicSensor } from './OcaBasicSensor.js';
3
- import { OcaUint8 } from '../../OCP1/OcaUint8.js';
4
4
 
5
5
  /**
6
6
  * Basic uint8 sensor.
@@ -19,7 +19,8 @@ export const OcaUint8Sensor = make_control_class(
19
19
  );
20
20
 
21
21
  /**
22
- * Gets the value and limits of the **Reading** property. The return value indicates whether the data was successfully retrieved.
22
+ * Gets the value and limits of the **Reading** property. The return value
23
+ * indicates whether the data was successfully retrieved.
23
24
  * The return values of this method are
24
25
  *
25
26
  * - Reading of type ``number``
@@ -30,7 +31,7 @@ export const OcaUint8Sensor = make_control_class(
30
31
  * @returns {Promise<Arguments<number,number,number>>}
31
32
  */
32
33
  /**
33
- * This event is emitted when the property Reading changes in the remote object.
34
+ * This event is emitted when the property ``Reading`` changes in the remote object.
34
35
  * The property ``Reading`` is described in the AES70 standard as follows.
35
36
  * Uint8 reading.
36
37
  *
@@ -1,8 +1,7 @@
1
- import { RemoteDevice } from '../remote_device';
2
- import { OcaSensor } from './OcaSensor';
3
1
  import { Arguments } from '../arguments';
4
-
5
2
  import { PropertyEvent } from '../property_event';
3
+ import { RemoteDevice } from '../remote_device';
4
+ import { OcaSensor } from './OcaSensor';
6
5
 
7
6
  /**
8
7
  * Basic voltage sensor.
@@ -18,7 +17,8 @@ export declare class OcaVoltageSensor extends OcaSensor {
18
17
  constructor(objectNumber: number, device: RemoteDevice);
19
18
 
20
19
  /**
21
- * Gets the value and limits of the **Reading** property. The return value indicates whether the data was successfully retrieved.
20
+ * Gets the value and limits of the **Reading** property. The return value
21
+ * indicates whether the data was successfully retrieved.
22
22
  * The return values of this method are
23
23
  *
24
24
  * - Reading of type ``number``
@@ -1,6 +1,6 @@
1
+ import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
1
2
  import { make_control_class } from '../make_control_class.js';
2
3
  import { OcaSensor } from './OcaSensor.js';
3
- import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
4
4
 
5
5
  /**
6
6
  * Basic voltage sensor.
@@ -19,7 +19,8 @@ export const OcaVoltageSensor = make_control_class(
19
19
  );
20
20
 
21
21
  /**
22
- * Gets the value and limits of the **Reading** property. The return value indicates whether the data was successfully retrieved.
22
+ * Gets the value and limits of the **Reading** property. The return value
23
+ * indicates whether the data was successfully retrieved.
23
24
  * The return values of this method are
24
25
  *
25
26
  * - Reading of type ``number``
@@ -30,7 +31,7 @@ export const OcaVoltageSensor = make_control_class(
30
31
  * @returns {Promise<Arguments<number,number,number>>}
31
32
  */
32
33
  /**
33
- * This event is emitted when the property Reading changes in the remote object.
34
+ * This event is emitted when the property ``Reading`` changes in the remote object.
34
35
  * The property ``Reading`` is described in the AES70 standard as follows.
35
36
  * Voltage value (volts).
36
37
  *
@@ -1,15 +1,14 @@
1
- import { RemoteDevice } from '../remote_device';
2
- import { OcaRoot } from './OcaRoot';
1
+ import { OcaPort } from '../../types/OcaPort';
2
+ import { IOcaPortID, OcaPortID } from '../../types/OcaPortID';
3
+ import { IOcaPortMode } from '../../types/OcaPortMode';
3
4
  import { Arguments } from '../arguments';
4
-
5
5
  import { PropertyEvent } from '../property_event';
6
- import { IOcaPortID } from '../../types/OcaPortID';
7
- import { IOcaPortMode } from '../../types/OcaPortMode';
8
- import { OcaPort } from '../../types/OcaPort';
9
- import { OcaPortID } from '../../types/OcaPortID';
6
+ import { RemoteDevice } from '../remote_device';
7
+ import { OcaRoot } from './OcaRoot';
10
8
 
11
9
  /**
12
- * Abstract base class for classes that represent the device's application and support functions.
10
+ * Abstract base class for classes that represent the device's application and
11
+ * support functions.
13
12
  * @extends OcaRoot
14
13
  * @class OcaWorker
15
14
  */
@@ -42,7 +41,8 @@ export declare class OcaWorker extends OcaRoot {
42
41
  constructor(objectNumber: number, device: RemoteDevice);
43
42
 
44
43
  /**
45
- * Gets the value of the Enabled property. The return value indicates whether the property was successfully retrieved.
44
+ * Gets the value of the Enabled property. The return value indicates whether
45
+ * the property was successfully retrieved.
46
46
  *
47
47
  * @method OcaWorker#GetEnabled
48
48
  * @returns {Promise<boolean>}
@@ -51,7 +51,8 @@ export declare class OcaWorker extends OcaRoot {
51
51
  GetEnabled(): Promise<boolean>;
52
52
 
53
53
  /**
54
- * Sets the value of the Enabled property. The return value indicates whether the property was successfully set.
54
+ * Sets the value of the Enabled property. The return value indicates whether
55
+ * the property was successfully set.
55
56
  *
56
57
  * @method OcaWorker#SetEnabled
57
58
  * @param {boolean} enabled
@@ -61,12 +62,12 @@ export declare class OcaWorker extends OcaRoot {
61
62
  SetEnabled(enabled: boolean): Promise<void>;
62
63
 
63
64
  /**
64
- * Adds an input or output port.. The return value indicates whether the port was successfully added.
65
+ * Adds an input or output port.. The return value indicates whether the port
66
+ * was successfully added.
65
67
  *
66
68
  * @method OcaWorker#AddPort
67
69
  * @param {string} Label
68
- *
69
- * @param {OcaPortMode} Mode
70
+ * @param {IOcaPortMode} Mode
70
71
  *
71
72
  * @returns {Promise<OcaPortID>}
72
73
  * A promise which resolves to a single value of type :class:`OcaPortID`.
@@ -74,29 +75,32 @@ export declare class OcaWorker extends OcaRoot {
74
75
  AddPort(Label: string, Mode: IOcaPortMode): Promise<OcaPortID>;
75
76
 
76
77
  /**
77
- * Deletes an input or output port.. The return value indicates whether the port was successfully deleted.
78
+ * Deletes an input or output port.. The return value indicates whether the
79
+ * port was successfully deleted.
78
80
  *
79
81
  * @method OcaWorker#DeletePort
80
- * @param {OcaPortID} ID
82
+ * @param {IOcaPortID} ID
81
83
  *
82
84
  * @returns {Promise<void>}
83
85
  */
84
86
  DeletePort(ID: IOcaPortID): Promise<void>;
85
87
 
86
88
  /**
87
- * Gets the list of ports owned by the Worker object. The return value indicates whether the list was successfully retrieved.
89
+ * Gets the list of ports owned by the Worker object. The return value
90
+ * indicates whether the list was successfully retrieved.
88
91
  *
89
92
  * @method OcaWorker#GetPorts
90
93
  * @returns {Promise<OcaPort[]>}
91
- * A promise which resolves to a single value of type ``OcaPort[]``.
94
+ * A promise which resolves to a single value of type :class:`OcaPort[]`.
92
95
  */
93
96
  GetPorts(): Promise<OcaPort[]>;
94
97
 
95
98
  /**
96
- * Gets the name of the designated port. The return value indicates whether the name was successfully retrieved.
99
+ * Gets the name of the designated port. The return value indicates whether
100
+ * the name was successfully retrieved.
97
101
  *
98
102
  * @method OcaWorker#GetPortName
99
- * @param {OcaPortID} PortID
103
+ * @param {IOcaPortID} PortID
100
104
  *
101
105
  * @returns {Promise<string>}
102
106
  * A promise which resolves to a single value of type ``string``.
@@ -104,11 +108,11 @@ export declare class OcaWorker extends OcaRoot {
104
108
  GetPortName(PortID: IOcaPortID): Promise<string>;
105
109
 
106
110
  /**
107
- * Sets the name of the designated port. The return value indicates whether the name was successfully set.
111
+ * Sets the name of the designated port. The return value indicates whether
112
+ * the name was successfully set.
108
113
  *
109
114
  * @method OcaWorker#SetPortName
110
- * @param {OcaPortID} PortID
111
- *
115
+ * @param {IOcaPortID} PortID
112
116
  * @param {string} Name
113
117
  *
114
118
  * @returns {Promise<void>}
@@ -116,7 +120,8 @@ export declare class OcaWorker extends OcaRoot {
116
120
  SetPortName(PortID: IOcaPortID, Name: string): Promise<void>;
117
121
 
118
122
  /**
119
- * Gets the value of the Label property. The return value indicates whether the property was successfully retrieved.
123
+ * Gets the value of the Label property. The return value indicates whether
124
+ * the property was successfully retrieved.
120
125
  *
121
126
  * @method OcaWorker#GetLabel
122
127
  * @returns {Promise<string>}
@@ -125,7 +130,8 @@ export declare class OcaWorker extends OcaRoot {
125
130
  GetLabel(): Promise<string>;
126
131
 
127
132
  /**
128
- * Sets the value of the Label property. The return value indicates whether the property was successfully set.
133
+ * Sets the value of the Label property. The return value indicates whether
134
+ * the property was successfully set.
129
135
  *
130
136
  * @method OcaWorker#SetLabel
131
137
  * @param {string} label
@@ -135,7 +141,8 @@ export declare class OcaWorker extends OcaRoot {
135
141
  SetLabel(label: string): Promise<void>;
136
142
 
137
143
  /**
138
- * Gets the value of the Owner property. The return value indicates whether the property was successfully retrieved.
144
+ * Gets the value of the Owner property. The return value indicates whether
145
+ * the property was successfully retrieved.
139
146
  *
140
147
  * @method OcaWorker#GetOwner
141
148
  * @returns {Promise<number>}
@@ -144,7 +151,8 @@ export declare class OcaWorker extends OcaRoot {
144
151
  GetOwner(): Promise<number>;
145
152
 
146
153
  /**
147
- * Gets the value of the Latency property. The return value indicates whether the property was successfully retrieved.
154
+ * Gets the value of the Latency property. The return value indicates whether
155
+ * the property was successfully retrieved.
148
156
  *
149
157
  * @method OcaWorker#GetLatency
150
158
  * @returns {Promise<number>}
@@ -153,7 +161,8 @@ export declare class OcaWorker extends OcaRoot {
153
161
  GetLatency(): Promise<number>;
154
162
 
155
163
  /**
156
- * Sets the value of the Latency property. The return value indicates whether the property was successfully set.
164
+ * Sets the value of the Latency property. The return value indicates whether
165
+ * the property was successfully set.
157
166
  *
158
167
  * @method OcaWorker#SetLatency
159
168
  * @param {number} latency
@@ -163,7 +172,8 @@ export declare class OcaWorker extends OcaRoot {
163
172
  SetLatency(latency: number): Promise<void>;
164
173
 
165
174
  /**
166
- * Returns path from the given object down to root. The return value indicates whether the operation succeeded. Added in version 2.
175
+ * Returns path from the given object down to root. The return value indicates
176
+ * whether the operation succeeded. Added in version 2.
167
177
  * The return values of this method are
168
178
  *
169
179
  * - NamePath of type ``string[]``
@@ -1,5 +1,3 @@
1
- import { make_control_class } from '../make_control_class.js';
2
- import { OcaRoot } from './OcaRoot.js';
3
1
  import { OcaBoolean } from '../../OCP1/OcaBoolean.js';
4
2
  import { OcaFloat32 } from '../../OCP1/OcaFloat32.js';
5
3
  import { OcaList } from '../../OCP1/OcaList.js';
@@ -8,9 +6,12 @@ import { OcaPortID } from '../../OCP1/OcaPortID.js';
8
6
  import { OcaPortMode } from '../../OCP1/OcaPortMode.js';
9
7
  import { OcaString } from '../../OCP1/OcaString.js';
10
8
  import { OcaUint32 } from '../../OCP1/OcaUint32.js';
9
+ import { make_control_class } from '../make_control_class.js';
10
+ import { OcaRoot } from './OcaRoot.js';
11
11
 
12
12
  /**
13
- * Abstract base class for classes that represent the device's application and support functions.
13
+ * Abstract base class for classes that represent the device's application and
14
+ * support functions.
14
15
  * @extends OcaRoot
15
16
  * @class OcaWorker
16
17
  */
@@ -46,14 +47,16 @@ export const OcaWorker = make_control_class(
46
47
  );
47
48
 
48
49
  /**
49
- * Gets the value of the Enabled property. The return value indicates whether the property was successfully retrieved.
50
+ * Gets the value of the Enabled property. The return value indicates whether
51
+ * the property was successfully retrieved.
50
52
  *
51
53
  * @method OcaWorker#GetEnabled
52
54
  * @returns {Promise<boolean>}
53
55
  * A promise which resolves to a single value of type ``boolean``.
54
56
  */
55
57
  /**
56
- * Sets the value of the Enabled property. The return value indicates whether the property was successfully set.
58
+ * Sets the value of the Enabled property. The return value indicates whether
59
+ * the property was successfully set.
57
60
  *
58
61
  * @method OcaWorker#SetEnabled
59
62
  * @param {boolean} enabled
@@ -61,59 +64,64 @@ export const OcaWorker = make_control_class(
61
64
  * @returns {Promise<void>}
62
65
  */
63
66
  /**
64
- * Adds an input or output port.. The return value indicates whether the port was successfully added.
67
+ * Adds an input or output port.. The return value indicates whether the port
68
+ * was successfully added.
65
69
  *
66
70
  * @method OcaWorker#AddPort
67
71
  * @param {string} Label
68
- *
69
- * @param {OcaPortMode} Mode
72
+ * @param {IOcaPortMode} Mode
70
73
  *
71
74
  * @returns {Promise<OcaPortID>}
72
75
  * A promise which resolves to a single value of type :class:`OcaPortID`.
73
76
  */
74
77
  /**
75
- * Deletes an input or output port.. The return value indicates whether the port was successfully deleted.
78
+ * Deletes an input or output port.. The return value indicates whether the port
79
+ * was successfully deleted.
76
80
  *
77
81
  * @method OcaWorker#DeletePort
78
- * @param {OcaPortID} ID
82
+ * @param {IOcaPortID} ID
79
83
  *
80
84
  * @returns {Promise<void>}
81
85
  */
82
86
  /**
83
- * Gets the list of ports owned by the Worker object. The return value indicates whether the list was successfully retrieved.
87
+ * Gets the list of ports owned by the Worker object. The return value indicates
88
+ * whether the list was successfully retrieved.
84
89
  *
85
90
  * @method OcaWorker#GetPorts
86
91
  * @returns {Promise<OcaPort[]>}
87
- * A promise which resolves to a single value of type ``OcaPort[]``.
92
+ * A promise which resolves to a single value of type :class:`OcaPort[]`.
88
93
  */
89
94
  /**
90
- * Gets the name of the designated port. The return value indicates whether the name was successfully retrieved.
95
+ * Gets the name of the designated port. The return value indicates whether the
96
+ * name was successfully retrieved.
91
97
  *
92
98
  * @method OcaWorker#GetPortName
93
- * @param {OcaPortID} PortID
99
+ * @param {IOcaPortID} PortID
94
100
  *
95
101
  * @returns {Promise<string>}
96
102
  * A promise which resolves to a single value of type ``string``.
97
103
  */
98
104
  /**
99
- * Sets the name of the designated port. The return value indicates whether the name was successfully set.
105
+ * Sets the name of the designated port. The return value indicates whether the
106
+ * name was successfully set.
100
107
  *
101
108
  * @method OcaWorker#SetPortName
102
- * @param {OcaPortID} PortID
103
- *
109
+ * @param {IOcaPortID} PortID
104
110
  * @param {string} Name
105
111
  *
106
112
  * @returns {Promise<void>}
107
113
  */
108
114
  /**
109
- * Gets the value of the Label property. The return value indicates whether the property was successfully retrieved.
115
+ * Gets the value of the Label property. The return value indicates whether the
116
+ * property was successfully retrieved.
110
117
  *
111
118
  * @method OcaWorker#GetLabel
112
119
  * @returns {Promise<string>}
113
120
  * A promise which resolves to a single value of type ``string``.
114
121
  */
115
122
  /**
116
- * Sets the value of the Label property. The return value indicates whether the property was successfully set.
123
+ * Sets the value of the Label property. The return value indicates whether the
124
+ * property was successfully set.
117
125
  *
118
126
  * @method OcaWorker#SetLabel
119
127
  * @param {string} label
@@ -121,21 +129,24 @@ export const OcaWorker = make_control_class(
121
129
  * @returns {Promise<void>}
122
130
  */
123
131
  /**
124
- * Gets the value of the Owner property. The return value indicates whether the property was successfully retrieved.
132
+ * Gets the value of the Owner property. The return value indicates whether the
133
+ * property was successfully retrieved.
125
134
  *
126
135
  * @method OcaWorker#GetOwner
127
136
  * @returns {Promise<number>}
128
137
  * A promise which resolves to a single value of type ``number``.
129
138
  */
130
139
  /**
131
- * Gets the value of the Latency property. The return value indicates whether the property was successfully retrieved.
140
+ * Gets the value of the Latency property. The return value indicates whether
141
+ * the property was successfully retrieved.
132
142
  *
133
143
  * @method OcaWorker#GetLatency
134
144
  * @returns {Promise<number>}
135
145
  * A promise which resolves to a single value of type ``number``.
136
146
  */
137
147
  /**
138
- * Sets the value of the Latency property. The return value indicates whether the property was successfully set.
148
+ * Sets the value of the Latency property. The return value indicates whether
149
+ * the property was successfully set.
139
150
  *
140
151
  * @method OcaWorker#SetLatency
141
152
  * @param {number} latency
@@ -143,7 +154,8 @@ export const OcaWorker = make_control_class(
143
154
  * @returns {Promise<void>}
144
155
  */
145
156
  /**
146
- * Returns path from the given object down to root. The return value indicates whether the operation succeeded. Added in version 2.
157
+ * Returns path from the given object down to root. The return value indicates
158
+ * whether the operation succeeded. Added in version 2.
147
159
  * The return values of this method are
148
160
  *
149
161
  * - NamePath of type ``string[]``
@@ -153,46 +165,44 @@ export const OcaWorker = make_control_class(
153
165
  * @returns {Promise<Arguments<string[],number[]>>}
154
166
  */
155
167
  /**
156
- * This event is emitted when the property Enabled changes in the remote object.
168
+ * This event is emitted when the property ``Enabled`` changes in the remote object.
157
169
  * The property ``Enabled`` is described in the AES70 standard as follows.
158
- * Read/write property that indicates whether the worker object is
159
- * enabled in the device. If an object is disabled it cannot be used by
160
- * the application. Note that the behavior of a disabled object depends
161
- * on the object itself (e.g. a disabled chime generator is silent, a
162
- * disabled equalizer is flat, etc.).
170
+ * Read/write property that indicates whether the worker object is enabled in
171
+ * the device. If an object is disabled it cannot be used by the application.
172
+ * Note that the behavior of a disabled object depends on the object itself
173
+ * (e.g. a disabled chime generator is silent, a disabled equalizer is flat,
174
+ * etc.).
163
175
  *
164
176
  * @member {PropertyEvent<boolean>} OcaWorker#OnEnabledChanged
165
177
  */
166
178
  /**
167
- * This event is emitted when the property Ports changes in the remote object.
179
+ * This event is emitted when the property ``Ports`` changes in the remote object.
168
180
  * The property ``Ports`` is described in the AES70 standard as follows.
169
- * The list of (input and output) OCA ports the worker object has. Note
170
- * that a worker object can have no ports (in which case the list is
171
- * empty).
181
+ * The list of (input and output) OCA ports the worker object has. Note that a
182
+ * worker object can have no ports (in which case the list is empty).
172
183
  *
173
184
  * @member {PropertyEvent<OcaPort[]>} OcaWorker#OnPortsChanged
174
185
  */
175
186
  /**
176
- * This event is emitted when the property Label changes in the remote object.
187
+ * This event is emitted when the property ``Label`` changes in the remote object.
177
188
  * The property ``Label`` is described in the AES70 standard as follows.
178
189
  * Specific label of the worker. Can be used to provide human readable
179
- * information about the worker. The label can be get and set over the
180
- * network.
190
+ * information about the worker. The label can be get and set over the network.
181
191
  *
182
192
  * @member {PropertyEvent<string>} OcaWorker#OnLabelChanged
183
193
  */
184
194
  /**
185
- * This event is emitted when the property Owner changes in the remote object.
195
+ * This event is emitted when the property ``Owner`` changes in the remote object.
186
196
  * The property ``Owner`` is described in the AES70 standard as follows.
187
197
  * Object number of block that contains this worker.
188
198
  *
189
199
  * @member {PropertyEvent<number>} OcaWorker#OnOwnerChanged
190
200
  */
191
201
  /**
192
- * This event is emitted when the property Latency changes in the remote object.
202
+ * This event is emitted when the property ``Latency`` changes in the remote object.
193
203
  * The property ``Latency`` is described in the AES70 standard as follows.
194
- * Processing latency of this object. Optional. Readonly or readwrite,
195
- * depending on implementation.
204
+ * Processing latency of this object. Optional. Readonly or readwrite, depending
205
+ * on implementation.
196
206
  *
197
207
  * @member {PropertyEvent<number>} OcaWorker#OnLatencyChanged
198
208
  */
@@ -11,15 +11,15 @@ function delay(n) {
11
11
 
12
12
  async function waitForKeepalive(socket, options) {
13
13
  const waiter = socket.receiveMessage().then((buffer) => {
14
- const pdus = [];
15
- let pos = 0;
14
+ const pdus = [];
15
+ let pos = 0;
16
16
 
17
- pos = decodeMessage(new DataView(buffer), 0, pdus);
17
+ pos = decodeMessage(new DataView(buffer), 0, pdus);
18
18
 
19
- if (pdus.length !== 1) throw new Error('Expected keepalive response.');
19
+ if (pdus.length !== 1) throw new Error('Expected keepalive response.');
20
20
 
21
- return true;
22
- });
21
+ return true;
22
+ });
23
23
 
24
24
  const msg = encodeMessage(new KeepAlive(1000));
25
25
  const t = 5 * (options.retry_interval || 250);
@@ -97,7 +97,11 @@ export class AbstractUDPConnection extends ClientConnection {
97
97
  * The connection.
98
98
  */
99
99
  static async connect(udpApi, options) {
100
- const socket = await udpApi.connect(options.host, options.port, options.type);
100
+ const socket = await udpApi.connect(
101
+ options.host,
102
+ options.port,
103
+ options.type
104
+ );
101
105
 
102
106
  await waitForKeepalive(socket, options);
103
107