You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 5 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="de">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_181) on Mon Mar 04 14:23:28 CET 2019 -->
  6. <title>gpio_java</title>
  7. <meta name="date" content="2019-03-04">
  8. <link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
  9. <script type="text/javascript" src="script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="gpio_java";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9};
  22. var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="package-summary.html">Package</a></li>
  41. <li class="navBarCell1Rev">Class</li>
  42. <li><a href="package-tree.html">Tree</a></li>
  43. <li><a href="deprecated-list.html">Deprecated</a></li>
  44. <li><a href="index-all.html">Index</a></li>
  45. <li><a href="help-doc.html">Help</a></li>
  46. </ul>
  47. </div>
  48. <div class="subNav">
  49. <ul class="navList">
  50. <li>Prev&nbsp;Class</li>
  51. <li>Next&nbsp;Class</li>
  52. </ul>
  53. <ul class="navList">
  54. <li><a href="index.html?gpio_java.html" target="_top">Frames</a></li>
  55. <li><a href="gpio_java.html" target="_top">No&nbsp;Frames</a></li>
  56. </ul>
  57. <ul class="navList" id="allclasses_navbar_top">
  58. <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
  59. </ul>
  60. <div>
  61. <script type="text/javascript"><!--
  62. allClassesLink = document.getElementById("allclasses_navbar_top");
  63. if(window==top) {
  64. allClassesLink.style.display = "block";
  65. }
  66. else {
  67. allClassesLink.style.display = "none";
  68. }
  69. //-->
  70. </script>
  71. </div>
  72. <div>
  73. <ul class="subNavList">
  74. <li>Summary:&nbsp;</li>
  75. <li>Nested&nbsp;|&nbsp;</li>
  76. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  77. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  78. <li><a href="#method.summary">Method</a></li>
  79. </ul>
  80. <ul class="subNavList">
  81. <li>Detail:&nbsp;</li>
  82. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  83. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  84. <li><a href="#method.detail">Method</a></li>
  85. </ul>
  86. </div>
  87. <a name="skip.navbar.top">
  88. <!-- -->
  89. </a></div>
  90. <!-- ========= END OF TOP NAVBAR ========= -->
  91. <!-- ======== START OF CLASS DATA ======== -->
  92. <div class="header">
  93. <h2 title="Class gpio_java" class="title">Class gpio_java</h2>
  94. </div>
  95. <div class="contentContainer">
  96. <ul class="inheritance">
  97. <li>java.lang.Object</li>
  98. <li>
  99. <ul class="inheritance">
  100. <li>gpio_java</li>
  101. </ul>
  102. </li>
  103. </ul>
  104. <div class="description">
  105. <ul class="blockList">
  106. <li class="blockList">
  107. <hr>
  108. <br>
  109. <pre>public class <span class="typeNameLabel">gpio_java</span>
  110. extends java.lang.Object</pre>
  111. </li>
  112. </ul>
  113. </div>
  114. <div class="summary">
  115. <ul class="blockList">
  116. <li class="blockList">
  117. <!-- =========== FIELD SUMMARY =========== -->
  118. <ul class="blockList">
  119. <li class="blockList"><a name="field.summary">
  120. <!-- -->
  121. </a>
  122. <h3>Field Summary</h3>
  123. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  124. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  125. <tr>
  126. <th class="colFirst" scope="col">Modifier and Type</th>
  127. <th class="colLast" scope="col">Field and Description</th>
  128. </tr>
  129. <tr class="altColor">
  130. <td class="colFirst"><code>static java.lang.String[]</code></td>
  131. <td class="colLast"><code><span class="memberNameLink"><a href="gpio_java.html#action">action</a></span></code>&nbsp;</td>
  132. </tr>
  133. <tr class="rowColor">
  134. <td class="colFirst"><code>static java.lang.String[][]</code></td>
  135. <td class="colLast"><code><span class="memberNameLink"><a href="gpio_java.html#rel_map">rel_map</a></span></code>&nbsp;</td>
  136. </tr>
  137. </table>
  138. </li>
  139. </ul>
  140. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  141. <ul class="blockList">
  142. <li class="blockList"><a name="constructor.summary">
  143. <!-- -->
  144. </a>
  145. <h3>Constructor Summary</h3>
  146. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  147. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  148. <tr>
  149. <th class="colOne" scope="col">Constructor and Description</th>
  150. </tr>
  151. <tr class="altColor">
  152. <td class="colOne"><code><span class="memberNameLink"><a href="gpio_java.html#gpio_java--">gpio_java</a></span>()</code>&nbsp;</td>
  153. </tr>
  154. </table>
  155. </li>
  156. </ul>
  157. <!-- ========== METHOD SUMMARY =========== -->
  158. <ul class="blockList">
  159. <li class="blockList"><a name="method.summary">
  160. <!-- -->
  161. </a>
  162. <h3>Method Summary</h3>
  163. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  164. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  165. <tr>
  166. <th class="colFirst" scope="col">Modifier and Type</th>
  167. <th class="colLast" scope="col">Method and Description</th>
  168. </tr>
  169. <tr id="i0" class="altColor">
  170. <td class="colFirst"><code>static void</code></td>
  171. <td class="colLast"><code><span class="memberNameLink"><a href="gpio_java.html#checkargs-java.lang.String:A-">checkargs</a></span>(java.lang.String[]&nbsp;argumens)</code>
  172. <div class="block">Die checkargs-Methode prft ob zwei korrekte Argumente eingetragen wurden.</div>
  173. </td>
  174. </tr>
  175. <tr id="i1" class="rowColor">
  176. <td class="colFirst"><code>static void</code></td>
  177. <td class="colLast"><code><span class="memberNameLink"><a href="gpio_java.html#gpio_cmdhandler-java.lang.String-java.lang.String-">gpio_cmdhandler</a></span>(java.lang.String&nbsp;port,
  178. java.lang.String&nbsp;cmd)</code>
  179. <div class="block">Die gpio_cmdhandler-Methode schaltet die Relais an oder aus.</div>
  180. </td>
  181. </tr>
  182. <tr id="i2" class="altColor">
  183. <td class="colFirst"><code>static int</code></td>
  184. <td class="colLast"><code><span class="memberNameLink"><a href="gpio_java.html#gpio_getport-java.lang.String-">gpio_getport</a></span>(java.lang.String&nbsp;port)</code>
  185. <div class="block">Die gpio_getport-Methode vergleicht im rel_map welcher port gesucht ist</div>
  186. </td>
  187. </tr>
  188. <tr id="i3" class="rowColor">
  189. <td class="colFirst"><code>static void</code></td>
  190. <td class="colLast"><code><span class="memberNameLink"><a href="gpio_java.html#init_gpio--">init_gpio</a></span>()</code>
  191. <div class="block">Die init_gpio-Methode ist eine schleife die alle rel als output definiert.</div>
  192. </td>
  193. </tr>
  194. <tr id="i4" class="altColor">
  195. <td class="colFirst"><code>static void</code></td>
  196. <td class="colLast"><code><span class="memberNameLink"><a href="gpio_java.html#launchcmd-java.lang.String-">launchcmd</a></span>(java.lang.String&nbsp;cmd)</code>
  197. <div class="block">Die launchcmd-Methode fhrt den prozess aus</div>
  198. </td>
  199. </tr>
  200. <tr id="i5" class="rowColor">
  201. <td class="colFirst"><code>static void</code></td>
  202. <td class="colLast"><code><span class="memberNameLink"><a href="gpio_java.html#main-java.lang.String:A-">main</a></span>(java.lang.String[]&nbsp;args)</code>
  203. <div class="block">Die main-Methode ruft die Funktionen in der gegebenen Reihnfolge auf,
  204. und gibt die @param args weiter.</div>
  205. </td>
  206. </tr>
  207. <tr id="i6" class="altColor">
  208. <td class="colFirst"><code>static void</code></td>
  209. <td class="colLast"><code><span class="memberNameLink"><a href="gpio_java.html#show_usage--">show_usage</a></span>()</code>
  210. <div class="block">Die show_usage-Methode gibt eine Hilfestellung bei falscher Eingabe</div>
  211. </td>
  212. </tr>
  213. </table>
  214. <ul class="blockList">
  215. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  216. <!-- -->
  217. </a>
  218. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  219. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  220. </ul>
  221. </li>
  222. </ul>
  223. </li>
  224. </ul>
  225. </div>
  226. <div class="details">
  227. <ul class="blockList">
  228. <li class="blockList">
  229. <!-- ============ FIELD DETAIL =========== -->
  230. <ul class="blockList">
  231. <li class="blockList"><a name="field.detail">
  232. <!-- -->
  233. </a>
  234. <h3>Field Detail</h3>
  235. <a name="rel_map">
  236. <!-- -->
  237. </a>
  238. <ul class="blockList">
  239. <li class="blockList">
  240. <h4>rel_map</h4>
  241. <pre>public static&nbsp;java.lang.String[][] rel_map</pre>
  242. </li>
  243. </ul>
  244. <a name="action">
  245. <!-- -->
  246. </a>
  247. <ul class="blockListLast">
  248. <li class="blockList">
  249. <h4>action</h4>
  250. <pre>public static&nbsp;java.lang.String[] action</pre>
  251. </li>
  252. </ul>
  253. </li>
  254. </ul>
  255. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  256. <ul class="blockList">
  257. <li class="blockList"><a name="constructor.detail">
  258. <!-- -->
  259. </a>
  260. <h3>Constructor Detail</h3>
  261. <a name="gpio_java--">
  262. <!-- -->
  263. </a>
  264. <ul class="blockListLast">
  265. <li class="blockList">
  266. <h4>gpio_java</h4>
  267. <pre>public&nbsp;gpio_java()</pre>
  268. </li>
  269. </ul>
  270. </li>
  271. </ul>
  272. <!-- ============ METHOD DETAIL ========== -->
  273. <ul class="blockList">
  274. <li class="blockList"><a name="method.detail">
  275. <!-- -->
  276. </a>
  277. <h3>Method Detail</h3>
  278. <a name="main-java.lang.String:A-">
  279. <!-- -->
  280. </a>
  281. <ul class="blockList">
  282. <li class="blockList">
  283. <h4>main</h4>
  284. <pre>public static&nbsp;void&nbsp;main(java.lang.String[]&nbsp;args)</pre>
  285. <div class="block">Die main-Methode ruft die Funktionen in der gegebenen Reihnfolge auf,
  286. und gibt die @param args weiter.</div>
  287. <dl>
  288. <dt><span class="paramLabel">Parameters:</span></dt>
  289. <dd><code>args</code> - Commandline argument der main funktion</dd>
  290. </dl>
  291. </li>
  292. </ul>
  293. <a name="checkargs-java.lang.String:A-">
  294. <!-- -->
  295. </a>
  296. <ul class="blockList">
  297. <li class="blockList">
  298. <h4>checkargs</h4>
  299. <pre>public static&nbsp;void&nbsp;checkargs(java.lang.String[]&nbsp;argumens)</pre>
  300. <div class="block">Die checkargs-Methode prft ob zwei korrekte Argumente eingetragen wurden.</div>
  301. <dl>
  302. <dt><span class="paramLabel">Parameters:</span></dt>
  303. <dd><code>argumens</code> - - Commandline argument</dd>
  304. </dl>
  305. </li>
  306. </ul>
  307. <a name="init_gpio--">
  308. <!-- -->
  309. </a>
  310. <ul class="blockList">
  311. <li class="blockList">
  312. <h4>init_gpio</h4>
  313. <pre>public static&nbsp;void&nbsp;init_gpio()</pre>
  314. <div class="block">Die init_gpio-Methode ist eine schleife die alle rel als output definiert.</div>
  315. </li>
  316. </ul>
  317. <a name="gpio_getport-java.lang.String-">
  318. <!-- -->
  319. </a>
  320. <ul class="blockList">
  321. <li class="blockList">
  322. <h4>gpio_getport</h4>
  323. <pre>public static&nbsp;int&nbsp;gpio_getport(java.lang.String&nbsp;port)</pre>
  324. <div class="block">Die gpio_getport-Methode vergleicht im rel_map welcher port gesucht ist</div>
  325. <dl>
  326. <dt><span class="paramLabel">Parameters:</span></dt>
  327. <dd><code>port</code> - - erster eingabe Wert der CMD Zeile</dd>
  328. <dt><span class="returnLabel">Returns:</span></dt>
  329. <dd>idx - gibt den idx Wert aus rel_map zurck</dd>
  330. </dl>
  331. </li>
  332. </ul>
  333. <a name="gpio_cmdhandler-java.lang.String-java.lang.String-">
  334. <!-- -->
  335. </a>
  336. <ul class="blockList">
  337. <li class="blockList">
  338. <h4>gpio_cmdhandler</h4>
  339. <pre>public static&nbsp;void&nbsp;gpio_cmdhandler(java.lang.String&nbsp;port,
  340. java.lang.String&nbsp;cmd)</pre>
  341. <div class="block">Die gpio_cmdhandler-Methode schaltet die Relais an oder aus.</div>
  342. <dl>
  343. <dt><span class="paramLabel">Parameters:</span></dt>
  344. <dd><code>port</code> - Relais(1-8)</dd>
  345. <dd><code>cmd</code> - Aktion (on/off/status)</dd>
  346. </dl>
  347. </li>
  348. </ul>
  349. <a name="show_usage--">
  350. <!-- -->
  351. </a>
  352. <ul class="blockList">
  353. <li class="blockList">
  354. <h4>show_usage</h4>
  355. <pre>public static&nbsp;void&nbsp;show_usage()</pre>
  356. <div class="block">Die show_usage-Methode gibt eine Hilfestellung bei falscher Eingabe</div>
  357. </li>
  358. </ul>
  359. <a name="launchcmd-java.lang.String-">
  360. <!-- -->
  361. </a>
  362. <ul class="blockListLast">
  363. <li class="blockList">
  364. <h4>launchcmd</h4>
  365. <pre>public static&nbsp;void&nbsp;launchcmd(java.lang.String&nbsp;cmd)</pre>
  366. <div class="block">Die launchcmd-Methode fhrt den prozess aus</div>
  367. <dl>
  368. <dt><span class="paramLabel">Parameters:</span></dt>
  369. <dd><code>cmd</code> - - erster eingabe Wert der CMD Zeile</dd>
  370. </dl>
  371. </li>
  372. </ul>
  373. </li>
  374. </ul>
  375. </li>
  376. </ul>
  377. </div>
  378. </div>
  379. <!-- ========= END OF CLASS DATA ========= -->
  380. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  381. <div class="bottomNav"><a name="navbar.bottom">
  382. <!-- -->
  383. </a>
  384. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  385. <a name="navbar.bottom.firstrow">
  386. <!-- -->
  387. </a>
  388. <ul class="navList" title="Navigation">
  389. <li><a href="package-summary.html">Package</a></li>
  390. <li class="navBarCell1Rev">Class</li>
  391. <li><a href="package-tree.html">Tree</a></li>
  392. <li><a href="deprecated-list.html">Deprecated</a></li>
  393. <li><a href="index-all.html">Index</a></li>
  394. <li><a href="help-doc.html">Help</a></li>
  395. </ul>
  396. </div>
  397. <div class="subNav">
  398. <ul class="navList">
  399. <li>Prev&nbsp;Class</li>
  400. <li>Next&nbsp;Class</li>
  401. </ul>
  402. <ul class="navList">
  403. <li><a href="index.html?gpio_java.html" target="_top">Frames</a></li>
  404. <li><a href="gpio_java.html" target="_top">No&nbsp;Frames</a></li>
  405. </ul>
  406. <ul class="navList" id="allclasses_navbar_bottom">
  407. <li><a href="allclasses-noframe.html">All&nbsp;Classes</a></li>
  408. </ul>
  409. <div>
  410. <script type="text/javascript"><!--
  411. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  412. if(window==top) {
  413. allClassesLink.style.display = "block";
  414. }
  415. else {
  416. allClassesLink.style.display = "none";
  417. }
  418. //-->
  419. </script>
  420. </div>
  421. <div>
  422. <ul class="subNavList">
  423. <li>Summary:&nbsp;</li>
  424. <li>Nested&nbsp;|&nbsp;</li>
  425. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  426. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  427. <li><a href="#method.summary">Method</a></li>
  428. </ul>
  429. <ul class="subNavList">
  430. <li>Detail:&nbsp;</li>
  431. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  432. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  433. <li><a href="#method.detail">Method</a></li>
  434. </ul>
  435. </div>
  436. <a name="skip.navbar.bottom">
  437. <!-- -->
  438. </a></div>
  439. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  440. </body>
  441. </html>