|
|
@@ -9,24 +9,31 @@ |
|
|
|
<TableLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/stparameter" |
|
|
|
android:text="系统参数" |
|
|
|
android:background="@drawable/settingbutton" |
|
|
|
android:layout_margin="10dp" |
|
|
|
android:textColor="@color/white" |
|
|
|
/> |
|
|
|
<Button |
|
|
|
android:id="@+id/lcparameter" |
|
|
|
android:text="料仓设置" |
|
|
|
android:background="@drawable/settingbutton" |
|
|
|
android:layout_margin="10dp" |
|
|
|
android:textColor="@color/white" |
|
|
|
/> |
|
|
|
</TableLayout> |
|
|
|
<Button |
|
|
|
android:id="@+id/ConnectDevice" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="连接设备"/> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/ReadData" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="读取数据"/> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:layout_margin="10dp"> |
|
|
|
<FrameLayout |
|
|
|
android:id="@+id/fragment_container" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/WriteData" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:text="写入数据"/> |
|
|
|
|
|
|
|
</LinearLayout> |