You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
345 lines
14 KiB
XML
345 lines
14 KiB
XML
|
2 years ago
|
<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:orientation="vertical">
|
||
|
|
|
||
|
|
<ScrollView
|
||
|
|
android:id="@+id/sv"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_weight="9">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/px_5"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:minHeight="@dimen/px_60">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="设备名称:"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_sbmc"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|left"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="设备名称"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/px_5"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:minHeight="@dimen/px_60">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="部件名称:"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_bjmc"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|left"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="部件名称"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/px_5"
|
||
|
|
android:minHeight="@dimen/px_60">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:text="专业名称:"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_zymc"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|left"
|
||
|
|
android:text="专业名称"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/px_5"
|
||
|
|
android:minHeight="@dimen/px_60">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:text="点类型:"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_dian_type"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|left"
|
||
|
|
android:text=""
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_margin="@dimen/px_5"
|
||
|
|
android:minHeight="50px"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:text="低值:"
|
||
|
|
android:textSize="@dimen/sbtextSize"
|
||
|
|
android:visibility="gone"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_dz"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|left"
|
||
|
|
android:text="低值"
|
||
|
|
android:textSize="@dimen/sbtextSize"
|
||
|
|
android:visibility="gone"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/px_5"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:minHeight="@dimen/px_60"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="高值:"
|
||
|
|
android:textSize="@dimen/sbtextSize"
|
||
|
|
android:visibility="gone"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_gz"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|left"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="高值"
|
||
|
|
android:textSize="@dimen/sbtextSize"
|
||
|
|
android:visibility="gone"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/px_5"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:minHeight="@dimen/px_60">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="正常状态:"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_zczt"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|left"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="正常状态"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/px_5"
|
||
|
|
android:maxHeight="240px"
|
||
|
|
android:minHeight="@dimen/px_60">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="巡查内容:"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_xcnr"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|left"
|
||
|
|
android:maxHeight="240px"
|
||
|
|
android:text="巡查内容"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
</LinearLayout>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_margin="@dimen/px_5"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:minHeight="@dimen/px_60"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="闭锁压力:"
|
||
|
|
android:textSize="@dimen/sbtextSize"
|
||
|
|
android:visibility="gone"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_bsyl"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:gravity="center_vertical|left"
|
||
|
|
android:maxHeight="120px"
|
||
|
|
android:text="闭锁压力"
|
||
|
|
android:textSize="@dimen/sbtextSize"
|
||
|
|
android:visibility="gone"/>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<RelativeLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/px_100"
|
||
|
|
android:layout_margin="@dimen/px_5">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/textView2"
|
||
|
|
android:layout_width="@dimen/cjwidth"
|
||
|
|
android:layout_height="@dimen/sbHeight"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_alignParentLeft="true"
|
||
|
|
android:layout_alignParentStart="true"
|
||
|
|
android:gravity="center_vertical|right"
|
||
|
|
android:text="采集结果:"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/et_jg"
|
||
|
|
style="@style/editTextTheme"
|
||
|
|
android:layout_width="400px"
|
||
|
|
android:layout_alignParentTop="true"
|
||
|
|
android:layout_marginLeft="22dp"
|
||
|
|
android:layout_marginStart="22dp"
|
||
|
|
android:layout_toEndOf="@+id/textView2"
|
||
|
|
android:layout_toRightOf="@+id/textView2"
|
||
|
|
android:inputType="numberSigned|numberDecimal"
|
||
|
|
android:textSize="16sp"
|
||
|
|
android:visibility="visible"/>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_dw"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_toEndOf="@+id/et_jg"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_marginStart="5dp"
|
||
|
|
android:text=""
|
||
|
|
android:textSize="24sp"/>
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/et_button"
|
||
|
|
android:layout_width="400px"
|
||
|
|
android:layout_height="@dimen/px_70"
|
||
|
|
android:layout_centerVertical="true"
|
||
|
|
android:layout_marginStart="10dp"
|
||
|
|
android:layout_toEndOf="@+id/textView2"
|
||
|
|
android:layout_toRightOf="@+id/textView2"
|
||
|
|
android:background="@drawable/border_line_while"
|
||
|
|
android:text="请点击获取采集结果"
|
||
|
|
android:textColor="@color/colorPrimary"
|
||
|
|
android:visibility="visible"/>
|
||
|
|
|
||
|
|
</RelativeLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</ScrollView>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/px_60"
|
||
|
|
android:layout_below="@id/sv"
|
||
|
|
android:layout_weight="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="@dimen/sbHeight"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="当前点检点:"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_yjzj"
|
||
|
|
android:layout_width="@dimen/px_150"
|
||
|
|
android:layout_height="@dimen/sbHeight"
|
||
|
|
android:layout_marginLeft="@dimen/px_10"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="2/40"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="@dimen/sbHeight"
|
||
|
|
android:layout_marginLeft="@dimen/px_40"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="状态:"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tv_zt"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="@dimen/sbHeight"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:text="未检"
|
||
|
|
android:textSize="@dimen/sbtextSize"/>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|