跳步按钮效果
This commit is contained in:
commit
64c467137b
2 files changed
+18
-7
No files matched your search
@@ -469,7 +469,8 @@ namespace DyeingComputer.ViewModel
|
||||
{
|
||||
if (TX_t != TX) { _Link_bool = true; TX_t = TX; } else { _Link_bool = false; TX_t = TX; } //中央连接状态判断
|
||||
if(WORK_RUN !=0) Chart();//写入记录
|
||||
if(!UserButton) TechnologicalProcess_view();
|
||||
if(!UserButton) TechnologicalProcess_view();//刷新步骤页面
|
||||
|
||||
|
||||
if ((Selet_dtm("1025") > 0) && (Selet_dtd("3021") || Selet_dtd("3022")))
|
||||
{
|
||||
@@ -570,7 +571,12 @@ namespace DyeingComputer.ViewModel
|
||||
}
|
||||
void DisTimer_500MS(object sender, EventArgs e)//Tick_Event周期执行事件200MS
|
||||
{
|
||||
if (User_Button) TechnologicalProcess_view();
|
||||
if (User_Button)
|
||||
{
|
||||
TechnologicalProcess_view();
|
||||
User_Button = false;
|
||||
}//按钮刷新步骤页面
|
||||
|
||||
IOm_DATA();
|
||||
|
||||
timer1s_++;
|
||||
@@ -1594,8 +1600,8 @@ namespace DyeingComputer.ViewModel
|
||||
else
|
||||
if (WORK_RUN == 0)
|
||||
{
|
||||
if (Status_Str == Resources.Paused)
|
||||
{
|
||||
// if (Status_Str == Resources.Paused)
|
||||
// {
|
||||
|
||||
Updata_dtm("1004", 0);
|
||||
Updata_dtm("1005", Selet_dtm("1010"));
|
||||
@@ -1603,7 +1609,7 @@ namespace DyeingComputer.ViewModel
|
||||
{
|
||||
Updata_dtd((3000+i).ToString(), false);
|
||||
}
|
||||
}//清除输出状态
|
||||
// }//清除输出状态
|
||||
if (errTabler.Rows.Count == 0)
|
||||
{
|
||||
//WorkNumder = "----------";
|
||||
@@ -1901,7 +1907,6 @@ namespace DyeingComputer.ViewModel
|
||||
{
|
||||
if (ViewID == 1)
|
||||
{
|
||||
User_Button = false;
|
||||
try
|
||||
{
|
||||
TechnologicalProcess_View = ToObservableCollection<TechnologicalProcess>(dt_TP);
|
||||
|
||||
Reference in new issue
Block a user