修改密码 固化锁线程 加oldplctrigger,避免重复调用
This commit is contained in:
1 parent
60cafc4f8c
commit
d20b935213
9 files changed
+303
-195
No files matched your search
@@ -35,7 +35,7 @@ namespace WindowsFormsApp1
|
||||
public ImageDisplayForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
SetCurrentName("test");
|
||||
SetCurrentName(Init.ImageName);
|
||||
|
||||
// 初始化自动更新定时器
|
||||
autoUpdateTimer = new Timer();
|
||||
@@ -110,7 +110,7 @@ namespace WindowsFormsApp1
|
||||
private void AutoUpdateTimer_Tick(object sender, EventArgs e)
|
||||
{
|
||||
// 这里应该从某处获取当前位置变量
|
||||
string newPosition = GetCurrentPosition();
|
||||
string newPosition = Init.ImageLocation.ToString();
|
||||
|
||||
if (newPosition != currentPosition || (string.IsNullOrEmpty(currentPosition) && !string.IsNullOrEmpty(newPosition)))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user