设备详情完成部分
parent
68009b4c8c
commit
9a44ca7219
@ -0,0 +1,222 @@
|
||||
package com.rehome.zhdcoa.bean;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class DeviceDetailListResultBean extends DeviceAlarmBaseBean {
|
||||
private List<DeviceDetailItem> data;
|
||||
|
||||
public List<DeviceDetailItem> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<DeviceDetailItem> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
/**
|
||||
* {
|
||||
* "deviceTime": "2026-03-03 15:37:36",
|
||||
* "temperature": 41.3536,
|
||||
* "xDisplacement": 18.3865,
|
||||
* "yDisplacement": 17.2165,
|
||||
* "zDisplacement": 7.43098,
|
||||
* "xSpeed": 1.08465,
|
||||
* "ySpeed": 0.943979,
|
||||
* "zSpeed": 0.689721,
|
||||
* "xAcceleration": 0.999873,
|
||||
* "yAcceleration": 0.913917,
|
||||
* "zAcceleration": 1.03879,
|
||||
* "xDcComponent": -2.87,
|
||||
* "yDcComponent": -2.57828,
|
||||
* "zDcComponent": -9.43139,
|
||||
* "xFrequency": 159.0,
|
||||
* "yFrequency": 592.0,
|
||||
* "zFrequency": 1186.0,
|
||||
* "xFreq": 0.169286,
|
||||
* "yFreq": 0.197543,
|
||||
* "zFreq": 0.217712
|
||||
* }
|
||||
*/
|
||||
public static class DeviceDetailItem {
|
||||
private String deviceTime;//设备时间
|
||||
private Double temperature;//温度
|
||||
private Double xDisplacement;//x轴位移
|
||||
private Double yDisplacement;//y轴位移
|
||||
private Double zDisplacement;//z轴位移
|
||||
private Double xSpeed;//x轴速度
|
||||
private Double ySpeed;//y轴速度
|
||||
private Double zSpeed;//z轴速度
|
||||
private Double xAcceleration;//X轴加速度
|
||||
private Double yAcceleration;//y轴加速度
|
||||
private Double zAcceleration;//z轴加速度
|
||||
private Double xDcComponent;//X轴直流分量
|
||||
private Double yDcComponent;//y轴直流分量
|
||||
private Double zDcComponent;//z轴直流分量
|
||||
private Double xFrequency;//X轴频率
|
||||
private Double yFrequency;//y轴频率
|
||||
private Double zFrequency;//z轴频率
|
||||
private Double xFreq;// x FREQ对应幅值
|
||||
private Double yFreq;// y FREQ对应幅值
|
||||
private Double zFreq;// z FREQ对应幅值
|
||||
|
||||
public String getDeviceTime() {
|
||||
return deviceTime;
|
||||
}
|
||||
|
||||
public void setDeviceTime(String deviceTime) {
|
||||
this.deviceTime = deviceTime;
|
||||
}
|
||||
|
||||
public Double getTemperature() {
|
||||
return temperature;
|
||||
}
|
||||
|
||||
public void setTemperature(Double temperature) {
|
||||
this.temperature = temperature;
|
||||
}
|
||||
|
||||
public Double getxDisplacement() {
|
||||
return xDisplacement;
|
||||
}
|
||||
|
||||
public void setxDisplacement(Double xDisplacement) {
|
||||
this.xDisplacement = xDisplacement;
|
||||
}
|
||||
|
||||
public Double getyDisplacement() {
|
||||
return yDisplacement;
|
||||
}
|
||||
|
||||
public void setyDisplacement(Double yDisplacement) {
|
||||
this.yDisplacement = yDisplacement;
|
||||
}
|
||||
|
||||
public Double getzDisplacement() {
|
||||
return zDisplacement;
|
||||
}
|
||||
|
||||
public void setzDisplacement(Double zDisplacement) {
|
||||
this.zDisplacement = zDisplacement;
|
||||
}
|
||||
|
||||
public Double getxSpeed() {
|
||||
return xSpeed;
|
||||
}
|
||||
|
||||
public void setxSpeed(Double xSpeed) {
|
||||
this.xSpeed = xSpeed;
|
||||
}
|
||||
|
||||
public Double getySpeed() {
|
||||
return ySpeed;
|
||||
}
|
||||
|
||||
public void setySpeed(Double ySpeed) {
|
||||
this.ySpeed = ySpeed;
|
||||
}
|
||||
|
||||
public Double getzSpeed() {
|
||||
return zSpeed;
|
||||
}
|
||||
|
||||
public void setzSpeed(Double zSpeed) {
|
||||
this.zSpeed = zSpeed;
|
||||
}
|
||||
|
||||
public Double getxAcceleration() {
|
||||
return xAcceleration;
|
||||
}
|
||||
|
||||
public void setxAcceleration(Double xAcceleration) {
|
||||
this.xAcceleration = xAcceleration;
|
||||
}
|
||||
|
||||
public Double getyAcceleration() {
|
||||
return yAcceleration;
|
||||
}
|
||||
|
||||
public void setyAcceleration(Double yAcceleration) {
|
||||
this.yAcceleration = yAcceleration;
|
||||
}
|
||||
|
||||
public Double getzAcceleration() {
|
||||
return zAcceleration;
|
||||
}
|
||||
|
||||
public void setzAcceleration(Double zAcceleration) {
|
||||
this.zAcceleration = zAcceleration;
|
||||
}
|
||||
|
||||
public Double getxDcComponent() {
|
||||
return xDcComponent;
|
||||
}
|
||||
|
||||
public void setxDcComponent(Double xDcComponent) {
|
||||
this.xDcComponent = xDcComponent;
|
||||
}
|
||||
|
||||
public Double getyDcComponent() {
|
||||
return yDcComponent;
|
||||
}
|
||||
|
||||
public void setyDcComponent(Double yDcComponent) {
|
||||
this.yDcComponent = yDcComponent;
|
||||
}
|
||||
|
||||
public Double getzDcComponent() {
|
||||
return zDcComponent;
|
||||
}
|
||||
|
||||
public void setzDcComponent(Double zDcComponent) {
|
||||
this.zDcComponent = zDcComponent;
|
||||
}
|
||||
|
||||
public Double getxFrequency() {
|
||||
return xFrequency;
|
||||
}
|
||||
|
||||
public void setxFrequency(Double xFrequency) {
|
||||
this.xFrequency = xFrequency;
|
||||
}
|
||||
|
||||
public Double getyFrequency() {
|
||||
return yFrequency;
|
||||
}
|
||||
|
||||
public void setyFrequency(Double yFrequency) {
|
||||
this.yFrequency = yFrequency;
|
||||
}
|
||||
|
||||
public Double getzFrequency() {
|
||||
return zFrequency;
|
||||
}
|
||||
|
||||
public void setzFrequency(Double zFrequency) {
|
||||
this.zFrequency = zFrequency;
|
||||
}
|
||||
|
||||
public Double getxFreq() {
|
||||
return xFreq;
|
||||
}
|
||||
|
||||
public void setxFreq(Double xFreq) {
|
||||
this.xFreq = xFreq;
|
||||
}
|
||||
|
||||
public Double getyFreq() {
|
||||
return yFreq;
|
||||
}
|
||||
|
||||
public void setyFreq(Double yFreq) {
|
||||
this.yFreq = yFreq;
|
||||
}
|
||||
|
||||
public Double getzFreq() {
|
||||
return zFreq;
|
||||
}
|
||||
|
||||
public void setzFreq(Double zFreq) {
|
||||
this.zFreq = zFreq;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
package com.rehome.zhdcoa.ui.fragment;
|
||||
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
import com.rehome.zhdcoa.R;
|
||||
import com.rehome.zhdcoa.base.BaseViewBindingFragment;
|
||||
import com.rehome.zhdcoa.databinding.FragmentDeviceMonitoringDetailBinding;
|
||||
import com.rehome.zhdcoa.databinding.FragmentDeviceMonitoringStatisticsBinding;
|
||||
|
||||
/**
|
||||
* 设备统计
|
||||
*/
|
||||
public class DeviceMonitoringStatisticsFragment extends BaseViewBindingFragment<FragmentDeviceMonitoringStatisticsBinding> {
|
||||
|
||||
|
||||
@Override
|
||||
protected FragmentDeviceMonitoringStatisticsBinding getBinding(@NonNull LayoutInflater inflater, @Nullable ViewGroup container) {
|
||||
return FragmentDeviceMonitoringStatisticsBinding.inflate(inflater);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initView() {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initData() {
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical"
|
||||
tools:context=".ui.activity.DeviceMonitoringDetailActivity">
|
||||
|
||||
<include
|
||||
android:id="@+id/toolbarView"
|
||||
layout="@layout/layout_base" />
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tabs"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="35dp"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/bg_gray_solid"
|
||||
app:tabBackground="@drawable/bg_tab"
|
||||
app:tabIndicatorHeight="0dp"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
app:tabMaxWidth="120dp"
|
||||
app:tabMinWidth="1200dp"
|
||||
app:tabSelectedTextColor="@color/tabSelectedTextColor"
|
||||
app:tabTextColor="@color/tabTextColor" />
|
||||
|
||||
|
||||
<androidx.viewpager.widget.ViewPager
|
||||
android:id="@+id/viewpager"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
</LinearLayout>
|
||||
<!-- android:background="#FFEFDB"-->
|
||||
@ -0,0 +1,245 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#242e2f"
|
||||
android:orientation="vertical"
|
||||
tools:context=".ui.fragment.DeviceMonitoringDetailFragment">
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:ignore="UselessParent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_temperature"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<include
|
||||
android:id="@+id/item_sj"
|
||||
layout="@layout/item_head_device_detail"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10px"
|
||||
android:layout_marginEnd="10px"
|
||||
android:layout_marginBottom="10dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_qy"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_sbmc"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_temperature"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:text="温度" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_speed"
|
||||
layout="@layout/item_device_detail_row_type"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_x_speed"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_y_speed"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_z_speed"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_add_speed"
|
||||
layout="@layout/item_device_detail_row_type_add_speed"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_x_add_speed"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_y_add_speed"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_z_add_speed"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_wy"
|
||||
layout="@layout/item_device_detail_row_type_wy"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_x_wy"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_y_wy"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_z_wy"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_pl"
|
||||
layout="@layout/item_device_detail_row_type_pl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_x_pl"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_y_pl"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_z_pl"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_zlfl"
|
||||
layout="@layout/item_device_detail_row_type_zlfl"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_x_zlfl"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_y_zlfl"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
|
||||
<include
|
||||
android:id="@+id/item_z_zlfl"
|
||||
layout="@layout/item_device_detail_row"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginBottom="5dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
tools:context=".ui.fragment.DeviceMonitoringStatisticsFragment">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bottomBtn"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="40dp"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:background="#138CF2"
|
||||
android:visibility="gone"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="分类课程"
|
||||
android:textColor="#ffffff" />
|
||||
</LinearLayout>
|
||||
|
||||
<ListView
|
||||
android:id="@+id/lv"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/bottomBtn"
|
||||
android:layout_marginStart="5dp"
|
||||
android:layout_marginEnd="5dp"
|
||||
android:divider="@null"
|
||||
android:dividerHeight="5dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lv_member_nodata"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center"
|
||||
android:visibility="gone">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="暂无数据" />
|
||||
</LinearLayout>
|
||||
</FrameLayout>
|
||||
@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:background="#2D3849"
|
||||
android:minHeight="35dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/v_head"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="35dp">
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1.4"
|
||||
android:paddingStart="15dp"
|
||||
android:gravity="start|center_vertical"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#ffffff"
|
||||
android:text="测点温度(°C)" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_value"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="end|center_vertical"
|
||||
android:layout_marginLeft="10px"
|
||||
android:layout_weight="2.5"
|
||||
android:paddingEnd="10dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="#67C23A"
|
||||
android:text="39.9171" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:minHeight="20dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/v_head"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="20dp">
|
||||
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#409EFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1.4"
|
||||
android:paddingStart="6dp"
|
||||
android:gravity="start|center_vertical"
|
||||
android:textSize="13sp"
|
||||
android:textColor="#999999"
|
||||
android:text="速度数据" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_value"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="end|center_vertical"
|
||||
android:layout_marginLeft="10px"
|
||||
android:layout_weight="2.5"
|
||||
android:paddingEnd="10dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="#67C23A"
|
||||
android:visibility="invisible"
|
||||
android:text="39.9171" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:minHeight="20dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/v_head"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="20dp">
|
||||
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#409EFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1.4"
|
||||
android:paddingStart="6dp"
|
||||
android:gravity="start|center_vertical"
|
||||
android:textSize="13sp"
|
||||
android:textColor="#999999"
|
||||
android:text="加速度数据" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_value"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="end|center_vertical"
|
||||
android:layout_marginLeft="10px"
|
||||
android:layout_weight="2.5"
|
||||
android:paddingEnd="10dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="#67C23A"
|
||||
android:visibility="invisible"
|
||||
android:text="39.9171" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:minHeight="20dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/v_head"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="20dp">
|
||||
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#409EFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1.4"
|
||||
android:paddingStart="6dp"
|
||||
android:gravity="start|center_vertical"
|
||||
android:textSize="13sp"
|
||||
android:textColor="#999999"
|
||||
android:text="频率数据" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_value"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="end|center_vertical"
|
||||
android:layout_marginLeft="10px"
|
||||
android:layout_weight="2.5"
|
||||
android:paddingEnd="10dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="#67C23A"
|
||||
android:visibility="invisible"
|
||||
android:text="39.9171" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:minHeight="20dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/v_head"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="20dp">
|
||||
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#409EFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1.4"
|
||||
android:paddingStart="6dp"
|
||||
android:gravity="start|center_vertical"
|
||||
android:textSize="13sp"
|
||||
android:textColor="#999999"
|
||||
android:text="位移数据" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_value"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="end|center_vertical"
|
||||
android:layout_marginLeft="10px"
|
||||
android:layout_weight="2.5"
|
||||
android:paddingEnd="10dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="#67C23A"
|
||||
android:visibility="invisible"
|
||||
android:text="39.9171" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:minHeight="20dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/v_head"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="20dp">
|
||||
|
||||
<View
|
||||
android:layout_width="2dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#409EFF" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_type"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1.4"
|
||||
android:paddingStart="6dp"
|
||||
android:gravity="start|center_vertical"
|
||||
android:textSize="13sp"
|
||||
android:textColor="#999999"
|
||||
android:text="直流分量数据" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_value"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="end|center_vertical"
|
||||
android:layout_marginLeft="10px"
|
||||
android:layout_weight="2.5"
|
||||
android:paddingEnd="10dp"
|
||||
android:textSize="16sp"
|
||||
android:textColor="#67C23A"
|
||||
android:visibility="invisible"
|
||||
android:text="39.9171" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/ll_all"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:minHeight="45dp"
|
||||
android:orientation="vertical">
|
||||
|
||||
<View
|
||||
android:id="@+id/v_head"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:visibility="gone"
|
||||
android:background="#524658"
|
||||
/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="45dp">
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_status"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1.4"
|
||||
android:paddingStart="5dp"
|
||||
android:gravity="start|center_vertical"
|
||||
android:textSize="18sp"
|
||||
android:textColor="#409EFF"
|
||||
android:text="最新监测数据" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_device_sj"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="end|center_vertical"
|
||||
android:layout_marginLeft="10px"
|
||||
android:layout_weight="2.5"
|
||||
android:paddingEnd="5dp"
|
||||
android:textSize="14sp"
|
||||
android:textColor="#ffffff"
|
||||
android:text="" />
|
||||
|
||||
|
||||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:visibility="gone"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="#524658" />
|
||||
|
||||
</LinearLayout>
|
||||
Loading…
Reference in New Issue