Rev 223 | Rev 242 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 223 | Rev 224 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | public interface DUBwiseUIDefinitions |
1 | public interface DUBwiseUIDefinitions |
2 | { |
2 | { |
3 | - | ||
4 | - | ||
5 | // id for each state - must just be uniq - order isnt important |
3 | // id for each state - must just be uniq - order isnt important |
6 | public final static byte STATEID_INITIAL =0; |
4 | public final static byte STATEID_INITIAL =0; |
7 | public final static byte STATEID_DEVICESELECT =1; |
5 | public final static byte STATEID_DEVICESELECT =1; |
8 | public final static byte STATEID_MAINMENU =2; |
6 | public final static byte STATEID_MAINMENU =2; |
9 | public final static byte STATEID_MOTORTEST =3; |
7 | public final static byte STATEID_MOTORTEST =3; |
Line 24... | Line 22... | ||
24 | public final static byte STATEID_IPINPUT =18; |
22 | public final static byte STATEID_IPINPUT =18; |
25 | public final static byte STATEID_PROXY =19; |
23 | public final static byte STATEID_PROXY =19; |
26 | public final static byte STATEID_TRAFFIC =20; |
24 | public final static byte STATEID_TRAFFIC =20; |
27 | public final static byte STATEID_SELECT_COMPORT =21; |
25 | public final static byte STATEID_SELECT_COMPORT =21; |
28 | public final static byte STATEID_ABOUT =22; |
26 | public final static byte STATEID_ABOUT =22; |
29 | public final static byte STATEID_NC_ERRORS =23; |
27 | public final static byte STATEID_ERROR_MSG =23; |
30 | public final static byte STATEID_FLASHING =24; |
28 | public final static byte STATEID_FLASHING =24; |
31 | public final static byte STATEID_NAMEINPUT =25; |
29 | public final static byte STATEID_NAMEINPUT =25; |
32 | public final static byte STATEID_DATABUFF =26; |
30 | public final static byte STATEID_DATABUFF =26; |
33 | public final static byte STATEID_HORIZON =27; |
31 | public final static byte STATEID_HORIZON =27; |
34 | //public final static byte STATEID_SELECT_SPEED_FORMAT=28; |
32 | public final static byte STATEID_SUCCESS_MSG =28; |
35 | public final static byte STATEID_STRINGINPUT =29; |
33 | public final static byte STATEID_STRINGINPUT =29; |
36 | public final static byte STATEID_SCANNING =30; |
34 | public final static byte STATEID_SCANNING =30; |
- | 35 | public final static byte STATEID_RESET_PARAMS =31; |
|
- | 36 | public final static byte STATEID_PARAM_MENU =32; |
|
37 | public final static byte LAST_STATEID =30; |
37 | public final static byte STATEID_COUNT =33; |
Line 38... | Line 38... | ||
38 | 38 | ||
39 | 39 | ||
Line 65... | Line 65... | ||
65 | public final static byte ACTIONID_MAINMENU = 21; |
65 | public final static byte ACTIONID_MAINMENU = 21; |
Line 66... | Line 66... | ||
66 | 66 | ||
67 | 67 | ||
68 | public final static byte ACTIONID_HORIZON = 22; |
- | |
69 | public final static byte ACTIONID_WRITE_PARAM_AS = 23; |
68 | public final static byte ACTIONID_HORIZON = 22; |
70 | // public final static byte ACTIONID_SOUNDTOGGLE = 23; |
69 | public final static byte ACTIONID_WRITE_PARAM_AS = 23; |
71 | // public final static byte ACTIONID_VIBRATOGGLE = 24; |
70 | public final static byte ACTIONID_PARAM_WRITE_OK = 24; |
72 | // public final static byte ACTIONID_GRAPHTOGGLE = 25; |
71 | public final static byte ACTIONID_PARAM_MENU = 25; |
73 | // public final static byte ACTIONID_FULLSCREENTOGGLE = 26; |
72 | // public final static byte ACTIONID_FULLSCREENTOGGLE = 26; |
Line 82... | Line 81... | ||
82 | public final static byte ACTIONID_PROXY_INPUT =33; |
81 | public final static byte ACTIONID_PROXY_INPUT =33; |
83 | public final static byte ACTIONID_FLASH =34; |
82 | public final static byte ACTIONID_FLASH =34; |
84 | public final static byte ACTIONID_RESET_PARAMS =35; |
83 | public final static byte ACTIONID_RESET_PARAMS =35; |
Line 85... | Line 84... | ||
85 | 84 | ||
86 | public final static byte ACTIONID_BACK_TO_CONNDETAILS=36; |
85 | public final static byte ACTIONID_BACK_TO_CONNDETAILS=36; |
87 | // public final static byte ACTIONID_SELECT_GPS_FORMAT=37; |
86 | public final static byte ACTIONID_SELECT_PARAMS =37; |
88 | // public final static byte ACTIONID_SET_GPS_FORMAT_DECIMAL=38; |
87 | // public final static byte ACTIONID_SET_GPS_FORMAT_DECIMAL=38; |
Line 100... | Line 99... | ||
100 | 99 | ||
Line -... | Line 100... | ||
- | 100 | ||
- | 101 | public final static byte ACTIONID_QUIT = 100; |
|
- | 102 | ||
- | 103 | ||
- | 104 | public final static String[] param_menu_items={"Edit Settings","Reinitialize all","back"}; |
|
- | 105 | public final static byte[] param_menu_actions={ACTIONID_SELECT_PARAMS,ACTIONID_RESET_PARAMS,ACTIONID_MAINMENU}; |
|
- | 106 | ||
- | 107 | ||
Line 101... | Line -... | ||
101 | - | ||
102 | public final static byte ACTIONID_QUIT = 100; |
108 | public final static String[] handle_params_menu_items={"Edit Content","Rename","Save AS","Save","Read Again","back"}; |
Line -... | Line 109... | ||
- | 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 | ||
- | 112 | ||
Line 103... | Line 113... | ||
103 | 113 | //ACTIONID_WRITE_PARAMS,ACTIONID_WRITE_PARAM_AS,ACTIONID_UNDO_PARAMS,ACTIONID_RENAME_PARAMS,ACTIONID_MAINMENU}; |
|
104 | 114 |