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

优化 根据永志的要求把IBC 风机增量改为1Hz

parent 62d294bc
......@@ -89,25 +89,25 @@ namespace FLY.IBC.UI.Client.UiModule
private void button_inletAir_plus_Click(object sender, RoutedEventArgs e)
{
if (ibcSystemService.Item.InletAirFreqSet < 49.9)
ibcSystemService.Item.InletAirFreqSet += 0.1f;
if (ibcSystemService.Item.InletAirFreqSet < 49)
ibcSystemService.Item.InletAirFreqSet += 1f;
}
private void button_inletAir_minus_Click(object sender, RoutedEventArgs e)
{
if(ibcSystemService.Item.InletAirFreqSet>0.1)
ibcSystemService.Item.InletAirFreqSet -= 0.1f;
if(ibcSystemService.Item.InletAirFreqSet>1)
ibcSystemService.Item.InletAirFreqSet -= 1f;
}
private void button_outletAir_plus_Click(object sender, RoutedEventArgs e)
{
if (ibcSystemService.Item.OutletAirFreqSet < 49.9)
ibcSystemService.Item.OutletAirFreqSet += 0.1f;
if (ibcSystemService.Item.OutletAirFreqSet < 49)
ibcSystemService.Item.OutletAirFreqSet += 1f;
}
private void button_outletAir_minus_Click(object sender, RoutedEventArgs e)
{
if(ibcSystemService.Item.OutletAirFreqSet>0.1)
ibcSystemService.Item.OutletAirFreqSet -= 0.1f;
if(ibcSystemService.Item.OutletAirFreqSet>1)
ibcSystemService.Item.OutletAirFreqSet -= 1f;
}
private void button_k123_Click(object sender, RoutedEventArgs e)
......@@ -120,14 +120,14 @@ namespace FLY.IBC.UI.Client.UiModule
private void button_downOutletAir_plus_Click(object sender, RoutedEventArgs e)
{
if (ibcSystemService.Item.DownOutletAirFreqSet < 49.9)
ibcSystemService.Item.DownOutletAirFreqSet += 0.1f;
if (ibcSystemService.Item.DownOutletAirFreqSet < 49)
ibcSystemService.Item.DownOutletAirFreqSet += 1f;
}
private void button_downOutletAir_minus_Click(object sender, RoutedEventArgs e)
{
if (ibcSystemService.Item.DownOutletAirFreqSet > 0.1)
ibcSystemService.Item.DownOutletAirFreqSet -= 0.1f;
if (ibcSystemService.Item.DownOutletAirFreqSet > 1)
ibcSystemService.Item.DownOutletAirFreqSet -= 1f;
}
}
......
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