batch-import-opcua-template.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. [
  2. {
  3. "serviceName": "dc3-driver-opc-ua",
  4. "profiles": [
  5. {
  6. "name": "OpcUa-Profile",
  7. "share": false,
  8. "driverConfig": {
  9. "host": "localhost",
  10. "port": "53530",
  11. "path": "/OPCUA/SimulationServer"
  12. },
  13. "points": [
  14. {
  15. "name": "OpcUa-Point-String",
  16. "type": "string",
  17. "rw": 0,
  18. "base": 0,
  19. "minimum": -999999,
  20. "maximum": 999999,
  21. "multiple": 1,
  22. "format": "%.3f",
  23. "unit": "-"
  24. },
  25. {
  26. "name": "OpcUa-Point-Boolean",
  27. "type": "boolean",
  28. "rw": 0,
  29. "base": 0,
  30. "minimum": -999999,
  31. "maximum": 999999,
  32. "multiple": 1,
  33. "format": "%.3f",
  34. "unit": "-"
  35. },
  36. {
  37. "name": "OpcUa-Point-Int",
  38. "type": "int",
  39. "rw": 0,
  40. "base": 0,
  41. "minimum": -999999,
  42. "maximum": 999999,
  43. "multiple": 1,
  44. "format": "%.3f",
  45. "unit": "-"
  46. },
  47. {
  48. "name": "OpcUa-Point-Long",
  49. "type": "long",
  50. "rw": 0,
  51. "base": 0,
  52. "minimum": -999999,
  53. "maximum": 999999,
  54. "multiple": 1,
  55. "format": "%.3f",
  56. "unit": "-"
  57. },
  58. {
  59. "name": "OpcUa-Point-Float",
  60. "type": "float",
  61. "rw": 0,
  62. "base": 0,
  63. "minimum": -999999,
  64. "maximum": 999999,
  65. "multiple": 1,
  66. "format": "%.3f",
  67. "unit": "-"
  68. },
  69. {
  70. "name": "OpcUa-Point-Double",
  71. "type": "double",
  72. "rw": 0,
  73. "base": 0,
  74. "minimum": -999999,
  75. "maximum": 999999,
  76. "multiple": 1,
  77. "format": "%.3f",
  78. "unit": "-"
  79. }
  80. ],
  81. "groups": [
  82. {
  83. "name": "OpcUa-Group",
  84. "devices": [
  85. {
  86. "name": "OpcUa-Device",
  87. "multi": false,
  88. "pointConfig": {
  89. "OpcUa-Point-String": {
  90. "namespace": "5",
  91. "tag": "tag-string"
  92. },
  93. "OpcUa-Point-Boolean": {
  94. "namespace": "5",
  95. "tag": "tag-boolean"
  96. },
  97. "OpcUa-Point-Int": {
  98. "namespace": "5",
  99. "tag": "tag-int"
  100. },
  101. "OpcUa-Point-Long": {
  102. "namespace": "5",
  103. "tag": "tag-long"
  104. },
  105. "OpcUa-Point-Float": {
  106. "namespace": "5",
  107. "tag": "tag-float"
  108. },
  109. "OpcUa-Point-Double": {
  110. "namespace": "5",
  111. "tag": "tag-double"
  112. }
  113. }
  114. }
  115. ]
  116. }
  117. ]
  118. }
  119. ]
  120. }
  121. ]