Rev 224 | Rev 245 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 224 | Rev 242 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | public final static byte STATEID_PARAM_MENU =32; |
36 | public final static byte STATEID_PARAM_MENU =32; |
37 | public final static byte STATEID_COUNT =33; |
37 | public final static byte STATEID_COUNT =33; |
Line 38... | Line 38... | ||
38 | 38 | ||
39 | 39 | ||
40 | 40 | ||
41 | public final static byte ACTIONID_SETTINGS = 0; |
41 | public final static byte ACTIONID_SETTINGS = 0; |
42 | public final static byte ACTIONID_DEVICESELECT = 1; |
42 | public final static byte ACTIONID_DEVICESELECT = 1; |
43 | public final static byte ACTIONID_DEBUG = 2; |
43 | public final static byte ACTIONID_DEBUG = 2; |
44 | public final static byte ACTIONID_CONN_DETAILS = 3; |
- | |
45 | public final static byte ACTIONID_SWITCH_NC = 4; |
44 | public final static byte ACTIONID_CONN_DETAILS = 3; |
46 | public final static byte ACTIONID_SWITCH_FC = 5; |
45 | public final static byte ACTIONID_SWITCH_NC = 4; |
47 | 46 | public final static byte ACTIONID_SWITCH_FC = 5; |
|
48 | public final static byte ACTIONID_GRAPH = 6; |
47 | public final static byte ACTIONID_GRAPH = 6; |
49 | public final static byte ACTIONID_LCD = 7; |
48 | public final static byte ACTIONID_LCD = 7; |
50 | public final static byte ACTIONID_RAWDEBUG = 8; |
49 | public final static byte ACTIONID_RAWDEBUG = 8; |
51 | public final static byte ACTIONID_RCDATA = 9; |
50 | public final static byte ACTIONID_RCDATA = 9; |
52 | public final static byte ACTIONID_KEYCONTROL = 10; |
51 | public final static byte ACTIONID_KEYCONTROL = 10; |
53 | public final static byte ACTIONID_MOTORTEST = 11; |
52 | public final static byte ACTIONID_MOTORTEST = 11; |
54 | public final static byte ACTIONID_EDIT_PARAMS = 12; |
53 | public final static byte ACTIONID_EDIT_PARAMS = 12; |
55 | public final static byte ACTIONID_CAM = 13; |
54 | public final static byte ACTIONID_CAM = 13; |
56 | public final static byte ACTIONID_PROXY = 14; |
55 | public final static byte ACTIONID_PROXY = 14; |
57 | public final static byte ACTIONID_GPSDATA = 15; |
56 | public final static byte ACTIONID_GPSDATA = 15; |
58 | public final static byte ACTIONID_TRAFFIC = 16; |
- | |
59 | public final static byte ACTIONID_ABOUT = 17; |
- | |
60 | public final static byte ACTIONID_NC_ERRORS = 18; |
57 | public final static byte ACTIONID_TRAFFIC = 16; |
61 | 58 | public final static byte ACTIONID_ABOUT = 17; |
|
62 | 59 | public final static byte ACTIONID_NC_ERRORS = 18; |
|
63 | public final static byte ACTIONID_WRITE_PARAMS = 19; |
- | |
64 | public final static byte ACTIONID_UNDO_PARAMS = 20; |
- | |
65 | public final static byte ACTIONID_MAINMENU = 21; |
60 | public final static byte ACTIONID_WRITE_PARAMS = 19; |
66 | 61 | public final static byte ACTIONID_UNDO_PARAMS = 20; |
|
67 | 62 | public final static byte ACTIONID_MAINMENU = 21; |
|
68 | public final static byte ACTIONID_HORIZON = 22; |
63 | public final static byte ACTIONID_HORIZON = 22; |
69 | public final static byte ACTIONID_WRITE_PARAM_AS = 23; |
64 | public final static byte ACTIONID_WRITE_PARAM_AS = 23; |
70 | public final static byte ACTIONID_PARAM_WRITE_OK = 24; |
65 | public final static byte ACTIONID_PARAM_WRITE_OK = 24; |
71 | public final static byte ACTIONID_PARAM_MENU = 25; |
66 | public final static byte ACTIONID_PARAM_MENU = 25; |
72 | // public final static byte ACTIONID_FULLSCREENTOGGLE = 26; |
- | |
73 | // public final static byte ACTIONID_LIGHTTOGGLE =27; |
- | |
74 | public final static byte ACTIONID_DATABUFF =28; |
67 | public final static byte ACTIONID_PARAM_LOAD_MOBILE = 26; |
75 | 68 | public final static byte ACTIONID_PARAM_COPY_MOBILE = 27; |
|
76 | 69 | public final static byte ACTIONID_DATABUFF = 28; |
|
77 | public final static byte ACTIONID_SWITCH_MK3MAG = 29; |
70 | public final static byte ACTIONID_SWITCH_MK3MAG = 29; |
78 | public final static byte ACTIONID_CONNECT_TCP =30; |
71 | public final static byte ACTIONID_CONNECT_TCP = 30; |
79 | public final static byte ACTIONID_SCAN_BT =31; |
72 | public final static byte ACTIONID_SCAN_BT = 31; |
80 | public final static byte ACTIONID_SELECT_COM =32; |
73 | public final static byte ACTIONID_SELECT_COM = 32; |
81 | public final static byte ACTIONID_PROXY_INPUT =33; |
- | |
82 | public final static byte ACTIONID_FLASH =34; |
74 | public final static byte ACTIONID_PROXY_INPUT = 33; |
83 | public final static byte ACTIONID_RESET_PARAMS =35; |
75 | public final static byte ACTIONID_FLASH = 34; |
84 | - | ||
85 | public final static byte ACTIONID_BACK_TO_CONNDETAILS=36; |
- | |
86 | public final static byte ACTIONID_SELECT_PARAMS =37; |
- | |
87 | // public final static byte ACTIONID_SET_GPS_FORMAT_DECIMAL=38; |
- | |
88 | // public final static byte ACTIONID_SET_GPS_FORMAT_MINSEC=39; |
- | |
89 | - | ||
90 | - | ||
91 | - | ||
92 | //public final static byte ACTIONID_SELECT_SPEED_FORMAT=40; |
- | |
93 | //public final static byte ACTIONID_SET_SPEED_FORMAT_KMH=41; |
- | |
94 | //public final static byte ACTIONID_SET_SPEED_FORMAT_MPH=42; |
76 | public final static byte ACTIONID_RESET_PARAMS = 35; |
95 | //public final static byte ACTIONID_SET_SPEED_FORMAT_CMS=43; |
77 | public final static byte ACTIONID_BACK_TO_CONNDETAILS = 36; |
Line 96... | Line -... | ||
96 | - | ||
Line 97... | Line 78... | ||
97 | public final static byte ACTIONID_RENAME_PARAMS=44; |
78 | public final static byte ACTIONID_SELECT_PARAMS = 37; |
98 | //public final static byte ACTIONID_TOGGLE_EXPERT=45; |
79 | public final static byte ACTIONID_RENAME_PARAMS = 38; |
Line 99... | Line 80... | ||
99 | 80 | public final static byte ACTIONID_QUIT = 100; |
|
100 | 81 | ||
Line 101... | Line -... | ||
101 | public final static byte ACTIONID_QUIT = 100; |
- | |
102 | - | ||
103 | - | ||
104 | public final static String[] param_menu_items={"Edit Settings","Reinitialize all","back"}; |
82 | |
105 | public final static byte[] param_menu_actions={ACTIONID_SELECT_PARAMS,ACTIONID_RESET_PARAMS,ACTIONID_MAINMENU}; |
- | |
106 | - | ||
107 | - | ||
108 | public final static String[] handle_params_menu_items={"Edit Content","Rename","Save AS","Save","Read Again","back"}; |
- | |
109 | public final static byte[] handle_params_menu_actions={ACTIONID_EDIT_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_WRITE_PARAMS,ACTIONID_UNDO_PARAMS,ACTIONID_SELECT_PARAMS }; |
- | |
110 | - | ||
111 | 83 | ||
112 | 84 | ||
113 | //ACTIONID_WRITE_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_UNDO_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_MAINMENU}; |
- | |
114 | - | ||
115 | /* |
- | |
116 | public final static String[] handle_params_menu_items={"save","save as","discard/read again","rename","to Main-Menu"}; |
- | |
117 | public final static byte[] handle_params_menu_actions={ACTIONID_WRITE_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_UNDO_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_MAINMENU}; |
- | |
118 | */ |
- | |
119 | - | ||
120 | - | ||
121 | - | ||
122 | public final static String[] conn_details_menu_items={ "packet Traffic","view Data","connect via TCP/IP","connect via BT","connect via COM","set Proxy","back" }; |
- | |
123 | public final static byte[] conn_details_menu_actions={ ACTIONID_TRAFFIC,ACTIONID_DATABUFF,ACTIONID_CONNECT_TCP,ACTIONID_SCAN_BT, ACTIONID_SELECT_COM,ACTIONID_PROXY_INPUT,ACTIONID_MAINMENU}; |
- | |
124 | - | ||
125 | - | ||
126 | /* |
- | |
127 | public final static String[] set_gps_format_menu_items={ "Decimal" , "Min/Sec","Back" }; |
- | |
128 | public final static byte[] set_gps_format_menu_actions={ ACTIONID_SET_GPS_FORMAT_DECIMAL , ACTIONID_SET_GPS_FORMAT_MINSEC,ACTIONID_MAINMENU}; |
- | |
129 | - | ||
130 | - | ||
131 | - | ||
132 | public final static String[] set_speed_format_menu_items={ "Kilometers/Hour" , "Miles/Hour", "CM/Sec","Back" }; |
- | |
133 | public final static byte[] set_speed_format_menu_actions={ ACTIONID_SET_SPEED_FORMAT_KMH , ACTIONID_SET_SPEED_FORMAT_MPH , ACTIONID_SET_SPEED_FORMAT_CMS,ACTIONID_SETTINGS}; |
- | |
134 | - | ||
135 | - | ||
136 | - | ||
137 | public final static String[] settings_menu_items={"Skin ","Sound ","Vibra " ,"Scrolling BG ","FullScreen " ,"GPS-Format","Speed-Format", |
- | |
138 | //#if devicecontrol=="on" |
- | |
139 | "Keep BGLight " , |
- | |
140 | //#endif |
- | |
141 | "Expert Mode", |
- | |
142 | "Back" }; |
85 | public final static String[] param_menu_items={"Edit Settings","Copy all to Mobile","Load from Mobile","Reinitialize all","back"}; |
- | 86 | public final static byte[] param_menu_actions={ACTIONID_SELECT_PARAMS,ACTIONID_PARAM_COPY_MOBILE,ACTIONID_PARAM_LOAD_MOBILE,ACTIONID_RESET_PARAMS,ACTIONID_MAINMENU}; |
|
143 | 87 | ||
144 | 88 | ||
Line 145... | Line -... | ||
145 | public final static byte[] settings_menu_actions={ ACTIONID_CHANGESKIN,ACTIONID_SOUNDTOGGLE, ACTIONID_VIBRATOGGLE , ACTIONID_GRAPHTOGGLE , ACTIONID_FULLSCREENTOGGLE ,ACTIONID_SELECT_GPS_FORMAT,ACTIONID_SELECT_SPEED_FORMAT, |
- | |
146 | //#if devicecontrol=="on" |
- | |
147 | ACTIONID_LIGHTTOGGLE, |
- | |
148 | //#endif |
89 | public final static String[] handle_params_menu_items={"Edit Content","Rename","Save AS","Save","Read Again","back"}; |
149 | ACTIONID_TOGGLE_EXPERT, |
90 | public final static byte[] handle_params_menu_actions={ACTIONID_EDIT_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_WRITE_PARAMS,ACTIONID_UNDO_PARAMS,ACTIONID_SELECT_PARAMS }; |