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