运行参数页面

This commit is contained in:
sc committed 2025-05-13 22:17:20 +08:00
commit 9bc1870e23
3 files changed
+60 -33

No files matched your search

+6 -2
View File
@@ -123,6 +123,7 @@ namespace DyeingComputer.ViewModel
private static int MT06;//主缸排水延时
private int MT12;
private static double MT16;//流量计数系数
public static int MT17;//
public static int MT18;//主缸管数
private static double MT33;//主缸温度偏差
private int MT38;//高水位
@@ -170,6 +171,7 @@ namespace DyeingComputer.ViewModel
MT06 = Convert.ToInt16(Selet_con("MT06"));//动力排水延时
MT12 = Convert.ToInt16(Selet_con("MT12"));//
MT16 = Convert.ToDouble(Selet_con("MT16"));//流量计数系数
MT17 = Convert.ToInt16(Selet_con("MT17"));//
MT18 = Convert.ToInt16(Selet_con("MT18"));//
MT33 = Convert.ToDouble(Selet_con("MT33"));//温度偏差参数
MT38 = Convert.ToInt16(Selet_con("MT38"));//
@@ -1587,8 +1589,10 @@ namespace DyeingComputer.ViewModel
SYSlog = SYSlog + " | " + Resources.Nozzle + Resources.Pressure + " : " + string.Format("{0:###.#}", Convert.ToDouble(Selet_dtm("1043"))) + "Bar";
SYSlog = SYSlog + "\n" + Resources.DifferentialPressure + " : " + string.Format("{0:D3}", Convert.ToInt16(Selet_dtm("1044"))) + "%";
} //压力
SYSlog = SYSlog + "\n" + Resources.Blower + " : " + string.Format("{0:D3}", Convert.ToInt16(Selet_dtm("1021"))) + "%";
// SYSlog = SYSlog + "\n" + Resources.GuidingWheel + " : " + string.Format("{0:D3}", Convert.ToInt16(Selet_dtm("1046"))) + "M/min";
if (MainWindowViewModel.MT17 == 1)
{
SYSlog = SYSlog + "\n" + Resources.Blower + " : " + string.Format("{0:D3}", Convert.ToInt16(Selet_dtm("1021"))) + "%";
}// SYSlog = SYSlog + "\n" + Resources.GuidingWheel + " : " + string.Format("{0:D3}", Convert.ToInt16(Selet_dtm("1046"))) + "M/min";
if (MI02 == 2) SYSlog = SYSlog + "\n" + Resources.Nozzle + Resources.Flowmeter + " : " + string.Format("{0:D3}", Convert.ToInt16(Selet_dtm("1045"))) + "L/min";//喷射流量
if (MI01 == 1)//
{