Commit 5c1cba50 by 马宁-艾果

设置参数设置算法参数

parent 95a506a0
//------------------------------------------------------------------------------ 
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlGeneratedNamespace {
/// <summary>
/// GeneratedInternalTypeHelper
/// </summary>
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
/// <summary>
/// CreateInstance
/// </summary>
protected override object CreateInstance(System.Type type, System.Globalization.CultureInfo culture) {
return System.Activator.CreateInstance(type, ((System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic)
| (System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.CreateInstance)), null, null, culture);
}
/// <summary>
/// GetPropertyValue
/// </summary>
protected override object GetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, System.Globalization.CultureInfo culture) {
return propertyInfo.GetValue(target, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// SetPropertyValue
/// </summary>
protected override void SetPropertyValue(System.Reflection.PropertyInfo propertyInfo, object target, object value, System.Globalization.CultureInfo culture) {
propertyInfo.SetValue(target, value, System.Reflection.BindingFlags.Default, null, null, culture);
}
/// <summary>
/// CreateDelegate
/// </summary>
protected override System.Delegate CreateDelegate(System.Type delegateType, object target, string handler) {
return ((System.Delegate)(target.GetType().InvokeMember("_CreateDelegate", (System.Reflection.BindingFlags.InvokeMethod
| (System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)), null, target, new object[] {
delegateType,
handler}, null)));
}
/// <summary>
/// AddEventHandler
/// </summary>
protected override void AddEventHandler(System.Reflection.EventInfo eventInfo, object target, System.Delegate handler) {
eventInfo.AddEventHandler(target, handler);
}
}
}
...@@ -10,11 +10,11 @@ none ...@@ -10,11 +10,11 @@ none
false false
2-725104376 21870986562
3947974750 31364711570
17-1462717611 17-1683084370
Themes\Generic.xaml;Widgets\FootballFieldPanel\FootballFieldPanel.xaml; Themes\Generic.xaml;Widgets\FootballFieldPanel\FootballFieldPanel.xaml;
True False
...@@ -422,7 +422,7 @@ ...@@ -422,7 +422,7 @@
Margin="0,50,0,0" Margin="0,50,0,0"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Command="{Binding VideoSettingCommand}" Command="{Binding VideoSettingCommand}"
Content="视频配置" Content="置"
FontSize="24" FontSize="24"
Style="{StaticResource BigButtonStyle}" /> Style="{StaticResource BigButtonStyle}" />
</StackPanel> </StackPanel>
......
<UserControl x:Class="VIZ.FGOUT.Module.AlgorithmSettingPanelView" <UserControl
x:Class="VIZ.FGOUT.Module.AlgorithmSettingPanelView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:VIZ.FGOUT.Module"
xmlns:behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:behaviors="http://schemas.microsoft.com/xaml/behaviors"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:fcommon="clr-namespace:VIZ.Framework.Common;assembly=VIZ.Framework.Common" xmlns:fcommon="clr-namespace:VIZ.Framework.Common;assembly=VIZ.Framework.Common"
xmlns:local="clr-namespace:VIZ.FGOUT.Module"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:resource="clr-namespace:VIZ.FGOUT.Module.Resource;assembly=VIZ.FGOUT.Module.Resource" xmlns:resource="clr-namespace:VIZ.FGOUT.Module.Resource;assembly=VIZ.FGOUT.Module.Resource"
xmlns:sys="clr-namespace:System;assembly=mscorlib"
d:DataContext="{d:DesignInstance Type=local:AlgorithmSettingPanelViewModel}" d:DataContext="{d:DesignInstance Type=local:AlgorithmSettingPanelViewModel}"
mc:Ignorable="d" d:DesignHeight="450"
d:DesignHeight="450" d:DesignWidth="800"> d:DesignWidth="800"
mc:Ignorable="d">
<UserControl.Resources> <UserControl.Resources>
<ResourceDictionary> <ResourceDictionary>
<ResourceDictionary.MergedDictionaries> <ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/VIZ.FGOUT.Module.Resource;component/Style/ComboBox/ComboBox_Setting.xaml"></ResourceDictionary> <ResourceDictionary Source="/VIZ.FGOUT.Module.Resource;component/Style/ComboBox/ComboBox_Setting.xaml" />
<ResourceDictionary Source="/VIZ.FGOUT.Module.Resource;component/Style/Button/Button_Setting.xaml"></ResourceDictionary> <ResourceDictionary Source="/VIZ.FGOUT.Module.Resource;component/Style/Button/Button_Setting.xaml" />
<ResourceDictionary Source="/VIZ.FGOUT.Module.Resource;component/Style/TextBox/TextBox_Setting.xaml"></ResourceDictionary> <ResourceDictionary Source="/VIZ.FGOUT.Module.Resource;component/Style/TextBox/TextBox_Setting.xaml" />
</ResourceDictionary.MergedDictionaries> </ResourceDictionary.MergedDictionaries>
<resource:AlgorithmStrategyTagStringConverter x:Key="AlgorithmStrategyTagStringConverter"></resource:AlgorithmStrategyTagStringConverter> <resource:AlgorithmStrategyTagStringConverter x:Key="AlgorithmStrategyTagStringConverter" />
<x:Array x:Key="TrueOrFalse" Type="sys:String">
<sys:String>False</sys:String>
<sys:String>True</sys:String>
</x:Array>
<x:Array x:Key="IsEnable" Type="sys:String">
<sys:String>Disable</sys:String>
<sys:String>Enable</sys:String>
</x:Array>
<x:Array x:Key="Eases" Type="sys:String">
<sys:String>Linear</sys:String>
<sys:String>Step</sys:String>
<sys:String>SinusoidalIn</sys:String>
<sys:String>SinusoidalOut</sys:String>
<sys:String>SinusoidalInOut</sys:String>
<sys:String>EaseIn</sys:String>
<sys:String>EaseOut</sys:String>
<sys:String>EaseInOut</sys:String>
<sys:String>ExpoIn</sys:String>
<sys:String>ExpoOut</sys:String>
<sys:String>ExpoInOut</sys:String>
<sys:String>CircularIn</sys:String>
<sys:String>CircularOut</sys:String>
<sys:String>CircularInOut</sys:String>
</x:Array>
<x:Array x:Key="LineFrontOrBehind" Type="sys:String">
<sys:String>LineFront</sys:String>
<sys:String>LineBehind</sys:String>
</x:Array>
</ResourceDictionary> </ResourceDictionary>
</UserControl.Resources> </UserControl.Resources>
<behaviors:Interaction.Triggers> <behaviors:Interaction.Triggers>
<behaviors:EventTrigger EventName="Loaded"> <behaviors:EventTrigger EventName="Loaded">
<behaviors:InvokeCommandAction Command="{Binding LoadedCommand}" /> <behaviors:InvokeCommandAction Command="{Binding LoadedCommand}" />
</behaviors:EventTrigger> </behaviors:EventTrigger>
</behaviors:Interaction.Triggers> </behaviors:Interaction.Triggers>
<Grid> <Grid Margin="15,0,0,0">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="60"></RowDefinition> <RowDefinition Height="60" />
<RowDefinition Height="60"></RowDefinition> <RowDefinition Height="60" />
<RowDefinition Height="60"></RowDefinition> <RowDefinition Height="60" />
<RowDefinition Height="60"></RowDefinition> <RowDefinition Height="60" />
<RowDefinition Height="*"></RowDefinition> <RowDefinition Height="60" />
<RowDefinition Height="60" />
<RowDefinition Height="*" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<!-- 模块 --> <!-- 模块 -->
<TextBlock Text="模块" Foreground="White" FontSize="18" VerticalAlignment="Center" Margin="45,0,40,0" Grid.Row="0"></TextBlock> <!--<TextBlock Text="模块" Foreground="White" FontSize="18" VerticalAlignment="Center" Margin="45,0,40,0" Grid.Row="0"></TextBlock>
<ComboBox Style="{StaticResource ComboBox_Setting}" Grid.Row="1" Margin="45,0,40,0" Height="40" <ComboBox Style="{StaticResource ComboBox_Setting}" Grid.Row="1" Margin="45,0,40,0" Height="40"
ItemsSource="{Binding Path=AlgorithmGroups,Mode=OneWay}" ItemsSource="{Binding Path=AlgorithmGroups,Mode=OneWay}"
SelectedValue="{Binding Path=SelectedAlgorithmGroup,Mode=TwoWay}"> SelectedValue="{Binding Path=SelectedAlgorithmGroup,Mode=TwoWay}">
...@@ -48,9 +90,9 @@ ...@@ -48,9 +90,9 @@
</Border> </Border>
</DataTemplate> </DataTemplate>
</ComboBox.ItemTemplate> </ComboBox.ItemTemplate>
</ComboBox> </ComboBox>-->
<!-- 裁切策略 --> <!-- 裁切策略 -->
<TextBlock Text="裁切策略" Foreground="White" FontSize="18" VerticalAlignment="Center" Margin="45,0,40,0" Grid.Row="2"></TextBlock> <!--<TextBlock Text="裁切策略" Foreground="White" FontSize="18" VerticalAlignment="Center" Margin="45,0,40,0" Grid.Row="2"></TextBlock>
<ComboBox Style="{StaticResource ComboBox_Setting}" Grid.Row="3" Margin="45,0,40,0" Height="40" <ComboBox Style="{StaticResource ComboBox_Setting}" Grid.Row="3" Margin="45,0,40,0" Height="40"
ItemsSource="{Binding Path=AlgorithmStrategys,Mode=OneWay}" ItemsSource="{Binding Path=AlgorithmStrategys,Mode=OneWay}"
SelectedValue="{Binding Path=SelectedAlgorithmStrategy,Mode=TwoWay}"> SelectedValue="{Binding Path=SelectedAlgorithmStrategy,Mode=TwoWay}">
...@@ -61,12 +103,442 @@ ...@@ -61,12 +103,442 @@
</Border> </Border>
</DataTemplate> </DataTemplate>
</ComboBox.ItemTemplate> </ComboBox.ItemTemplate>
</ComboBox> </ComboBox>-->
<fcommon:NavigationControl Grid.Row="4" <!--<fcommon:NavigationControl
Grid.Row="4"
ItemsSource="{Binding Path=AllAlgorithmStrategys}" ItemsSource="{Binding Path=AllAlgorithmStrategys}"
SelectedValue="{Binding Path=SelectedAlgorithmStrategy,Mode=OneWay}"> SelectedValue="{Binding Path=SelectedAlgorithmStrategy, Mode=OneWay}" />-->
</fcommon:NavigationControl> <!--<StackPanel Grid.Row="2" Grid.RowSpan="4">-->
<TextBlock
Grid.Row="0"
Grid.ColumnSpan="6"
VerticalAlignment="Center"
FontSize="18"
Foreground="White"
Text="赛事" />
<!--<ComboBox
Grid.Row="5"
Width="510"
Height="40"
ItemsSource="{Binding Path=MatchTypes, Mode=OneWay}"
SelectedValue="{Binding Path=SelectedMatchType, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />-->
<ComboBox
x:Name="_Sports_"
Grid.Row="1"
Grid.ColumnSpan="6"
Width="550"
Height="40"
Margin="0,10,0,10"
SelectedValue="{Binding PresetsItem, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}"
Visibility="{Binding IsCam1Visibility, Mode=TwoWay}">
<b:Interaction.Triggers>
<b:EventTrigger EventName="SelectionChanged">
<b:InvokeCommandAction Command="{Binding PresetsSelectionChangedCommand}" />
</b:EventTrigger>
</b:Interaction.Triggers>
</ComboBox>
<TextBlock
Grid.Row="2"
VerticalAlignment="Center"
FontSize="18"
Foreground="White"
Text="算法参数" />
<TextBlock
Grid.Row="3"
VerticalAlignment="Center"
FontSize="16"
Foreground="White"
Text="maintain_matting_n" />
<TextBox
Grid.Row="3"
Grid.Column="1"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Maintain_matting_n, Mode=TwoWay}" />
<TextBlock
Grid.Row="3"
Grid.Column="2"
VerticalAlignment="Center"
FontSize="16"
Foreground="White"
Text="matting_interval" />
<TextBox
Grid.Row="3"
Grid.Column="3"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Matting_interval, Mode=TwoWay}" />
<TextBlock
Grid.Row="3"
Grid.Column="4"
VerticalAlignment="Center"
FontSize="16"
Foreground="White"
Text="extend_frame" />
<TextBox
Grid.Row="3"
Grid.Column="5"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Extend_frame, Mode=TwoWay}" />
<TextBlock
Grid.Row="4"
VerticalAlignment="Center"
FontSize="16"
Foreground="White"
Text="pad_det_x" />
<TextBox
Grid.Row="4"
Grid.Column="1"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Pad_det_x, Mode=TwoWay}" />
<TextBlock
Grid.Row="4"
Grid.Column="2"
VerticalAlignment="Center"
FontSize="16"
Foreground="White"
Text="pad_det_y" />
<TextBox
Grid.Row="4"
Grid.Column="3"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Pad_det_y, Mode=TwoWay}" />
<TextBlock
Grid.Row="4"
Grid.Column="4"
VerticalAlignment="Center"
FontSize="16"
Foreground="White"
Text="pad_det_square" />
<TextBox
Grid.Row="4"
Grid.Column="5"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Pad_det_square, Mode=TwoWay}" />
<TextBlock
Grid.Row="5"
Grid.Column="0"
VerticalAlignment="Center"
FontSize="16"
Foreground="White"
Text="scale" />
<TextBox
Grid.Row="5"
Grid.Column="1"
Style="{StaticResource TextBoxStyle}"
Text="{Binding AScale, Mode=TwoWay}" />
<!--<TabControl
Grid.Row="2"
Grid.RowSpan="2"
Background="Transparent"
Visibility="{Binding IsCam1Visibility, Mode=TwoWay}">
<TabItem
Background="{StaticResource ButtonMouseoverBackground}"
FontSize="18"
Header="UE预设">
<Grid Width="700" Margin="0,10">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
-->
<!--<RowDefinition />-->
<!--
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2.5*" />
<ColumnDefinition Width="3*" />
<ColumnDefinition Width="2*" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>
<TextBlock
VerticalAlignment="Center"
Foreground="White"
Text="ZoomEase:" />
<ComboBox
Grid.Column="1"
Width="180"
ItemsSource="{StaticResource Eases}"
SelectedItem="{Binding ZoomEaseItem, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<TextBlock
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="MoveEase:" />
<ComboBox
Grid.Column="3"
Width="180"
ItemsSource="{StaticResource Eases}"
SelectedItem="{Binding MoveEaseItem, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<TextBlock
Grid.Row="1"
VerticalAlignment="Center"
Foreground="White"
Text="Scale%:" />
<TextBox
Grid.Row="1"
Grid.Column="1"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Scale, Mode=TwoWay}" />
<TextBlock
Grid.Row="2"
Grid.Column="0"
VerticalAlignment="Center"
Foreground="White"
Text="Line:" />
<ToggleButton
x:Name="EnableSpline"
Grid.Row="2"
Grid.Column="1"
IsChecked="{Binding BEnableSpline, Mode=TwoWay}"
Style="{StaticResource EnableOrDisableToggleButtonStyle}" />
<TextBlock
Grid.Row="2"
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="Curve:" />
<ToggleButton
Grid.Row="2"
Grid.Column="3"
IsChecked="{Binding Line, Mode=TwoWay}"
IsEnabled="{Binding ElementName=EnableSpline, Path=IsChecked}"
Style="{StaticResource LineFrontOrBehindToggleButtonStyle}" />
<TextBlock
Grid.Row="3"
VerticalAlignment="Center"
Foreground="White"
Text="ZoomIn:" />
<TextBox
Grid.Row="3"
Grid.Column="1"
Style="{StaticResource TextBoxStyle}"
Text="{Binding ZoomIn, Mode=TwoWay}" />
<TextBlock
Grid.Row="3"
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="ZoomOut:" />
<TextBox
Grid.Row="3"
Grid.Column="3"
Style="{StaticResource TextBoxStyle}"
Text="{Binding ZoomOut, Mode=TwoWay}" />
<TextBlock
Grid.Row="4"
VerticalAlignment="Center"
Foreground="White"
Text="Move:" />
<TextBox
Grid.Row="4"
Grid.Column="1"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Move, Mode=TwoWay}" />
<TextBlock
Grid.Row="4"
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="SafeScale:" />
<TextBox
Grid.Row="4"
Grid.Column="3"
Style="{StaticResource TextBoxStyle}"
Text="{Binding SafeScale, Mode=TwoWay}" />
<TextBlock
Grid.Row="5"
VerticalAlignment="Center"
Foreground="White"
Text="ShowHeight:" />
<ComboBox
Grid.Row="5"
Grid.Column="1"
ItemsSource="{StaticResource TrueOrFalse}"
SelectedIndex="{Binding ShowHeight, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
Grid.Row="5"
Grid.Column="1"
IsChecked="{Binding ShowHeight, Mode=TwoWay}"
Style="{StaticResource FalseOrTrueToggleButtonStyle}" />
<TextBlock
Grid.Row="5"
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="ShowSpeed:" />
<ComboBox
Grid.Row="5"
Grid.Column="3"
ItemsSource="{StaticResource TrueOrFalse}"
SelectedIndex="{Binding ShowSpeed, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
Grid.Row="5"
Grid.Column="3"
IsChecked="{Binding ShowSpeed, Mode=TwoWay}"
Style="{StaticResource FalseOrTrueToggleButtonStyle}" />
<TextBlock
Grid.Row="6"
VerticalAlignment="Center"
Foreground="White"
Text="UseZoom:" />
<ComboBox
Grid.Row="6"
Grid.Column="1"
ItemsSource="{StaticResource TrueOrFalse}"
SelectedIndex="{Binding UseZoom, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
Grid.Row="6"
Grid.Column="1"
IsChecked="{Binding UseZoom, Mode=TwoWay}"
Style="{StaticResource FalseOrTrueToggleButtonStyle}" />
<TextBlock
Grid.Row="7"
VerticalAlignment="Center"
Foreground="White"
Text="MovementOnlyX:" />
<ComboBox
Grid.Row="7"
Grid.Column="1"
ItemsSource="{StaticResource IsEnable}"
SelectedIndex="{Binding BMovementOnlyX, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
x:Name="MovementOnlyX"
Grid.Row="7"
Grid.Column="1"
IsChecked="{Binding BMovementOnlyX, Mode=TwoWay}"
Style="{StaticResource EnableOrDisableToggleButtonStyle}" />
<TextBox
Grid.Row="7"
Grid.Column="2"
IsEnabled="{Binding ElementName=MovementOnlyX, Path=IsChecked}"
Style="{StaticResource TextBoxStyle}"
Text="{Binding MovementOnlyXPosition, Mode=TwoWay}" />
<TextBlock
Grid.Row="8"
VerticalAlignment="Center"
Foreground="White"
Text="MovementOnlyY:" />
<ComboBox
Grid.Row="8"
Grid.Column="1"
ItemsSource="{StaticResource IsEnable}"
SelectedIndex="{Binding BMovementOnlyY, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
x:Name="MovementOnlyY"
Grid.Row="8"
Grid.Column="1"
IsChecked="{Binding BMovementOnlyY, Mode=TwoWay}"
Style="{StaticResource EnableOrDisableToggleButtonStyle}" />
<TextBox
Grid.Row="8"
Grid.Column="2"
IsEnabled="{Binding ElementName=MovementOnlyY, Path=IsChecked}"
Style="{StaticResource TextBoxStyle}"
Text="{Binding MovementOnlyYPosition, Mode=TwoWay}" />
-->
<!--<Button
Grid.Row="9"
Grid.Column="3"
Width="60"
HorizontalAlignment="Center"
Command="{Binding Path=SaveCommand}"
Content="Save"
Style="{StaticResource ButtonStyle}" />-->
<!--
</Grid>
</TabItem>
<TabItem
Background="{StaticResource ButtonMouseoverBackground}"
FontSize="18"
Header="算法参数">
<Grid
Width="600"
Margin="0,10"
HorizontalAlignment="Left">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="maintain_matting_n" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Maintain_matting_n, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="matting_interval" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Matting_interval, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="2" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="extend_frame" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Extend_frame, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="3" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="pad_det_x" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Pad_det_x, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="4" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="pad_det_y" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Pad_det_y, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="5" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="pad_det_square" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Pad_det_square, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="6" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="scale" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding AScale, Mode=TwoWay}" />
</StackPanel>
</Grid>
</TabItem>
</TabControl>-->
<!--</StackPanel>-->
</Grid> </Grid>
</UserControl> </UserControl>
\ No newline at end of file
using System; using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls; using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using VIZ.Framework.Core; using VIZ.Framework.Core;
namespace VIZ.FGOUT.Module namespace VIZ.FGOUT.Module
...@@ -26,6 +14,8 @@ namespace VIZ.FGOUT.Module ...@@ -26,6 +14,8 @@ namespace VIZ.FGOUT.Module
InitializeComponent(); InitializeComponent();
WPFHelper.BindingViewModel(this, new AlgorithmSettingPanelViewModel()); WPFHelper.BindingViewModel(this, new AlgorithmSettingPanelViewModel());
_Sports_.ItemsSource = new List<string>() { "", "跳远", "三级跳", "跳马", "标枪", "自由操", "单杠", "高低杠", "单人3m跳水", "单人10m跳水", "双人3m跳水", "双人10m跳水", "双人速度攀岩" };
} }
} }
} }
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
x:Class="VIZ.FGOUT.Module.NDISettingPanelView" x:Class="VIZ.FGOUT.Module.NDISettingPanelView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:b="http://schemas.microsoft.com/xaml/behaviors"
xmlns:behaviors="http://schemas.microsoft.com/xaml/behaviors" xmlns:behaviors="http://schemas.microsoft.com/xaml/behaviors"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:VIZ.FGOUT.Module" xmlns:local="clr-namespace:VIZ.FGOUT.Module"
...@@ -58,7 +57,7 @@ ...@@ -58,7 +57,7 @@
</behaviors:EventTrigger> </behaviors:EventTrigger>
</behaviors:Interaction.Triggers> </behaviors:Interaction.Triggers>
<Border> <Border>
<Grid Margin="5,30,5,0"> <Grid Margin="15,30,5,0">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="60" /> <RowDefinition Height="60" />
<RowDefinition Height="60" /> <RowDefinition Height="60" />
...@@ -131,343 +130,7 @@ ...@@ -131,343 +130,7 @@
</DataTemplate> </DataTemplate>
</ComboBox.ItemTemplate> </ComboBox.ItemTemplate>
</ComboBox>--> </ComboBox>-->
<!--<StackPanel Grid.Row="2" Grid.RowSpan="4">-->
<TextBlock
Grid.Row="2"
VerticalAlignment="Center"
FontSize="18"
Foreground="White"
Text="赛事"
Visibility="{Binding IsCam1Visibility, Mode=TwoWay}" />
<!--<ComboBox
Grid.Row="5"
Width="510"
Height="40"
ItemsSource="{Binding Path=MatchTypes, Mode=OneWay}"
SelectedValue="{Binding Path=SelectedMatchType, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />-->
<ComboBox
x:Name="_Sports_"
Grid.Row="3"
Width="550"
Height="40"
Margin="0,10,0,10"
SelectedValue="{Binding PresetsItem, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}"
Visibility="{Binding IsCam1Visibility, Mode=TwoWay}">
<b:Interaction.Triggers>
<b:EventTrigger EventName="SelectionChanged">
<b:InvokeCommandAction Command="{Binding PresetsSelectionChangedCommand}" />
</b:EventTrigger>
</b:Interaction.Triggers>
</ComboBox>
<TabControl
Grid.Row="4"
Grid.RowSpan="2"
Background="Transparent"
Visibility="{Binding IsCam1Visibility, Mode=TwoWay}">
<TabItem
Background="{StaticResource ButtonMouseoverBackground}"
FontSize="18"
Header="UE预设">
<Grid Width="700" Margin="0,10">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<!--<RowDefinition />-->
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2.5*" />
<ColumnDefinition Width="3*" />
<ColumnDefinition Width="2*" />
<ColumnDefinition Width="3*" />
</Grid.ColumnDefinitions>
<TextBlock
VerticalAlignment="Center"
Foreground="White"
Text="ZoomEase:" />
<ComboBox
Grid.Column="1"
Width="180"
ItemsSource="{StaticResource Eases}"
SelectedItem="{Binding ZoomEaseItem, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<TextBlock
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="MoveEase:" />
<ComboBox
Grid.Column="3"
Width="180"
ItemsSource="{StaticResource Eases}"
SelectedItem="{Binding MoveEaseItem, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<TextBlock
Grid.Row="1"
VerticalAlignment="Center"
Foreground="White"
Text="Scale%:" />
<TextBox
Grid.Row="1"
Grid.Column="1"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Scale, Mode=TwoWay}" />
<TextBlock
Grid.Row="2"
Grid.Column="0"
VerticalAlignment="Center"
Foreground="White"
Text="Line:" />
<ToggleButton
x:Name="EnableSpline"
Grid.Row="2"
Grid.Column="1"
IsChecked="{Binding BEnableSpline, Mode=TwoWay}"
Style="{StaticResource EnableOrDisableToggleButtonStyle}" />
<TextBlock
Grid.Row="2"
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="Curve:" />
<ToggleButton
Grid.Row="2"
Grid.Column="3"
IsChecked="{Binding Line, Mode=TwoWay}"
IsEnabled="{Binding ElementName=EnableSpline, Path=IsChecked}"
Style="{StaticResource LineFrontOrBehindToggleButtonStyle}" />
<TextBlock
Grid.Row="3"
VerticalAlignment="Center"
Foreground="White"
Text="ZoomIn:" />
<TextBox
Grid.Row="3"
Grid.Column="1"
Style="{StaticResource TextBoxStyle}"
Text="{Binding ZoomIn, Mode=TwoWay}" />
<TextBlock
Grid.Row="3"
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="ZoomOut:" />
<TextBox
Grid.Row="3"
Grid.Column="3"
Style="{StaticResource TextBoxStyle}"
Text="{Binding ZoomOut, Mode=TwoWay}" />
<TextBlock
Grid.Row="4"
VerticalAlignment="Center"
Foreground="White"
Text="Move:" />
<TextBox
Grid.Row="4"
Grid.Column="1"
Style="{StaticResource TextBoxStyle}"
Text="{Binding Move, Mode=TwoWay}" />
<TextBlock
Grid.Row="4"
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="SafeScale:" />
<TextBox
Grid.Row="4"
Grid.Column="3"
Style="{StaticResource TextBoxStyle}"
Text="{Binding SafeScale, Mode=TwoWay}" />
<TextBlock
Grid.Row="5"
VerticalAlignment="Center"
Foreground="White"
Text="ShowHeight:" />
<ComboBox
Grid.Row="5"
Grid.Column="1"
ItemsSource="{StaticResource TrueOrFalse}"
SelectedIndex="{Binding ShowHeight, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
Grid.Row="5"
Grid.Column="1"
IsChecked="{Binding ShowHeight, Mode=TwoWay}"
Style="{StaticResource FalseOrTrueToggleButtonStyle}" />
<TextBlock
Grid.Row="5"
Grid.Column="2"
VerticalAlignment="Center"
Foreground="White"
Text="ShowSpeed:" />
<ComboBox
Grid.Row="5"
Grid.Column="3"
ItemsSource="{StaticResource TrueOrFalse}"
SelectedIndex="{Binding ShowSpeed, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
Grid.Row="5"
Grid.Column="3"
IsChecked="{Binding ShowSpeed, Mode=TwoWay}"
Style="{StaticResource FalseOrTrueToggleButtonStyle}" />
<TextBlock
Grid.Row="6"
VerticalAlignment="Center"
Foreground="White"
Text="UseZoom:" />
<ComboBox
Grid.Row="6"
Grid.Column="1"
ItemsSource="{StaticResource TrueOrFalse}"
SelectedIndex="{Binding UseZoom, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
Grid.Row="6"
Grid.Column="1"
IsChecked="{Binding UseZoom, Mode=TwoWay}"
Style="{StaticResource FalseOrTrueToggleButtonStyle}" />
<TextBlock
Grid.Row="7"
VerticalAlignment="Center"
Foreground="White"
Text="MovementOnlyX:" />
<ComboBox
Grid.Row="7"
Grid.Column="1"
ItemsSource="{StaticResource IsEnable}"
SelectedIndex="{Binding BMovementOnlyX, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
x:Name="MovementOnlyX"
Grid.Row="7"
Grid.Column="1"
IsChecked="{Binding BMovementOnlyX, Mode=TwoWay}"
Style="{StaticResource EnableOrDisableToggleButtonStyle}" />
<TextBox
Grid.Row="7"
Grid.Column="2"
IsEnabled="{Binding ElementName=MovementOnlyX, Path=IsChecked}"
Style="{StaticResource TextBoxStyle}"
Text="{Binding MovementOnlyXPosition, Mode=TwoWay}" />
<TextBlock
Grid.Row="8"
VerticalAlignment="Center"
Foreground="White"
Text="MovementOnlyY:" />
<ComboBox
Grid.Row="8"
Grid.Column="1"
ItemsSource="{StaticResource IsEnable}"
SelectedIndex="{Binding BMovementOnlyY, Mode=TwoWay}"
Style="{StaticResource ComboBoxStyle}" />
<ToggleButton
x:Name="MovementOnlyY"
Grid.Row="8"
Grid.Column="1"
IsChecked="{Binding BMovementOnlyY, Mode=TwoWay}"
Style="{StaticResource EnableOrDisableToggleButtonStyle}" />
<TextBox
Grid.Row="8"
Grid.Column="2"
IsEnabled="{Binding ElementName=MovementOnlyY, Path=IsChecked}"
Style="{StaticResource TextBoxStyle}"
Text="{Binding MovementOnlyYPosition, Mode=TwoWay}" />
<!--<Button
Grid.Row="9"
Grid.Column="3"
Width="60"
HorizontalAlignment="Center"
Command="{Binding Path=SaveCommand}"
Content="Save"
Style="{StaticResource ButtonStyle}" />-->
</Grid>
</TabItem>
<TabItem
Background="{StaticResource ButtonMouseoverBackground}"
FontSize="18"
Header="算法参数">
<Grid
Width="600"
Margin="0,10"
HorizontalAlignment="Left">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="maintain_matting_n" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Maintain_matting_n, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="1" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="matting_interval" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Matting_interval, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="2" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="extend_frame" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Extend_frame, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="3" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="pad_det_x" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Pad_det_x, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="4" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="pad_det_y" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Pad_det_y, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="5" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="pad_det_square" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding Pad_det_square, Mode=TwoWay}" />
</StackPanel>
<StackPanel Grid.Row="6" Orientation="Horizontal">
<TextBlock
Width="180"
VerticalAlignment="Center"
Foreground="White"
Text="scale" />
<TextBox Style="{StaticResource TextBoxStyle}" Text="{Binding AScale, Mode=TwoWay}" />
</StackPanel>
</Grid>
</TabItem>
</TabControl>
<!--</StackPanel>-->
</Grid> </Grid>
</Border> </Border>
</UserControl> </UserControl>
using System.Collections.Generic; using System.Windows.Controls;
using System.Windows.Controls;
using VIZ.Framework.Core; using VIZ.Framework.Core;
namespace VIZ.FGOUT.Module namespace VIZ.FGOUT.Module
...@@ -14,8 +13,6 @@ namespace VIZ.FGOUT.Module ...@@ -14,8 +13,6 @@ namespace VIZ.FGOUT.Module
InitializeComponent(); InitializeComponent();
WPFHelper.BindingViewModel(this, new NDISettingPanelViewModel()); WPFHelper.BindingViewModel(this, new NDISettingPanelViewModel());
_Sports_.ItemsSource = new List<string>() { "", "跳远", "三级跳", "跳马", "标枪", "自由操", "单杠", "高低杠", "单人3m跳水", "单人10m跳水", "双人3m跳水", "双人10m跳水", "双人速度攀岩" };
} }
} }
} }
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
xmlns:fcommon="clr-namespace:VIZ.Framework.Common;assembly=VIZ.Framework.Common" xmlns:fcommon="clr-namespace:VIZ.Framework.Common;assembly=VIZ.Framework.Common"
xmlns:local="clr-namespace:VIZ.FGOUT.Module" xmlns:local="clr-namespace:VIZ.FGOUT.Module"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Width="900"
Height="800"
d:DataContext="{d:DesignInstance Type=local:NDISettingViewModel}" d:DataContext="{d:DesignInstance Type=local:NDISettingViewModel}"
d:DesignHeight="900"
d:DesignWidth="1200"
mc:Ignorable="d"> mc:Ignorable="d">
<!--<UserControl.Resources> <!--<UserControl.Resources>
<ResourceDictionary> <ResourceDictionary>
...@@ -58,8 +58,6 @@ ...@@ -58,8 +58,6 @@
Text="设置" /> Text="设置" />
</StackPanel> </StackPanel>
<StackPanel Grid.Row="1" Grid.RowSpan="2"> <StackPanel Grid.Row="1" Grid.RowSpan="2">
<!--<RadioButton Content="裁剪策略" Height="50" Foreground="White" FontSize="22" VerticalContentAlignment="Center"
x:Name="rbAlgorithm" Style="{StaticResource RadioButton_Setting}" IsChecked="True"></RadioButton>-->
<RadioButton <RadioButton
x:Name="rbNDI" x:Name="rbNDI"
Height="50" Height="50"
...@@ -69,6 +67,15 @@ ...@@ -69,6 +67,15 @@
Foreground="White" Foreground="White"
IsChecked="True" IsChecked="True"
Style="{StaticResource RadioButton_Setting}" /> Style="{StaticResource RadioButton_Setting}" />
<RadioButton
x:Name="rbAlgorithm"
Height="50"
VerticalContentAlignment="Center"
Content="参数设置"
FontSize="22"
Foreground="White"
Style="{StaticResource RadioButton_Setting}"
Visibility="{Binding IsCam1Visibility}" />
</StackPanel> </StackPanel>
<Button <Button
Grid.Column="1" Grid.Column="1"
...@@ -81,6 +88,7 @@ ...@@ -81,6 +88,7 @@
Grid.Row="0" Grid.Row="0"
Grid.RowSpan="2" Grid.RowSpan="2"
Grid.Column="1"> Grid.Column="1">
<fcommon:NavigationItemControl IsSelected="{Binding ElementName=rbAlgorithm, Path=IsChecked, Mode=OneWay}" ViewType="{x:Type local:AlgorithmSettingPanelView}" />
<fcommon:NavigationItemControl IsSelected="{Binding ElementName=rbNDI, Path=IsChecked, Mode=OneWay}" ViewType="{x:Type local:NDISettingPanelView}" /> <fcommon:NavigationItemControl IsSelected="{Binding ElementName=rbNDI, Path=IsChecked, Mode=OneWay}" ViewType="{x:Type local:NDISettingPanelView}" />
</fcommon:NavigationControl> </fcommon:NavigationControl>
<!-- 底部 --> <!-- 底部 -->
......
...@@ -253,8 +253,6 @@ namespace VIZ.FGOUT.Module ...@@ -253,8 +253,6 @@ namespace VIZ.FGOUT.Module
} }
private Visibility _isCam1Visibility = Visibility.Visible; private Visibility _isCam1Visibility = Visibility.Visible;
/// <summary> /// <summary>
/// 是Cam1就显示 /// 是Cam1就显示
/// </summary> /// </summary>
......
using log4net; using log4net;
using Newtonsoft.Json;
using System.Collections.Generic; using System.Collections.Generic;
using System.Windows.Shapes; using System.Windows;
using VIZ.FGOUT.Connection.UDP.Clip.Signal.Send;
using VIZ.FGOUT.Domain; using VIZ.FGOUT.Domain;
using VIZ.FGOUT.Storage; using VIZ.FGOUT.Storage;
using VIZ.Framework.Common; using VIZ.Framework.Common;
using VIZ.Framework.Connection;
using VIZ.Framework.Core; using VIZ.Framework.Core;
namespace VIZ.FGOUT.Module namespace VIZ.FGOUT.Module
...@@ -163,11 +160,26 @@ namespace VIZ.FGOUT.Module ...@@ -163,11 +160,26 @@ namespace VIZ.FGOUT.Module
{ {
NdiViewConfig config = ApplicationDomainEx.ServiceManager.GetService<INDIViewService>(this.ViewKey).ViewConfig; NdiViewConfig config = ApplicationDomainEx.ServiceManager.GetService<INDIViewService>(this.ViewKey).ViewConfig;
this.ViewConfig = config; this.ViewConfig = config;
if (this.ViewKey.Equals(NDIViewKeys.CAM_2))
IsCam1Visibility = Visibility.Collapsed;
else if (this.ViewKey.Equals(NDIViewKeys.CAM_1))
IsCam1Visibility = Visibility.Visible;
} }
} }
#endregion #endregion
private Visibility _isCam1Visibility = Visibility.Visible;
/// <summary>
/// 是Cam1就显示
/// </summary>
public Visibility IsCam1Visibility
{
get { return _isCam1Visibility; }
set { _isCam1Visibility = value; this.RaisePropertyChanged(nameof(IsCam1Visibility)); }
}
#region CancelCommand -- 取消命令 #region CancelCommand -- 取消命令
/// <summary> /// <summary>
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "246CB3D0589E746A77AAE2EA419AE34EE44325F4DDA8F5E0F68ECB7EE3C9DD24" #pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F0CB3519E538CED13041FB8E895A389830E6ED5349F119CFF8BD51D043BC9E62"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "246CB3D0589E746A77AAE2EA419AE34EE44325F4DDA8F5E0F68ECB7EE3C9DD24" #pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F0CB3519E538CED13041FB8E895A389830E6ED5349F119CFF8BD51D043BC9E62"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
......
#pragma checksum "..\..\..\..\..\NDISettingView\View\AlgorithmSettingPanelView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0C7AC5B59A29AAB96382DA51EFD9A11E580BFF0D0ABAB4083A2728D8053C22A3" #pragma checksum "..\..\..\..\..\NDISettingView\View\AlgorithmSettingPanelView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9E1D10410648B9683B8DE73A3AEC38136420E9D2116D70AA8461A6971BEC60D0"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -47,6 +47,14 @@ namespace VIZ.FGOUT.Module { ...@@ -47,6 +47,14 @@ namespace VIZ.FGOUT.Module {
/// </summary> /// </summary>
public partial class AlgorithmSettingPanelView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { public partial class AlgorithmSettingPanelView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 129 "..\..\..\..\..\NDISettingView\View\AlgorithmSettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ComboBox _Sports_;
#line default
#line hidden
private bool _contentLoaded; private bool _contentLoaded;
/// <summary> /// <summary>
...@@ -75,6 +83,12 @@ namespace VIZ.FGOUT.Module { ...@@ -75,6 +83,12 @@ namespace VIZ.FGOUT.Module {
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this._Sports_ = ((System.Windows.Controls.ComboBox)(target));
return;
}
this._contentLoaded = true; this._contentLoaded = true;
} }
} }
......
#pragma checksum "..\..\..\..\..\NDISettingView\View\AlgorithmSettingPanelView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0C7AC5B59A29AAB96382DA51EFD9A11E580BFF0D0ABAB4083A2728D8053C22A3" #pragma checksum "..\..\..\..\..\NDISettingView\View\AlgorithmSettingPanelView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9E1D10410648B9683B8DE73A3AEC38136420E9D2116D70AA8461A6971BEC60D0"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -47,6 +47,14 @@ namespace VIZ.FGOUT.Module { ...@@ -47,6 +47,14 @@ namespace VIZ.FGOUT.Module {
/// </summary> /// </summary>
public partial class AlgorithmSettingPanelView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { public partial class AlgorithmSettingPanelView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 129 "..\..\..\..\..\NDISettingView\View\AlgorithmSettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ComboBox _Sports_;
#line default
#line hidden
private bool _contentLoaded; private bool _contentLoaded;
/// <summary> /// <summary>
...@@ -75,6 +83,12 @@ namespace VIZ.FGOUT.Module { ...@@ -75,6 +83,12 @@ namespace VIZ.FGOUT.Module {
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this._Sports_ = ((System.Windows.Controls.ComboBox)(target));
return;
}
this._contentLoaded = true; this._contentLoaded = true;
} }
} }
......
#pragma checksum "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4D595C38494AFCEB4D804C8DF75A6C84207955539EEA59714C8DDB9AB01A8C1E" #pragma checksum "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0FB6D42FBF898DCDF11B740998213B64B0B5056C6C5CEA059C3C934F0929D71E"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -62,38 +62,6 @@ namespace VIZ.FGOUT.Module { ...@@ -62,38 +62,6 @@ namespace VIZ.FGOUT.Module {
/// </summary> /// </summary>
public partial class NDISettingPanelView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { public partial class NDISettingPanelView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 150 "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ComboBox _Sports_;
#line default
#line hidden
#line 230 "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Primitives.ToggleButton EnableSpline;
#line default
#line hidden
#line 350 "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Primitives.ToggleButton MovementOnlyX;
#line default
#line hidden
#line 373 "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Primitives.ToggleButton MovementOnlyY;
#line default
#line hidden
private bool _contentLoaded; private bool _contentLoaded;
/// <summary> /// <summary>
...@@ -122,21 +90,6 @@ namespace VIZ.FGOUT.Module { ...@@ -122,21 +90,6 @@ namespace VIZ.FGOUT.Module {
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this._Sports_ = ((System.Windows.Controls.ComboBox)(target));
return;
case 2:
this.EnableSpline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
return;
case 3:
this.MovementOnlyX = ((System.Windows.Controls.Primitives.ToggleButton)(target));
return;
case 4:
this.MovementOnlyY = ((System.Windows.Controls.Primitives.ToggleButton)(target));
return;
}
this._contentLoaded = true; this._contentLoaded = true;
} }
} }
......
#pragma checksum "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4D595C38494AFCEB4D804C8DF75A6C84207955539EEA59714C8DDB9AB01A8C1E" #pragma checksum "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "0FB6D42FBF898DCDF11B740998213B64B0B5056C6C5CEA059C3C934F0929D71E"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -62,38 +62,6 @@ namespace VIZ.FGOUT.Module { ...@@ -62,38 +62,6 @@ namespace VIZ.FGOUT.Module {
/// </summary> /// </summary>
public partial class NDISettingPanelView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { public partial class NDISettingPanelView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 150 "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.ComboBox _Sports_;
#line default
#line hidden
#line 230 "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Primitives.ToggleButton EnableSpline;
#line default
#line hidden
#line 350 "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Primitives.ToggleButton MovementOnlyX;
#line default
#line hidden
#line 373 "..\..\..\..\..\NDISettingView\View\NDISettingPanelView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Primitives.ToggleButton MovementOnlyY;
#line default
#line hidden
private bool _contentLoaded; private bool _contentLoaded;
/// <summary> /// <summary>
...@@ -122,21 +90,6 @@ namespace VIZ.FGOUT.Module { ...@@ -122,21 +90,6 @@ namespace VIZ.FGOUT.Module {
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
switch (connectionId)
{
case 1:
this._Sports_ = ((System.Windows.Controls.ComboBox)(target));
return;
case 2:
this.EnableSpline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
return;
case 3:
this.MovementOnlyX = ((System.Windows.Controls.Primitives.ToggleButton)(target));
return;
case 4:
this.MovementOnlyY = ((System.Windows.Controls.Primitives.ToggleButton)(target));
return;
}
this._contentLoaded = true; this._contentLoaded = true;
} }
} }
......
#pragma checksum "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "240747B6F71A9ACD9F68A352975633D7F99C78994A1AE4EE2D67250E7C767928" #pragma checksum "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4F9B5C85633AE49854D67B6087B62599444A169F3147973692D9F7F7E5A53841"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -48,13 +48,21 @@ namespace VIZ.FGOUT.Module { ...@@ -48,13 +48,21 @@ namespace VIZ.FGOUT.Module {
public partial class NDISettingView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { public partial class NDISettingView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 64 "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml" #line 62 "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton rbNDI; internal System.Windows.Controls.RadioButton rbNDI;
#line default #line default
#line hidden #line hidden
#line 71 "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton rbAlgorithm;
#line default
#line hidden
private bool _contentLoaded; private bool _contentLoaded;
/// <summary> /// <summary>
...@@ -88,6 +96,9 @@ namespace VIZ.FGOUT.Module { ...@@ -88,6 +96,9 @@ namespace VIZ.FGOUT.Module {
case 1: case 1:
this.rbNDI = ((System.Windows.Controls.RadioButton)(target)); this.rbNDI = ((System.Windows.Controls.RadioButton)(target));
return; return;
case 2:
this.rbAlgorithm = ((System.Windows.Controls.RadioButton)(target));
return;
} }
this._contentLoaded = true; this._contentLoaded = true;
} }
......
#pragma checksum "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "240747B6F71A9ACD9F68A352975633D7F99C78994A1AE4EE2D67250E7C767928" #pragma checksum "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4F9B5C85633AE49854D67B6087B62599444A169F3147973692D9F7F7E5A53841"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -48,13 +48,21 @@ namespace VIZ.FGOUT.Module { ...@@ -48,13 +48,21 @@ namespace VIZ.FGOUT.Module {
public partial class NDISettingView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector { public partial class NDISettingView : System.Windows.Controls.UserControl, System.Windows.Markup.IComponentConnector {
#line 64 "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml" #line 62 "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton rbNDI; internal System.Windows.Controls.RadioButton rbNDI;
#line default #line default
#line hidden #line hidden
#line 71 "..\..\..\..\..\NDISettingView\View\NDISettingView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton rbAlgorithm;
#line default
#line hidden
private bool _contentLoaded; private bool _contentLoaded;
/// <summary> /// <summary>
...@@ -88,6 +96,9 @@ namespace VIZ.FGOUT.Module { ...@@ -88,6 +96,9 @@ namespace VIZ.FGOUT.Module {
case 1: case 1:
this.rbNDI = ((System.Windows.Controls.RadioButton)(target)); this.rbNDI = ((System.Windows.Controls.RadioButton)(target));
return; return;
case 2:
this.rbAlgorithm = ((System.Windows.Controls.RadioButton)(target));
return;
} }
this._contentLoaded = true; this._contentLoaded = true;
} }
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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