This commit is contained in:
sc committed 2025-08-19 23:38:37 +08:00
commit c8c93ae046
2 files changed
+31 -12

No files matched your search

+24 -8
View File
@@ -1861,12 +1861,18 @@ namespace DyeingComputer.ViewModel
{
switch (STEP_ID)
{
case "015":
break;//溢流水洗
case "017":
break;//降温水洗
if (errTabler.Rows.Count == 0) Status_Str = Resources.Washing + "(" + Properties.Resources.Cooling + ")";
break;//降温水洗
case "050":
if (STEP_P1 < Selet_dtm("1010")) Updata_dtd("3007", true);
if (STEP_P2 >= Selet_dta("4011")) { STEP_finish = true; Updata_dtd("3007", false); }
if (125 <= Selet_dtm("1010")) { STEP_finish = true; Updata_dtd("3007", false); }
break;//主缸加压
case "051":
if (STEP_P1 > Selet_dtm("1010")) Updata_dtd("3008", true);
if (STEP_P2 > Selet_dta("4011")) STEP_finish = true;
break;//主缸减压
case "064":
if ((STEP_P1 == 1) || (STEP_P1 == 0))
{
@@ -2046,9 +2052,6 @@ namespace DyeingComputer.ViewModel
}//药缸3
//STEP_finish = true;
break;//呼叫输送
case "067":
break;//等待输送
case "090":
if (((STEP_P1 - 1) < Selet_dtm("1010")) && (Selet_dtm("1010") < (STEP_P1 + 1))) PH_start = true;//达到温度开始ph控制
if (PH_start)
@@ -2088,6 +2091,19 @@ namespace DyeingComputer.ViewModel
}
if (errTabler.Rows.Count == 0) Status_Str = "PH" + Resources.PHDetection + "(" + STEP_TIME + ")";
break;//PH检测
case "094":
if (STEP_TIME <= 0)//控制时间到达结束
{
PH_start = false;
STEP_finish = true;
}
else
{
PH_start = true;
STEP_TIME--;
}
if (errTabler.Rows.Count == 0) Status_Str = "PH" + Resources.PHControl + "(" + STEP_TIME + "S)";
break;//PH控制(时间)
default:
break;
}