Commit e6a071a8 authored by 潘栩锋's avatar 潘栩锋 🚴

测试完成,吹膜扫描. 自动计算膜距离选择角度 完成

parent dafdd73a
...@@ -1268,38 +1268,9 @@ namespace FLY.Thick.BlowingScan.UI.Client ...@@ -1268,38 +1268,9 @@ namespace FLY.Thick.BlowingScan.UI.Client
} }
} }
private void button_left_Click(object sender, RoutedEventArgs e)
{
if (mAnaylze.FilmLength > 10)
{
mAnaylze.FilmLength -= 0.1;
}
}
private void button_right_Click(object sender, RoutedEventArgs e)
{
if (mAnaylze.FilmLength < 30)
{
mAnaylze.FilmLength += 0.1;
}
}
private void button_collapse_Click(object sender, RoutedEventArgs e)
{
if (mAnaylze.RAngle > 300)
{
mAnaylze.RAngle -= 1;
}
}
private void button_expand_Click(object sender, RoutedEventArgs e)
{
if (mAnaylze.RAngle < 358)
{
mAnaylze.RAngle += 1;
}
}
private void button_pre1_Click(object sender, RoutedEventArgs e) private void button_pre1_Click(object sender, RoutedEventArgs e)
...@@ -1385,6 +1356,45 @@ namespace FLY.Thick.BlowingScan.UI.Client ...@@ -1385,6 +1356,45 @@ namespace FLY.Thick.BlowingScan.UI.Client
mAnaylze.MarkNo2.IsFocus = true; mAnaylze.MarkNo2.IsFocus = true;
mAnaylze.MarkNo1.IsFocus = false; mAnaylze.MarkNo1.IsFocus = false;
} }
private void button_calRa_Click(object sender, RoutedEventArgs e)
{
if (IsRunning)
return;
if (mAnaylze.IsStep2Ing)
return;
//第2步,修改 旋转角度,膜距离 执行 解方程
Thread t = new Thread(mAnaylze.StepAutoSearchRAngle);
t.IsBackground = true;
t.Start();
}
private void button_calFl_Click(object sender, RoutedEventArgs e)
{
if (IsRunning)
return;
if (mAnaylze.IsStep2Ing)
return;
//第2步,修改 旋转角度,膜距离 执行 解方程
Thread t = new Thread(mAnaylze.StepAutoSearchFilmLength);
t.IsBackground = true;
t.Start();
}
private void button_calAuto_Click(object sender, RoutedEventArgs e)
{
if (IsRunning)
return;
if (mAnaylze.IsStep2Ing)
return;
//第2步,修改 旋转角度,膜距离 执行 解方程
Thread t = new Thread(mAnaylze.StepAutoSearchParams);
t.IsBackground = true;
t.Start();
}
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment