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

改进 速度 +- 步进为0.1

parent b05d8a70
...@@ -100,7 +100,7 @@ namespace FLY.Winder.UI.Client.UiModule ...@@ -100,7 +100,7 @@ namespace FLY.Winder.UI.Client.UiModule
private void button_v_set_Click(object sender, RoutedEventArgs e) private void button_v_set_Click(object sender, RoutedEventArgs e)
{ {
WdSetValue w = new WdSetValue(); WdSetValue w = new WdSetValue();
w.Init(winderSystem.Accessory.VelocitySet, 200, 1, 1, "速度设置", "m/min"); w.Init(winderSystem.Accessory.VelocitySet, 200, 1, 0.1f, "速度设置", "m/min");
w.Owner = FLY.ControlLibrary.COMMON.GetWindow(this); w.Owner = FLY.ControlLibrary.COMMON.GetWindow(this);
if (w.ShowDialog() == true) { if (w.ShowDialog() == true) {
......
...@@ -100,7 +100,7 @@ namespace FLY.Winder.UI.Client.UiModule ...@@ -100,7 +100,7 @@ namespace FLY.Winder.UI.Client.UiModule
private void button_v_set_Click(object sender, RoutedEventArgs e) private void button_v_set_Click(object sender, RoutedEventArgs e)
{ {
WdSetValue w = new WdSetValue(); WdSetValue w = new WdSetValue();
w.Init(winderSystem.Accessory.VelocitySet, 200, 1, 1, "速度设置", "m/min"); w.Init(winderSystem.Accessory.VelocitySet, 200, 1, 0.1f, "速度设置", "m/min");
w.Owner = FLY.ControlLibrary.COMMON.GetWindow(this); w.Owner = FLY.ControlLibrary.COMMON.GetWindow(this);
if (w.ShowDialog() == true) if (w.ShowDialog() == true)
......
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