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