diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 6b52cebc..6f87f060 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -46,6 +46,7 @@
tools:ignore="Instantiatable" />
1000 * 100) {
+ break;
+ } else {
+ Object sb = ExecuteTheRecipe.ReadPLC(NA);// ListeningValue.get(name);
+ if (sb != null) {
+ IsComplete[0] = (boolean) (sb);
+ }
+ }
+ try {
+ Thread.sleep(100);//10 *6
+ } catch (InterruptedException e) {
+
+ }
+ }
+ }
//endregion
//region 延迟
@@ -746,7 +984,7 @@ public class AutoTestOneFragment extends BaseFragment {
/**
- * 延迟加热
+ * 加热
*/
public void MakeJR() {
List Dwei = new ArrayList() {{
@@ -765,6 +1003,7 @@ public class AutoTestOneFragment extends BaseFragment {
@Override
public void run() {
jiaredangwei.setText(item + "");
+ jiare11.setText( "0");
}
});
@@ -809,6 +1048,7 @@ public class AutoTestOneFragment extends BaseFragment {
ExecuteTest.ExecuteOperationSteps(ExecuteTest.Get加热(dw1).processname, ExecuteTest.Get加热(dw1).processvalue);
ExecuteTest.ThreadDelay(jiarewendingJR);//加热持续多少秒
ExecuteTheRecipe.WritePLC("加热", false, null);
+ ExecuteTest.ThreadDelay(1);//冷却多少分钟
ExecuteTest.ExecuteOperationSteps(ExecuteTest.Get加热(dw1).processname, ExecuteTest.Get加热(dw1).processvalue);
ExecuteTest.ThreadDelay(jiarewendingLQ);//冷却多少分钟
ExecuteTheRecipe.WritePLC("加热", false, null);
@@ -934,7 +1174,6 @@ public class AutoTestOneFragment extends BaseFragment {
runtime.start();
ExecuteTest.IsStart = true;
TimeOut = 0;
- RunIndex = adapter.getSelectedPosition();
showbuttomtop.setVisibility(View.VISIBLE);
start_goodmake.setImageResource(R.mipmap.zhizuo_js2);
}
@@ -958,6 +1197,21 @@ public class AutoTestOneFragment extends BaseFragment {
showbuttomtop.setVisibility(View.GONE);
start_goodmake.setImageResource(R.mipmap.zhizuo_ks2);
+
+ ExecuteTheRecipe.BottomClick1("平移-去1号位");
+ ExecuteTheRecipe.WritePLC("搅拌", false, null);
+ ExecuteTheRecipe.WritePLC("加热", false, null);
+ ExecuteTheRecipe.BottomClick1("原点位");
+
+ ConfigName.getInstance().gkcxCount =gkcxCount ;
+ ConfigName.getInstance().jiaobanCount =jiaobanCount ;
+ ConfigName.getInstance().qingxiCount =qingxiCount ;
+ ConfigName.getInstance().touliaoCount =touliaoCount ;
+ ConfigName.getInstance().yetiliaoCount =yetiliaoCount ;
+ ConfigName.getInstance().yanchiCount =yanchiCount ;
+ ConfigName.getInstance().jiareCount =jiareCount ;
+ ConfigName.getInstance().jiarewendingCount =jiarewendingCount ;
+ ConfigData.getInstance().SavePZ();
}
});
}
diff --git a/app/src/main/res/layout/fragment_auto_test_more.xml b/app/src/main/res/layout/fragment_auto_test_more.xml
index f66d545b..68b2b8e9 100644
--- a/app/src/main/res/layout/fragment_auto_test_more.xml
+++ b/app/src/main/res/layout/fragment_auto_test_more.xml
@@ -97,22 +97,36 @@
android:layout_height="wrap_content"
android:text="次"
android:textSize="25dp"/>
+
+
+
+ android:textSize="30sp" />
+
+
@@ -145,6 +159,8 @@
android:inputType="textMultiLine"
android:padding="3dp"
android:scrollHorizontally="false"
+ android:focusable="false"
+ android:clickable="false"
android:text=""
android:textSize="12dp" />
diff --git a/app/src/main/res/layout/fragment_auto_test_one.xml b/app/src/main/res/layout/fragment_auto_test_one.xml
index f0dca659..04992149 100644
--- a/app/src/main/res/layout/fragment_auto_test_one.xml
+++ b/app/src/main/res/layout/fragment_auto_test_one.xml
@@ -59,8 +59,18 @@
android:layout_height="match_parent"
android:layout_margin="@dimen/dp_10"
android:orientation="vertical"
+ android:visibility="gone"
>
-
+
@@ -254,7 +264,16 @@
android:layout_margin="@dimen/dp_10"
android:orientation="vertical"
android:visibility="gone">
-
+
@@ -341,8 +360,18 @@
android:layout_height="match_parent"
android:layout_margin="@dimen/dp_10"
android:orientation="vertical"
- android:visibility="gone">
-
+ android:visibility="gone"
+ >
+
@@ -353,6 +382,52 @@
android:layout_centerInParent="true"
android:orientation="vertical">
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -442,6 +526,51 @@
android:layout_centerInParent="true"
android:orientation="vertical">
+
+
+
+
+
+
+
+
+
+
+
+
-
+
@@ -695,7 +833,16 @@
android:layout_margin="@dimen/dp_10"
android:orientation="vertical"
android:visibility="gone">
-
+
@@ -862,6 +1009,16 @@
android:layout_margin="@dimen/dp_10"
android:orientation="vertical"
android:visibility="gone">
+
@@ -1053,17 +1210,17 @@
+ android:layout_marginRight="80dp">
@@ -1079,17 +1236,45 @@
-
+ >
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+