This commit is contained in:
xyy
2026-05-12 16:00:30 +08:00
parent 1608469812
commit ca7658e52e

View File

@@ -71,7 +71,7 @@ namespace 头罩视野.Views
testTimerForLight = new DispatcherTimer();
testTimerForLight.Interval = TimeSpan.FromMilliseconds(1000); // 500ms = 0.5秒
testTimerForLight.Tick += testTimerForLight;
testTimerForLight.Tick += testTimerForLightTick;
//// 判断连接
if (!ModbusHelper.IsConnected)
@@ -802,6 +802,7 @@ namespace 头罩视野.Views
_timer.Start();
ma = new Function(_modbusMaster);
c = new DataChange();
testTimerForLight.Start();
//zmsyarea.Text = "4.00"; // 左目
//smsyarea.Text = "5.00"; // 双目
//kbsyarea.Text = "6.00"; // 空白