| | |
| | | { |
| | | "main_ant": [123.3, 85.5], |
| | | "axial": [0, 18], |
| | | "left_front_tire": [4, 5], |
| | | "right_front_tire": [6, 7], |
| | | "left_rear_tire": [8, 9], |
| | | "right_rear_tire": [10, 11], |
| | | "point": [-11.9669, 28.013, -11.5114, 27.137, -10.8069, 27.5039, -10.2969, 26.4212, -9.2102, 26.8894, -9.6513, 28.0027, -8.9758, 28.3797, -9.5057, 29.3232] |
| | | "main_ant": [0, 0], |
| | | "axial": [0, 3], |
| | | "left_front_tire": [1, 0], |
| | | "right_front_tire": [5, 0], |
| | | "left_rear_tire": [2, 3], |
| | | "right_rear_tire": [4, 3], |
| | | "point": [0, 2, -1, 2, -1, -1, 0, -1, 1, -1, 1, 2] |
| | | } |
| | |
| | | //1 进入(正在进行考试) 2-待考 |
| | | private int enter; |
| | | |
| | | |
| | | |
| | | public ExamStatus(int map_id, int enter) { |
| | | this.map_id = map_id; |
| | | this.enter = enter; |
| | |
| | | public void setEnter(int enter) { |
| | | this.enter = enter; |
| | | } |
| | | |
| | | |
| | | } |
| | |
| | | @Override |
| | | public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { |
| | | View view = inflater.inflate(R.layout.layout_train_fragment, container, false); |
| | | item_conents.add("侧方停车"); |
| | | initView(view); |
| | | |
| | | FailedProjViewModel failedProjViewModel = ViewModelProviders.of(this).get(FailedProjViewModel.class); |
| | |
| | | } |
| | | }); |
| | | |
| | | item_conents.add("侧方停车"); |
| | | |
| | | return view; |
| | | } |
| | | |
| | |
| | | av_zhijiao = view.findViewById(R.id.av1); |
| | | houseView = view.findViewById(R.id.hv); |
| | | //粉红色正在进行该项目的考试 |
| | | examStatusList.add(new ExamStatus(1, 2)); |
| | | examStatusList.add(new ExamStatus(1, 0)); |
| | | examStatusList.add(new ExamStatus(2, 1)); |
| | | examStatusList.add(new ExamStatus(3, 0)); |
| | | examStatusList.add(new ExamStatus(4, 2)); |
| | |
| | | av_park.setColor(whatPaintColor(examStatusList.get(2))); |
| | | houseView.setColor(whatPaintColor(examStatusList.get(0))); |
| | | |
| | | sendRTKConfig2RemoteService(); |
| | | mListView = view.findViewById(R.id.lv); |
| | | mListView.setFocusable(false); |
| | | view.findViewById(R.id.view_map).setOnClickListener(this); |
| | |
| | | |
| | | } |
| | | |
| | | private void sendRTKConfig2RemoteService() { |
| | | // MyLog.d(TAG,"主动推送RTKConfig"); |
| | | // CEventCenter.dispatchEvent(Constant.BIND_RTKCONFIG_TOPIC,Constant.FETCH_RTK_PLATFORM_INFO,0,""); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public void onClick(View v) { |