添加故障信息状态
This commit is contained in:
commit
becf47a916
2 files changed
+6
-5
No files matched your search
@@ -184,7 +184,7 @@ namespace DyeingComputer.ViewModel
|
||||
public static object Process_step = "-----";
|
||||
public static string ProgramName = "-----";//工艺名
|
||||
public static Int32 DIDETime; //空闲计时器
|
||||
bool ERR_JOG;//故障状态
|
||||
public static bool ERR_JOG;//故障状态
|
||||
private int timer1s_ = 0;
|
||||
private int timer5s_ = 0;
|
||||
public MainWindowViewModel()
|
||||
@@ -433,9 +433,10 @@ namespace DyeingComputer.ViewModel
|
||||
Status_Str = ERRinf.ERRinf_r(errTabler);
|
||||
Alert_red = true;
|
||||
Alert_bell = true;
|
||||
ERR_JOG = true;
|
||||
Status_Str_coloer = Status_red;
|
||||
}
|
||||
else { Status_Str_coloer = Status_Black; }
|
||||
else { Status_Str_coloer = Status_Black; ERR_JOG = false; }
|
||||
Updata_dtd("3001", Alert_red);
|
||||
Updata_dtd("3003", Alert_yellow);
|
||||
Updata_dtd("3004", Alert_bell);
|
||||
@@ -463,7 +464,6 @@ namespace DyeingComputer.ViewModel
|
||||
if (Selet_dtd("2016")) { ERRinf.ERRinf_w(errTabler, Resources.Fault + ":" + Resources.Pump + "-3", "ERR104-3"); } //加料泵
|
||||
else { ERRinf.ERRinf_d(errTabler, "ERR104-3"); }
|
||||
}
|
||||
|
||||
uint TX_t;
|
||||
void Tick_Event_5S()//Tick_Event周期执行事件5S
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user