|
|
@@ -268,6 +268,7 @@ |
|
|
|
android:orientation="horizontal"> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/btn_xtkz" |
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
@@ -277,6 +278,8 @@ |
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/btn_hlkz" |
|
|
|
|
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
@@ -286,6 +289,8 @@ |
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/btn_sjkz" |
|
|
|
|
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
@@ -295,61 +300,928 @@ |
|
|
|
android:textSize="18sp" /> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:id="@+id/btn_jykz" |
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
|
android:background="@drawable/bg_btn_login_selected" |
|
|
|
android:text="进油控制" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="18sp" /> |
|
|
|
android:textSize="18sp"/> |
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="vertical" |
|
|
|
android:visibility="gone"> |
|
|
|
<!-- 选择菜谱 --> |
|
|
|
<LinearLayout |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<RelativeLayout |
|
|
|
android:id="@+id/dialog_xtkz" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:background="@color/qmui_config_color_white" |
|
|
|
android:padding="5dp"> |
|
|
|
|
|
|
|
android:background="#BD25323F" |
|
|
|
android:visibility="gone" |
|
|
|
> |
|
|
|
<RelativeLayout |
|
|
|
android:id="@+id/xzcp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
android:layout_centerInParent="true" |
|
|
|
android:layout_width="600dp" |
|
|
|
android:layout_height="400dp" |
|
|
|
android:background="@drawable/silosbj"> |
|
|
|
<ImageView |
|
|
|
android:id="@+id/close_xtkz" |
|
|
|
android:layout_width="50dp" |
|
|
|
android:layout_height="50dp" |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
android:layout_marginRight="10dp" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:src="@mipmap/newdelete"/> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="70dp" |
|
|
|
android:layout_marginLeft="30dp" |
|
|
|
android:layout_marginRight="30dp" |
|
|
|
android:layout_marginBottom="30dp" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="35dp" |
|
|
|
android:clickable="false" |
|
|
|
android:src="@mipmap/stcp" /> |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="系统启停:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:focusable="true"/> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<TextView |
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="超温停气:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerInParent="true" |
|
|
|
android:clickable="false" |
|
|
|
android:text="选择菜谱" |
|
|
|
android:textSize="16dp" /> |
|
|
|
</RelativeLayout> |
|
|
|
android:focusable="true"/> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
</LinearLayout> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:id="@+id/dialog_hlkz" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:background="#BD25323F" |
|
|
|
> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_centerInParent="true" |
|
|
|
android:layout_width="600dp" |
|
|
|
android:layout_height="400dp" |
|
|
|
android:background="@drawable/silosbj"> |
|
|
|
<ImageView |
|
|
|
android:id="@+id/close_hlkz" |
|
|
|
android:layout_width="50dp" |
|
|
|
android:layout_height="50dp" |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
android:layout_marginRight="10dp" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:src="@mipmap/newdelete"/> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="70dp" |
|
|
|
android:layout_marginLeft="30dp" |
|
|
|
android:layout_marginRight="30dp" |
|
|
|
android:layout_marginBottom="30dp" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="vertical"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="点火模式:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<Spinner |
|
|
|
style="@style/commonSpinnerStyle" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="24dp" |
|
|
|
android:layout_centerVertical="true" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<Button |
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
|
android:background="@drawable/bg_btn_login_selected" |
|
|
|
android:text="点火开关" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="18sp" /> |
|
|
|
<Button |
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
|
android:background="@drawable/bg_btn_login_selected" |
|
|
|
android:text="点火复位" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="18sp" /> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="小火控制:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<com.litao.slider.NiftySlider |
|
|
|
android:layout_width="340dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:hapticFeedbackEnabled="true" |
|
|
|
android:stepSize="1" |
|
|
|
android:value="0" |
|
|
|
android:valueFrom="0" |
|
|
|
android:valueTo="60" |
|
|
|
app:enableDrawHalo="false" |
|
|
|
app:thumbColor="@color/we_read_thumb_color" |
|
|
|
app:thumbRadius="11dp" |
|
|
|
app:thumbText="0" |
|
|
|
app:thumbTextBold="true" |
|
|
|
app:thumbTextColor="@color/we_read_theme_color" |
|
|
|
app:thumbTextSize="12sp" |
|
|
|
app:thumbWithinTrackBounds="true" |
|
|
|
app:trackColor="@color/pro1" |
|
|
|
app:trackColorInactive="@color/pro2" |
|
|
|
app:trackHeight="15dp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:focusable="true"/> |
|
|
|
</RelativeLayout> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="小火控制:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<com.litao.slider.NiftySlider |
|
|
|
android:layout_width="340dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:hapticFeedbackEnabled="true" |
|
|
|
android:stepSize="1" |
|
|
|
android:value="0" |
|
|
|
android:valueFrom="0" |
|
|
|
android:valueTo="60" |
|
|
|
app:enableDrawHalo="false" |
|
|
|
app:thumbColor="@color/we_read_thumb_color" |
|
|
|
app:thumbRadius="11dp" |
|
|
|
app:thumbText="0" |
|
|
|
app:thumbTextBold="true" |
|
|
|
app:thumbTextColor="@color/we_read_theme_color" |
|
|
|
app:thumbTextSize="12sp" |
|
|
|
app:thumbWithinTrackBounds="true" |
|
|
|
app:trackColor="@color/pro1" |
|
|
|
app:trackColorInactive="@color/pro2" |
|
|
|
app:trackHeight="15dp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:focusable="true"/> |
|
|
|
</RelativeLayout> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="小火控制:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<com.litao.slider.NiftySlider |
|
|
|
android:layout_width="340dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:hapticFeedbackEnabled="true" |
|
|
|
android:stepSize="1" |
|
|
|
android:value="0" |
|
|
|
android:valueFrom="0" |
|
|
|
android:valueTo="60" |
|
|
|
app:enableDrawHalo="false" |
|
|
|
app:thumbColor="@color/we_read_thumb_color" |
|
|
|
app:thumbRadius="11dp" |
|
|
|
app:thumbText="0" |
|
|
|
app:thumbTextBold="true" |
|
|
|
app:thumbTextColor="@color/we_read_theme_color" |
|
|
|
app:thumbTextSize="12sp" |
|
|
|
app:thumbWithinTrackBounds="true" |
|
|
|
app:trackColor="@color/pro1" |
|
|
|
app:trackColorInactive="@color/pro2" |
|
|
|
app:trackHeight="15dp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:focusable="true"/> |
|
|
|
</RelativeLayout> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="小火控制:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<com.litao.slider.NiftySlider |
|
|
|
android:layout_width="340dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:hapticFeedbackEnabled="true" |
|
|
|
android:stepSize="1" |
|
|
|
android:value="0" |
|
|
|
android:valueFrom="0" |
|
|
|
android:valueTo="60" |
|
|
|
app:enableDrawHalo="false" |
|
|
|
app:thumbColor="@color/we_read_thumb_color" |
|
|
|
app:thumbRadius="11dp" |
|
|
|
app:thumbText="0" |
|
|
|
app:thumbTextBold="true" |
|
|
|
app:thumbTextColor="@color/we_read_theme_color" |
|
|
|
app:thumbTextSize="12sp" |
|
|
|
app:thumbWithinTrackBounds="true" |
|
|
|
app:trackColor="@color/pro1" |
|
|
|
app:trackColorInactive="@color/pro2" |
|
|
|
app:trackHeight="15dp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:focusable="true"/> |
|
|
|
</RelativeLayout> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
|
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="温度修正:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginLeft="5dp" |
|
|
|
android:background="@drawable/input_bj" |
|
|
|
android:hint="请输入" |
|
|
|
android:inputType="number" |
|
|
|
android:maxLines="1" |
|
|
|
android:padding="3dp" |
|
|
|
android:textSize="12dp" |
|
|
|
android:text="0"/> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="温度上限:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginLeft="5dp" |
|
|
|
android:background="@drawable/input_bj" |
|
|
|
android:hint="请输入" |
|
|
|
android:inputType="number" |
|
|
|
android:maxLines="1" |
|
|
|
android:padding="3dp" |
|
|
|
android:textSize="12dp" |
|
|
|
android:text="0"/> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="点火控制:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:focusable="true"/> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="30dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="点火失败" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:id="@+id/dialog_kbkz" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:background="#BD25323F" |
|
|
|
android:visibility="gone"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_centerInParent="true" |
|
|
|
android:layout_width="600dp" |
|
|
|
android:layout_height="400dp" |
|
|
|
android:background="@drawable/silosbj"> |
|
|
|
<ImageView |
|
|
|
android:id="@+id/close_kbkz" |
|
|
|
|
|
|
|
android:layout_width="50dp" |
|
|
|
android:layout_height="50dp" |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
android:layout_marginRight="10dp" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:src="@mipmap/newdelete"/> |
|
|
|
|
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="70dp" |
|
|
|
android:layout_marginLeft="30dp" |
|
|
|
android:layout_marginRight="30dp" |
|
|
|
android:layout_marginBottom="30dp" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="vertical"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="搅拌控制:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:focusable="true"/> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<Button |
|
|
|
android:layout_width="180dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
|
android:background="@drawable/bg_btn_login_selected" |
|
|
|
android:text="搅拌点动" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="18sp" /> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="20dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<Button |
|
|
|
android:layout_width="140dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
|
android:background="@drawable/bg_btn_login_selected" |
|
|
|
android:text="搅拌上升" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="18sp" /> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:layout_width="30dp" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:src="@mipmap/status_y"/> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<Button |
|
|
|
android:layout_width="140dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
|
android:background="@drawable/bg_btn_login_selected" |
|
|
|
android:text="锅前倾" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="18sp" /> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:layout_width="30dp" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:src="@mipmap/status_y"/> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="20dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<Button |
|
|
|
android:layout_width="140dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
|
android:background="@drawable/bg_btn_login_selected" |
|
|
|
android:text="搅拌下降" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="18sp" /> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:layout_width="30dp" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:src="@mipmap/status_y"/> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<Button |
|
|
|
android:layout_width="140dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginRight="15dp" |
|
|
|
android:background="@drawable/bg_btn_login_selected" |
|
|
|
android:text="锅后仰" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="18sp" /> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<ImageView |
|
|
|
android:layout_width="30dp" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:src="@mipmap/status_y"/> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
</RelativeLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:id="@+id/dialog_jykz" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent" |
|
|
|
android:background="#BD25323F" |
|
|
|
android:visibility="gone"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_centerInParent="true" |
|
|
|
android:layout_width="600dp" |
|
|
|
android:layout_height="400dp" |
|
|
|
android:background="@drawable/silosbj"> |
|
|
|
<ImageView |
|
|
|
android:id="@+id/close_jykz" |
|
|
|
android:layout_width="50dp" |
|
|
|
android:layout_height="50dp" |
|
|
|
android:layout_marginTop="10dp" |
|
|
|
android:layout_marginRight="10dp" |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:src="@mipmap/newdelete"/> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="70dp" |
|
|
|
android:layout_marginLeft="30dp" |
|
|
|
android:layout_marginRight="30dp" |
|
|
|
android:layout_marginBottom="30dp" |
|
|
|
android:layout_width="match_parent" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:orientation="vertical"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="当前重量:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="100kg" |
|
|
|
android:textColor="@color/app_color_blue" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="选择原油:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<Spinner |
|
|
|
style="@style/commonSpinnerStyle" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="24dp" |
|
|
|
android:layout_centerVertical="true" /> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="20dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="设定重量:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginLeft="5dp" |
|
|
|
android:background="@drawable/input_bj" |
|
|
|
android:hint="请输入温度" |
|
|
|
android:inputType="number" |
|
|
|
android:maxLines="1" |
|
|
|
android:padding="3dp" |
|
|
|
android:textSize="12dp" |
|
|
|
android:text="0"/> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="提前量:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<EditText |
|
|
|
android:layout_width="120dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_marginLeft="5dp" |
|
|
|
android:background="@drawable/input_bj" |
|
|
|
android:hint="请输入温度" |
|
|
|
android:inputType="number" |
|
|
|
android:maxLines="1" |
|
|
|
android:padding="3dp" |
|
|
|
android:textSize="12dp" |
|
|
|
android:text="0"/> |
|
|
|
|
|
|
|
<Button |
|
|
|
android:layout_width="100dp" |
|
|
|
android:layout_height="45dp" |
|
|
|
android:layout_marginLeft="15dp" |
|
|
|
android:background="@drawable/bg_btn_login_selected" |
|
|
|
android:text="出料" |
|
|
|
android:textColor="@color/white" |
|
|
|
android:textSize="18sp" /> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<RelativeLayout |
|
|
|
android:layout_marginTop="20dp" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<LinearLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="抽油启停:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:focusable="true"/> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
<LinearLayout |
|
|
|
android:layout_alignParentRight="true" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content"> |
|
|
|
<RelativeLayout |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="match_parent"> |
|
|
|
<TextView |
|
|
|
android:layout_marginLeft="@dimen/dp_10" |
|
|
|
android:layout_width="wrap_content" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:layout_centerVertical="true" |
|
|
|
android:text="备用气缸:" |
|
|
|
android:textSize="19dp"/> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
<com.suke.widget.SwitchButton |
|
|
|
android:layout_marginLeft="20dp" |
|
|
|
app:sb_uncheck_color="@color/app_color_blue" |
|
|
|
app:sb_uncheckcircle_color="@color/app_color_blue" |
|
|
|
app:sb_button_color="@color/app_color_blue" |
|
|
|
android:layout_width="80dp" |
|
|
|
android:layout_height="wrap_content" |
|
|
|
android:focusable="true"/> |
|
|
|
</LinearLayout> |
|
|
|
</RelativeLayout> |
|
|
|
</LinearLayout> |
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
</RelativeLayout> |
|
|
|
</RelativeLayout> |
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|
</RelativeLayout> |
|
|
|
|
|
|
|