Home Reference Source

src/tangojs/core/tango/generated.js

  1.  
  2. // ----------------------------------------------------------------------------
  3. // GENERATED BY idl2js v0.1.0
  4. // source: tango.idl
  5. // sha1: FAC639948890BBB440459C465C4946E5A05BA0ED
  6. // date: 2015-11-14T18:50:32.412
  7. // ----------------------------------------------------------------------------
  8.  
  9. function EnumConstant(key, value) {
  10. return Object.freeze({key, value})
  11. }
  12.  
  13. function Enum(mapping) {
  14.  
  15. let constants = Object.keys(mapping).reduce(
  16. (acc, key) => (acc[key] = EnumConstant(key, mapping[key]), acc),
  17. {})
  18.  
  19. let reverseMapping = Object.keys(mapping).reduce(
  20. (acc, key) => (acc[mapping[key]] = constants[key], acc),
  21. {})
  22.  
  23. constants.fromValue = (value) => reverseMapping[value]
  24.  
  25. return Object.freeze(constants)
  26. }
  27.  
  28. // ----------------------------------------------------------------------------
  29.  
  30. /**
  31. * @typedef {AttrQuality[]} AttrQualityList
  32. */
  33.  
  34. /**
  35. * @typedef {AttributeConfig[]} AttributeConfigList
  36. */
  37.  
  38. /**
  39. * @typedef {AttributeConfig_2[]} AttributeConfigList_2
  40. */
  41.  
  42. /**
  43. * @typedef {AttributeConfig_3[]} AttributeConfigList_3
  44. */
  45.  
  46. /**
  47. * @typedef {AttributeConfig_5[]} AttributeConfigList_5
  48. */
  49.  
  50. /**
  51. * @typedef {AttributeDim[]} AttributeDimList
  52. */
  53.  
  54. /**
  55. * @typedef {AttributeValue[]} AttributeValueList
  56. */
  57.  
  58. /**
  59. * @typedef {AttributeValue_3[]} AttributeValueList_3
  60. */
  61.  
  62. /**
  63. * @typedef {AttributeValue_4[]} AttributeValueList_4
  64. */
  65.  
  66. /**
  67. * @typedef {AttributeValue_5[]} AttributeValueList_5
  68. */
  69.  
  70. /**
  71. * @typedef {number} CppClntIdent
  72. */
  73.  
  74. /**
  75. * @typedef {DevAttrHistory[]} DevAttrHistoryList
  76. */
  77.  
  78. /**
  79. * @typedef {DevAttrHistory_3[]} DevAttrHistoryList_3
  80. */
  81.  
  82. /**
  83. * @typedef {boolean} DevBoolean
  84. */
  85.  
  86. /**
  87. * @typedef {DevCmdHistory[]} DevCmdHistoryList
  88. */
  89.  
  90. /**
  91. * @typedef {DevCmdInfo[]} DevCmdInfoList
  92. */
  93.  
  94. /**
  95. * @typedef {DevCmdInfo_2[]} DevCmdInfoList_2
  96. */
  97.  
  98. /**
  99. * @typedef {number} DevDouble
  100. */
  101.  
  102. /**
  103. * @typedef {DevError[]} DevErrorList
  104. */
  105.  
  106. /**
  107. * @typedef {DevError[][]} DevErrorListList
  108. */
  109.  
  110. /**
  111. * @typedef {number} DevFloat
  112. */
  113.  
  114. /**
  115. * @typedef {number} DevLong
  116. */
  117.  
  118. /**
  119. * @typedef {number} DevLong64
  120. */
  121.  
  122. /**
  123. * @typedef {number} DevShort
  124. */
  125.  
  126. /**
  127. * @typedef {string} DevString
  128. */
  129.  
  130. /**
  131. * @typedef {number} DevUChar
  132. */
  133.  
  134. /**
  135. * @typedef {number} DevULong
  136. */
  137.  
  138. /**
  139. * @typedef {number} DevULong64
  140. */
  141.  
  142. /**
  143. * @typedef {number} DevUShort
  144. */
  145.  
  146. /**
  147. * @typedef {boolean[]} DevVarBooleanArray
  148. */
  149.  
  150. /**
  151. * @typedef {number[]} DevVarCharArray
  152. */
  153.  
  154. /**
  155. * @typedef {number[]} DevVarDoubleArray
  156. */
  157.  
  158. /**
  159. * @typedef {DevEncoded[]} DevVarEncodedArray
  160. */
  161.  
  162. /**
  163. * @typedef {number[]} DevVarFloatArray
  164. */
  165.  
  166. /**
  167. * @typedef {number[]} DevVarLong64Array
  168. */
  169.  
  170. /**
  171. * @typedef {number[]} DevVarLongArray
  172. */
  173.  
  174. /**
  175. * @typedef {DevPipeDataElt[]} DevVarPipeDataEltArray
  176. */
  177.  
  178. /**
  179. * @typedef {number[]} DevVarShortArray
  180. */
  181.  
  182. /**
  183. * @typedef {DevState[]} DevVarStateArray
  184. */
  185.  
  186. /**
  187. * @typedef {string[]} DevVarStringArray
  188. */
  189.  
  190. /**
  191. * @typedef {number[]} DevVarULong64Array
  192. */
  193.  
  194. /**
  195. * @typedef {number[]} DevVarULongArray
  196. */
  197.  
  198. /**
  199. * @typedef {number[]} DevVarUShortArray
  200. */
  201.  
  202. /**
  203. * @typedef {EltInArray[]} EltInArrayList
  204. */
  205.  
  206. /**
  207. * @typedef {number[]} JavaUUID
  208. */
  209.  
  210. /**
  211. * @typedef {NamedDevError[]} NamedDevErrorList
  212. */
  213.  
  214. /**
  215. * @typedef {PipeConfig[]} PipeConfigList
  216. */
  217.  
  218. /**
  219. * @typedef {TimeVal[]} TimeValList
  220. */
  221.  
  222. /**
  223. * @type {Object}
  224. * @public
  225. */
  226. export const AttrDataFormat = Enum({
  227. SCALAR: 0,
  228. SPECTRUM: 1,
  229. IMAGE: 2,
  230. FMT_UNKNOWN: 3
  231. })
  232.  
  233. /**
  234. * @type {Object}
  235. * @public
  236. */
  237. export const AttrQuality = Enum({
  238. ATTR_VALID: 0,
  239. ATTR_INVALID: 1,
  240. ATTR_ALARM: 2,
  241. ATTR_CHANGING: 3,
  242. ATTR_WARNING: 4
  243. })
  244.  
  245. /**
  246. * @type {Object}
  247. * @public
  248. */
  249. export const AttrWriteType = Enum({
  250. READ: 0,
  251. READ_WITH_WRITE: 1,
  252. WRITE: 2,
  253. READ_WRITE: 3,
  254. WT_UNKNOWN: 4
  255. })
  256.  
  257. /**
  258. * @type {Object}
  259. * @public
  260. */
  261. export const AttributeDataType = Enum({
  262. ATT_BOOL: 0,
  263. ATT_SHORT: 1,
  264. ATT_LONG: 2,
  265. ATT_LONG64: 3,
  266. ATT_FLOAT: 4,
  267. ATT_DOUBLE: 5,
  268. ATT_UCHAR: 6,
  269. ATT_USHORT: 7,
  270. ATT_ULONG: 8,
  271. ATT_ULONG64: 9,
  272. ATT_STRING: 10,
  273. ATT_STATE: 11,
  274. DEVICE_STATE: 12,
  275. ATT_ENCODED: 13,
  276. ATT_NO_DATA: 14
  277. })
  278.  
  279. /**
  280. * @type {Object}
  281. * @public
  282. */
  283. export const DevSource = Enum({
  284. DEV: 0,
  285. CACHE: 1,
  286. CACHE_DEV: 2
  287. })
  288.  
  289. /**
  290. * @type {Object}
  291. * @public
  292. */
  293. export const DevState = Enum({
  294. ON: 0,
  295. OFF: 1,
  296. CLOSE: 2,
  297. OPEN: 3,
  298. INSERT: 4,
  299. EXTRACT: 5,
  300. MOVING: 6,
  301. STANDBY: 7,
  302. FAULT: 8,
  303. INIT: 9,
  304. RUNNING: 10,
  305. ALARM: 11,
  306. DISABLE: 12,
  307. UNKNOWN: 13
  308. })
  309.  
  310. /**
  311. * @type {Object}
  312. * @public
  313. */
  314. export const DispLevel = Enum({
  315. OPERATOR: 0,
  316. EXPERT: 1,
  317. DL_UNKNOWN: 2
  318. })
  319.  
  320. /**
  321. * @type {Object}
  322. * @public
  323. */
  324. export const ErrSeverity = Enum({
  325. WARN: 0,
  326. ERR: 1,
  327. PANIC: 2
  328. })
  329.  
  330. /**
  331. * @type {Object}
  332. * @public
  333. */
  334. export const LockerLanguage = Enum({
  335. CPP: 0,
  336. JAVA: 1
  337. })
  338.  
  339. /**
  340. * @type {Object}
  341. * @public
  342. */
  343. export const PipeWriteType = Enum({
  344. PIPE_READ: 0,
  345. PIPE_READ_WRITE: 1,
  346. PIPE_WT_UNKNOWN: 2
  347. })
  348.  
  349. /**
  350. * @typedef {boolean[]|number[]|string[]|DevState[]|DevState|DevEncoded[]|boolean} AttrValUnion
  351. */
  352.  
  353. /**
  354. * @typedef {number|JavaClntIdent} ClntIdent
  355. */
  356.  
  357. /**
  358. * @public
  359. */
  360. export class ArchiveEventProp {
  361.  
  362. /** @param {Object} data */
  363. constructor(data = {}) {
  364. /** @private */
  365. this._data = Object.assign({}, data)
  366. }
  367.  
  368. /** @type {string} */
  369. get rel_change() {
  370. return this._data.rel_change
  371. }
  372.  
  373. /** @type {string} */
  374. get abs_change() {
  375. return this._data.abs_change
  376. }
  377.  
  378. /** @type {string} */
  379. get period() {
  380. return this._data.period
  381. }
  382.  
  383. /** @type {string[]} */
  384. get extensions() {
  385. return this._data.extensions
  386. }
  387. }
  388.  
  389. /**
  390. * @public
  391. */
  392. export class AttDataReady {
  393.  
  394. /** @param {Object} data */
  395. constructor(data = {}) {
  396. /** @private */
  397. this._data = Object.assign({}, data)
  398. }
  399.  
  400. /** @type {string} */
  401. get name() {
  402. return this._data.name
  403. }
  404.  
  405. /** @type {number} */
  406. get data_type() {
  407. return this._data.data_type
  408. }
  409.  
  410. /** @type {number} */
  411. get ctr() {
  412. return this._data.ctr
  413. }
  414. }
  415.  
  416. /**
  417. * @public
  418. */
  419. export class AttributeAlarm {
  420.  
  421. /** @param {Object} data */
  422. constructor(data = {}) {
  423. /** @private */
  424. this._data = Object.assign({}, data)
  425. }
  426.  
  427. /** @type {string} */
  428. get min_alarm() {
  429. return this._data.min_alarm
  430. }
  431.  
  432. /** @type {string} */
  433. get max_alarm() {
  434. return this._data.max_alarm
  435. }
  436.  
  437. /** @type {string} */
  438. get min_warning() {
  439. return this._data.min_warning
  440. }
  441.  
  442. /** @type {string} */
  443. get max_warning() {
  444. return this._data.max_warning
  445. }
  446.  
  447. /** @type {string} */
  448. get delta_t() {
  449. return this._data.delta_t
  450. }
  451.  
  452. /** @type {string} */
  453. get delta_val() {
  454. return this._data.delta_val
  455. }
  456.  
  457. /** @type {string[]} */
  458. get extensions() {
  459. return this._data.extensions
  460. }
  461. }
  462.  
  463. /**
  464. * @public
  465. */
  466. export class AttributeConfig {
  467.  
  468. /** @param {Object} data */
  469. constructor(data = {}) {
  470. /** @private */
  471. this._data = Object.assign({}, data)
  472. }
  473.  
  474. /** @type {string} */
  475. get name() {
  476. return this._data.name
  477. }
  478.  
  479. /** @type {AttrWriteType} */
  480. get writable() {
  481. return this._data.writable
  482. }
  483.  
  484. /** @type {AttrDataFormat} */
  485. get data_format() {
  486. return this._data.data_format
  487. }
  488.  
  489. /** @type {number} */
  490. get data_type() {
  491. return this._data.data_type
  492. }
  493.  
  494. /** @type {number} */
  495. get max_dim_x() {
  496. return this._data.max_dim_x
  497. }
  498.  
  499. /** @type {number} */
  500. get max_dim_y() {
  501. return this._data.max_dim_y
  502. }
  503.  
  504. /** @type {string} */
  505. get description() {
  506. return this._data.description
  507. }
  508.  
  509. /** @type {string} */
  510. get label() {
  511. return this._data.label
  512. }
  513.  
  514. /** @type {string} */
  515. get unit() {
  516. return this._data.unit
  517. }
  518.  
  519. /** @type {string} */
  520. get standard_unit() {
  521. return this._data.standard_unit
  522. }
  523.  
  524. /** @type {string} */
  525. get display_unit() {
  526. return this._data.display_unit
  527. }
  528.  
  529. /** @type {string} */
  530. get format() {
  531. return this._data.format
  532. }
  533.  
  534. /** @type {string} */
  535. get min_value() {
  536. return this._data.min_value
  537. }
  538.  
  539. /** @type {string} */
  540. get max_value() {
  541. return this._data.max_value
  542. }
  543.  
  544. /** @type {string} */
  545. get min_alarm() {
  546. return this._data.min_alarm
  547. }
  548.  
  549. /** @type {string} */
  550. get max_alarm() {
  551. return this._data.max_alarm
  552. }
  553.  
  554. /** @type {string} */
  555. get writable_attr_name() {
  556. return this._data.writable_attr_name
  557. }
  558.  
  559. /** @type {string[]} */
  560. get extensions() {
  561. return this._data.extensions
  562. }
  563. }
  564.  
  565. /**
  566. * @public
  567. */
  568. export class AttributeConfig_2 {
  569.  
  570. /** @param {Object} data */
  571. constructor(data = {}) {
  572. /** @private */
  573. this._data = Object.assign({}, data)
  574. }
  575.  
  576. /** @type {string} */
  577. get name() {
  578. return this._data.name
  579. }
  580.  
  581. /** @type {AttrWriteType} */
  582. get writable() {
  583. return this._data.writable
  584. }
  585.  
  586. /** @type {AttrDataFormat} */
  587. get data_format() {
  588. return this._data.data_format
  589. }
  590.  
  591. /** @type {number} */
  592. get data_type() {
  593. return this._data.data_type
  594. }
  595.  
  596. /** @type {number} */
  597. get max_dim_x() {
  598. return this._data.max_dim_x
  599. }
  600.  
  601. /** @type {number} */
  602. get max_dim_y() {
  603. return this._data.max_dim_y
  604. }
  605.  
  606. /** @type {string} */
  607. get description() {
  608. return this._data.description
  609. }
  610.  
  611. /** @type {string} */
  612. get label() {
  613. return this._data.label
  614. }
  615.  
  616. /** @type {string} */
  617. get unit() {
  618. return this._data.unit
  619. }
  620.  
  621. /** @type {string} */
  622. get standard_unit() {
  623. return this._data.standard_unit
  624. }
  625.  
  626. /** @type {string} */
  627. get display_unit() {
  628. return this._data.display_unit
  629. }
  630.  
  631. /** @type {string} */
  632. get format() {
  633. return this._data.format
  634. }
  635.  
  636. /** @type {string} */
  637. get min_value() {
  638. return this._data.min_value
  639. }
  640.  
  641. /** @type {string} */
  642. get max_value() {
  643. return this._data.max_value
  644. }
  645.  
  646. /** @type {string} */
  647. get min_alarm() {
  648. return this._data.min_alarm
  649. }
  650.  
  651. /** @type {string} */
  652. get max_alarm() {
  653. return this._data.max_alarm
  654. }
  655.  
  656. /** @type {string} */
  657. get writable_attr_name() {
  658. return this._data.writable_attr_name
  659. }
  660.  
  661. /** @type {DispLevel} */
  662. get level() {
  663. return this._data.level
  664. }
  665.  
  666. /** @type {string[]} */
  667. get extensions() {
  668. return this._data.extensions
  669. }
  670. }
  671.  
  672. /**
  673. * @public
  674. */
  675. export class AttributeConfig_3 {
  676.  
  677. /** @param {Object} data */
  678. constructor(data = {}) {
  679. /** @private */
  680. this._data = Object.assign({}, data)
  681. }
  682.  
  683. /** @type {string} */
  684. get name() {
  685. return this._data.name
  686. }
  687.  
  688. /** @type {AttrWriteType} */
  689. get writable() {
  690. return this._data.writable
  691. }
  692.  
  693. /** @type {AttrDataFormat} */
  694. get data_format() {
  695. return this._data.data_format
  696. }
  697.  
  698. /** @type {number} */
  699. get data_type() {
  700. return this._data.data_type
  701. }
  702.  
  703. /** @type {number} */
  704. get max_dim_x() {
  705. return this._data.max_dim_x
  706. }
  707.  
  708. /** @type {number} */
  709. get max_dim_y() {
  710. return this._data.max_dim_y
  711. }
  712.  
  713. /** @type {string} */
  714. get description() {
  715. return this._data.description
  716. }
  717.  
  718. /** @type {string} */
  719. get label() {
  720. return this._data.label
  721. }
  722.  
  723. /** @type {string} */
  724. get unit() {
  725. return this._data.unit
  726. }
  727.  
  728. /** @type {string} */
  729. get standard_unit() {
  730. return this._data.standard_unit
  731. }
  732.  
  733. /** @type {string} */
  734. get display_unit() {
  735. return this._data.display_unit
  736. }
  737.  
  738. /** @type {string} */
  739. get format() {
  740. return this._data.format
  741. }
  742.  
  743. /** @type {string} */
  744. get min_value() {
  745. return this._data.min_value
  746. }
  747.  
  748. /** @type {string} */
  749. get max_value() {
  750. return this._data.max_value
  751. }
  752.  
  753. /** @type {string} */
  754. get writable_attr_name() {
  755. return this._data.writable_attr_name
  756. }
  757.  
  758. /** @type {DispLevel} */
  759. get level() {
  760. return this._data.level
  761. }
  762.  
  763. /** @type {AttributeAlarm} */
  764. get att_alarm() {
  765. return this._data.att_alarm
  766. }
  767.  
  768. /** @type {EventProperties} */
  769. get event_prop() {
  770. return this._data.event_prop
  771. }
  772.  
  773. /** @type {string[]} */
  774. get extensions() {
  775. return this._data.extensions
  776. }
  777.  
  778. /** @type {string[]} */
  779. get sys_extensions() {
  780. return this._data.sys_extensions
  781. }
  782. }
  783.  
  784. /**
  785. * @public
  786. */
  787. export class AttributeConfig_5 {
  788.  
  789. /** @param {Object} data */
  790. constructor(data = {}) {
  791. /** @private */
  792. this._data = Object.assign({}, data)
  793. }
  794.  
  795. /** @type {string} */
  796. get name() {
  797. return this._data.name
  798. }
  799.  
  800. /** @type {AttrWriteType} */
  801. get writable() {
  802. return this._data.writable
  803. }
  804.  
  805. /** @type {AttrDataFormat} */
  806. get data_format() {
  807. return this._data.data_format
  808. }
  809.  
  810. /** @type {number} */
  811. get data_type() {
  812. return this._data.data_type
  813. }
  814.  
  815. /** @type {boolean} */
  816. get memorized() {
  817. return this._data.memorized
  818. }
  819.  
  820. /** @type {boolean} */
  821. get mem_init() {
  822. return this._data.mem_init
  823. }
  824.  
  825. /** @type {number} */
  826. get max_dim_x() {
  827. return this._data.max_dim_x
  828. }
  829.  
  830. /** @type {number} */
  831. get max_dim_y() {
  832. return this._data.max_dim_y
  833. }
  834.  
  835. /** @type {string} */
  836. get description() {
  837. return this._data.description
  838. }
  839.  
  840. /** @type {string} */
  841. get label() {
  842. return this._data.label
  843. }
  844.  
  845. /** @type {string} */
  846. get unit() {
  847. return this._data.unit
  848. }
  849.  
  850. /** @type {string} */
  851. get standard_unit() {
  852. return this._data.standard_unit
  853. }
  854.  
  855. /** @type {string} */
  856. get display_unit() {
  857. return this._data.display_unit
  858. }
  859.  
  860. /** @type {string} */
  861. get format() {
  862. return this._data.format
  863. }
  864.  
  865. /** @type {string} */
  866. get min_value() {
  867. return this._data.min_value
  868. }
  869.  
  870. /** @type {string} */
  871. get max_value() {
  872. return this._data.max_value
  873. }
  874.  
  875. /** @type {string} */
  876. get writable_attr_name() {
  877. return this._data.writable_attr_name
  878. }
  879.  
  880. /** @type {DispLevel} */
  881. get level() {
  882. return this._data.level
  883. }
  884.  
  885. /** @type {string} */
  886. get root_attr_name() {
  887. return this._data.root_attr_name
  888. }
  889.  
  890. /** @type {string[]} */
  891. get enum_labels() {
  892. return this._data.enum_labels
  893. }
  894.  
  895. /** @type {AttributeAlarm} */
  896. get att_alarm() {
  897. return this._data.att_alarm
  898. }
  899.  
  900. /** @type {EventProperties} */
  901. get event_prop() {
  902. return this._data.event_prop
  903. }
  904.  
  905. /** @type {string[]} */
  906. get extensions() {
  907. return this._data.extensions
  908. }
  909.  
  910. /** @type {string[]} */
  911. get sys_extensions() {
  912. return this._data.sys_extensions
  913. }
  914. }
  915.  
  916. /**
  917. * @public
  918. */
  919. export class AttributeDim {
  920.  
  921. /** @param {Object} data */
  922. constructor(data = {}) {
  923. /** @private */
  924. this._data = Object.assign({}, data)
  925. }
  926.  
  927. /** @type {number} */
  928. get dim_x() {
  929. return this._data.dim_x
  930. }
  931.  
  932. /** @type {number} */
  933. get dim_y() {
  934. return this._data.dim_y
  935. }
  936. }
  937.  
  938. /**
  939. * @public
  940. */
  941. export class AttributeValue {
  942.  
  943. /** @param {Object} data */
  944. constructor(data = {}) {
  945. /** @private */
  946. this._data = Object.assign({}, data)
  947. }
  948.  
  949. /** @type {Object} */
  950. get value() {
  951. return this._data.value
  952. }
  953.  
  954. /** @type {AttrQuality} */
  955. get quality() {
  956. return this._data.quality
  957. }
  958.  
  959. /** @type {TimeVal} */
  960. get time() {
  961. return this._data.time
  962. }
  963.  
  964. /** @type {string} */
  965. get name() {
  966. return this._data.name
  967. }
  968.  
  969. /** @type {number} */
  970. get dim_x() {
  971. return this._data.dim_x
  972. }
  973.  
  974. /** @type {number} */
  975. get dim_y() {
  976. return this._data.dim_y
  977. }
  978. }
  979.  
  980. /**
  981. * @public
  982. */
  983. export class AttributeValue_3 {
  984.  
  985. /** @param {Object} data */
  986. constructor(data = {}) {
  987. /** @private */
  988. this._data = Object.assign({}, data)
  989. }
  990.  
  991. /** @type {Object} */
  992. get value() {
  993. return this._data.value
  994. }
  995.  
  996. /** @type {AttrQuality} */
  997. get quality() {
  998. return this._data.quality
  999. }
  1000.  
  1001. /** @type {TimeVal} */
  1002. get time() {
  1003. return this._data.time
  1004. }
  1005.  
  1006. /** @type {string} */
  1007. get name() {
  1008. return this._data.name
  1009. }
  1010.  
  1011. /** @type {AttributeDim} */
  1012. get r_dim() {
  1013. return this._data.r_dim
  1014. }
  1015.  
  1016. /** @type {AttributeDim} */
  1017. get w_dim() {
  1018. return this._data.w_dim
  1019. }
  1020.  
  1021. /** @type {DevError[]} */
  1022. get err_list() {
  1023. return this._data.err_list
  1024. }
  1025. }
  1026.  
  1027. /**
  1028. * @public
  1029. */
  1030. export class AttributeValue_4 {
  1031.  
  1032. /** @param {Object} data */
  1033. constructor(data = {}) {
  1034. /** @private */
  1035. this._data = Object.assign({}, data)
  1036. }
  1037.  
  1038. /** @type {AttrValUnion} */
  1039. get value() {
  1040. return this._data.value
  1041. }
  1042.  
  1043. /** @type {AttrQuality} */
  1044. get quality() {
  1045. return this._data.quality
  1046. }
  1047.  
  1048. /** @type {AttrDataFormat} */
  1049. get data_format() {
  1050. return this._data.data_format
  1051. }
  1052.  
  1053. /** @type {TimeVal} */
  1054. get time() {
  1055. return this._data.time
  1056. }
  1057.  
  1058. /** @type {string} */
  1059. get name() {
  1060. return this._data.name
  1061. }
  1062.  
  1063. /** @type {AttributeDim} */
  1064. get r_dim() {
  1065. return this._data.r_dim
  1066. }
  1067.  
  1068. /** @type {AttributeDim} */
  1069. get w_dim() {
  1070. return this._data.w_dim
  1071. }
  1072.  
  1073. /** @type {DevError[]} */
  1074. get err_list() {
  1075. return this._data.err_list
  1076. }
  1077. }
  1078.  
  1079. /**
  1080. * @public
  1081. */
  1082. export class AttributeValue_5 {
  1083.  
  1084. /** @param {Object} data */
  1085. constructor(data = {}) {
  1086. /** @private */
  1087. this._data = Object.assign({}, data)
  1088. }
  1089.  
  1090. /** @type {AttrValUnion} */
  1091. get value() {
  1092. return this._data.value
  1093. }
  1094.  
  1095. /** @type {AttrQuality} */
  1096. get quality() {
  1097. return this._data.quality
  1098. }
  1099.  
  1100. /** @type {AttrDataFormat} */
  1101. get data_format() {
  1102. return this._data.data_format
  1103. }
  1104.  
  1105. /** @type {number} */
  1106. get data_type() {
  1107. return this._data.data_type
  1108. }
  1109.  
  1110. /** @type {TimeVal} */
  1111. get time() {
  1112. return this._data.time
  1113. }
  1114.  
  1115. /** @type {string} */
  1116. get name() {
  1117. return this._data.name
  1118. }
  1119.  
  1120. /** @type {AttributeDim} */
  1121. get r_dim() {
  1122. return this._data.r_dim
  1123. }
  1124.  
  1125. /** @type {AttributeDim} */
  1126. get w_dim() {
  1127. return this._data.w_dim
  1128. }
  1129.  
  1130. /** @type {DevError[]} */
  1131. get err_list() {
  1132. return this._data.err_list
  1133. }
  1134. }
  1135.  
  1136. /**
  1137. * @public
  1138. */
  1139. export class ChangeEventProp {
  1140.  
  1141. /** @param {Object} data */
  1142. constructor(data = {}) {
  1143. /** @private */
  1144. this._data = Object.assign({}, data)
  1145. }
  1146.  
  1147. /** @type {string} */
  1148. get rel_change() {
  1149. return this._data.rel_change
  1150. }
  1151.  
  1152. /** @type {string} */
  1153. get abs_change() {
  1154. return this._data.abs_change
  1155. }
  1156.  
  1157. /** @type {string[]} */
  1158. get extensions() {
  1159. return this._data.extensions
  1160. }
  1161. }
  1162.  
  1163. /**
  1164. * @public
  1165. */
  1166. export class DevAttrHistory {
  1167.  
  1168. /** @param {Object} data */
  1169. constructor(data = {}) {
  1170. /** @private */
  1171. this._data = Object.assign({}, data)
  1172. }
  1173.  
  1174. /** @type {boolean} */
  1175. get attr_failed() {
  1176. return this._data.attr_failed
  1177. }
  1178.  
  1179. /** @type {AttributeValue} */
  1180. get value() {
  1181. return this._data.value
  1182. }
  1183.  
  1184. /** @type {DevError[]} */
  1185. get errors() {
  1186. return this._data.errors
  1187. }
  1188. }
  1189.  
  1190. /**
  1191. * @public
  1192. */
  1193. export class DevAttrHistory_3 {
  1194.  
  1195. /** @param {Object} data */
  1196. constructor(data = {}) {
  1197. /** @private */
  1198. this._data = Object.assign({}, data)
  1199. }
  1200.  
  1201. /** @type {boolean} */
  1202. get attr_failed() {
  1203. return this._data.attr_failed
  1204. }
  1205.  
  1206. /** @type {AttributeValue_3} */
  1207. get value() {
  1208. return this._data.value
  1209. }
  1210. }
  1211.  
  1212. /**
  1213. * @public
  1214. */
  1215. export class DevAttrHistory_4 {
  1216.  
  1217. /** @param {Object} data */
  1218. constructor(data = {}) {
  1219. /** @private */
  1220. this._data = Object.assign({}, data)
  1221. }
  1222.  
  1223. /** @type {string} */
  1224. get name() {
  1225. return this._data.name
  1226. }
  1227.  
  1228. /** @type {TimeVal[]} */
  1229. get dates() {
  1230. return this._data.dates
  1231. }
  1232.  
  1233. /** @type {Object} */
  1234. get value() {
  1235. return this._data.value
  1236. }
  1237.  
  1238. /** @type {AttrQuality[]} */
  1239. get quals() {
  1240. return this._data.quals
  1241. }
  1242.  
  1243. /** @type {EltInArray[]} */
  1244. get quals_array() {
  1245. return this._data.quals_array
  1246. }
  1247.  
  1248. /** @type {AttributeDim[]} */
  1249. get r_dims() {
  1250. return this._data.r_dims
  1251. }
  1252.  
  1253. /** @type {EltInArray[]} */
  1254. get r_dims_array() {
  1255. return this._data.r_dims_array
  1256. }
  1257.  
  1258. /** @type {AttributeDim[]} */
  1259. get w_dims() {
  1260. return this._data.w_dims
  1261. }
  1262.  
  1263. /** @type {EltInArray[]} */
  1264. get w_dims_array() {
  1265. return this._data.w_dims_array
  1266. }
  1267.  
  1268. /** @type {DevError[][]} */
  1269. get errors() {
  1270. return this._data.errors
  1271. }
  1272.  
  1273. /** @type {EltInArray[]} */
  1274. get errors_array() {
  1275. return this._data.errors_array
  1276. }
  1277. }
  1278.  
  1279. /**
  1280. * @public
  1281. */
  1282. export class DevAttrHistory_5 {
  1283.  
  1284. /** @param {Object} data */
  1285. constructor(data = {}) {
  1286. /** @private */
  1287. this._data = Object.assign({}, data)
  1288. }
  1289.  
  1290. /** @type {string} */
  1291. get name() {
  1292. return this._data.name
  1293. }
  1294.  
  1295. /** @type {AttrDataFormat} */
  1296. get data_format() {
  1297. return this._data.data_format
  1298. }
  1299.  
  1300. /** @type {number} */
  1301. get data_type() {
  1302. return this._data.data_type
  1303. }
  1304.  
  1305. /** @type {TimeVal[]} */
  1306. get dates() {
  1307. return this._data.dates
  1308. }
  1309.  
  1310. /** @type {Object} */
  1311. get value() {
  1312. return this._data.value
  1313. }
  1314.  
  1315. /** @type {AttrQuality[]} */
  1316. get quals() {
  1317. return this._data.quals
  1318. }
  1319.  
  1320. /** @type {EltInArray[]} */
  1321. get quals_array() {
  1322. return this._data.quals_array
  1323. }
  1324.  
  1325. /** @type {AttributeDim[]} */
  1326. get r_dims() {
  1327. return this._data.r_dims
  1328. }
  1329.  
  1330. /** @type {EltInArray[]} */
  1331. get r_dims_array() {
  1332. return this._data.r_dims_array
  1333. }
  1334.  
  1335. /** @type {AttributeDim[]} */
  1336. get w_dims() {
  1337. return this._data.w_dims
  1338. }
  1339.  
  1340. /** @type {EltInArray[]} */
  1341. get w_dims_array() {
  1342. return this._data.w_dims_array
  1343. }
  1344.  
  1345. /** @type {DevError[][]} */
  1346. get errors() {
  1347. return this._data.errors
  1348. }
  1349.  
  1350. /** @type {EltInArray[]} */
  1351. get errors_array() {
  1352. return this._data.errors_array
  1353. }
  1354. }
  1355.  
  1356. /**
  1357. * @public
  1358. */
  1359. export class DevCmdHistory {
  1360.  
  1361. /** @param {Object} data */
  1362. constructor(data = {}) {
  1363. /** @private */
  1364. this._data = Object.assign({}, data)
  1365. }
  1366.  
  1367. /** @type {TimeVal} */
  1368. get time() {
  1369. return this._data.time
  1370. }
  1371.  
  1372. /** @type {boolean} */
  1373. get cmd_failed() {
  1374. return this._data.cmd_failed
  1375. }
  1376.  
  1377. /** @type {Object} */
  1378. get value() {
  1379. return this._data.value
  1380. }
  1381.  
  1382. /** @type {DevError[]} */
  1383. get errors() {
  1384. return this._data.errors
  1385. }
  1386. }
  1387.  
  1388. /**
  1389. * @public
  1390. */
  1391. export class DevCmdHistory_4 {
  1392.  
  1393. /** @param {Object} data */
  1394. constructor(data = {}) {
  1395. /** @private */
  1396. this._data = Object.assign({}, data)
  1397. }
  1398.  
  1399. /** @type {TimeVal[]} */
  1400. get dates() {
  1401. return this._data.dates
  1402. }
  1403.  
  1404. /** @type {Object} */
  1405. get value() {
  1406. return this._data.value
  1407. }
  1408.  
  1409. /** @type {AttributeDim[]} */
  1410. get dims() {
  1411. return this._data.dims
  1412. }
  1413.  
  1414. /** @type {EltInArray[]} */
  1415. get dims_array() {
  1416. return this._data.dims_array
  1417. }
  1418.  
  1419. /** @type {DevError[][]} */
  1420. get errors() {
  1421. return this._data.errors
  1422. }
  1423.  
  1424. /** @type {EltInArray[]} */
  1425. get errors_array() {
  1426. return this._data.errors_array
  1427. }
  1428.  
  1429. /** @type {number} */
  1430. get cmd_type() {
  1431. return this._data.cmd_type
  1432. }
  1433. }
  1434.  
  1435. /**
  1436. * @public
  1437. */
  1438. export class DevCmdInfo {
  1439.  
  1440. /** @param {Object} data */
  1441. constructor(data = {}) {
  1442. /** @private */
  1443. this._data = Object.assign({}, data)
  1444. }
  1445.  
  1446. /** @type {string} */
  1447. get cmd_name() {
  1448. return this._data.cmd_name
  1449. }
  1450.  
  1451. /** @type {number} */
  1452. get cmd_tag() {
  1453. return this._data.cmd_tag
  1454. }
  1455.  
  1456. /** @type {number} */
  1457. get in_type() {
  1458. return this._data.in_type
  1459. }
  1460.  
  1461. /** @type {number} */
  1462. get out_type() {
  1463. return this._data.out_type
  1464. }
  1465.  
  1466. /** @type {string} */
  1467. get in_type_desc() {
  1468. return this._data.in_type_desc
  1469. }
  1470.  
  1471. /** @type {string} */
  1472. get out_type_desc() {
  1473. return this._data.out_type_desc
  1474. }
  1475. }
  1476.  
  1477. /**
  1478. * @public
  1479. */
  1480. export class DevCmdInfo_2 {
  1481.  
  1482. /** @param {Object} data */
  1483. constructor(data = {}) {
  1484. /** @private */
  1485. this._data = Object.assign({}, data)
  1486. }
  1487.  
  1488. /** @type {string} */
  1489. get cmd_name() {
  1490. return this._data.cmd_name
  1491. }
  1492.  
  1493. /** @type {DispLevel} */
  1494. get level() {
  1495. return this._data.level
  1496. }
  1497.  
  1498. /** @type {number} */
  1499. get cmd_tag() {
  1500. return this._data.cmd_tag
  1501. }
  1502.  
  1503. /** @type {number} */
  1504. get in_type() {
  1505. return this._data.in_type
  1506. }
  1507.  
  1508. /** @type {number} */
  1509. get out_type() {
  1510. return this._data.out_type
  1511. }
  1512.  
  1513. /** @type {string} */
  1514. get in_type_desc() {
  1515. return this._data.in_type_desc
  1516. }
  1517.  
  1518. /** @type {string} */
  1519. get out_type_desc() {
  1520. return this._data.out_type_desc
  1521. }
  1522. }
  1523.  
  1524. /**
  1525. * @public
  1526. */
  1527. export class DevEncoded {
  1528.  
  1529. /** @param {Object} data */
  1530. constructor(data = {}) {
  1531. /** @private */
  1532. this._data = Object.assign({}, data)
  1533. }
  1534.  
  1535. /** @type {string} */
  1536. get encoded_format() {
  1537. return this._data.encoded_format
  1538. }
  1539.  
  1540. /** @type {number[]} */
  1541. get encoded_data() {
  1542. return this._data.encoded_data
  1543. }
  1544. }
  1545.  
  1546. /**
  1547. * @public
  1548. */
  1549. export class DevError {
  1550.  
  1551. /** @param {Object} data */
  1552. constructor(data = {}) {
  1553. /** @private */
  1554. this._data = Object.assign({}, data)
  1555. }
  1556.  
  1557. /** @type {string} */
  1558. get reason() {
  1559. return this._data.reason
  1560. }
  1561.  
  1562. /** @type {ErrSeverity} */
  1563. get severity() {
  1564. return this._data.severity
  1565. }
  1566.  
  1567. /** @type {string} */
  1568. get desc() {
  1569. return this._data.desc
  1570. }
  1571.  
  1572. /** @type {string} */
  1573. get origin() {
  1574. return this._data.origin
  1575. }
  1576. }
  1577.  
  1578. /**
  1579. * @public
  1580. */
  1581. export class DevFailed {
  1582.  
  1583. /** @param {Object} data */
  1584. constructor(data = {}) {
  1585. /** @private */
  1586. this._data = Object.assign({}, data)
  1587. }
  1588.  
  1589. /** @type {DevError[]} */
  1590. get errors() {
  1591. return this._data.errors
  1592. }
  1593. }
  1594.  
  1595. /**
  1596. * @public
  1597. */
  1598. export class DevInfo {
  1599.  
  1600. /** @param {Object} data */
  1601. constructor(data = {}) {
  1602. /** @private */
  1603. this._data = Object.assign({}, data)
  1604. }
  1605.  
  1606. /** @type {string} */
  1607. get dev_class() {
  1608. return this._data.dev_class
  1609. }
  1610.  
  1611. /** @type {string} */
  1612. get server_id() {
  1613. return this._data.server_id
  1614. }
  1615.  
  1616. /** @type {string} */
  1617. get server_host() {
  1618. return this._data.server_host
  1619. }
  1620.  
  1621. /** @type {number} */
  1622. get server_version() {
  1623. return this._data.server_version
  1624. }
  1625.  
  1626. /** @type {string} */
  1627. get doc_url() {
  1628. return this._data.doc_url
  1629. }
  1630. }
  1631.  
  1632. /**
  1633. * @public
  1634. */
  1635. export class DevInfo_3 {
  1636.  
  1637. /** @param {Object} data */
  1638. constructor(data = {}) {
  1639. /** @private */
  1640. this._data = Object.assign({}, data)
  1641. }
  1642.  
  1643. /** @type {string} */
  1644. get dev_class() {
  1645. return this._data.dev_class
  1646. }
  1647.  
  1648. /** @type {string} */
  1649. get server_id() {
  1650. return this._data.server_id
  1651. }
  1652.  
  1653. /** @type {string} */
  1654. get server_host() {
  1655. return this._data.server_host
  1656. }
  1657.  
  1658. /** @type {number} */
  1659. get server_version() {
  1660. return this._data.server_version
  1661. }
  1662.  
  1663. /** @type {string} */
  1664. get doc_url() {
  1665. return this._data.doc_url
  1666. }
  1667.  
  1668. /** @type {string} */
  1669. get dev_type() {
  1670. return this._data.dev_type
  1671. }
  1672. }
  1673.  
  1674. /**
  1675. * @public
  1676. */
  1677. export class DevIntrChange {
  1678.  
  1679. /** @param {Object} data */
  1680. constructor(data = {}) {
  1681. /** @private */
  1682. this._data = Object.assign({}, data)
  1683. }
  1684.  
  1685. /** @type {boolean} */
  1686. get dev_started() {
  1687. return this._data.dev_started
  1688. }
  1689.  
  1690. /** @type {DevCmdInfo_2[]} */
  1691. get cmds() {
  1692. return this._data.cmds
  1693. }
  1694.  
  1695. /** @type {AttributeConfig_5[]} */
  1696. get atts() {
  1697. return this._data.atts
  1698. }
  1699. }
  1700.  
  1701. /**
  1702. * @public
  1703. */
  1704. export class DevPipeBlob {
  1705.  
  1706. /** @param {Object} data */
  1707. constructor(data = {}) {
  1708. /** @private */
  1709. this._data = Object.assign({}, data)
  1710. }
  1711.  
  1712. /** @type {string} */
  1713. get name() {
  1714. return this._data.name
  1715. }
  1716.  
  1717. /** @type {DevPipeDataElt[]} */
  1718. get blob_data() {
  1719. return this._data.blob_data
  1720. }
  1721. }
  1722.  
  1723. /**
  1724. * @public
  1725. */
  1726. export class DevPipeData {
  1727.  
  1728. /** @param {Object} data */
  1729. constructor(data = {}) {
  1730. /** @private */
  1731. this._data = Object.assign({}, data)
  1732. }
  1733.  
  1734. /** @type {string} */
  1735. get name() {
  1736. return this._data.name
  1737. }
  1738.  
  1739. /** @type {TimeVal} */
  1740. get time() {
  1741. return this._data.time
  1742. }
  1743.  
  1744. /** @type {DevPipeBlob} */
  1745. get data_blob() {
  1746. return this._data.data_blob
  1747. }
  1748. }
  1749.  
  1750. /**
  1751. * @public
  1752. */
  1753. export class DevPipeDataElt {
  1754.  
  1755. /** @param {Object} data */
  1756. constructor(data = {}) {
  1757. /** @private */
  1758. this._data = Object.assign({}, data)
  1759. }
  1760.  
  1761. /** @type {string} */
  1762. get name() {
  1763. return this._data.name
  1764. }
  1765.  
  1766. /** @type {AttrValUnion} */
  1767. get value() {
  1768. return this._data.value
  1769. }
  1770.  
  1771. /** @type {DevPipeDataElt[]} */
  1772. get inner_blob() {
  1773. return this._data.inner_blob
  1774. }
  1775.  
  1776. /** @type {string} */
  1777. get inner_blob_name() {
  1778. return this._data.inner_blob_name
  1779. }
  1780. }
  1781.  
  1782. /**
  1783. * @public
  1784. */
  1785. export class DevVarDoubleStringArray {
  1786.  
  1787. /** @param {Object} data */
  1788. constructor(data = {}) {
  1789. /** @private */
  1790. this._data = Object.assign({}, data)
  1791. }
  1792.  
  1793. /** @type {number[]} */
  1794. get dvalue() {
  1795. return this._data.dvalue
  1796. }
  1797.  
  1798. /** @type {string[]} */
  1799. get svalue() {
  1800. return this._data.svalue
  1801. }
  1802. }
  1803.  
  1804. /**
  1805. * @public
  1806. */
  1807. export class DevVarLongStringArray {
  1808.  
  1809. /** @param {Object} data */
  1810. constructor(data = {}) {
  1811. /** @private */
  1812. this._data = Object.assign({}, data)
  1813. }
  1814.  
  1815. /** @type {number[]} */
  1816. get lvalue() {
  1817. return this._data.lvalue
  1818. }
  1819.  
  1820. /** @type {string[]} */
  1821. get svalue() {
  1822. return this._data.svalue
  1823. }
  1824. }
  1825.  
  1826. /**
  1827. * @public
  1828. */
  1829. export class EltInArray {
  1830.  
  1831. /** @param {Object} data */
  1832. constructor(data = {}) {
  1833. /** @private */
  1834. this._data = Object.assign({}, data)
  1835. }
  1836.  
  1837. /** @type {number} */
  1838. get start() {
  1839. return this._data.start
  1840. }
  1841.  
  1842. /** @type {number} */
  1843. get nb_elt() {
  1844. return this._data.nb_elt
  1845. }
  1846. }
  1847.  
  1848. /**
  1849. * @public
  1850. */
  1851. export class EventProperties {
  1852.  
  1853. /** @param {Object} data */
  1854. constructor(data = {}) {
  1855. /** @private */
  1856. this._data = Object.assign({}, data)
  1857. }
  1858.  
  1859. /** @type {ChangeEventProp} */
  1860. get ch_event() {
  1861. return this._data.ch_event
  1862. }
  1863.  
  1864. /** @type {PeriodicEventProp} */
  1865. get per_event() {
  1866. return this._data.per_event
  1867. }
  1868.  
  1869. /** @type {ArchiveEventProp} */
  1870. get arch_event() {
  1871. return this._data.arch_event
  1872. }
  1873. }
  1874.  
  1875. /**
  1876. * @public
  1877. */
  1878. export class JavaClntIdent {
  1879.  
  1880. /** @param {Object} data */
  1881. constructor(data = {}) {
  1882. /** @private */
  1883. this._data = Object.assign({}, data)
  1884. }
  1885.  
  1886. /** @type {string} */
  1887. get MainClass() {
  1888. return this._data.MainClass
  1889. }
  1890.  
  1891. /** @type {number[]} */
  1892. get uuid() {
  1893. return this._data.uuid
  1894. }
  1895. }
  1896.  
  1897. /**
  1898. * @public
  1899. */
  1900. export class MultiDevFailed {
  1901.  
  1902. /** @param {Object} data */
  1903. constructor(data = {}) {
  1904. /** @private */
  1905. this._data = Object.assign({}, data)
  1906. }
  1907.  
  1908. /** @type {NamedDevError[]} */
  1909. get errors() {
  1910. return this._data.errors
  1911. }
  1912. }
  1913.  
  1914. /**
  1915. * @public
  1916. */
  1917. export class NamedDevError {
  1918.  
  1919. /** @param {Object} data */
  1920. constructor(data = {}) {
  1921. /** @private */
  1922. this._data = Object.assign({}, data)
  1923. }
  1924.  
  1925. /** @type {string} */
  1926. get name() {
  1927. return this._data.name
  1928. }
  1929.  
  1930. /** @type {number} */
  1931. get index_in_call() {
  1932. return this._data.index_in_call
  1933. }
  1934.  
  1935. /** @type {DevError[]} */
  1936. get err_list() {
  1937. return this._data.err_list
  1938. }
  1939. }
  1940.  
  1941. /**
  1942. * @public
  1943. */
  1944. export class PeriodicEventProp {
  1945.  
  1946. /** @param {Object} data */
  1947. constructor(data = {}) {
  1948. /** @private */
  1949. this._data = Object.assign({}, data)
  1950. }
  1951.  
  1952. /** @type {string} */
  1953. get period() {
  1954. return this._data.period
  1955. }
  1956.  
  1957. /** @type {string[]} */
  1958. get extensions() {
  1959. return this._data.extensions
  1960. }
  1961. }
  1962.  
  1963. /**
  1964. * @public
  1965. */
  1966. export class PipeConfig {
  1967.  
  1968. /** @param {Object} data */
  1969. constructor(data = {}) {
  1970. /** @private */
  1971. this._data = Object.assign({}, data)
  1972. }
  1973.  
  1974. /** @type {string} */
  1975. get name() {
  1976. return this._data.name
  1977. }
  1978.  
  1979. /** @type {string} */
  1980. get description() {
  1981. return this._data.description
  1982. }
  1983.  
  1984. /** @type {string} */
  1985. get label() {
  1986. return this._data.label
  1987. }
  1988.  
  1989. /** @type {DispLevel} */
  1990. get level() {
  1991. return this._data.level
  1992. }
  1993.  
  1994. /** @type {PipeWriteType} */
  1995. get writable() {
  1996. return this._data.writable
  1997. }
  1998.  
  1999. /** @type {string[]} */
  2000. get extensions() {
  2001. return this._data.extensions
  2002. }
  2003. }
  2004.  
  2005. /**
  2006. * @public
  2007. */
  2008. export class TimeVal {
  2009.  
  2010. /** @param {Object} data */
  2011. constructor(data = {}) {
  2012. /** @private */
  2013. this._data = Object.assign({}, data)
  2014. }
  2015.  
  2016. /** @type {number} */
  2017. get tv_sec() {
  2018. return this._data.tv_sec
  2019. }
  2020.  
  2021. /** @type {number} */
  2022. get tv_usec() {
  2023. return this._data.tv_usec
  2024. }
  2025.  
  2026. /** @type {number} */
  2027. get tv_nsec() {
  2028. return this._data.tv_nsec
  2029. }
  2030. }
  2031.  
  2032. /**
  2033. * @public
  2034. */
  2035. export class ZmqCallInfo {
  2036.  
  2037. /** @param {Object} data */
  2038. constructor(data = {}) {
  2039. /** @private */
  2040. this._data = Object.assign({}, data)
  2041. }
  2042.  
  2043. /** @type {number} */
  2044. get version() {
  2045. return this._data.version
  2046. }
  2047.  
  2048. /** @type {number} */
  2049. get ctr() {
  2050. return this._data.ctr
  2051. }
  2052.  
  2053. /** @type {string} */
  2054. get method_name() {
  2055. return this._data.method_name
  2056. }
  2057.  
  2058. /** @type {number[]} */
  2059. get oid() {
  2060. return this._data.oid
  2061. }
  2062.  
  2063. /** @type {boolean} */
  2064. get call_is_except() {
  2065. return this._data.call_is_except
  2066. }
  2067. }
  2068.  
  2069. /**
  2070. * @interface
  2071. * @public
  2072. */
  2073. export class Device {
  2074.  
  2075. /**
  2076. * @return {string}
  2077. *
  2078. */
  2079. _get_adm_name() { }
  2080.  
  2081. /**
  2082. * @return {string}
  2083. *
  2084. */
  2085. _get_description() { }
  2086.  
  2087. /**
  2088. * @return {string}
  2089. *
  2090. */
  2091. _get_name() { }
  2092.  
  2093. /**
  2094. * @return {DevState}
  2095. *
  2096. */
  2097. _get_state() { }
  2098.  
  2099. /**
  2100. * @return {string}
  2101. *
  2102. */
  2103. _get_status() { }
  2104.  
  2105. /**
  2106. * @return {undefined}
  2107. * @param {string} adm_name adm_name
  2108. */
  2109. _set_adm_name(adm_name) { }
  2110.  
  2111. /**
  2112. * @return {undefined}
  2113. * @param {string} description description
  2114. */
  2115. _set_description(description) { }
  2116.  
  2117. /**
  2118. * @return {undefined}
  2119. * @param {string} name name
  2120. */
  2121. _set_name(name) { }
  2122.  
  2123. /**
  2124. * @return {undefined}
  2125. * @param {DevState} state state
  2126. */
  2127. _set_state(state) { }
  2128.  
  2129. /**
  2130. * @return {undefined}
  2131. * @param {string} status status
  2132. */
  2133. _set_status(status) { }
  2134.  
  2135. /**
  2136. * @return {string[]}
  2137. * @param {number} n n
  2138. */
  2139. black_box(n) { }
  2140.  
  2141. /**
  2142. * @return {Object}
  2143. * @param {string} command command
  2144. * @param {Object} argin argin
  2145. */
  2146. command_inout(command, argin) { }
  2147.  
  2148. /**
  2149. * @return {DevCmdInfo[]}
  2150. *
  2151. */
  2152. command_list_query() { }
  2153.  
  2154. /**
  2155. * @return {DevCmdInfo}
  2156. * @param {string} command command
  2157. */
  2158. command_query(command) { }
  2159.  
  2160. /**
  2161. * @return {AttributeConfig[]}
  2162. * @param {string[]} names names
  2163. */
  2164. get_attribute_config(names) { }
  2165.  
  2166. /**
  2167. * @return {DevInfo}
  2168. *
  2169. */
  2170. info() { }
  2171.  
  2172. /**
  2173. * @return {undefined}
  2174. *
  2175. */
  2176. ping() { }
  2177.  
  2178. /**
  2179. * @return {AttributeValue[]}
  2180. * @param {string[]} names names
  2181. */
  2182. read_attributes(names) { }
  2183.  
  2184. /**
  2185. * @return {undefined}
  2186. * @param {AttributeConfig[]} new_conf new_conf
  2187. */
  2188. set_attribute_config(new_conf) { }
  2189.  
  2190. /**
  2191. * @return {undefined}
  2192. * @param {AttributeValue[]} values values
  2193. */
  2194. write_attributes(values) { }
  2195. }
  2196.  
  2197. /**
  2198. * @interface
  2199. * @public
  2200. */
  2201. export class Device_2 extends Device {
  2202.  
  2203. /**
  2204. * @return {Object}
  2205. * @param {string} command command
  2206. * @param {Object} argin argin
  2207. * @param {DevSource} source source
  2208. */
  2209. command_inout_2(command, argin, source) { }
  2210.  
  2211. /**
  2212. * @return {DevCmdHistory[]}
  2213. * @param {string} command command
  2214. * @param {number} n n
  2215. */
  2216. command_inout_history_2(command, n) { }
  2217.  
  2218. /**
  2219. * @return {DevCmdInfo_2[]}
  2220. *
  2221. */
  2222. command_list_query_2() { }
  2223.  
  2224. /**
  2225. * @return {DevCmdInfo_2}
  2226. * @param {string} command command
  2227. */
  2228. command_query_2(command) { }
  2229.  
  2230. /**
  2231. * @return {AttributeConfig_2[]}
  2232. * @param {string[]} names names
  2233. */
  2234. get_attribute_config_2(names) { }
  2235.  
  2236. /**
  2237. * @return {DevAttrHistory[]}
  2238. * @param {string} name name
  2239. * @param {number} n n
  2240. */
  2241. read_attribute_history_2(name, n) { }
  2242.  
  2243. /**
  2244. * @return {AttributeValue[]}
  2245. * @param {string[]} names names
  2246. * @param {DevSource} source source
  2247. */
  2248. read_attributes_2(names, source) { }
  2249. }
  2250.  
  2251. /**
  2252. * @interface
  2253. * @public
  2254. */
  2255. export class Device_3 extends Device_2 {
  2256.  
  2257. /**
  2258. * @return {AttributeConfig_3[]}
  2259. * @param {string[]} names names
  2260. */
  2261. get_attribute_config_3(names) { }
  2262.  
  2263. /**
  2264. * @return {DevInfo_3}
  2265. *
  2266. */
  2267. info_3() { }
  2268.  
  2269. /**
  2270. * @return {DevAttrHistory_3[]}
  2271. * @param {string} name name
  2272. * @param {number} n n
  2273. */
  2274. read_attribute_history_3(name, n) { }
  2275.  
  2276. /**
  2277. * @return {AttributeValue_3[]}
  2278. * @param {string[]} names names
  2279. * @param {DevSource} source source
  2280. */
  2281. read_attributes_3(names, source) { }
  2282.  
  2283. /**
  2284. * @return {undefined}
  2285. * @param {AttributeConfig_3[]} new_conf new_conf
  2286. */
  2287. set_attribute_config_3(new_conf) { }
  2288.  
  2289. /**
  2290. * @return {undefined}
  2291. * @param {AttributeValue[]} values values
  2292. */
  2293. write_attributes_3(values) { }
  2294. }
  2295.  
  2296. /**
  2297. * @interface
  2298. * @public
  2299. */
  2300. export class Device_4 extends Device_3 {
  2301.  
  2302. /**
  2303. * @return {Object}
  2304. * @param {string} command command
  2305. * @param {Object} argin argin
  2306. * @param {DevSource} source source
  2307. * @param {ClntIdent} cl_ident cl_ident
  2308. */
  2309. command_inout_4(command, argin, source, cl_ident) { }
  2310.  
  2311. /**
  2312. * @return {DevCmdHistory_4}
  2313. * @param {string} command command
  2314. * @param {number} n n
  2315. */
  2316. command_inout_history_4(command, n) { }
  2317.  
  2318. /**
  2319. * @return {DevAttrHistory_4}
  2320. * @param {string} name name
  2321. * @param {number} n n
  2322. */
  2323. read_attribute_history_4(name, n) { }
  2324.  
  2325. /**
  2326. * @return {AttributeValue_4[]}
  2327. * @param {string[]} names names
  2328. * @param {DevSource} source source
  2329. * @param {ClntIdent} cl_ident cl_ident
  2330. */
  2331. read_attributes_4(names, source, cl_ident) { }
  2332.  
  2333. /**
  2334. * @return {undefined}
  2335. * @param {AttributeConfig_3[]} new_conf new_conf
  2336. * @param {ClntIdent} cl_ident cl_ident
  2337. */
  2338. set_attribute_config_4(new_conf, cl_ident) { }
  2339.  
  2340. /**
  2341. * @return {undefined}
  2342. * @param {AttributeValue_4[]} values values
  2343. * @param {ClntIdent} cl_ident cl_ident
  2344. */
  2345. write_attributes_4(values, cl_ident) { }
  2346.  
  2347. /**
  2348. * @return {AttributeValue_4[]}
  2349. * @param {AttributeValue_4[]} values values
  2350. * @param {ClntIdent} cl_ident cl_ident
  2351. */
  2352. write_read_attributes_4(values, cl_ident) { }
  2353. }
  2354.  
  2355. /**
  2356. * @interface
  2357. * @public
  2358. */
  2359. export class Device_5 extends Device_4 {
  2360.  
  2361. /**
  2362. * @return {AttributeConfig_5[]}
  2363. * @param {string[]} names names
  2364. */
  2365. get_attribute_config_5(names) { }
  2366.  
  2367. /**
  2368. * @return {PipeConfig[]}
  2369. * @param {string[]} names names
  2370. */
  2371. get_pipe_config_5(names) { }
  2372.  
  2373. /**
  2374. * @return {DevAttrHistory_5}
  2375. * @param {string} name name
  2376. * @param {number} n n
  2377. */
  2378. read_attribute_history_5(name, n) { }
  2379.  
  2380. /**
  2381. * @return {AttributeValue_5[]}
  2382. * @param {string[]} names names
  2383. * @param {DevSource} source source
  2384. * @param {ClntIdent} cl_ident cl_ident
  2385. */
  2386. read_attributes_5(names, source, cl_ident) { }
  2387.  
  2388. /**
  2389. * @return {DevPipeData}
  2390. * @param {string} name name
  2391. * @param {ClntIdent} cl_ident cl_ident
  2392. */
  2393. read_pipe_5(name, cl_ident) { }
  2394.  
  2395. /**
  2396. * @return {undefined}
  2397. * @param {AttributeConfig_5[]} new_conf new_conf
  2398. * @param {ClntIdent} cl_ident cl_ident
  2399. */
  2400. set_attribute_config_5(new_conf, cl_ident) { }
  2401.  
  2402. /**
  2403. * @return {undefined}
  2404. * @param {PipeConfig[]} new_conf new_conf
  2405. * @param {ClntIdent} cl_ident cl_ident
  2406. */
  2407. set_pipe_config_5(new_conf, cl_ident) { }
  2408.  
  2409. /**
  2410. * @return {undefined}
  2411. * @param {DevPipeData} value value
  2412. * @param {ClntIdent} cl_ident cl_ident
  2413. */
  2414. write_pipe_5(value, cl_ident) { }
  2415.  
  2416. /**
  2417. * @return {AttributeValue_5[]}
  2418. * @param {AttributeValue_4[]} values values
  2419. * @param {string[]} r_names r_names
  2420. * @param {ClntIdent} cl_ident cl_ident
  2421. */
  2422. write_read_attributes_5(values, r_names, cl_ident) { }
  2423.  
  2424. /**
  2425. * @return {DevPipeData}
  2426. * @param {DevPipeData} value value
  2427. * @param {ClntIdent} cl_ident cl_ident
  2428. */
  2429. write_read_pipe_5(value, cl_ident) { }
  2430. }
  2431.