root / hci / trunk / .metadata / .plugins / org.eclipse.core.resources / .history / d8 / 00811905c211001014a7aaca645a4b74 @ 3
History | View | Annotate | Download (601 Bytes)
1 | 3 | alexbesir | package com.eneraptor.hci |
---|---|---|---|
2 | |||
3 | import java.util.Date |
||
4 | |||
5 | class LogicRequestController { |
||
6 | |||
7 | def testConnection = { |
||
8 | |||
9 | def output = ""; |
||
10 | output += (new Date().toString() + " Conection test using\n") |
||
11 | output += (" Logic IP address: " + InternalConfig.findByConfigId('logic-ip').configVal + "\n") |
||
12 | output += (" Logic port number: " + InternalConfig.findByConfigId('logic-port').configVal + "\n") |
||
13 | |||
14 | output += ("Test started" + "\n") |
||
15 | output += (" Error: " + "Connection implementation missing." + "\n") |
||
16 | output += ("Test ended" + "\n") |
||
17 | |||
18 | [output:output] |
||
19 | |||
20 | } |
||
21 | |||
22 | } |