@zaber/motion 2.5.1 → 2.7.0-save-load

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 (741) hide show
  1. package/binding.gyp +2 -3
  2. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  3. package/dist/{node → lib}/ascii/alert_event.d.ts +0 -0
  4. package/dist/{node → lib}/ascii/alert_event.js +0 -0
  5. package/dist/{node → lib}/ascii/alert_event.js.map +0 -0
  6. package/dist/{node → lib}/ascii/all_axes.d.ts +0 -0
  7. package/dist/{node → lib}/ascii/all_axes.js +0 -0
  8. package/dist/{node → lib}/ascii/all_axes.js.map +0 -0
  9. package/dist/{web → lib}/ascii/axis.d.ts +18 -0
  10. package/dist/{node → lib}/ascii/axis.js +40 -0
  11. package/dist/lib/ascii/axis.js.map +1 -0
  12. package/dist/{node → lib}/ascii/axis_identity.d.ts +0 -0
  13. package/dist/{node → lib}/ascii/axis_identity.js +0 -0
  14. package/dist/{node → lib}/ascii/axis_identity.js.map +0 -0
  15. package/dist/{node → lib}/ascii/axis_settings.d.ts +14 -0
  16. package/dist/{web → lib}/ascii/axis_settings.js +30 -0
  17. package/dist/lib/ascii/axis_settings.js.map +1 -0
  18. package/dist/{node → lib}/ascii/axis_type.d.ts +0 -0
  19. package/dist/{node → lib}/ascii/axis_type.js +0 -0
  20. package/dist/{node → lib}/ascii/axis_type.js.map +0 -0
  21. package/dist/{web → lib}/ascii/connection.d.ts +14 -2
  22. package/dist/{web → lib}/ascii/connection.js +22 -2
  23. package/dist/lib/ascii/connection.js.map +1 -0
  24. package/dist/{web → lib}/ascii/device.d.ts +20 -0
  25. package/dist/{node → lib}/ascii/device.js +40 -0
  26. package/dist/lib/ascii/device.js.map +1 -0
  27. package/dist/{node → lib}/ascii/device_identity.d.ts +0 -0
  28. package/dist/{node → lib}/ascii/device_identity.js +0 -0
  29. package/dist/{node → lib}/ascii/device_identity.js.map +0 -0
  30. package/dist/{node → lib}/ascii/device_io.d.ts +0 -0
  31. package/dist/{node → lib}/ascii/device_io.js +0 -0
  32. package/dist/{node → lib}/ascii/device_io.js.map +0 -0
  33. package/dist/{node → lib}/ascii/device_io_info.d.ts +0 -0
  34. package/dist/{node → lib}/ascii/device_io_info.js +0 -0
  35. package/dist/{node → lib}/ascii/device_io_info.js.map +0 -0
  36. package/dist/{web → lib}/ascii/device_settings.d.ts +14 -0
  37. package/dist/{web → lib}/ascii/device_settings.js +28 -0
  38. package/dist/lib/ascii/device_settings.js.map +1 -0
  39. package/dist/{node → lib}/ascii/index.d.ts +0 -0
  40. package/dist/{node → lib}/ascii/index.js +0 -0
  41. package/dist/{node → lib}/ascii/index.js.map +0 -0
  42. package/dist/{node → lib}/ascii/lockstep.d.ts +0 -0
  43. package/dist/{node → lib}/ascii/lockstep.js +0 -0
  44. package/dist/{node → lib}/ascii/lockstep.js.map +0 -0
  45. package/dist/{node → lib}/ascii/lockstep_axes.d.ts +0 -0
  46. package/dist/{node → lib}/ascii/lockstep_axes.js +0 -0
  47. package/dist/{node → lib}/ascii/lockstep_axes.js.map +0 -0
  48. package/dist/{node → lib}/ascii/message_type.d.ts +0 -0
  49. package/dist/{node → lib}/ascii/message_type.js +0 -0
  50. package/dist/{node → lib}/ascii/message_type.js.map +0 -0
  51. package/dist/{node → lib}/ascii/response.d.ts +0 -0
  52. package/dist/{node → lib}/ascii/response.js +0 -0
  53. package/dist/{node → lib}/ascii/response.js.map +0 -0
  54. package/dist/{web → lib}/ascii/setting_constants.d.ts +360 -0
  55. package/dist/{node → lib}/ascii/setting_constants.js +360 -0
  56. package/dist/lib/ascii/setting_constants.js.map +1 -0
  57. package/dist/{web → lib}/ascii/stream.d.ts +6 -0
  58. package/dist/{web → lib}/ascii/stream.js +13 -0
  59. package/dist/lib/ascii/stream.js.map +1 -0
  60. package/dist/{web → lib}/ascii/stream_axis_definition.d.ts +1 -1
  61. package/dist/{node → lib}/ascii/stream_axis_definition.js +0 -0
  62. package/dist/{node → lib}/ascii/stream_axis_definition.js.map +1 -1
  63. package/dist/{node → lib}/ascii/stream_axis_type.d.ts +0 -0
  64. package/dist/{node → lib}/ascii/stream_axis_type.js +0 -0
  65. package/dist/{node → lib}/ascii/stream_axis_type.js.map +0 -0
  66. package/dist/{node → lib}/ascii/stream_buffer.d.ts +1 -0
  67. package/dist/{node → lib}/ascii/stream_buffer.js +1 -0
  68. package/dist/lib/ascii/stream_buffer.js.map +1 -0
  69. package/dist/{node → lib}/ascii/stream_mode.d.ts +0 -0
  70. package/dist/{node → lib}/ascii/stream_mode.js +0 -0
  71. package/dist/{node → lib}/ascii/stream_mode.js.map +0 -0
  72. package/dist/{node → lib}/ascii/transport.d.ts +0 -0
  73. package/dist/{node → lib}/ascii/transport.js +0 -0
  74. package/dist/{node → lib}/ascii/transport.js.map +0 -0
  75. package/dist/{node → lib}/ascii/unknown_response_event.d.ts +0 -0
  76. package/dist/{node → lib}/ascii/unknown_response_event.js +0 -0
  77. package/dist/{node → lib}/ascii/unknown_response_event.js.map +0 -0
  78. package/dist/{node → lib}/ascii/warning_flags.d.ts +0 -0
  79. package/dist/{node → lib}/ascii/warning_flags.js +0 -0
  80. package/dist/{node → lib}/ascii/warning_flags.js.map +0 -0
  81. package/dist/{node → lib}/ascii/warnings.d.ts +0 -0
  82. package/dist/{node → lib}/ascii/warnings.js +0 -0
  83. package/dist/{node → lib}/ascii/warnings.js.map +0 -0
  84. package/dist/{node → lib}/ascii_ns.d.ts +0 -0
  85. package/dist/{node → lib}/ascii_ns.js +0 -0
  86. package/dist/{node → lib}/ascii_ns.js.map +0 -0
  87. package/dist/{node → lib}/binary/binary_settings.d.ts +0 -0
  88. package/dist/{node → lib}/binary/binary_settings.js +0 -0
  89. package/dist/{node → lib}/binary/binary_settings.js.map +0 -0
  90. package/dist/{node → lib}/binary/command_code.d.ts +0 -0
  91. package/dist/{node → lib}/binary/command_code.js +0 -0
  92. package/dist/{node → lib}/binary/command_code.js.map +0 -0
  93. package/dist/{node → lib}/binary/connection.d.ts +0 -1
  94. package/dist/{web → lib}/binary/connection.js +0 -1
  95. package/dist/lib/binary/connection.js.map +1 -0
  96. package/dist/{node → lib}/binary/device.d.ts +0 -0
  97. package/dist/{node → lib}/binary/device.js +0 -0
  98. package/dist/{node → lib}/binary/device.js.map +0 -0
  99. package/dist/{node → lib}/binary/device_identity.d.ts +0 -0
  100. package/dist/{node → lib}/binary/device_identity.js +0 -0
  101. package/dist/{node → lib}/binary/device_identity.js.map +0 -0
  102. package/dist/{node → lib}/binary/device_settings.d.ts +0 -0
  103. package/dist/{node → lib}/binary/device_settings.js +0 -0
  104. package/dist/{node → lib}/binary/device_settings.js.map +0 -0
  105. package/dist/{node → lib}/binary/device_type.d.ts +0 -0
  106. package/dist/{node → lib}/binary/device_type.js +0 -0
  107. package/dist/{node → lib}/binary/device_type.js.map +0 -0
  108. package/dist/{node → lib}/binary/error_code.d.ts +0 -0
  109. package/dist/{node → lib}/binary/error_code.js +0 -0
  110. package/dist/{node → lib}/binary/error_code.js.map +0 -0
  111. package/dist/{node → lib}/binary/index.d.ts +0 -0
  112. package/dist/{node → lib}/binary/index.js +0 -0
  113. package/dist/{node → lib}/binary/index.js.map +0 -0
  114. package/dist/{node → lib}/binary/message.d.ts +0 -0
  115. package/dist/{node → lib}/binary/message.js +0 -0
  116. package/dist/{node → lib}/binary/message.js.map +0 -0
  117. package/dist/{node → lib}/binary/reply_code.d.ts +0 -0
  118. package/dist/{node → lib}/binary/reply_code.js +0 -0
  119. package/dist/{node → lib}/binary/reply_code.js.map +0 -0
  120. package/dist/{node → lib}/binary/reply_only_event.d.ts +0 -0
  121. package/dist/{node → lib}/binary/reply_only_event.js +0 -0
  122. package/dist/{node → lib}/binary/reply_only_event.js.map +0 -0
  123. package/dist/{node → lib}/binary/unknown_response_event.d.ts +0 -0
  124. package/dist/{node → lib}/binary/unknown_response_event.js +0 -0
  125. package/dist/{node → lib}/binary/unknown_response_event.js.map +0 -0
  126. package/dist/{node → lib}/binary_ns.d.ts +0 -0
  127. package/dist/{node → lib}/binary_ns.js +0 -0
  128. package/dist/{node → lib}/binary_ns.js.map +0 -0
  129. package/dist/lib/can_set_state_axis_response.d.ts +16 -0
  130. package/dist/lib/can_set_state_axis_response.js +18 -0
  131. package/dist/lib/can_set_state_axis_response.js.map +1 -0
  132. package/dist/lib/can_set_state_device_response.d.ts +17 -0
  133. package/dist/lib/can_set_state_device_response.js +19 -0
  134. package/dist/lib/can_set_state_device_response.js.map +1 -0
  135. package/dist/{node → lib}/device_db_source_type.d.ts +0 -0
  136. package/dist/{node → lib}/device_db_source_type.js +0 -0
  137. package/dist/{node → lib}/device_db_source_type.js.map +0 -0
  138. package/dist/{node → lib}/exceptions/binary_command_failed_exception.d.ts +0 -0
  139. package/dist/{node → lib}/exceptions/binary_command_failed_exception.js +0 -0
  140. package/dist/{node → lib}/exceptions/binary_command_failed_exception.js.map +0 -0
  141. package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.d.ts +0 -0
  142. package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.js +0 -0
  143. package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.js.map +0 -0
  144. package/dist/{node → lib}/exceptions/command_failed_exception.d.ts +0 -0
  145. package/dist/{node → lib}/exceptions/command_failed_exception.js +0 -0
  146. package/dist/{node → lib}/exceptions/command_failed_exception.js.map +0 -0
  147. package/dist/{node → lib}/exceptions/command_failed_exception_data.d.ts +0 -0
  148. package/dist/{node → lib}/exceptions/command_failed_exception_data.js +0 -0
  149. package/dist/{node → lib}/exceptions/command_failed_exception_data.js.map +0 -0
  150. package/dist/{node → lib}/exceptions/command_preempted_exception.d.ts +0 -0
  151. package/dist/{node → lib}/exceptions/command_preempted_exception.js +0 -0
  152. package/dist/{node → lib}/exceptions/command_preempted_exception.js.map +0 -0
  153. package/dist/{node → lib}/exceptions/connection_closed_exception.d.ts +0 -0
  154. package/dist/{node → lib}/exceptions/connection_closed_exception.js +0 -0
  155. package/dist/{node → lib}/exceptions/connection_closed_exception.js.map +0 -0
  156. package/dist/{node → lib}/exceptions/connection_failed_exception.d.ts +0 -0
  157. package/dist/{node → lib}/exceptions/connection_failed_exception.js +0 -0
  158. package/dist/{node → lib}/exceptions/connection_failed_exception.js.map +0 -0
  159. package/dist/{node → lib}/exceptions/conversion_failed_exception.d.ts +0 -0
  160. package/dist/{node → lib}/exceptions/conversion_failed_exception.js +0 -0
  161. package/dist/{node → lib}/exceptions/conversion_failed_exception.js.map +0 -0
  162. package/dist/{node → lib}/exceptions/device_address_conflict_exception.d.ts +0 -0
  163. package/dist/{node → lib}/exceptions/device_address_conflict_exception.js +0 -0
  164. package/dist/{node → lib}/exceptions/device_address_conflict_exception.js.map +0 -0
  165. package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.d.ts +0 -0
  166. package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.js +0 -0
  167. package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.js.map +0 -0
  168. package/dist/{node → lib}/exceptions/device_busy_exception.d.ts +0 -0
  169. package/dist/{node → lib}/exceptions/device_busy_exception.js +0 -0
  170. package/dist/{node → lib}/exceptions/device_busy_exception.js.map +0 -0
  171. package/dist/{node → lib}/exceptions/device_db_failed_exception.d.ts +0 -0
  172. package/dist/{node → lib}/exceptions/device_db_failed_exception.js +0 -0
  173. package/dist/{node → lib}/exceptions/device_db_failed_exception.js.map +0 -0
  174. package/dist/{node → lib}/exceptions/device_failed_exception.d.ts +0 -0
  175. package/dist/{node → lib}/exceptions/device_failed_exception.js +0 -0
  176. package/dist/{node → lib}/exceptions/device_failed_exception.js.map +0 -0
  177. package/dist/{node → lib}/exceptions/device_not_identified_exception.d.ts +0 -0
  178. package/dist/{node → lib}/exceptions/device_not_identified_exception.js +0 -0
  179. package/dist/{node → lib}/exceptions/device_not_identified_exception.js.map +0 -0
  180. package/dist/lib/exceptions/g_code_execution_exception.d.ts +14 -0
  181. package/dist/lib/exceptions/g_code_execution_exception.js +32 -0
  182. package/dist/lib/exceptions/g_code_execution_exception.js.map +1 -0
  183. package/dist/lib/exceptions/g_code_execution_exception_data.d.ts +17 -0
  184. package/dist/lib/exceptions/g_code_execution_exception_data.js +18 -0
  185. package/dist/lib/exceptions/g_code_execution_exception_data.js.map +1 -0
  186. package/dist/lib/exceptions/g_code_syntax_exception.d.ts +14 -0
  187. package/dist/lib/exceptions/g_code_syntax_exception.js +32 -0
  188. package/dist/lib/exceptions/g_code_syntax_exception.js.map +1 -0
  189. package/dist/lib/exceptions/g_code_syntax_exception_data.d.ts +17 -0
  190. package/dist/lib/exceptions/g_code_syntax_exception_data.js +18 -0
  191. package/dist/lib/exceptions/g_code_syntax_exception_data.js.map +1 -0
  192. package/dist/{web → lib}/exceptions/index.d.ts +8 -0
  193. package/dist/{node → lib}/exceptions/index.js +18 -1
  194. package/dist/lib/exceptions/index.js.map +1 -0
  195. package/dist/{node → lib}/exceptions/internal_error_exception.d.ts +0 -0
  196. package/dist/{node → lib}/exceptions/internal_error_exception.js +0 -0
  197. package/dist/{node → lib}/exceptions/internal_error_exception.js.map +0 -0
  198. package/dist/{node → lib}/exceptions/invalid_argument_exception.d.ts +0 -0
  199. package/dist/{node → lib}/exceptions/invalid_argument_exception.js +0 -0
  200. package/dist/{node → lib}/exceptions/invalid_argument_exception.js.map +0 -0
  201. package/dist/{node → lib}/exceptions/invalid_data_exception.d.ts +0 -0
  202. package/dist/{node → lib}/exceptions/invalid_data_exception.js +0 -0
  203. package/dist/{node → lib}/exceptions/invalid_data_exception.js.map +0 -0
  204. package/dist/{node → lib}/exceptions/invalid_packet_exception.d.ts +0 -0
  205. package/dist/{node → lib}/exceptions/invalid_packet_exception.js +0 -0
  206. package/dist/{node → lib}/exceptions/invalid_packet_exception.js.map +0 -0
  207. package/dist/{node → lib}/exceptions/invalid_packet_exception_data.d.ts +0 -0
  208. package/dist/{node → lib}/exceptions/invalid_packet_exception_data.js +0 -0
  209. package/dist/{node → lib}/exceptions/invalid_packet_exception_data.js.map +0 -0
  210. package/dist/{node → lib}/exceptions/invalid_park_state_exception.d.ts +0 -0
  211. package/dist/{node → lib}/exceptions/invalid_park_state_exception.js +0 -0
  212. package/dist/{node → lib}/exceptions/invalid_park_state_exception.js.map +0 -0
  213. package/dist/{node → lib}/exceptions/invalid_response_exception.d.ts +0 -0
  214. package/dist/{node → lib}/exceptions/invalid_response_exception.js +0 -0
  215. package/dist/{node → lib}/exceptions/invalid_response_exception.js.map +0 -0
  216. package/dist/{node → lib}/exceptions/invalid_response_exception_data.d.ts +0 -0
  217. package/dist/{node → lib}/exceptions/invalid_response_exception_data.js +0 -0
  218. package/dist/{node → lib}/exceptions/invalid_response_exception_data.js.map +0 -0
  219. package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.d.ts +0 -0
  220. package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.js +0 -0
  221. package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.js.map +0 -0
  222. package/dist/{node → lib}/exceptions/io_failed_exception.d.ts +0 -0
  223. package/dist/{node → lib}/exceptions/io_failed_exception.js +0 -0
  224. package/dist/{node → lib}/exceptions/io_failed_exception.js.map +0 -0
  225. package/dist/{node → lib}/exceptions/lockstep_enabled_exception.d.ts +0 -0
  226. package/dist/{node → lib}/exceptions/lockstep_enabled_exception.js +0 -0
  227. package/dist/{node → lib}/exceptions/lockstep_enabled_exception.js.map +0 -0
  228. package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.d.ts +0 -0
  229. package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.js +0 -0
  230. package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.js.map +0 -0
  231. package/dist/{node → lib}/exceptions/motion_lib_exception.d.ts +0 -0
  232. package/dist/{node → lib}/exceptions/motion_lib_exception.js +0 -0
  233. package/dist/{node → lib}/exceptions/motion_lib_exception.js.map +0 -0
  234. package/dist/{node → lib}/exceptions/movement_failed_exception.d.ts +0 -0
  235. package/dist/{node → lib}/exceptions/movement_failed_exception.js +0 -0
  236. package/dist/{node → lib}/exceptions/movement_failed_exception.js.map +0 -0
  237. package/dist/{node → lib}/exceptions/movement_failed_exception_data.d.ts +0 -0
  238. package/dist/{node → lib}/exceptions/movement_failed_exception_data.js +0 -0
  239. package/dist/{node → lib}/exceptions/movement_failed_exception_data.js.map +0 -0
  240. package/dist/{node → lib}/exceptions/movement_interrupted_exception.d.ts +0 -0
  241. package/dist/{node → lib}/exceptions/movement_interrupted_exception.js +0 -0
  242. package/dist/{node → lib}/exceptions/movement_interrupted_exception.js.map +0 -0
  243. package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.d.ts +0 -0
  244. package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.js +0 -0
  245. package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.js.map +0 -0
  246. package/dist/{node → lib}/exceptions/no_device_found_exception.d.ts +0 -0
  247. package/dist/{node → lib}/exceptions/no_device_found_exception.js +0 -0
  248. package/dist/{node → lib}/exceptions/no_device_found_exception.js.map +0 -0
  249. package/dist/{node → lib}/exceptions/not_supported_exception.d.ts +0 -0
  250. package/dist/{node → lib}/exceptions/not_supported_exception.js +0 -0
  251. package/dist/{node → lib}/exceptions/not_supported_exception.js.map +0 -0
  252. package/dist/{node → lib}/exceptions/os_failed_exception.d.ts +0 -0
  253. package/dist/{node → lib}/exceptions/os_failed_exception.js +0 -0
  254. package/dist/{node → lib}/exceptions/os_failed_exception.js.map +0 -0
  255. package/dist/{node → lib}/exceptions/out_of_request_ids_exception.d.ts +0 -0
  256. package/dist/{node → lib}/exceptions/out_of_request_ids_exception.js +0 -0
  257. package/dist/{node → lib}/exceptions/out_of_request_ids_exception.js.map +0 -0
  258. package/dist/{node → lib}/exceptions/request_timeout_exception.d.ts +0 -0
  259. package/dist/{node → lib}/exceptions/request_timeout_exception.js +0 -0
  260. package/dist/{node → lib}/exceptions/request_timeout_exception.js.map +0 -0
  261. package/dist/{node → lib}/exceptions/serial_port_busy_exception.d.ts +0 -0
  262. package/dist/{node → lib}/exceptions/serial_port_busy_exception.js +0 -0
  263. package/dist/{node → lib}/exceptions/serial_port_busy_exception.js.map +0 -0
  264. package/dist/lib/exceptions/set_device_state_exception_data.d.ts +25 -0
  265. package/dist/lib/exceptions/set_device_state_exception_data.js +21 -0
  266. package/dist/lib/exceptions/set_device_state_exception_data.js.map +1 -0
  267. package/dist/lib/exceptions/set_device_state_failed_exception.d.ts +14 -0
  268. package/dist/lib/exceptions/set_device_state_failed_exception.js +32 -0
  269. package/dist/lib/exceptions/set_device_state_failed_exception.js.map +1 -0
  270. package/dist/lib/exceptions/set_peripheral_state_exception_data.d.ts +20 -0
  271. package/dist/lib/exceptions/set_peripheral_state_exception_data.js +19 -0
  272. package/dist/lib/exceptions/set_peripheral_state_exception_data.js.map +1 -0
  273. package/dist/lib/exceptions/set_peripheral_state_failed_exception.d.ts +14 -0
  274. package/dist/lib/exceptions/set_peripheral_state_failed_exception.js +32 -0
  275. package/dist/lib/exceptions/set_peripheral_state_failed_exception.js.map +1 -0
  276. package/dist/{node → lib}/exceptions/setting_not_found_exception.d.ts +0 -0
  277. package/dist/{node → lib}/exceptions/setting_not_found_exception.js +0 -0
  278. package/dist/{node → lib}/exceptions/setting_not_found_exception.js.map +0 -0
  279. package/dist/{node → lib}/exceptions/stream_execution_exception.d.ts +0 -0
  280. package/dist/{node → lib}/exceptions/stream_execution_exception.js +0 -0
  281. package/dist/{node → lib}/exceptions/stream_execution_exception.js.map +0 -0
  282. package/dist/{node → lib}/exceptions/stream_execution_exception_data.d.ts +0 -0
  283. package/dist/{node → lib}/exceptions/stream_execution_exception_data.js +0 -0
  284. package/dist/{node → lib}/exceptions/stream_execution_exception_data.js.map +0 -0
  285. package/dist/{node → lib}/exceptions/stream_mode_exception.d.ts +0 -0
  286. package/dist/{node → lib}/exceptions/stream_mode_exception.js +0 -0
  287. package/dist/{node → lib}/exceptions/stream_mode_exception.js.map +0 -0
  288. package/dist/{node → lib}/exceptions/stream_movement_failed_exception.d.ts +0 -0
  289. package/dist/{node → lib}/exceptions/stream_movement_failed_exception.js +0 -0
  290. package/dist/{node → lib}/exceptions/stream_movement_failed_exception.js.map +0 -0
  291. package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.d.ts +0 -0
  292. package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.js +0 -0
  293. package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.js.map +0 -0
  294. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.d.ts +0 -0
  295. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.js +0 -0
  296. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.js.map +0 -0
  297. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.d.ts +0 -0
  298. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.js +0 -0
  299. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.js.map +0 -0
  300. package/dist/{node → lib}/exceptions/stream_setup_failed_exception.d.ts +0 -0
  301. package/dist/{node → lib}/exceptions/stream_setup_failed_exception.js +0 -0
  302. package/dist/{node → lib}/exceptions/stream_setup_failed_exception.js.map +0 -0
  303. package/dist/{node → lib}/exceptions/transport_already_used_exception.d.ts +0 -0
  304. package/dist/{node → lib}/exceptions/transport_already_used_exception.js +0 -0
  305. package/dist/{node → lib}/exceptions/transport_already_used_exception.js.map +0 -0
  306. package/dist/{node → lib}/exceptions/unknown_request_exception.d.ts +0 -0
  307. package/dist/{node → lib}/exceptions/unknown_request_exception.js +0 -0
  308. package/dist/{node → lib}/exceptions/unknown_request_exception.js.map +0 -0
  309. package/dist/lib/finalizer.d.ts +5 -0
  310. package/dist/lib/finalizer.js +21 -0
  311. package/dist/lib/finalizer.js.map +1 -0
  312. package/dist/{node → lib}/firmware_version.d.ts +0 -0
  313. package/dist/{node → lib}/firmware_version.js +0 -0
  314. package/dist/{node → lib}/firmware_version.js.map +0 -0
  315. package/dist/lib/gateway/bindings.d.ts +5 -0
  316. package/dist/lib/gateway/bindings.js +35 -0
  317. package/dist/lib/gateway/bindings.js.map +1 -0
  318. package/dist/{node/gateway/bindings.d.ts → lib/gateway/bindings.node.d.ts} +0 -0
  319. package/dist/{node/gateway/bindings.js → lib/gateway/bindings.node.js} +1 -1
  320. package/dist/lib/gateway/bindings.node.js.map +1 -0
  321. package/dist/{web/gateway/bindings.d.ts → lib/gateway/bindings.wasm.d.ts} +0 -0
  322. package/dist/{web/gateway/bindings.js → lib/gateway/bindings.wasm.js} +2 -1
  323. package/dist/lib/gateway/bindings.wasm.js.map +1 -0
  324. package/dist/{node → lib}/gateway/call.d.ts +0 -0
  325. package/dist/{web → lib}/gateway/call.js +2 -2
  326. package/dist/lib/gateway/call.js.map +1 -0
  327. package/dist/{node → lib}/gateway/convert_exceptions.d.ts +0 -0
  328. package/dist/{node → lib}/gateway/convert_exceptions.js +4 -0
  329. package/dist/lib/gateway/convert_exceptions.js.map +1 -0
  330. package/dist/{node → lib}/gateway/events.d.ts +0 -1
  331. package/dist/{node → lib}/gateway/events.js +4 -7
  332. package/dist/lib/gateway/events.js.map +1 -0
  333. package/dist/{node → lib}/gateway/index.d.ts +0 -0
  334. package/dist/{node → lib}/gateway/index.js +0 -0
  335. package/dist/{node → lib}/gateway/index.js.map +0 -0
  336. package/dist/{node → lib}/gateway/serialization.d.ts +0 -0
  337. package/dist/{node → lib}/gateway/serialization.js +0 -0
  338. package/dist/{node → lib}/gateway/serialization.js.map +0 -0
  339. package/dist/lib/gateway/wasm-exec.d.ts +1 -0
  340. package/dist/{web/wasm → lib/gateway}/wasm-exec.js +13 -54
  341. package/dist/lib/gateway/wasm-exec.js.map +1 -0
  342. package/dist/lib/gateway/wasm.d.ts +4 -0
  343. package/dist/{web/wasm → lib/gateway}/wasm.js +1 -3
  344. package/dist/lib/gateway/wasm.js.map +1 -0
  345. package/dist/lib/gcode/axis_mapping.d.ts +16 -0
  346. package/dist/{web/measurement.js → lib/gcode/axis_mapping.js} +11 -11
  347. package/dist/lib/gcode/axis_mapping.js.map +1 -0
  348. package/dist/lib/gcode/index.d.ts +8 -0
  349. package/dist/lib/gcode/index.js +20 -0
  350. package/dist/lib/gcode/index.js.map +1 -0
  351. package/dist/lib/gcode/translate_message.d.ts +21 -0
  352. package/dist/lib/gcode/translate_message.js +19 -0
  353. package/dist/lib/gcode/translate_message.js.map +1 -0
  354. package/dist/lib/gcode/translate_result.d.ts +17 -0
  355. package/dist/lib/gcode/translate_result.js +19 -0
  356. package/dist/lib/gcode/translate_result.js.map +1 -0
  357. package/dist/lib/gcode/translator.d.ts +68 -0
  358. package/dist/lib/gcode/translator.js +144 -0
  359. package/dist/lib/gcode/translator.js.map +1 -0
  360. package/dist/lib/gcode/translator_axis_definition.d.ts +20 -0
  361. package/dist/lib/gcode/translator_axis_definition.js +48 -0
  362. package/dist/lib/gcode/translator_axis_definition.js.map +1 -0
  363. package/dist/lib/gcode/translator_config.d.ts +18 -0
  364. package/dist/lib/gcode/translator_config.js +41 -0
  365. package/dist/lib/gcode/translator_config.js.map +1 -0
  366. package/dist/lib/gcode/translator_definition.d.ts +18 -0
  367. package/dist/{web/ascii/stream_axis_definition.js → lib/gcode/translator_definition.js} +11 -18
  368. package/dist/lib/gcode/translator_definition.js.map +1 -0
  369. package/dist/lib/gcode/translator_live.d.ts +70 -0
  370. package/dist/lib/gcode/translator_live.js +147 -0
  371. package/dist/lib/gcode/translator_live.js.map +1 -0
  372. package/dist/lib/gcode_ns.d.ts +19 -0
  373. package/dist/{web/tools.js → lib/gcode_ns.js} +14 -20
  374. package/dist/lib/gcode_ns.js.map +1 -0
  375. package/dist/{node → lib}/index.d.ts +3 -1
  376. package/dist/{node → lib}/index.js +6 -2
  377. package/dist/lib/index.js.map +1 -0
  378. package/dist/{node → lib}/library.d.ts +0 -0
  379. package/dist/{node → lib}/library.js +0 -0
  380. package/dist/{node → lib}/library.js.map +0 -0
  381. package/dist/{node → lib}/log_output_mode.d.ts +0 -0
  382. package/dist/{node → lib}/log_output_mode.js +0 -0
  383. package/dist/{node → lib}/log_output_mode.js.map +0 -0
  384. package/dist/{web → lib}/measurement.d.ts +1 -1
  385. package/dist/{node → lib}/measurement.js +0 -0
  386. package/dist/{node → lib}/measurement.js.map +1 -1
  387. package/dist/{node → lib}/protobufs/main_pb.d.ts +785 -0
  388. package/dist/{node → lib}/protobufs/main_pb.js +6039 -2
  389. package/dist/lib/protobufs/main_pb.js.map +1 -0
  390. package/dist/{node → lib}/rotation_direction.d.ts +0 -0
  391. package/dist/{node → lib}/rotation_direction.js +0 -0
  392. package/dist/{node → lib}/rotation_direction.js.map +0 -0
  393. package/dist/{node → lib}/tools.d.ts +0 -0
  394. package/dist/{node → lib}/tools.js +0 -0
  395. package/dist/{node → lib}/tools.js.map +0 -0
  396. package/dist/{node → lib}/units.d.ts +0 -0
  397. package/dist/{node → lib}/units.js +0 -0
  398. package/dist/{node → lib}/units.js.map +0 -0
  399. package/dist/lib/wasm.d.ts +4 -0
  400. package/dist/{web/init.js → lib/wasm.js} +5 -4
  401. package/dist/lib/wasm.js.map +1 -0
  402. package/package.json +9 -16
  403. package/dist/node/ascii/axis.d.ts +0 -172
  404. package/dist/node/ascii/axis.js.map +0 -1
  405. package/dist/node/ascii/axis_settings.js +0 -107
  406. package/dist/node/ascii/axis_settings.js.map +0 -1
  407. package/dist/node/ascii/connection.d.ts +0 -203
  408. package/dist/node/ascii/connection.js +0 -380
  409. package/dist/node/ascii/connection.js.map +0 -1
  410. package/dist/node/ascii/device.d.ts +0 -165
  411. package/dist/node/ascii/device.js.map +0 -1
  412. package/dist/node/ascii/device_settings.d.ts +0 -41
  413. package/dist/node/ascii/device_settings.js +0 -103
  414. package/dist/node/ascii/device_settings.js.map +0 -1
  415. package/dist/node/ascii/setting_constants.d.ts +0 -563
  416. package/dist/node/ascii/setting_constants.js.map +0 -1
  417. package/dist/node/ascii/stream.d.ts +0 -307
  418. package/dist/node/ascii/stream.js +0 -659
  419. package/dist/node/ascii/stream.js.map +0 -1
  420. package/dist/node/ascii/stream_axis_definition.d.ts +0 -17
  421. package/dist/node/ascii/stream_buffer.js.map +0 -1
  422. package/dist/node/binary/connection.js +0 -211
  423. package/dist/node/binary/connection.js.map +0 -1
  424. package/dist/node/exceptions/index.d.ts +0 -48
  425. package/dist/node/exceptions/index.js.map +0 -1
  426. package/dist/node/gateway/bindings.js.map +0 -1
  427. package/dist/node/gateway/call.js +0 -46
  428. package/dist/node/gateway/call.js.map +0 -1
  429. package/dist/node/gateway/convert_exceptions.js.map +0 -1
  430. package/dist/node/gateway/events.js.map +0 -1
  431. package/dist/node/index.js.map +0 -1
  432. package/dist/node/init.d.ts +0 -1
  433. package/dist/node/init.js +0 -8
  434. package/dist/node/init.js.map +0 -1
  435. package/dist/node/measurement.d.ts +0 -17
  436. package/dist/web/ascii/alert_event.d.ts +0 -28
  437. package/dist/web/ascii/alert_event.js +0 -21
  438. package/dist/web/ascii/alert_event.js.map +0 -1
  439. package/dist/web/ascii/all_axes.d.ts +0 -46
  440. package/dist/web/ascii/all_axes.js +0 -122
  441. package/dist/web/ascii/all_axes.js.map +0 -1
  442. package/dist/web/ascii/axis.js +0 -367
  443. package/dist/web/ascii/axis.js.map +0 -1
  444. package/dist/web/ascii/axis_identity.d.ts +0 -29
  445. package/dist/web/ascii/axis_identity.js +0 -21
  446. package/dist/web/ascii/axis_identity.js.map +0 -1
  447. package/dist/web/ascii/axis_settings.d.ts +0 -41
  448. package/dist/web/ascii/axis_settings.js.map +0 -1
  449. package/dist/web/ascii/axis_type.d.ts +0 -8
  450. package/dist/web/ascii/axis_type.js +0 -15
  451. package/dist/web/ascii/axis_type.js.map +0 -1
  452. package/dist/web/ascii/connection.js.map +0 -1
  453. package/dist/web/ascii/device.js +0 -296
  454. package/dist/web/ascii/device.js.map +0 -1
  455. package/dist/web/ascii/device_identity.d.ts +0 -33
  456. package/dist/web/ascii/device_identity.js +0 -23
  457. package/dist/web/ascii/device_identity.js.map +0 -1
  458. package/dist/web/ascii/device_io.d.ts +0 -80
  459. package/dist/web/ascii/device_io.js +0 -199
  460. package/dist/web/ascii/device_io.js.map +0 -1
  461. package/dist/web/ascii/device_io_info.d.ts +0 -24
  462. package/dist/web/ascii/device_io_info.js +0 -20
  463. package/dist/web/ascii/device_io_info.js.map +0 -1
  464. package/dist/web/ascii/device_settings.js.map +0 -1
  465. package/dist/web/ascii/index.d.ts +0 -26
  466. package/dist/web/ascii/index.js +0 -56
  467. package/dist/web/ascii/index.js.map +0 -1
  468. package/dist/web/ascii/lockstep.d.ts +0 -120
  469. package/dist/web/ascii/lockstep.js +0 -281
  470. package/dist/web/ascii/lockstep.js.map +0 -1
  471. package/dist/web/ascii/lockstep_axes.d.ts +0 -24
  472. package/dist/web/ascii/lockstep_axes.js +0 -20
  473. package/dist/web/ascii/lockstep_axes.js.map +0 -1
  474. package/dist/web/ascii/message_type.d.ts +0 -10
  475. package/dist/web/ascii/message_type.js +0 -17
  476. package/dist/web/ascii/message_type.js.map +0 -1
  477. package/dist/web/ascii/response.d.ts +0 -37
  478. package/dist/web/ascii/response.js +0 -23
  479. package/dist/web/ascii/response.js.map +0 -1
  480. package/dist/web/ascii/setting_constants.js +0 -570
  481. package/dist/web/ascii/setting_constants.js.map +0 -1
  482. package/dist/web/ascii/stream.js.map +0 -1
  483. package/dist/web/ascii/stream_axis_definition.js.map +0 -1
  484. package/dist/web/ascii/stream_axis_type.d.ts +0 -7
  485. package/dist/web/ascii/stream_axis_type.js +0 -14
  486. package/dist/web/ascii/stream_axis_type.js.map +0 -1
  487. package/dist/web/ascii/stream_buffer.d.ts +0 -27
  488. package/dist/web/ascii/stream_buffer.js +0 -71
  489. package/dist/web/ascii/stream_buffer.js.map +0 -1
  490. package/dist/web/ascii/stream_mode.d.ts +0 -9
  491. package/dist/web/ascii/stream_mode.js +0 -16
  492. package/dist/web/ascii/stream_mode.js.map +0 -1
  493. package/dist/web/ascii/transport.d.ts +0 -38
  494. package/dist/web/ascii/transport.js +0 -91
  495. package/dist/web/ascii/transport.js.map +0 -1
  496. package/dist/web/ascii/unknown_response_event.d.ts +0 -37
  497. package/dist/web/ascii/unknown_response_event.js +0 -23
  498. package/dist/web/ascii/unknown_response_event.js.map +0 -1
  499. package/dist/web/ascii/warning_flags.d.ts +0 -137
  500. package/dist/web/ascii/warning_flags.js +0 -144
  501. package/dist/web/ascii/warning_flags.js.map +0 -1
  502. package/dist/web/ascii/warnings.d.ts +0 -19
  503. package/dist/web/ascii/warnings.js +0 -62
  504. package/dist/web/ascii/warnings.js.map +0 -1
  505. package/dist/web/ascii_ns.d.ts +0 -55
  506. package/dist/web/ascii_ns.js +0 -53
  507. package/dist/web/ascii_ns.js.map +0 -1
  508. package/dist/web/binary/binary_settings.d.ts +0 -70
  509. package/dist/web/binary/binary_settings.js +0 -77
  510. package/dist/web/binary/binary_settings.js.map +0 -1
  511. package/dist/web/binary/command_code.d.ts +0 -102
  512. package/dist/web/binary/command_code.js +0 -109
  513. package/dist/web/binary/command_code.js.map +0 -1
  514. package/dist/web/binary/connection.d.ts +0 -115
  515. package/dist/web/binary/connection.js.map +0 -1
  516. package/dist/web/binary/device.d.ts +0 -192
  517. package/dist/web/binary/device.js +0 -375
  518. package/dist/web/binary/device.js.map +0 -1
  519. package/dist/web/binary/device_identity.d.ts +0 -42
  520. package/dist/web/binary/device_identity.js +0 -25
  521. package/dist/web/binary/device_identity.js.map +0 -1
  522. package/dist/web/binary/device_settings.d.ts +0 -24
  523. package/dist/web/binary/device_settings.js +0 -66
  524. package/dist/web/binary/device_settings.js.map +0 -1
  525. package/dist/web/binary/device_type.d.ts +0 -8
  526. package/dist/web/binary/device_type.js +0 -15
  527. package/dist/web/binary/device_type.js.map +0 -1
  528. package/dist/web/binary/error_code.d.ts +0 -97
  529. package/dist/web/binary/error_code.js +0 -104
  530. package/dist/web/binary/error_code.js.map +0 -1
  531. package/dist/web/binary/index.d.ts +0 -12
  532. package/dist/web/binary/index.js +0 -28
  533. package/dist/web/binary/index.js.map +0 -1
  534. package/dist/web/binary/message.d.ts +0 -20
  535. package/dist/web/binary/message.js +0 -19
  536. package/dist/web/binary/message.js.map +0 -1
  537. package/dist/web/binary/reply_code.d.ts +0 -12
  538. package/dist/web/binary/reply_code.js +0 -19
  539. package/dist/web/binary/reply_code.js.map +0 -1
  540. package/dist/web/binary/reply_only_event.d.ts +0 -20
  541. package/dist/web/binary/reply_only_event.js +0 -19
  542. package/dist/web/binary/reply_only_event.js.map +0 -1
  543. package/dist/web/binary/unknown_response_event.d.ts +0 -20
  544. package/dist/web/binary/unknown_response_event.js +0 -19
  545. package/dist/web/binary/unknown_response_event.js.map +0 -1
  546. package/dist/web/binary_ns.d.ts +0 -27
  547. package/dist/web/binary_ns.js +0 -39
  548. package/dist/web/binary_ns.js.map +0 -1
  549. package/dist/web/device_db_source_type.d.ts +0 -7
  550. package/dist/web/device_db_source_type.js +0 -14
  551. package/dist/web/device_db_source_type.js.map +0 -1
  552. package/dist/web/exceptions/binary_command_failed_exception.d.ts +0 -14
  553. package/dist/web/exceptions/binary_command_failed_exception.js +0 -32
  554. package/dist/web/exceptions/binary_command_failed_exception.js.map +0 -1
  555. package/dist/web/exceptions/binary_command_failed_exception_data.d.ts +0 -12
  556. package/dist/web/exceptions/binary_command_failed_exception_data.js +0 -17
  557. package/dist/web/exceptions/binary_command_failed_exception_data.js.map +0 -1
  558. package/dist/web/exceptions/command_failed_exception.d.ts +0 -14
  559. package/dist/web/exceptions/command_failed_exception.js +0 -32
  560. package/dist/web/exceptions/command_failed_exception.js.map +0 -1
  561. package/dist/web/exceptions/command_failed_exception_data.d.ts +0 -24
  562. package/dist/web/exceptions/command_failed_exception_data.js +0 -20
  563. package/dist/web/exceptions/command_failed_exception_data.js.map +0 -1
  564. package/dist/web/exceptions/command_preempted_exception.d.ts +0 -7
  565. package/dist/web/exceptions/command_preempted_exception.js +0 -17
  566. package/dist/web/exceptions/command_preempted_exception.js.map +0 -1
  567. package/dist/web/exceptions/connection_closed_exception.d.ts +0 -7
  568. package/dist/web/exceptions/connection_closed_exception.js +0 -17
  569. package/dist/web/exceptions/connection_closed_exception.js.map +0 -1
  570. package/dist/web/exceptions/connection_failed_exception.d.ts +0 -7
  571. package/dist/web/exceptions/connection_failed_exception.js +0 -17
  572. package/dist/web/exceptions/connection_failed_exception.js.map +0 -1
  573. package/dist/web/exceptions/conversion_failed_exception.d.ts +0 -7
  574. package/dist/web/exceptions/conversion_failed_exception.js +0 -17
  575. package/dist/web/exceptions/conversion_failed_exception.js.map +0 -1
  576. package/dist/web/exceptions/device_address_conflict_exception.d.ts +0 -14
  577. package/dist/web/exceptions/device_address_conflict_exception.js +0 -32
  578. package/dist/web/exceptions/device_address_conflict_exception.js.map +0 -1
  579. package/dist/web/exceptions/device_address_conflict_exception_data.d.ts +0 -12
  580. package/dist/web/exceptions/device_address_conflict_exception_data.js +0 -17
  581. package/dist/web/exceptions/device_address_conflict_exception_data.js.map +0 -1
  582. package/dist/web/exceptions/device_busy_exception.d.ts +0 -7
  583. package/dist/web/exceptions/device_busy_exception.js +0 -17
  584. package/dist/web/exceptions/device_busy_exception.js.map +0 -1
  585. package/dist/web/exceptions/device_db_failed_exception.d.ts +0 -7
  586. package/dist/web/exceptions/device_db_failed_exception.js +0 -17
  587. package/dist/web/exceptions/device_db_failed_exception.js.map +0 -1
  588. package/dist/web/exceptions/device_failed_exception.d.ts +0 -8
  589. package/dist/web/exceptions/device_failed_exception.js +0 -18
  590. package/dist/web/exceptions/device_failed_exception.js.map +0 -1
  591. package/dist/web/exceptions/device_not_identified_exception.d.ts +0 -7
  592. package/dist/web/exceptions/device_not_identified_exception.js +0 -17
  593. package/dist/web/exceptions/device_not_identified_exception.js.map +0 -1
  594. package/dist/web/exceptions/index.js +0 -102
  595. package/dist/web/exceptions/index.js.map +0 -1
  596. package/dist/web/exceptions/internal_error_exception.d.ts +0 -7
  597. package/dist/web/exceptions/internal_error_exception.js +0 -17
  598. package/dist/web/exceptions/internal_error_exception.js.map +0 -1
  599. package/dist/web/exceptions/invalid_argument_exception.d.ts +0 -7
  600. package/dist/web/exceptions/invalid_argument_exception.js +0 -17
  601. package/dist/web/exceptions/invalid_argument_exception.js.map +0 -1
  602. package/dist/web/exceptions/invalid_data_exception.d.ts +0 -7
  603. package/dist/web/exceptions/invalid_data_exception.js +0 -17
  604. package/dist/web/exceptions/invalid_data_exception.js.map +0 -1
  605. package/dist/web/exceptions/invalid_packet_exception.d.ts +0 -14
  606. package/dist/web/exceptions/invalid_packet_exception.js +0 -32
  607. package/dist/web/exceptions/invalid_packet_exception.js.map +0 -1
  608. package/dist/web/exceptions/invalid_packet_exception_data.d.ts +0 -16
  609. package/dist/web/exceptions/invalid_packet_exception_data.js +0 -18
  610. package/dist/web/exceptions/invalid_packet_exception_data.js.map +0 -1
  611. package/dist/web/exceptions/invalid_park_state_exception.d.ts +0 -7
  612. package/dist/web/exceptions/invalid_park_state_exception.js +0 -17
  613. package/dist/web/exceptions/invalid_park_state_exception.js.map +0 -1
  614. package/dist/web/exceptions/invalid_response_exception.d.ts +0 -14
  615. package/dist/web/exceptions/invalid_response_exception.js +0 -32
  616. package/dist/web/exceptions/invalid_response_exception.js.map +0 -1
  617. package/dist/web/exceptions/invalid_response_exception_data.d.ts +0 -12
  618. package/dist/web/exceptions/invalid_response_exception_data.js +0 -17
  619. package/dist/web/exceptions/invalid_response_exception_data.js.map +0 -1
  620. package/dist/web/exceptions/io_channel_out_of_range_exception.d.ts +0 -7
  621. package/dist/web/exceptions/io_channel_out_of_range_exception.js +0 -17
  622. package/dist/web/exceptions/io_channel_out_of_range_exception.js.map +0 -1
  623. package/dist/web/exceptions/io_failed_exception.d.ts +0 -7
  624. package/dist/web/exceptions/io_failed_exception.js +0 -17
  625. package/dist/web/exceptions/io_failed_exception.js.map +0 -1
  626. package/dist/web/exceptions/lockstep_enabled_exception.d.ts +0 -7
  627. package/dist/web/exceptions/lockstep_enabled_exception.js +0 -17
  628. package/dist/web/exceptions/lockstep_enabled_exception.js.map +0 -1
  629. package/dist/web/exceptions/lockstep_not_enabled_exception.d.ts +0 -7
  630. package/dist/web/exceptions/lockstep_not_enabled_exception.js +0 -17
  631. package/dist/web/exceptions/lockstep_not_enabled_exception.js.map +0 -1
  632. package/dist/web/exceptions/motion_lib_exception.d.ts +0 -8
  633. package/dist/web/exceptions/motion_lib_exception.js +0 -15
  634. package/dist/web/exceptions/motion_lib_exception.js.map +0 -1
  635. package/dist/web/exceptions/movement_failed_exception.d.ts +0 -14
  636. package/dist/web/exceptions/movement_failed_exception.js +0 -32
  637. package/dist/web/exceptions/movement_failed_exception.js.map +0 -1
  638. package/dist/web/exceptions/movement_failed_exception_data.d.ts +0 -16
  639. package/dist/web/exceptions/movement_failed_exception_data.js +0 -18
  640. package/dist/web/exceptions/movement_failed_exception_data.js.map +0 -1
  641. package/dist/web/exceptions/movement_interrupted_exception.d.ts +0 -14
  642. package/dist/web/exceptions/movement_interrupted_exception.js +0 -32
  643. package/dist/web/exceptions/movement_interrupted_exception.js.map +0 -1
  644. package/dist/web/exceptions/movement_interrupted_exception_data.d.ts +0 -16
  645. package/dist/web/exceptions/movement_interrupted_exception_data.js +0 -18
  646. package/dist/web/exceptions/movement_interrupted_exception_data.js.map +0 -1
  647. package/dist/web/exceptions/no_device_found_exception.d.ts +0 -7
  648. package/dist/web/exceptions/no_device_found_exception.js +0 -17
  649. package/dist/web/exceptions/no_device_found_exception.js.map +0 -1
  650. package/dist/web/exceptions/not_supported_exception.d.ts +0 -7
  651. package/dist/web/exceptions/not_supported_exception.js +0 -17
  652. package/dist/web/exceptions/not_supported_exception.js.map +0 -1
  653. package/dist/web/exceptions/os_failed_exception.d.ts +0 -7
  654. package/dist/web/exceptions/os_failed_exception.js +0 -17
  655. package/dist/web/exceptions/os_failed_exception.js.map +0 -1
  656. package/dist/web/exceptions/out_of_request_ids_exception.d.ts +0 -7
  657. package/dist/web/exceptions/out_of_request_ids_exception.js +0 -17
  658. package/dist/web/exceptions/out_of_request_ids_exception.js.map +0 -1
  659. package/dist/web/exceptions/request_timeout_exception.d.ts +0 -7
  660. package/dist/web/exceptions/request_timeout_exception.js +0 -17
  661. package/dist/web/exceptions/request_timeout_exception.js.map +0 -1
  662. package/dist/web/exceptions/serial_port_busy_exception.d.ts +0 -7
  663. package/dist/web/exceptions/serial_port_busy_exception.js +0 -17
  664. package/dist/web/exceptions/serial_port_busy_exception.js.map +0 -1
  665. package/dist/web/exceptions/setting_not_found_exception.d.ts +0 -7
  666. package/dist/web/exceptions/setting_not_found_exception.js +0 -17
  667. package/dist/web/exceptions/setting_not_found_exception.js.map +0 -1
  668. package/dist/web/exceptions/stream_execution_exception.d.ts +0 -14
  669. package/dist/web/exceptions/stream_execution_exception.js +0 -32
  670. package/dist/web/exceptions/stream_execution_exception.js.map +0 -1
  671. package/dist/web/exceptions/stream_execution_exception_data.d.ts +0 -16
  672. package/dist/web/exceptions/stream_execution_exception_data.js +0 -18
  673. package/dist/web/exceptions/stream_execution_exception_data.js.map +0 -1
  674. package/dist/web/exceptions/stream_mode_exception.d.ts +0 -7
  675. package/dist/web/exceptions/stream_mode_exception.js +0 -17
  676. package/dist/web/exceptions/stream_mode_exception.js.map +0 -1
  677. package/dist/web/exceptions/stream_movement_failed_exception.d.ts +0 -14
  678. package/dist/web/exceptions/stream_movement_failed_exception.js +0 -32
  679. package/dist/web/exceptions/stream_movement_failed_exception.js.map +0 -1
  680. package/dist/web/exceptions/stream_movement_failed_exception_data.d.ts +0 -16
  681. package/dist/web/exceptions/stream_movement_failed_exception_data.js +0 -18
  682. package/dist/web/exceptions/stream_movement_failed_exception_data.js.map +0 -1
  683. package/dist/web/exceptions/stream_movement_interrupted_exception.d.ts +0 -14
  684. package/dist/web/exceptions/stream_movement_interrupted_exception.js +0 -32
  685. package/dist/web/exceptions/stream_movement_interrupted_exception.js.map +0 -1
  686. package/dist/web/exceptions/stream_movement_interrupted_exception_data.d.ts +0 -16
  687. package/dist/web/exceptions/stream_movement_interrupted_exception_data.js +0 -18
  688. package/dist/web/exceptions/stream_movement_interrupted_exception_data.js.map +0 -1
  689. package/dist/web/exceptions/stream_setup_failed_exception.d.ts +0 -7
  690. package/dist/web/exceptions/stream_setup_failed_exception.js +0 -17
  691. package/dist/web/exceptions/stream_setup_failed_exception.js.map +0 -1
  692. package/dist/web/exceptions/transport_already_used_exception.d.ts +0 -7
  693. package/dist/web/exceptions/transport_already_used_exception.js +0 -17
  694. package/dist/web/exceptions/transport_already_used_exception.js.map +0 -1
  695. package/dist/web/exceptions/unknown_request_exception.d.ts +0 -7
  696. package/dist/web/exceptions/unknown_request_exception.js +0 -17
  697. package/dist/web/exceptions/unknown_request_exception.js.map +0 -1
  698. package/dist/web/firmware_version.d.ts +0 -20
  699. package/dist/web/firmware_version.js +0 -19
  700. package/dist/web/firmware_version.js.map +0 -1
  701. package/dist/web/gateway/bindings.js.map +0 -1
  702. package/dist/web/gateway/call.d.ts +0 -6
  703. package/dist/web/gateway/call.js.map +0 -1
  704. package/dist/web/gateway/convert_exceptions.d.ts +0 -4
  705. package/dist/web/gateway/convert_exceptions.js +0 -74
  706. package/dist/web/gateway/convert_exceptions.js.map +0 -1
  707. package/dist/web/gateway/events.d.ts +0 -9
  708. package/dist/web/gateway/events.js +0 -60
  709. package/dist/web/gateway/events.js.map +0 -1
  710. package/dist/web/gateway/index.d.ts +0 -4
  711. package/dist/web/gateway/index.js +0 -23
  712. package/dist/web/gateway/index.js.map +0 -1
  713. package/dist/web/gateway/serialization.d.ts +0 -6
  714. package/dist/web/gateway/serialization.js +0 -39
  715. package/dist/web/gateway/serialization.js.map +0 -1
  716. package/dist/web/index.d.ts +0 -12
  717. package/dist/web/index.js +0 -33
  718. package/dist/web/index.js.map +0 -1
  719. package/dist/web/init.d.ts +0 -5
  720. package/dist/web/init.js.map +0 -1
  721. package/dist/web/library.d.ts +0 -30
  722. package/dist/web/library.js +0 -73
  723. package/dist/web/library.js.map +0 -1
  724. package/dist/web/log_output_mode.d.ts +0 -9
  725. package/dist/web/log_output_mode.js +0 -16
  726. package/dist/web/log_output_mode.js.map +0 -1
  727. package/dist/web/measurement.js.map +0 -1
  728. package/dist/web/protobufs/main_pb.d.ts +0 -5228
  729. package/dist/web/protobufs/main_pb.js +0 -39387
  730. package/dist/web/rotation_direction.d.ts +0 -9
  731. package/dist/web/rotation_direction.js +0 -16
  732. package/dist/web/rotation_direction.js.map +0 -1
  733. package/dist/web/tools.d.ts +0 -10
  734. package/dist/web/tools.js.map +0 -1
  735. package/dist/web/units.d.ts +0 -147
  736. package/dist/web/units.js +0 -167
  737. package/dist/web/units.js.map +0 -1
  738. package/dist/web/wasm/wasm-exec.d.ts +0 -1
  739. package/dist/web/wasm/wasm-exec.js.map +0 -1
  740. package/dist/web/wasm/wasm.d.ts +0 -14
  741. package/dist/web/wasm/wasm.js.map +0 -1
@@ -1,33 +0,0 @@
1
- import { FirmwareVersion } from '../firmware_version';
2
- /**
3
- * Representation of data gathered during device identification.
4
- */
5
- export interface DeviceIdentity {
6
- /**
7
- * Unique ID of the device hardware.
8
- */
9
- deviceId: number;
10
- /**
11
- * Serial number of the device.
12
- */
13
- serialNumber: number;
14
- /**
15
- * Name of the product.
16
- */
17
- name: string;
18
- /**
19
- * Number of axes this device has.
20
- */
21
- axisCount: number;
22
- /**
23
- * Version of the firmware.
24
- */
25
- firmwareVersion: FirmwareVersion;
26
- /**
27
- * The device has hardware modifications.
28
- */
29
- isModified: boolean;
30
- }
31
- export declare namespace DeviceIdentity {
32
- const __type = "DeviceIdentity";
33
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
- // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
- // ============= DO NOT EDIT DIRECTLY ============= //
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.DeviceIdentity = void 0;
6
- const firmware_version_1 = require("../firmware_version");
7
- var DeviceIdentity;
8
- (function (DeviceIdentity) {
9
- DeviceIdentity.__type = 'DeviceIdentity';
10
- /** @internal */
11
- function fromProtobuf(pbData) {
12
- return {
13
- deviceId: pbData.deviceId,
14
- serialNumber: pbData.serialNumber,
15
- name: pbData.name,
16
- axisCount: pbData.axisCount,
17
- firmwareVersion: firmware_version_1.FirmwareVersion.fromProtobuf(pbData.firmwareVersion),
18
- isModified: pbData.isModified,
19
- };
20
- }
21
- DeviceIdentity.fromProtobuf = fromProtobuf;
22
- })(DeviceIdentity = exports.DeviceIdentity || (exports.DeviceIdentity = {}));
23
- //# sourceMappingURL=device_identity.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"device_identity.js","sourceRoot":"","sources":["../../../src-web/ascii/device_identity.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAGtD,0DAAsD;AAsCtD,IAAiB,cAAc,CAc9B;AAdD,WAAiB,cAAc;IAChB,qBAAM,GAAG,gBAAgB,CAAC;IAEvC,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAuC;QAClE,OAAO;YACL,QAAQ,EAAE,MAAM,CAAC,QAAQ;YACzB,YAAY,EAAE,MAAM,CAAC,YAAY;YACjC,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,eAAe,EAAE,kCAAe,CAAC,YAAY,CAAC,MAAM,CAAC,eAAgB,CAAC;YACtE,UAAU,EAAE,MAAM,CAAC,UAAU;SAC9B,CAAC;IACJ,CAAC;IATe,2BAAY,eAS3B,CAAA;AACH,CAAC,EAdgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAc9B","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\nimport { FirmwareVersion } from '../firmware_version';\n\n/**\n * Representation of data gathered during device identification.\n */\nexport interface DeviceIdentity {\n /**\n * Unique ID of the device hardware.\n */\n deviceId: number;\n\n /**\n * Serial number of the device.\n */\n serialNumber: number;\n\n /**\n * Name of the product.\n */\n name: string;\n\n /**\n * Number of axes this device has.\n */\n axisCount: number;\n\n /**\n * Version of the firmware.\n */\n firmwareVersion: FirmwareVersion;\n\n /**\n * The device has hardware modifications.\n */\n isModified: boolean;\n\n}\n\nexport namespace DeviceIdentity {\n export const __type = 'DeviceIdentity';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.DeviceIdentity.AsObject): DeviceIdentity {\n return {\n deviceId: pbData.deviceId,\n serialNumber: pbData.serialNumber,\n name: pbData.name,\n axisCount: pbData.axisCount,\n firmwareVersion: FirmwareVersion.fromProtobuf(pbData.firmwareVersion!),\n isModified: pbData.isModified,\n };\n }\n}\n"]}
@@ -1,80 +0,0 @@
1
- import { Device } from './device';
2
- import { DeviceIOInfo } from './device_io_info';
3
- /**
4
- * Class providing access to the I/O channels of the device.
5
- */
6
- export declare class DeviceIO {
7
- private _device;
8
- constructor(device: Device);
9
- /**
10
- * Returns the current values of all digital input channels.
11
- * @return True if voltage is present on the input channel and false otherwise.
12
- */
13
- getAllDigitalInputs(): Promise<boolean[]>;
14
- /**
15
- * Returns the current values of all digital output channels.
16
- * @return True if the output channel is conducting and false otherwise.
17
- */
18
- getAllDigitalOutputs(): Promise<boolean[]>;
19
- /**
20
- * Returns the current values of all analog input channels.
21
- * @return Measurements of the voltage present on the input channels.
22
- */
23
- getAllAnalogInputs(): Promise<number[]>;
24
- /**
25
- * Returns the current values of all analog output channels.
26
- * @return Measurements of voltage that the output channels are conducting.
27
- */
28
- getAllAnalogOutputs(): Promise<number[]>;
29
- /**
30
- * Returns the current value of the specified digital input channel.
31
- * @param channelNumber Channel number starting at 1.
32
- * @return True if voltage is present on the input channel and false otherwise.
33
- */
34
- getDigitalInput(channelNumber: number): Promise<boolean>;
35
- /**
36
- * Returns the current value of the specified digital output channel.
37
- * @param channelNumber Channel number starting at 1.
38
- * @return True if the output channel is conducting and false otherwise.
39
- */
40
- getDigitalOutput(channelNumber: number): Promise<boolean>;
41
- /**
42
- * Returns the current value of the specified analog input channel.
43
- * @param channelNumber Channel number starting at 1.
44
- * @return A measurementsof the voltage present on the input channel.
45
- */
46
- getAnalogInput(channelNumber: number): Promise<number>;
47
- /**
48
- * Returns the current values of the specified analog output channel.
49
- * @param channelNumber Channel number starting at 1.
50
- * @return A measurement of voltage that the output channel is conducting.
51
- */
52
- getAnalogOutput(channelNumber: number): Promise<number>;
53
- /**
54
- * Sets values for all digital output channels.
55
- * @param values True to set the output channel to conducting and false to turn it off.
56
- */
57
- setAllDigitalOutputs(values: boolean[]): Promise<void>;
58
- /**
59
- * Sets values for all analog output channels.
60
- * @param values Voltage values to set the output channels to.
61
- */
62
- setAllAnalogOutputs(values: number[]): Promise<void>;
63
- /**
64
- * Sets value for the specified digital output channel.
65
- * @param channelNumber Channel number starting at 1.
66
- * @param value True to set the output channel to conducting and false to turn it off.
67
- */
68
- setDigitalOutput(channelNumber: number, value: boolean): Promise<void>;
69
- /**
70
- * Sets value for the specified analog output channel.
71
- * @param channelNumber Channel number starting at 1.
72
- * @param value Value to set the output channel voltage to.
73
- */
74
- setAnalogOutput(channelNumber: number, value: number): Promise<void>;
75
- /**
76
- * Returns the number of I/O channels the device has.
77
- * @return An object containing the number of I/O channels the device has.
78
- */
79
- getChannelsInfo(): Promise<DeviceIOInfo>;
80
- }
@@ -1,199 +0,0 @@
1
- "use strict";
2
- // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
- // ============= DO NOT EDIT DIRECTLY ============= //
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
7
- }) : (function(o, m, k, k2) {
8
- if (k2 === undefined) k2 = k;
9
- o[k2] = m[k];
10
- }));
11
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
12
- Object.defineProperty(o, "default", { enumerable: true, value: v });
13
- }) : function(o, v) {
14
- o["default"] = v;
15
- });
16
- var __importStar = (this && this.__importStar) || function (mod) {
17
- if (mod && mod.__esModule) return mod;
18
- var result = {};
19
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
20
- __setModuleDefault(result, mod);
21
- return result;
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.DeviceIO = void 0;
25
- const gateway = __importStar(require("../gateway"));
26
- const device_io_info_1 = require("./device_io_info");
27
- /**
28
- * Class providing access to the I/O channels of the device.
29
- */
30
- class DeviceIO {
31
- constructor(device) {
32
- this._device = device;
33
- }
34
- /**
35
- * Returns the current values of all digital input channels.
36
- * @return True if voltage is present on the input channel and false otherwise.
37
- */
38
- async getAllDigitalInputs() {
39
- const request = new gateway.DeviceGetAllDigitalIORequest();
40
- request.setInterfaceId(this._device.connection.interfaceId);
41
- request.setDevice(this._device.deviceAddress);
42
- request.setChannelType('di');
43
- const response = await gateway.callAsync('device/get_all_digital_io', request, gateway.DeviceGetAllDigitalIOResponse);
44
- return response.getValuesList();
45
- }
46
- /**
47
- * Returns the current values of all digital output channels.
48
- * @return True if the output channel is conducting and false otherwise.
49
- */
50
- async getAllDigitalOutputs() {
51
- const request = new gateway.DeviceGetAllDigitalIORequest();
52
- request.setInterfaceId(this._device.connection.interfaceId);
53
- request.setDevice(this._device.deviceAddress);
54
- request.setChannelType('do');
55
- const response = await gateway.callAsync('device/get_all_digital_io', request, gateway.DeviceGetAllDigitalIOResponse);
56
- return response.getValuesList();
57
- }
58
- /**
59
- * Returns the current values of all analog input channels.
60
- * @return Measurements of the voltage present on the input channels.
61
- */
62
- async getAllAnalogInputs() {
63
- const request = new gateway.DeviceGetAllAnalogIORequest();
64
- request.setInterfaceId(this._device.connection.interfaceId);
65
- request.setDevice(this._device.deviceAddress);
66
- request.setChannelType('ai');
67
- const response = await gateway.callAsync('device/get_all_analog_io', request, gateway.DeviceGetAllAnalogIOResponse);
68
- return response.getValuesList();
69
- }
70
- /**
71
- * Returns the current values of all analog output channels.
72
- * @return Measurements of voltage that the output channels are conducting.
73
- */
74
- async getAllAnalogOutputs() {
75
- const request = new gateway.DeviceGetAllAnalogIORequest();
76
- request.setInterfaceId(this._device.connection.interfaceId);
77
- request.setDevice(this._device.deviceAddress);
78
- request.setChannelType('ao');
79
- const response = await gateway.callAsync('device/get_all_analog_io', request, gateway.DeviceGetAllAnalogIOResponse);
80
- return response.getValuesList();
81
- }
82
- /**
83
- * Returns the current value of the specified digital input channel.
84
- * @param channelNumber Channel number starting at 1.
85
- * @return True if voltage is present on the input channel and false otherwise.
86
- */
87
- async getDigitalInput(channelNumber) {
88
- const request = new gateway.DeviceGetDigitalIORequest();
89
- request.setInterfaceId(this._device.connection.interfaceId);
90
- request.setDevice(this._device.deviceAddress);
91
- request.setChannelType('di');
92
- request.setChannelNumber(channelNumber);
93
- const response = await gateway.callAsync('device/get_digital_io', request, gateway.DeviceGetDigitalIOResponse);
94
- return response.getValue();
95
- }
96
- /**
97
- * Returns the current value of the specified digital output channel.
98
- * @param channelNumber Channel number starting at 1.
99
- * @return True if the output channel is conducting and false otherwise.
100
- */
101
- async getDigitalOutput(channelNumber) {
102
- const request = new gateway.DeviceGetDigitalIORequest();
103
- request.setInterfaceId(this._device.connection.interfaceId);
104
- request.setDevice(this._device.deviceAddress);
105
- request.setChannelType('do');
106
- request.setChannelNumber(channelNumber);
107
- const response = await gateway.callAsync('device/get_digital_io', request, gateway.DeviceGetDigitalIOResponse);
108
- return response.getValue();
109
- }
110
- /**
111
- * Returns the current value of the specified analog input channel.
112
- * @param channelNumber Channel number starting at 1.
113
- * @return A measurementsof the voltage present on the input channel.
114
- */
115
- async getAnalogInput(channelNumber) {
116
- const request = new gateway.DeviceGetAnalogIORequest();
117
- request.setInterfaceId(this._device.connection.interfaceId);
118
- request.setDevice(this._device.deviceAddress);
119
- request.setChannelType('ai');
120
- request.setChannelNumber(channelNumber);
121
- const response = await gateway.callAsync('device/get_analog_io', request, gateway.DeviceGetAnalogIOResponse);
122
- return response.getValue();
123
- }
124
- /**
125
- * Returns the current values of the specified analog output channel.
126
- * @param channelNumber Channel number starting at 1.
127
- * @return A measurement of voltage that the output channel is conducting.
128
- */
129
- async getAnalogOutput(channelNumber) {
130
- const request = new gateway.DeviceGetAnalogIORequest();
131
- request.setInterfaceId(this._device.connection.interfaceId);
132
- request.setDevice(this._device.deviceAddress);
133
- request.setChannelType('ao');
134
- request.setChannelNumber(channelNumber);
135
- const response = await gateway.callAsync('device/get_analog_io', request, gateway.DeviceGetAnalogIOResponse);
136
- return response.getValue();
137
- }
138
- /**
139
- * Sets values for all digital output channels.
140
- * @param values True to set the output channel to conducting and false to turn it off.
141
- */
142
- async setAllDigitalOutputs(values) {
143
- const request = new gateway.DeviceSetAllDigitalOutputsRequest();
144
- request.setInterfaceId(this._device.connection.interfaceId);
145
- request.setDevice(this._device.deviceAddress);
146
- request.setValuesList(values);
147
- await gateway.callAsync('device/set_all_digital_outputs', request);
148
- }
149
- /**
150
- * Sets values for all analog output channels.
151
- * @param values Voltage values to set the output channels to.
152
- */
153
- async setAllAnalogOutputs(values) {
154
- const request = new gateway.DeviceSetAllAnalogOutputsRequest();
155
- request.setInterfaceId(this._device.connection.interfaceId);
156
- request.setDevice(this._device.deviceAddress);
157
- request.setValuesList(values);
158
- await gateway.callAsync('device/set_all_analog_outputs', request);
159
- }
160
- /**
161
- * Sets value for the specified digital output channel.
162
- * @param channelNumber Channel number starting at 1.
163
- * @param value True to set the output channel to conducting and false to turn it off.
164
- */
165
- async setDigitalOutput(channelNumber, value) {
166
- const request = new gateway.DeviceSetDigitalOutputRequest();
167
- request.setInterfaceId(this._device.connection.interfaceId);
168
- request.setDevice(this._device.deviceAddress);
169
- request.setChannelNumber(channelNumber);
170
- request.setValue(value);
171
- await gateway.callAsync('device/set_digital_output', request);
172
- }
173
- /**
174
- * Sets value for the specified analog output channel.
175
- * @param channelNumber Channel number starting at 1.
176
- * @param value Value to set the output channel voltage to.
177
- */
178
- async setAnalogOutput(channelNumber, value) {
179
- const request = new gateway.DeviceSetAnalogOutputRequest();
180
- request.setInterfaceId(this._device.connection.interfaceId);
181
- request.setDevice(this._device.deviceAddress);
182
- request.setChannelNumber(channelNumber);
183
- request.setValue(value);
184
- await gateway.callAsync('device/set_analog_output', request);
185
- }
186
- /**
187
- * Returns the number of I/O channels the device has.
188
- * @return An object containing the number of I/O channels the device has.
189
- */
190
- async getChannelsInfo() {
191
- const request = new gateway.DeviceGetIOChannelsInfoRequest();
192
- request.setInterfaceId(this._device.connection.interfaceId);
193
- request.setDevice(this._device.deviceAddress);
194
- const response = await gateway.callAsync('device/get_io_info', request, gateway.DeviceIOInfo);
195
- return device_io_info_1.DeviceIOInfo.fromProtobuf(response.toObject());
196
- }
197
- }
198
- exports.DeviceIO = DeviceIO;
199
- //# sourceMappingURL=device_io.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"device_io.js","sourceRoot":"","sources":["../../../src-web/ascii/device_io.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAGtD,oDAAsC;AACtC,qDAAgD;AAEhD;;GAEG;AACH,MAAa,QAAQ;IAGnB,YAAY,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,mBAAmB;QAC9B,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,4BAA4B,EAAE,CAAC;QAC3D,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC5D,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC9C,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;QAE7B,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,2BAA2B,EAC3B,OAAO,EACP,OAAO,CAAC,6BAA6B,CAAC,CAAC;QACzC,OAAO,QAAQ,CAAC,aAAa,EAAE,CAAC;IAClC,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,oBAAoB;QAC/B,MAAM,OAAO,GAAG,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AI,OAAO,CAAC,4BAA4B,EAAE,CAAC;QAC3D,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC5D,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAC9C,OAAO,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QACxC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;QAExB,MAAM,OAAO,CAAC,SAAS,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;OAGG;IACI,KAAK,CAAC,eAAe;QAC1B,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,8BAA8B,EAAE,CAAC;QAC7D,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC5D,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;QAE9C,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,oBAAoB,EACpB,OAAO,EACP,OAAO,CAAC,YAAY,CAAC,CAAC;QACxB,OAAO,6BAAY,CAAC,YAAY,CAAC,QAAQ,CAAC,QAAQ,EAAE,CAAC,CAAC;IACxD,CAAC;CACF;AAhPD,4BAgPC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Device } from './device';\nimport * as gateway from '../gateway';\nimport { DeviceIOInfo } from './device_io_info';\n\n/**\n * Class providing access to the I/O channels of the device.\n */\nexport class DeviceIO {\n private _device: Device;\n\n constructor(device: Device) {\n this._device = device;\n }\n\n /**\n * Returns the current values of all digital input channels.\n * @return True if voltage is present on the input channel and false otherwise.\n */\n public async getAllDigitalInputs(): Promise<boolean[]> {\n const request = new gateway.DeviceGetAllDigitalIORequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelType('di');\n\n const response = await gateway.callAsync<gateway.DeviceGetAllDigitalIOResponse>(\n 'device/get_all_digital_io',\n request,\n gateway.DeviceGetAllDigitalIOResponse);\n return response.getValuesList();\n }\n\n /**\n * Returns the current values of all digital output channels.\n * @return True if the output channel is conducting and false otherwise.\n */\n public async getAllDigitalOutputs(): Promise<boolean[]> {\n const request = new gateway.DeviceGetAllDigitalIORequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelType('do');\n\n const response = await gateway.callAsync<gateway.DeviceGetAllDigitalIOResponse>(\n 'device/get_all_digital_io',\n request,\n gateway.DeviceGetAllDigitalIOResponse);\n return response.getValuesList();\n }\n\n /**\n * Returns the current values of all analog input channels.\n * @return Measurements of the voltage present on the input channels.\n */\n public async getAllAnalogInputs(): Promise<number[]> {\n const request = new gateway.DeviceGetAllAnalogIORequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelType('ai');\n\n const response = await gateway.callAsync<gateway.DeviceGetAllAnalogIOResponse>(\n 'device/get_all_analog_io',\n request,\n gateway.DeviceGetAllAnalogIOResponse);\n return response.getValuesList();\n }\n\n /**\n * Returns the current values of all analog output channels.\n * @return Measurements of voltage that the output channels are conducting.\n */\n public async getAllAnalogOutputs(): Promise<number[]> {\n const request = new gateway.DeviceGetAllAnalogIORequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelType('ao');\n\n const response = await gateway.callAsync<gateway.DeviceGetAllAnalogIOResponse>(\n 'device/get_all_analog_io',\n request,\n gateway.DeviceGetAllAnalogIOResponse);\n return response.getValuesList();\n }\n\n /**\n * Returns the current value of the specified digital input channel.\n * @param channelNumber Channel number starting at 1.\n * @return True if voltage is present on the input channel and false otherwise.\n */\n public async getDigitalInput(\n channelNumber: number\n ): Promise<boolean> {\n const request = new gateway.DeviceGetDigitalIORequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelType('di');\n request.setChannelNumber(channelNumber);\n\n const response = await gateway.callAsync<gateway.DeviceGetDigitalIOResponse>(\n 'device/get_digital_io',\n request,\n gateway.DeviceGetDigitalIOResponse);\n return response.getValue();\n }\n\n /**\n * Returns the current value of the specified digital output channel.\n * @param channelNumber Channel number starting at 1.\n * @return True if the output channel is conducting and false otherwise.\n */\n public async getDigitalOutput(\n channelNumber: number\n ): Promise<boolean> {\n const request = new gateway.DeviceGetDigitalIORequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelType('do');\n request.setChannelNumber(channelNumber);\n\n const response = await gateway.callAsync<gateway.DeviceGetDigitalIOResponse>(\n 'device/get_digital_io',\n request,\n gateway.DeviceGetDigitalIOResponse);\n return response.getValue();\n }\n\n /**\n * Returns the current value of the specified analog input channel.\n * @param channelNumber Channel number starting at 1.\n * @return A measurementsof the voltage present on the input channel.\n */\n public async getAnalogInput(\n channelNumber: number\n ): Promise<number> {\n const request = new gateway.DeviceGetAnalogIORequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelType('ai');\n request.setChannelNumber(channelNumber);\n\n const response = await gateway.callAsync<gateway.DeviceGetAnalogIOResponse>(\n 'device/get_analog_io',\n request,\n gateway.DeviceGetAnalogIOResponse);\n return response.getValue();\n }\n\n /**\n * Returns the current values of the specified analog output channel.\n * @param channelNumber Channel number starting at 1.\n * @return A measurement of voltage that the output channel is conducting.\n */\n public async getAnalogOutput(\n channelNumber: number\n ): Promise<number> {\n const request = new gateway.DeviceGetAnalogIORequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelType('ao');\n request.setChannelNumber(channelNumber);\n\n const response = await gateway.callAsync<gateway.DeviceGetAnalogIOResponse>(\n 'device/get_analog_io',\n request,\n gateway.DeviceGetAnalogIOResponse);\n return response.getValue();\n }\n\n /**\n * Sets values for all digital output channels.\n * @param values True to set the output channel to conducting and false to turn it off.\n */\n public async setAllDigitalOutputs(\n values: boolean[]\n ): Promise<void> {\n const request = new gateway.DeviceSetAllDigitalOutputsRequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setValuesList(values);\n\n await gateway.callAsync('device/set_all_digital_outputs', request);\n }\n\n /**\n * Sets values for all analog output channels.\n * @param values Voltage values to set the output channels to.\n */\n public async setAllAnalogOutputs(\n values: number[]\n ): Promise<void> {\n const request = new gateway.DeviceSetAllAnalogOutputsRequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setValuesList(values);\n\n await gateway.callAsync('device/set_all_analog_outputs', request);\n }\n\n /**\n * Sets value for the specified digital output channel.\n * @param channelNumber Channel number starting at 1.\n * @param value True to set the output channel to conducting and false to turn it off.\n */\n public async setDigitalOutput(\n channelNumber: number,\n value: boolean\n ): Promise<void> {\n const request = new gateway.DeviceSetDigitalOutputRequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelNumber(channelNumber);\n request.setValue(value);\n\n await gateway.callAsync('device/set_digital_output', request);\n }\n\n /**\n * Sets value for the specified analog output channel.\n * @param channelNumber Channel number starting at 1.\n * @param value Value to set the output channel voltage to.\n */\n public async setAnalogOutput(\n channelNumber: number,\n value: number\n ): Promise<void> {\n const request = new gateway.DeviceSetAnalogOutputRequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setChannelNumber(channelNumber);\n request.setValue(value);\n\n await gateway.callAsync('device/set_analog_output', request);\n }\n\n /**\n * Returns the number of I/O channels the device has.\n * @return An object containing the number of I/O channels the device has.\n */\n public async getChannelsInfo(): Promise<DeviceIOInfo> {\n const request = new gateway.DeviceGetIOChannelsInfoRequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n\n const response = await gateway.callAsync<gateway.DeviceIOInfo>(\n 'device/get_io_info',\n request,\n gateway.DeviceIOInfo);\n return DeviceIOInfo.fromProtobuf(response.toObject());\n }\n}\n"]}
@@ -1,24 +0,0 @@
1
- /**
2
- * Class representing information on the I/O channels of the device.
3
- */
4
- export interface DeviceIOInfo {
5
- /**
6
- * Number of analog output channels.
7
- */
8
- numberAnalogOutputs: number;
9
- /**
10
- * Number of analog input channels.
11
- */
12
- numberAnalogInputs: number;
13
- /**
14
- * Number of digital output channels.
15
- */
16
- numberDigitalOutputs: number;
17
- /**
18
- * Number of digital input channels.
19
- */
20
- numberDigitalInputs: number;
21
- }
22
- export declare namespace DeviceIOInfo {
23
- const __type = "DeviceIOInfo";
24
- }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
- // ============= DO NOT EDIT DIRECTLY ============= //
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.DeviceIOInfo = void 0;
6
- var DeviceIOInfo;
7
- (function (DeviceIOInfo) {
8
- DeviceIOInfo.__type = 'DeviceIOInfo';
9
- /** @internal */
10
- function fromProtobuf(pbData) {
11
- return {
12
- numberAnalogOutputs: pbData.numberAnalogOutputs,
13
- numberAnalogInputs: pbData.numberAnalogInputs,
14
- numberDigitalOutputs: pbData.numberDigitalOutputs,
15
- numberDigitalInputs: pbData.numberDigitalInputs,
16
- };
17
- }
18
- DeviceIOInfo.fromProtobuf = fromProtobuf;
19
- })(DeviceIOInfo = exports.DeviceIOInfo || (exports.DeviceIOInfo = {}));
20
- //# sourceMappingURL=device_io_info.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"device_io_info.js","sourceRoot":"","sources":["../../../src-web/ascii/device_io_info.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AA8BtD,IAAiB,YAAY,CAY5B;AAZD,WAAiB,YAAY;IACd,mBAAM,GAAG,cAAc,CAAC;IAErC,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAqC;QAChE,OAAO;YACL,mBAAmB,EAAE,MAAM,CAAC,mBAAmB;YAC/C,kBAAkB,EAAE,MAAM,CAAC,kBAAkB;YAC7C,oBAAoB,EAAE,MAAM,CAAC,oBAAoB;YACjD,mBAAmB,EAAE,MAAM,CAAC,mBAAmB;SAChD,CAAC;IACJ,CAAC;IAPe,yBAAY,eAO3B,CAAA;AACH,CAAC,EAZgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAY5B","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\n\n/**\n * Class representing information on the I/O channels of the device.\n */\nexport interface DeviceIOInfo {\n /**\n * Number of analog output channels.\n */\n numberAnalogOutputs: number;\n\n /**\n * Number of analog input channels.\n */\n numberAnalogInputs: number;\n\n /**\n * Number of digital output channels.\n */\n numberDigitalOutputs: number;\n\n /**\n * Number of digital input channels.\n */\n numberDigitalInputs: number;\n\n}\n\nexport namespace DeviceIOInfo {\n export const __type = 'DeviceIOInfo';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.DeviceIOInfo.AsObject): DeviceIOInfo {\n return {\n numberAnalogOutputs: pbData.numberAnalogOutputs,\n numberAnalogInputs: pbData.numberAnalogInputs,\n numberDigitalOutputs: pbData.numberDigitalOutputs,\n numberDigitalInputs: pbData.numberDigitalInputs,\n };\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"device_settings.js","sourceRoot":"","sources":["../../../src-web/ascii/device_settings.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAGtD,oCAAiC;AACjC,oDAAsC;AAEtC;;GAEG;AACH,MAAa,cAAc;IAGzB,YAAY,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;IACxB,C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LY ============= //\n\nimport { Device } from './device';\nimport { Units } from '../units';\nimport * as gateway from '../gateway';\n\n/**\n * Class providing access to various device settings and properties.\n */\nexport class DeviceSettings {\n private _device: Device;\n\n constructor(device: Device) {\n this._device = device;\n }\n\n /**\n * Returns any device setting or property.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param unit Units of setting.\n * @return Setting value.\n */\n public async get(\n setting: string,\n unit: Units = Units.NATIVE\n ): Promise<number> {\n const request = new gateway.DeviceGetSettingRequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setSetting(setting);\n request.setUnit(unit);\n\n const response = await gateway.callAsync<gateway.DeviceGetSettingResponse>(\n 'device/get_setting',\n request,\n gateway.DeviceGetSettingResponse);\n return response.getValue();\n }\n\n /**\n * Sets any device setting.\n * For more information refer to the [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_settings).\n * @param setting Name of the setting.\n * @param value Value of the setting.\n * @param unit Units of setting.\n */\n public async set(\n setting: string,\n value: number,\n unit: Units = Units.NATIVE\n ): Promise<void> {\n const request = new gateway.DeviceSetSettingRequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setSetting(setting);\n request.setValue(value);\n request.setUnit(unit);\n\n await gateway.callAsync('device/set_setting', request);\n }\n\n /**\n * Convert arbitrary setting value to Zaber native units.\n * @param setting Name of the setting.\n * @param value Value of the setting in units specified by following argument.\n * @param unit Units of the value.\n * @return Setting value.\n */\n public convertToNativeUnits(\n setting: string,\n value: number,\n unit: Units\n ): number {\n const request = new gateway.DeviceConvertSettingRequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setSetting(setting);\n request.setValue(value);\n request.setUnit(unit);\n\n const response = gateway.callSync<gateway.DeviceConvertSettingResponse>(\n 'device/convert_setting',\n request,\n gateway.DeviceConvertSettingResponse);\n return response.getValue();\n }\n\n /**\n * Convert arbitrary setting value from Zaber native units.\n * @param setting Name of the setting.\n * @param value Value of the setting in Zaber native units.\n * @param unit Units to convert value to.\n * @return Setting value.\n */\n public convertFromNativeUnits(\n setting: string,\n value: number,\n unit: Units\n ): number {\n const request = new gateway.DeviceConvertSettingRequest();\n request.setInterfaceId(this._device.connection.interfaceId);\n request.setDevice(this._device.deviceAddress);\n request.setFromNative(true);\n request.setSetting(setting);\n request.setValue(value);\n request.setUnit(unit);\n\n const response = gateway.callSync<gateway.DeviceConvertSettingResponse>(\n 'device/convert_setting',\n request,\n gateway.DeviceConvertSettingResponse);\n return response.getValue();\n }\n}\n"]}
@@ -1,26 +0,0 @@
1
- export { AlertEvent } from './alert_event';
2
- export { AllAxes } from './all_axes';
3
- export { AxisIdentity } from './axis_identity';
4
- export { AxisSettings } from './axis_settings';
5
- export { AxisType } from './axis_type';
6
- export { Axis } from './axis';
7
- export { Connection } from './connection';
8
- export { DeviceIdentity } from './device_identity';
9
- export { DeviceSettings } from './device_settings';
10
- export { Device } from './device';
11
- export { DeviceIO } from './device_io';
12
- export { DeviceIOInfo } from './device_io_info';
13
- export { MessageType } from './message_type';
14
- export { Response } from './response';
15
- export { SettingConstants } from './setting_constants';
16
- export { UnknownResponseEvent } from './unknown_response_event';
17
- export { WarningFlags } from './warning_flags';
18
- export { Warnings } from './warnings';
19
- export { Lockstep } from './lockstep';
20
- export { LockstepAxes } from './lockstep_axes';
21
- export { Stream } from './stream';
22
- export { StreamBuffer } from './stream_buffer';
23
- export { StreamMode } from './stream_mode';
24
- export { StreamAxisType } from './stream_axis_type';
25
- export { StreamAxisDefinition } from './stream_axis_definition';
26
- export { Transport } from './transport';
@@ -1,56 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Transport = exports.StreamAxisDefinition = exports.StreamAxisType = exports.StreamMode = exports.StreamBuffer = exports.Stream = exports.LockstepAxes = exports.Lockstep = exports.Warnings = exports.WarningFlags = exports.UnknownResponseEvent = exports.SettingConstants = exports.Response = exports.MessageType = exports.DeviceIOInfo = exports.DeviceIO = exports.Device = exports.DeviceSettings = exports.DeviceIdentity = exports.Connection = exports.Axis = exports.AxisType = exports.AxisSettings = exports.AxisIdentity = exports.AllAxes = exports.AlertEvent = void 0;
4
- var alert_event_1 = require("./alert_event");
5
- Object.defineProperty(exports, "AlertEvent", { enumerable: true, get: function () { return alert_event_1.AlertEvent; } });
6
- var all_axes_1 = require("./all_axes");
7
- Object.defineProperty(exports, "AllAxes", { enumerable: true, get: function () { return all_axes_1.AllAxes; } });
8
- var axis_identity_1 = require("./axis_identity");
9
- Object.defineProperty(exports, "AxisIdentity", { enumerable: true, get: function () { return axis_identity_1.AxisIdentity; } });
10
- var axis_settings_1 = require("./axis_settings");
11
- Object.defineProperty(exports, "AxisSettings", { enumerable: true, get: function () { return axis_settings_1.AxisSettings; } });
12
- var axis_type_1 = require("./axis_type");
13
- Object.defineProperty(exports, "AxisType", { enumerable: true, get: function () { return axis_type_1.AxisType; } });
14
- var axis_1 = require("./axis");
15
- Object.defineProperty(exports, "Axis", { enumerable: true, get: function () { return axis_1.Axis; } });
16
- var connection_1 = require("./connection");
17
- Object.defineProperty(exports, "Connection", { enumerable: true, get: function () { return connection_1.Connection; } });
18
- var device_identity_1 = require("./device_identity");
19
- Object.defineProperty(exports, "DeviceIdentity", { enumerable: true, get: function () { return device_identity_1.DeviceIdentity; } });
20
- var device_settings_1 = require("./device_settings");
21
- Object.defineProperty(exports, "DeviceSettings", { enumerable: true, get: function () { return device_settings_1.DeviceSettings; } });
22
- var device_1 = require("./device");
23
- Object.defineProperty(exports, "Device", { enumerable: true, get: function () { return device_1.Device; } });
24
- var device_io_1 = require("./device_io");
25
- Object.defineProperty(exports, "DeviceIO", { enumerable: true, get: function () { return device_io_1.DeviceIO; } });
26
- var device_io_info_1 = require("./device_io_info");
27
- Object.defineProperty(exports, "DeviceIOInfo", { enumerable: true, get: function () { return device_io_info_1.DeviceIOInfo; } });
28
- var message_type_1 = require("./message_type");
29
- Object.defineProperty(exports, "MessageType", { enumerable: true, get: function () { return message_type_1.MessageType; } });
30
- var response_1 = require("./response");
31
- Object.defineProperty(exports, "Response", { enumerable: true, get: function () { return response_1.Response; } });
32
- var setting_constants_1 = require("./setting_constants");
33
- Object.defineProperty(exports, "SettingConstants", { enumerable: true, get: function () { return setting_constants_1.SettingConstants; } });
34
- var unknown_response_event_1 = require("./unknown_response_event");
35
- Object.defineProperty(exports, "UnknownResponseEvent", { enumerable: true, get: function () { return unknown_response_event_1.UnknownResponseEvent; } });
36
- var warning_flags_1 = require("./warning_flags");
37
- Object.defineProperty(exports, "WarningFlags", { enumerable: true, get: function () { return warning_flags_1.WarningFlags; } });
38
- var warnings_1 = require("./warnings");
39
- Object.defineProperty(exports, "Warnings", { enumerable: true, get: function () { return warnings_1.Warnings; } });
40
- var lockstep_1 = require("./lockstep");
41
- Object.defineProperty(exports, "Lockstep", { enumerable: true, get: function () { return lockstep_1.Lockstep; } });
42
- var lockstep_axes_1 = require("./lockstep_axes");
43
- Object.defineProperty(exports, "LockstepAxes", { enumerable: true, get: function () { return lockstep_axes_1.LockstepAxes; } });
44
- var stream_1 = require("./stream");
45
- Object.defineProperty(exports, "Stream", { enumerable: true, get: function () { return stream_1.Stream; } });
46
- var stream_buffer_1 = require("./stream_buffer");
47
- Object.defineProperty(exports, "StreamBuffer", { enumerable: true, get: function () { return stream_buffer_1.StreamBuffer; } });
48
- var stream_mode_1 = require("./stream_mode");
49
- Object.defineProperty(exports, "StreamMode", { enumerable: true, get: function () { return stream_mode_1.StreamMode; } });
50
- var stream_axis_type_1 = require("./stream_axis_type");
51
- Object.defineProperty(exports, "StreamAxisType", { enumerable: true, get: function () { return stream_axis_type_1.StreamAxisType; } });
52
- var stream_axis_definition_1 = require("./stream_axis_definition");
53
- Object.defineProperty(exports, "StreamAxisDefinition", { enumerable: true, get: function () { return stream_axis_definition_1.StreamAxisDefinition; } });
54
- var transport_1 = require("./transport");
55
- Object.defineProperty(exports, "Transport", { enumerable: true, get: function () { return transport_1.Transport; } });
56
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src-web/ascii/index.ts"],"names":[],"mappings":";;;AAAA,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,uCAAqC;AAA5B,mGAAA,OAAO,OAAA;AAChB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,2CAA0C;AAAjC,wGAAA,UAAU,OAAA;AACnB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,mDAAgD;AAAvC,8GAAA,YAAY,OAAA;AACrB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA;AACzB,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA;AAC7B,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,uDAAoD;AAA3C,kHAAA,cAAc,OAAA;AACvB,mEAAgE;AAAvD,8HAAA,oBAAoB,OAAA;AAC7B,yCAAwC;AAA/B,sGAAA,SAAS,OAAA","sourcesContent":["export { AlertEvent } from './alert_event';\nexport { AllAxes } from './all_axes';\nexport { AxisIdentity } from './axis_identity';\nexport { AxisSettings } from './axis_settings';\nexport { AxisType } from './axis_type';\nexport { Axis } from './axis';\nexport { Connection } from './connection';\nexport { DeviceIdentity } from './device_identity';\nexport { DeviceSettings } from './device_settings';\nexport { Device } from './device';\nexport { DeviceIO } from './device_io';\nexport { DeviceIOInfo } from './device_io_info';\nexport { MessageType } from './message_type';\nexport { Response } from './response';\nexport { SettingConstants } from './setting_constants';\nexport { UnknownResponseEvent } from './unknown_response_event';\nexport { WarningFlags } from './warning_flags';\nexport { Warnings } from './warnings';\nexport { Lockstep } from './lockstep';\nexport { LockstepAxes } from './lockstep_axes';\nexport { Stream } from './stream';\nexport { StreamBuffer } from './stream_buffer';\nexport { StreamMode } from './stream_mode';\nexport { StreamAxisType } from './stream_axis_type';\nexport { StreamAxisDefinition } from './stream_axis_definition';\nexport { Transport } from './transport';\n"]}