| | |
| | | android:orientation="vertical" |
| | | android:padding="10dp" |
| | | android:layout_weight="4"> |
| | | <LinearLayout |
| | | <RelativeLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:layout_weight="2" |
| | | android:orientation="vertical"> |
| | | > |
| | | <TextView |
| | | android:id="@+id/agv_battery" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="14sp" |
| | | android:text="电量:100%" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_no" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="14sp" |
| | | android:text="AGV编号:1" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_status" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="14sp" |
| | | android:text="AGV状态:空闲" |
| | | android:textColor="#FFFFFF" /> |
| | | android:layout_weight="2"> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" > |
| | | android:layout_height="match_parent" |
| | | android:orientation="vertical"> |
| | | > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:id="@+id/agv_battery" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="当前位置" |
| | | android:textSize="14sp" |
| | | android:text="电量:100%" |
| | | android:textColor="#FFFFFF" /> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | > |
| | | <TextView |
| | | android:id="@+id/agv_no" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="14sp" |
| | | android:text="AGV编号:1" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="14sp" |
| | | android:text=" " |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/socket" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="14sp" |
| | | android:text="--" |
| | | android:textColor="#FFFFFF" /> |
| | | </LinearLayout> |
| | | |
| | | <TextView |
| | | android:id="@+id/agv_position_id" |
| | | android:layout_width="wrap_content" |
| | | android:id="@+id/agv_status" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="ID:9987" |
| | | android:textSize="14sp" |
| | | android:text="AGV状态:空闲" |
| | | android:textColor="#FFFFFF" /> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" > |
| | | <TextView |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="当前位置" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_position_id" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="ID:9987" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_position_x" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="(X):123087" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_position_y" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="(Y):432311" |
| | | android:textColor="#FFFFFF" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" > |
| | | <TextView |
| | | android:id="@+id/agv_position_height" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="当前高度:100mm" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_ford" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="货叉伸出距离:30mm" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_ratio" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="货叉旋转角度:90°" |
| | | android:textColor="#FFFFFF" /> |
| | | </LinearLayout> |
| | | <TextView |
| | | android:id="@+id/agv_position_x" |
| | | android:id="@+id/agv_error" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="(X):123087" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_position_y" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="(Y):432311" |
| | | android:text="AGV故障:导航故障 > 待机状态下丢码" |
| | | android:textColor="#FFFFFF" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="wrap_content" > |
| | | <TextView |
| | | android:id="@+id/agv_position_height" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="当前高度:100mm" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_ford" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="货叉伸出距离:30mm" |
| | | android:textColor="#FFFFFF" /> |
| | | <TextView |
| | | android:id="@+id/agv_ratio" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="货叉旋转角度:90°" |
| | | android:textColor="#FFFFFF" /> |
| | | </LinearLayout> |
| | | <TextView |
| | | android:id="@+id/agv_error" |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/relogin_button" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:gravity="" |
| | | android:textSize="12sp" |
| | | android:layout_marginRight="10dp" |
| | | android:text="AGV故障:导航故障 > 待机状态下丢码" |
| | | android:textColor="#FFFFFF" /> |
| | | </LinearLayout> |
| | | <LinearLayout |
| | | android:layout_alignParentEnd="true" |
| | | android:layout_alignParentTop="true" |
| | | android:layout_marginLeft="20sp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_marginRight="10sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:minWidth="10dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:text="重新登录" |
| | | app:cornerRadius="5dp" /> |
| | | </RelativeLayout> |
| | | |
| | | <RelativeLayout |
| | | android:layout_width="match_parent" |
| | | android:layout_height="0dp" |
| | | android:layout_weight="1" |
| | |
| | | android:radius="10dp" |
| | | > |
| | | <TextView |
| | | android:id="@+id/recent_log_text_view" |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:text="上行:1232132121" |
| | | android:scrollbars="vertical" |
| | | /> |
| | | <TextView |
| | | android:layout_width="match_parent" |
| | | android:layout_height="match_parent" |
| | | android:text="下行:1232132121" |
| | | /> |
| | | </LinearLayout> |
| | | <com.google.android.material.button.MaterialButton |
| | | android:id="@+id/view_all_logs_button" |
| | | android:layout_width="wrap_content" |
| | | android:layout_height="wrap_content" |
| | | android:layout_alignParentBottom="true" |
| | | android:layout_alignParentEnd="true" |
| | | android:layout_margin="16dp" |
| | | android:layout_marginLeft="20sp" |
| | | android:layout_centerVertical="true" |
| | | android:layout_alignParentLeft="true" |
| | | android:layout_marginRight="20sp" |
| | | android:backgroundTint="#2196F3" |
| | | android:minWidth="10dp" |
| | | android:paddingLeft="10dp" |
| | | android:paddingRight="10dp" |
| | | android:text="全部信息" |
| | | app:cornerRadius="5dp" /> |
| | | </RelativeLayout> |
| | | </LinearLayout> |
| | | |
| | | <!-- **************** 底盘 **************** --> |