| 104 | return obj.get_command_result_display() |
| 105 | |
| 106 | command_result_display.short_description = 'Command Result' |
| 107 | |
| 108 | fieldsets = ( |
| 109 | ('Vehicle Info', { |
| 110 | 'fields': ('tcu_type', 'vin', 'sms_config', 'hmac_key', 'vehicle_code1', 'vehicle_code2', |
| 111 | 'vehicle_code3', 'vehicle_code4', 'nickname', 'owner', 'odometer', 'signal_level', 'carrier', 'map_version', 'navi_version') |
| 112 | }), |
| 113 | ('Timer', { |
| 114 | 'fields': ('timer_commands',) |
| 115 | }), |
| 116 | ('TCU Info', { |
| 117 | 'fields': ('tcu_model', 'tcu_serial', 'iccid', 'tcu_ver', |
| 118 | 'tcu_user', 'tcu_pass', 'last_connection', 'disable_auth') |
| 119 | }), |
| 120 | ('Related Objects', { |
nothing calls this directly
no outgoing calls
no test coverage detected