fork(1) download
  1. [
  2. {
  3. "id": "11f9d3ec.a7ed0c",
  4. "type": "subflow",
  5. "name": "iNut cảm biến - iNut M1 (data)",
  6. "info": "",
  7. "in": [
  8. {
  9. "x": 50,
  10. "y": 30,
  11. "wires": [
  12. {
  13. "id": "22646477.cd22bc"
  14. }
  15. ]
  16. }
  17. ],
  18. "out": [
  19. {
  20. "x": 680,
  21. "y": 140,
  22. "wires": [
  23. {
  24. "id": "76bf751.5c6fc8c",
  25. "port": 0
  26. }
  27. ]
  28. },
  29. {
  30. "x": 720,
  31. "y": 180,
  32. "wires": [
  33. {
  34. "id": "76bf751.5c6fc8c",
  35. "port": 1
  36. }
  37. ]
  38. },
  39. {
  40. "x": 760,
  41. "y": 220,
  42. "wires": [
  43. {
  44. "id": "76bf751.5c6fc8c",
  45. "port": 2
  46. }
  47. ]
  48. },
  49. {
  50. "x": 780,
  51. "y": 260,
  52. "wires": [
  53. {
  54. "id": "76bf751.5c6fc8c",
  55. "port": 3
  56. }
  57. ]
  58. }
  59. ],
  60. "inputLabels": [
  61. "Nhận đầu vào MQTT IN từ iNut cảm biến"
  62. ],
  63. "outputLabels": [
  64. "Luồng cảm biến 1",
  65. "Luồng cảm biến 2",
  66. "Luồng cảm biến 3",
  67. "Luồng cảm biến 4"
  68. ]
  69. },
  70. {
  71. "id": "22646477.cd22bc",
  72. "type": "json",
  73. "z": "11f9d3ec.a7ed0c",
  74. "name": "",
  75. "property": "payload",
  76. "action": "",
  77. "pretty": false,
  78. "x": 165,
  79. "y": 84,
  80. "wires": [
  81. [
  82. "a8bbb91b.bfb5b8"
  83. ]
  84. ]
  85. },
  86. {
  87. "id": "76bf751.5c6fc8c",
  88. "type": "switch",
  89. "z": "11f9d3ec.a7ed0c",
  90. "name": "Phân luồn",
  91. "property": "relayId",
  92. "propertyType": "msg",
  93. "rules": [
  94. {
  95. "t": "eq",
  96. "v": "0",
  97. "vt": "num"
  98. },
  99. {
  100. "t": "eq",
  101. "v": "1",
  102. "vt": "str"
  103. },
  104. {
  105. "t": "eq",
  106. "v": "2",
  107. "vt": "str"
  108. },
  109. {
  110. "t": "eq",
  111. "v": "3",
  112. "vt": "str"
  113. }
  114. ],
  115. "checkall": "true",
  116. "repair": false,
  117. "outputs": 4,
  118. "x": 480,
  119. "y": 340,
  120. "wires": [
  121. [],
  122. [],
  123. [],
  124. []
  125. ]
  126. },
  127. {
  128. "id": "a8bbb91b.bfb5b8",
  129. "type": "function",
  130. "z": "11f9d3ec.a7ed0c",
  131. "name": "Lặp",
  132. "func": "if (!msg.states) {\n msg.states = msg.payload\n msg.i = 0\n return msg;\n} else {\n msg.i++\n if (msg.states[msg.i])\n return msg;\n}\n",
  133. "outputs": 1,
  134. "noerr": 0,
  135. "x": 327.89060974121094,
  136. "y": 83.33600330352783,
  137. "wires": [
  138. [
  139. "727019bb.cd9048"
  140. ]
  141. ]
  142. },
  143. {
  144. "id": "727019bb.cd9048",
  145. "type": "function",
  146. "z": "11f9d3ec.a7ed0c",
  147. "name": "Lấy trạng thái thiết bị",
  148. "func": "msg.relayId = msg.i\nmsg.payload = msg.states[msg.i].state\nreturn msg;",
  149. "outputs": 1,
  150. "noerr": 0,
  151. "x": 477.89060974121094,
  152. "y": 183.33600330352783,
  153. "wires": [
  154. [
  155. "a8bbb91b.bfb5b8",
  156. "76bf751.5c6fc8c"
  157. ]
  158. ]
  159. },
  160. {
  161. "id": "36fe68a5.0baf78",
  162. "type": "subflow:11f9d3ec.a7ed0c",
  163. "z": "891bb18c.71f9b",
  164. "name": "",
  165. "x": 520,
  166. "y": 900,
  167. "wires": [
  168. [
  169. "227d6470.4d8b2c"
  170. ],
  171. [
  172. "97365b.9dd5f9a8"
  173. ],
  174. [
  175. "c4247cbc.44e3c"
  176. ],
  177. [
  178. "3adbc518.902c9a"
  179. ]
  180. ]
  181. },
  182. {
  183. "id": "3adbc518.902c9a",
  184. "type": "ui_gauge",
  185. "z": "891bb18c.71f9b",
  186. "name": "Nhiệt độ 2",
  187. "group": "a8d2fbd7.31fc48",
  188. "order": 3,
  189. "width": "6",
  190. "height": "3",
  191. "gtype": "gage",
  192. "title": "Nhiệt Độ_2",
  193. "label": "oC",
  194. "format": "{{value}}",
  195. "min": 0,
  196. "max": "100",
  197. "colors": [
  198. "#00b500",
  199. "#e6e600",
  200. "#ca3838"
  201. ],
  202. "seg1": "",
  203. "seg2": "",
  204. "x": 810,
  205. "y": 940,
  206. "wires": []
  207. },
  208. {
  209. "id": "c4247cbc.44e3c",
  210. "type": "ui_gauge",
  211. "z": "891bb18c.71f9b",
  212. "name": "Nhiệt độ_1",
  213. "group": "a8d2fbd7.31fc48",
  214. "order": 2,
  215. "width": "6",
  216. "height": "3",
  217. "gtype": "gage",
  218. "title": "Nhiệt Độ_1",
  219. "label": "oC",
  220. "format": "{{value}}",
  221. "min": 0,
  222. "max": "100",
  223. "colors": [
  224. "#00b500",
  225. "#e6e600",
  226. "#ca3838"
  227. ],
  228. "seg1": "",
  229. "seg2": "",
  230. "x": 810,
  231. "y": 900,
  232. "wires": []
  233. },
  234. {
  235. "id": "b601ec8a.0101f",
  236. "type": "function",
  237. "z": "891bb18c.71f9b",
  238. "name": "",
  239. "func": "var command = msg.topic + ' ';\nif (msg.payload == 1) {\n command = command + '1 OFF';\n} else {\n command = command + '1 ON';\n}\nmsg.payload = {\n id: 0,\n command: command\n}\nreturn msg;",
  240. "outputs": 1,
  241. "noerr": 0,
  242. "x": 370,
  243. "y": 1360,
  244. "wires": [
  245. [
  246. "f838bab7.24c7e8"
  247. ]
  248. ]
  249. },
  250. {
  251. "id": "7e8f10f.2681ef",
  252. "type": "ui_button",
  253. "z": "891bb18c.71f9b",
  254. "name": "",
  255. "group": "942d822b.71b47",
  256. "order": 6,
  257. "width": "2",
  258. "height": "2",
  259. "passthru": false,
  260. "label": "OFF",
  261. "tooltip": "",
  262. "color": "Blue",
  263. "bgcolor": "",
  264. "icon": "",
  265. "payload": "1",
  266. "payloadType": "num",
  267. "topic": "RELAY",
  268. "x": 210,
  269. "y": 1380,
  270. "wires": [
  271. [
  272. "b601ec8a.0101f"
  273. ]
  274. ]
  275. },
  276. {
  277. "id": "30f364.b33b2c9c",
  278. "type": "ui_button",
  279. "z": "891bb18c.71f9b",
  280. "name": "",
  281. "group": "942d822b.71b47",
  282. "order": 4,
  283. "width": "2",
  284. "height": "2",
  285. "passthru": false,
  286. "label": "ON",
  287. "tooltip": "",
  288. "color": "Red",
  289. "bgcolor": "green",
  290. "icon": "",
  291. "payload": "0",
  292. "payloadType": "num",
  293. "topic": "RELAY",
  294. "x": 210,
  295. "y": 1340,
  296. "wires": [
  297. [
  298. "b601ec8a.0101f"
  299. ]
  300. ]
  301. },
  302. {
  303. "id": "e5fe4733.f0d278",
  304. "type": "function",
  305. "z": "891bb18c.71f9b",
  306. "name": "",
  307. "func": "var command = msg.topic + ' ';\nif (msg.payload == 1) {\n command = command + '0 OFF';\n} else {\n command = command + '0 ON';\n}\nmsg.payload = {\n id: 0,\n command: command\n}\nreturn msg;",
  308. "outputs": 1,
  309. "noerr": 0,
  310. "x": 370,
  311. "y": 1280,
  312. "wires": [
  313. [
  314. "f838bab7.24c7e8"
  315. ]
  316. ]
  317. },
  318. {
  319. "id": "8c68780.e73f688",
  320. "type": "ui_button",
  321. "z": "891bb18c.71f9b",
  322. "name": "",
  323. "group": "942d822b.71b47",
  324. "order": 3,
  325. "width": "2",
  326. "height": "2",
  327. "passthru": false,
  328. "label": "OFF",
  329. "tooltip": "",
  330. "color": "Blue",
  331. "bgcolor": "",
  332. "icon": "",
  333. "payload": "1",
  334. "payloadType": "num",
  335. "topic": "RELAY",
  336. "x": 210,
  337. "y": 1300,
  338. "wires": [
  339. [
  340. "e5fe4733.f0d278"
  341. ]
  342. ]
  343. },
  344. {
  345. "id": "f7173834.680688",
  346. "type": "ui_button",
  347. "z": "891bb18c.71f9b",
  348. "name": "",
  349. "group": "942d822b.71b47",
  350. "order": 1,
  351. "width": "2",
  352. "height": "2",
  353. "passthru": false,
  354. "label": "ON",
  355. "tooltip": "",
  356. "color": "Red",
  357. "bgcolor": "green",
  358. "icon": "",
  359. "payload": "0",
  360. "payloadType": "num",
  361. "topic": "RELAY",
  362. "x": 210,
  363. "y": 1260,
  364. "wires": [
  365. [
  366. "e5fe4733.f0d278"
  367. ]
  368. ]
  369. },
  370. {
  371. "id": "edc7cc24.3e51a",
  372. "type": "ui_text",
  373. "z": "891bb18c.71f9b",
  374. "group": "a8d2fbd7.31fc48",
  375. "order": 1,
  376. "width": 0,
  377. "height": 0,
  378. "name": "",
  379. "label": "Status",
  380. "format": "{{msg.payload}}",
  381. "layout": "row-center",
  382. "x": 1210,
  383. "y": 1200,
  384. "wires": []
  385. },
  386. {
  387. "id": "38bd1245.a318ee",
  388. "type": "change",
  389. "z": "891bb18c.71f9b",
  390. "name": "ONLINE",
  391. "rules": [
  392. {
  393. "t": "set",
  394. "p": "payload",
  395. "pt": "msg",
  396. "to": "ONLINE",
  397. "tot": "str"
  398. }
  399. ],
  400. "action": "",
  401. "property": "",
  402. "from": "",
  403. "to": "",
  404. "reg": false,
  405. "x": 1060,
  406. "y": 1120,
  407. "wires": [
  408. [
  409. "edc7cc24.3e51a",
  410. "ac6bda.73925428"
  411. ]
  412. ]
  413. },
  414. {
  415. "id": "362b85c7.6c369a",
  416. "type": "switch",
  417. "z": "891bb18c.71f9b",
  418. "name": "Kiểm tra ONLINE",
  419. "property": "payload.status",
  420. "propertyType": "msg",
  421. "rules": [
  422. {
  423. "t": "eq",
  424. "v": "0",
  425. "vt": "num"
  426. },
  427. {
  428. "t": "eq",
  429. "v": "-1",
  430. "vt": "num"
  431. }
  432. ],
  433. "checkall": "true",
  434. "repair": false,
  435. "outputs": 2,
  436. "x": 870,
  437. "y": 1160,
  438. "wires": [
  439. [
  440. "38bd1245.a318ee"
  441. ],
  442. [
  443. "ae854b40.7931b8"
  444. ]
  445. ]
  446. },
  447. {
  448. "id": "ae854b40.7931b8",
  449. "type": "change",
  450. "z": "891bb18c.71f9b",
  451. "name": "OFFLINE",
  452. "rules": [
  453. {
  454. "t": "set",
  455. "p": "payload",
  456. "pt": "msg",
  457. "to": "OFFLINE",
  458. "tot": "str"
  459. }
  460. ],
  461. "action": "",
  462. "property": "",
  463. "from": "",
  464. "to": "",
  465. "reg": false,
  466. "x": 1060,
  467. "y": 1200,
  468. "wires": [
  469. [
  470. "edc7cc24.3e51a"
  471. ]
  472. ]
  473. },
  474. {
  475. "id": "55ff7f9b.4dfb4",
  476. "type": "json",
  477. "z": "891bb18c.71f9b",
  478. "name": "",
  479. "property": "payload",
  480. "action": "",
  481. "pretty": false,
  482. "x": 710,
  483. "y": 1160,
  484. "wires": [
  485. [
  486. "362b85c7.6c369a"
  487. ]
  488. ]
  489. },
  490. {
  491. "id": "3624b9e4.22cdd6",
  492. "type": "inject",
  493. "z": "891bb18c.71f9b",
  494. "name": "",
  495. "topic": "",
  496. "payload": "",
  497. "payloadType": "date",
  498. "repeat": "",
  499. "crontab": "",
  500. "once": true,
  501. "onceDelay": 0.1,
  502. "x": 210,
  503. "y": 1120,
  504. "wires": [
  505. [
  506. "d3b0b04f.e0ba"
  507. ]
  508. ]
  509. },
  510. {
  511. "id": "227d6470.4d8b2c",
  512. "type": "ui_gauge",
  513. "z": "891bb18c.71f9b",
  514. "name": "",
  515. "group": "942d822b.71b47",
  516. "order": 2,
  517. "width": "2",
  518. "height": "2",
  519. "gtype": "gage",
  520. "title": "RELAY 1",
  521. "label": "State",
  522. "format": "{{value}}",
  523. "min": 0,
  524. "max": "1",
  525. "colors": [
  526. "#00b500",
  527. "#e6e600",
  528. "#ca3838"
  529. ],
  530. "seg1": "",
  531. "seg2": "",
  532. "x": 800,
  533. "y": 820,
  534. "wires": []
  535. },
  536. {
  537. "id": "97365b.9dd5f9a8",
  538. "type": "ui_gauge",
  539. "z": "891bb18c.71f9b",
  540. "name": "",
  541. "group": "942d822b.71b47",
  542. "order": 5,
  543. "width": "2",
  544. "height": "2",
  545. "gtype": "gage",
  546. "title": "RELAY 2",
  547. "label": "State",
  548. "format": "{{value}}",
  549. "min": 0,
  550. "max": "1",
  551. "colors": [
  552. "#00b500",
  553. "#e6e600",
  554. "#ca3838"
  555. ],
  556. "seg1": "",
  557. "seg2": "",
  558. "x": 800,
  559. "y": 860,
  560. "wires": []
  561. },
  562. {
  563. "id": "9de0e935.5b2888",
  564. "type": "link out",
  565. "z": "891bb18c.71f9b",
  566. "name": "RELOAD",
  567. "links": [
  568. "bcf2c243.4db4a"
  569. ],
  570. "x": 1655,
  571. "y": 1140,
  572. "wires": []
  573. },
  574. {
  575. "id": "bcf2c243.4db4a",
  576. "type": "link in",
  577. "z": "891bb18c.71f9b",
  578. "name": "RELOAD",
  579. "links": [
  580. "9de0e935.5b2888"
  581. ],
  582. "x": 215,
  583. "y": 1060,
  584. "wires": [
  585. [
  586. "d3b0b04f.e0ba"
  587. ]
  588. ]
  589. },
  590. {
  591. "id": "50e4c0e4.9d11a",
  592. "type": "change",
  593. "z": "891bb18c.71f9b",
  594. "name": "",
  595. "rules": [
  596. {
  597. "t": "set",
  598. "p": "topic",
  599. "pt": "msg",
  600. "to": "POST",
  601. "tot": "str"
  602. }
  603. ],
  604. "action": "",
  605. "property": "",
  606. "from": "",
  607. "to": "",
  608. "reg": false,
  609. "x": 550,
  610. "y": 1160,
  611. "wires": [
  612. [
  613. "55ff7f9b.4dfb4"
  614. ]
  615. ]
  616. },
  617. {
  618. "id": "ac6bda.73925428",
  619. "type": "switch",
  620. "z": "891bb18c.71f9b",
  621. "name": "",
  622. "property": "topic",
  623. "propertyType": "msg",
  624. "rules": [
  625. {
  626. "t": "eq",
  627. "v": "POST",
  628. "vt": "str"
  629. }
  630. ],
  631. "checkall": "true",
  632. "repair": false,
  633. "outputs": 1,
  634. "x": 1210,
  635. "y": 1120,
  636. "wires": [
  637. [
  638. "969a6d8e.0f42b",
  639. "d0c49c1a.b0a55"
  640. ]
  641. ]
  642. },
  643. {
  644. "id": "969a6d8e.0f42b",
  645. "type": "delay",
  646. "z": "891bb18c.71f9b",
  647. "name": "",
  648. "pauseType": "delay",
  649. "timeout": "50",
  650. "timeoutUnits": "milliseconds",
  651. "rate": "1",
  652. "nbRateUnits": "1",
  653. "rateUnits": "second",
  654. "randomFirst": "1",
  655. "randomLast": "5",
  656. "randomUnits": "seconds",
  657. "drop": false,
  658. "x": 1350,
  659. "y": 1120,
  660. "wires": [
  661. [
  662. "4b1e2bbb.05af74"
  663. ]
  664. ]
  665. },
  666. {
  667. "id": "4b1e2bbb.05af74",
  668. "type": "change",
  669. "z": "891bb18c.71f9b",
  670. "name": "",
  671. "rules": [
  672. {
  673. "t": "delete",
  674. "p": "topic",
  675. "pt": "msg"
  676. }
  677. ],
  678. "action": "",
  679. "property": "",
  680. "from": "",
  681. "to": "",
  682. "reg": false,
  683. "x": 1540,
  684. "y": 1140,
  685. "wires": [
  686. [
  687. "9de0e935.5b2888"
  688. ]
  689. ]
  690. },
  691. {
  692. "id": "d0c49c1a.b0a55",
  693. "type": "delay",
  694. "z": "891bb18c.71f9b",
  695. "name": "",
  696. "pauseType": "delay",
  697. "timeout": "250",
  698. "timeoutUnits": "milliseconds",
  699. "rate": "1",
  700. "nbRateUnits": "1",
  701. "rateUnits": "second",
  702. "randomFirst": "1",
  703. "randomLast": "5",
  704. "randomUnits": "seconds",
  705. "drop": false,
  706. "x": 1350,
  707. "y": 1160,
  708. "wires": [
  709. [
  710. "4b1e2bbb.05af74"
  711. ]
  712. ]
  713. },
  714. {
  715. "id": "7006db41.99afc4",
  716. "type": "mqtt in",
  717. "z": "891bb18c.71f9b",
  718. "name": "[MQTT-IN]iNut cảm biến - iNut M1",
  719. "topic": "request/dkjTobCPXidsp7X1NqzKFQbQ4z02/SkmQdJJGE/442222451dbd27e938a864304c110268732591768619",
  720. "qos": "2",
  721. "broker": "846c247a.357608",
  722. "x": 240,
  723. "y": 900,
  724. "wires": [
  725. [
  726. "36fe68a5.0baf78"
  727. ]
  728. ]
  729. },
  730. {
  731. "id": "d3b0b04f.e0ba",
  732. "type": "http request",
  733. "z": "891bb18c.71f9b",
  734. "name": "[REST][GET]iNut cảm biến - iNut M1",
  735. "method": "GET",
  736. "ret": "txt",
  737. "url": "https://c...content-available-to-author-only...e.vn/api/1.0/request/dkjTobCPXidsp7X1NqzKFQbQ4z02/SkmQdJJGE/442222451dbd27e938a864304c110268732591768619/req_device",
  738. "tls": "",
  739. "x": 470,
  740. "y": 1100,
  741. "wires": [
  742. [
  743. "55ff7f9b.4dfb4"
  744. ]
  745. ]
  746. },
  747. {
  748. "id": "f838bab7.24c7e8",
  749. "type": "http request",
  750. "z": "891bb18c.71f9b",
  751. "name": "[REST][POST]iNut cảm biến - iNut M1",
  752. "method": "POST",
  753. "ret": "txt",
  754. "url": "https://c...content-available-to-author-only...e.vn/api/1.0/request/dkjTobCPXidsp7X1NqzKFQbQ4z02/SkmQdJJGE/442222451dbd27e938a864304c110268732591768619/req_device_toggle",
  755. "tls": "",
  756. "x": 290,
  757. "y": 1160,
  758. "wires": [
  759. [
  760. "50e4c0e4.9d11a"
  761. ]
  762. ]
  763. },
  764. {
  765. "id": "a8d2fbd7.31fc48",
  766. "type": "ui_group",
  767. "z": "",
  768. "name": "Group 2",
  769. "tab": "8d3e2963.f55f58",
  770. "order": 2,
  771. "disp": false,
  772. "width": "6",
  773. "collapse": false
  774. },
  775. {
  776. "id": "942d822b.71b47",
  777. "type": "ui_group",
  778. "z": "",
  779. "name": "Group 1",
  780. "tab": "8d3e2963.f55f58",
  781. "order": 1,
  782. "disp": false,
  783. "width": "6",
  784. "collapse": false
  785. },
  786. {
  787. "id": "846c247a.357608",
  788. "type": "mqtt-broker",
  789. "name": "",
  790. "broker": "mqtt.mysmarthome.vn",
  791. "port": "1883",
  792. "clientid": "",
  793. "usetls": false,
  794. "compatmode": true,
  795. "keepalive": "60",
  796. "cleansession": true,
  797. "willTopic": "",
  798. "willQos": "0",
  799. "willPayload": "",
  800. "birthTopic": "",
  801. "birthQos": "0",
  802. "birthPayload": ""
  803. },
  804. {
  805. "id": "8d3e2963.f55f58",
  806. "type": "ui_tab",
  807. "name": "Tab 1",
  808. "icon": "dashboard",
  809. "order": 1
  810. }
  811. ]
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: class, interface, or enum expected
[
^
Main.java:2: error: class, interface, or enum expected
    {
    ^
Main.java:3: error: class, interface, or enum expected
        "id": "11f9d3ec.a7ed0c",
        ^
Main.java:3: error: class, interface, or enum expected
        "id": "11f9d3ec.a7ed0c",
            ^
Main.java:3: error: class, interface, or enum expected
        "id": "11f9d3ec.a7ed0c",
              ^
Main.java:3: error: class, interface, or enum expected
        "id": "11f9d3ec.a7ed0c",
                               ^
Main.java:4: error: class, interface, or enum expected
        "type": "subflow",
        ^
Main.java:4: error: class, interface, or enum expected
        "type": "subflow",
              ^
Main.java:4: error: class, interface, or enum expected
        "type": "subflow",
                ^
Main.java:4: error: class, interface, or enum expected
        "type": "subflow",
                         ^
Main.java:5: error: class, interface, or enum expected
        "name": "iNut c?m bi?n - iNut M1 (data)",
        ^
Main.java:5: error: class, interface, or enum expected
        "name": "iNut c?m bi?n - iNut M1 (data)",
              ^
Main.java:5: error: class, interface, or enum expected
        "name": "iNut c?m bi?n - iNut M1 (data)",
                ^
Main.java:5: error: class, interface, or enum expected
        "name": "iNut c?m bi?n - iNut M1 (data)",
                                                ^
Main.java:6: error: class, interface, or enum expected
        "info": "",
        ^
Main.java:6: error: class, interface, or enum expected
        "info": "",
              ^
Main.java:6: error: class, interface, or enum expected
        "info": "",
                ^
Main.java:6: error: class, interface, or enum expected
        "info": "",
                  ^
Main.java:7: error: class, interface, or enum expected
        "in": [
        ^
Main.java:7: error: class, interface, or enum expected
        "in": [
            ^
Main.java:7: error: class, interface, or enum expected
        "in": [
              ^
Main.java:8: error: class, interface, or enum expected
            {
            ^
Main.java:9: error: class, interface, or enum expected
                "x": 50,
                ^
Main.java:9: error: class, interface, or enum expected
                "x": 50,
                   ^
Main.java:9: error: class, interface, or enum expected
                "x": 50,
                     ^
Main.java:9: error: class, interface, or enum expected
                "x": 50,
                       ^
Main.java:10: error: class, interface, or enum expected
                "y": 30,
                ^
Main.java:10: error: class, interface, or enum expected
                "y": 30,
                   ^
Main.java:10: error: class, interface, or enum expected
                "y": 30,
                     ^
Main.java:10: error: class, interface, or enum expected
                "y": 30,
                       ^
Main.java:11: error: class, interface, or enum expected
                "wires": [
                ^
Main.java:11: error: class, interface, or enum expected
                "wires": [
                       ^
Main.java:11: error: class, interface, or enum expected
                "wires": [
                         ^
Main.java:12: error: class, interface, or enum expected
                    {
                    ^
Main.java:13: error: class, interface, or enum expected
                        "id": "22646477.cd22bc"
                        ^
Main.java:13: error: class, interface, or enum expected
                        "id": "22646477.cd22bc"
                            ^
Main.java:13: error: class, interface, or enum expected
                        "id": "22646477.cd22bc"
                              ^
Main.java:14: error: class, interface, or enum expected
                    }
                    ^
Main.java:15: error: class, interface, or enum expected
                ]
                ^
Main.java:16: error: class, interface, or enum expected
            }
            ^
Main.java:17: error: class, interface, or enum expected
        ],
        ^
Main.java:17: error: class, interface, or enum expected
        ],
         ^
Main.java:18: error: class, interface, or enum expected
        "out": [
        ^
Main.java:18: error: class, interface, or enum expected
        "out": [
             ^
Main.java:18: error: class, interface, or enum expected
        "out": [
               ^
Main.java:19: error: class, interface, or enum expected
            {
            ^
Main.java:20: error: class, interface, or enum expected
                "x": 680,
                ^
Main.java:20: error: class, interface, or enum expected
                "x": 680,
                   ^
Main.java:20: error: class, interface, or enum expected
                "x": 680,
                     ^
Main.java:20: error: class, interface, or enum expected
                "x": 680,
                        ^
Main.java:21: error: class, interface, or enum expected
                "y": 140,
                ^
Main.java:21: error: class, interface, or enum expected
                "y": 140,
                   ^
Main.java:21: error: class, interface, or enum expected
                "y": 140,
                     ^
Main.java:21: error: class, interface, or enum expected
                "y": 140,
                        ^
Main.java:22: error: class, interface, or enum expected
                "wires": [
                ^
Main.java:22: error: class, interface, or enum expected
                "wires": [
                       ^
Main.java:22: error: class, interface, or enum expected
                "wires": [
                         ^
Main.java:23: error: class, interface, or enum expected
                    {
                    ^
Main.java:24: error: class, interface, or enum expected
                        "id": "76bf751.5c6fc8c",
                        ^
Main.java:24: error: class, interface, or enum expected
                        "id": "76bf751.5c6fc8c",
                            ^
Main.java:24: error: class, interface, or enum expected
                        "id": "76bf751.5c6fc8c",
                              ^
Main.java:24: error: class, interface, or enum expected
                        "id": "76bf751.5c6fc8c",
                                               ^
Main.java:25: error: class, interface, or enum expected
                        "port": 0
                        ^
Main.java:25: error: class, interface, or enum expected
                        "port": 0
                              ^
Main.java:25: error: class, interface, or enum expected
                        "port": 0
                                ^
Main.java:26: error: class, interface, or enum expected
                    }
                    ^
Main.java:27: error: class, interface, or enum expected
                ]
                ^
Main.java:28: error: class, interface, or enum expected
            },
            ^
Main.java:28: error: class, interface, or enum expected
            },
             ^
Main.java:29: error: class, interface, or enum expected
            {
            ^
Main.java:30: error: class, interface, or enum expected
                "x": 720,
                ^
Main.java:30: error: class, interface, or enum expected
                "x": 720,
                   ^
Main.java:30: error: class, interface, or enum expected
                "x": 720,
                     ^
Main.java:30: error: class, interface, or enum expected
                "x": 720,
                        ^
Main.java:31: error: class, interface, or enum expected
                "y": 180,
                ^
Main.java:31: error: class, interface, or enum expected
                "y": 180,
                   ^
Main.java:31: error: class, interface, or enum expected
                "y": 180,
                     ^
Main.java:31: error: class, interface, or enum expected
                "y": 180,
                        ^
Main.java:32: error: class, interface, or enum expected
                "wires": [
                ^
Main.java:32: error: class, interface, or enum expected
                "wires": [
                       ^
Main.java:32: error: class, interface, or enum expected
                "wires": [
                         ^
Main.java:33: error: class, interface, or enum expected
                    {
                    ^
Main.java:34: error: class, interface, or enum expected
                        "id": "76bf751.5c6fc8c",
                        ^
Main.java:34: error: class, interface, or enum expected
                        "id": "76bf751.5c6fc8c",
                            ^
Main.java:34: error: class, interface, or enum expected
                        "id": "76bf751.5c6fc8c",
                              ^
Main.java:34: error: class, interface, or enum expected
                        "id": "76bf751.5c6fc8c",
                                               ^
Main.java:35: error: class, interface, or enum expected
                        "port": 1
                        ^
Main.java:35: error: class, interface, or enum expected
                        "port": 1
                              ^
Main.java:35: error: class, interface, or enum expected
                        "port": 1
                                ^
Main.java:36: error: class, interface, or enum expected
                    }
                    ^
Main.java:37: error: class, interface, or enum expected
                ]
                ^
Main.java:38: error: class, interface, or enum expected
            },
            ^
Main.java:38: error: class, interface, or enum expected
            },
             ^
Main.java:39: error: class, interface, or enum expected
            {
            ^
Main.java:40: error: class, interface, or enum expected
                "x": 760,
                ^
Main.java:40: error: class, interface, or enum expected
                "x": 760,
                   ^
Main.java:40: error: class, interface, or enum expected
                "x": 760,
                     ^
Main.java:40: error: class, interface, or enum expected
                "x": 760,
                        ^
Main.java:41: error: class, interface, or enum expected
                "y": 220,
                ^
Main.java:41: error: class, interface, or enum expected
                "y": 220,
                   ^
100 errors
stdout
Standard output is empty