添加锁定功能
This commit is contained in:
commit
3152fecff6
2 files changed
+72
-36
No files matched your search
@@ -308,8 +308,8 @@ namespace DyeingComputer.ViewModel
|
||||
_UserButton = value;
|
||||
OnPropertyChanged("UserButton");
|
||||
}
|
||||
}
|
||||
bool _Lock_bool;
|
||||
}
|
||||
public static bool _Lock_bool;
|
||||
Visibility _Lock_bool_xml;
|
||||
public Visibility Lock_bool//锁图标
|
||||
{
|
||||
@@ -449,8 +449,7 @@ namespace DyeingComputer.ViewModel
|
||||
uint TX_t;
|
||||
void Tick_Event_5S()//Tick_Event周期执行事件5S
|
||||
{
|
||||
if (TX_t != TX) { _Link_bool = true; } else { _Link_bool = false; }
|
||||
TX_t = TX;
|
||||
if (TX_t != TX) { _Link_bool = true; TX_t = TX; } else { _Link_bool = false; TX_t = TX; } //中央连接状态判断
|
||||
|
||||
if(WORK_RUN !=0) Chart();//写入记录
|
||||
|
||||
|
||||
Reference in new issue
Block a user