Rev 1562 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1562 | Rev 1563 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | import java.util.ArrayList; |
11 | import java.util.ArrayList; |
12 | import java.util.Date; |
12 | import java.util.Date; |
13 | import java.util.LinkedList; |
13 | import java.util.LinkedList; |
14 | import java.util.List; |
14 | import java.util.List; |
Line -... | Line 15... | ||
- | 15 | ||
- | 16 | import dongfang.mkt.comm.FrameQueue; |
|
- | 17 | import dongfang.mkt.comm.MKConnection; |
|
- | 18 | import dongfang.mkt.comm.serial.RXTXSerialPort; |
|
15 | 19 | import dongfang.mkt.comm.tcp.MKTCPConnection; |
|
16 | import dongfang.mkt.frames.AnalogDebugLabelRequestFrame; |
20 | import dongfang.mkt.frames.AnalogDebugLabelRequestFrame; |
17 | import dongfang.mkt.frames.AnalogDebugLabelResponseFrame; |
21 | import dongfang.mkt.frames.AnalogDebugLabelResponseFrame; |
18 | import dongfang.mkt.frames.DebugRequestFrame; |
22 | import dongfang.mkt.frames.DebugRequestFrame; |
19 | import dongfang.mkt.frames.DebugResponseFrame; |
23 | import dongfang.mkt.frames.DebugResponseFrame; |
20 | import dongfang.mkt.frames.Frame; |
- | |
21 | import dongfang.mkt.io.MKCommPort; |
- | |
22 | import dongfang.mkt.io.RXTXSerialPort; |
- | |
Line 23... | Line 24... | ||
23 | import dongfang.mkt.serial.FrameQueue; |
24 | import dongfang.mkt.frames.Frame; |
24 | 25 | ||
25 | public class MKDebugLogger { |
26 | public class MKDebugLogger { |
Line 199... | Line 200... | ||
199 | } |
200 | } |
Line 200... | Line 201... | ||
200 | 201 | ||
201 | public static void main(String[] args) throws IOException { |
202 | public static void main(String[] args) throws IOException { |
Line 202... | Line 203... | ||
202 | MKDebugLogger test = new MKDebugLogger(); |
203 | MKDebugLogger test = new MKDebugLogger(); |
203 | 204 | ||
Line 204... | Line 205... | ||
204 | MKCommPort port = new RXTXSerialPort(); |
205 | MKConnection port = new MKTCPConnection(); //RXTXSerialPort(); |
205 | port.init(null); |
206 | port.init("8080"); |
Line 206... | Line 207... | ||
206 | 207 |