Rev 475 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 475 | Rev 502 | ||
---|---|---|---|
Line 11... | Line 11... | ||
11 | public class MKDebugData |
11 | public class MKDebugData |
Line 12... | Line 12... | ||
12 | 12 | ||
Line 13... | Line 13... | ||
13 | { |
13 | { |
- | 14 | ||
- | 15 | public int[] analog; |
|
14 | 16 | public String[] names; |
|
Line 15... | Line 17... | ||
15 | public int[] analog; |
17 | public boolean[] got_name; |
Line 31... | Line 33... | ||
31 | 33 | ||
32 | 34 | ||
- | 35 | ||
33 | 36 | public MKDebugData() |
|
- | 37 | { |
|
34 | public MKDebugData() |
38 | names=new String[32]; |
- | 39 | analog=new int[32]; |
|
35 | { |
40 | got_name=new boolean[32]; |
- | 41 | for (i=0;i<32;i++) |
|
- | 42 | { |
|
- | 43 | analog[i]=-1; |
|
Line 36... | Line 44... | ||
36 | analog=new int[32]; |
44 | names[i]="-#"+i+"->"; |
Line -... | Line 45... | ||
- | 45 | got_name[i]=false; |
|
- | 46 | } |
|
- | 47 | ||
- | 48 | } |
|
- | 49 | ||
- | 50 | public void set_names_by_mk_data(int id,int[] in_arr) |
|
- | 51 | { |
|
- | 52 | names[id]=""; |
|
- | 53 | for (i=0;i<16;i++) |
|
- | 54 | { |
|
- | 55 | if ((char)in_arr[i]!=' ') |
|
- | 56 | names[id]+=(char)in_arr[i]; |
|
37 | for (i=0;i<32;i++) |
57 | got_name[id]=true; |
38 | analog[i]=-1; |
58 | } |
Line 39... | Line 59... | ||
39 | 59 | names[id]+=":"; |
|
40 | } |
60 | } |