工单开始传递信息修改
This commit is contained in:
commit
c3c724be3d
3 files changed
+49
-31
No files matched your search
@@ -282,7 +282,8 @@ namespace DyeingComputer.ViewModel
|
||||
void Tick_Event_5S(object sender, EventArgs e)//Tick_Event周期执行事件5S
|
||||
{
|
||||
if (!LINK_OK) Modbus_link();
|
||||
Chart();//写入记录
|
||||
|
||||
if(WORK_RUN !=0) Chart();//写入记录
|
||||
|
||||
if (string.IsNullOrEmpty(Name_err.ToString()) && ((Selet_dtm("1010") < 1) || (Selet_dtm("1010") > 160)))
|
||||
{ Name_err = Resources.Temperature + Resources.Sensor + Resources.Malfunction; } //温度故障提示
|
||||
@@ -1377,7 +1378,7 @@ namespace DyeingComputer.ViewModel
|
||||
}//清除输出状态
|
||||
if (string.IsNullOrEmpty(Name_err.ToString()))
|
||||
{
|
||||
WorkNumder = "----------";
|
||||
//WorkNumder = "----------";
|
||||
int TIMEH = DIDETime / 3600;
|
||||
int TIMEM = (DIDETime - TIMEH * 3600) / 60;
|
||||
int TIMES = DIDETime - TIMEH * 3600 - TIMEM * 60;
|
||||
|
||||
Reference in new issue
Block a user