Commit be1fbff7 by 鲁志-悦动

间隔帧率、间隔像素切换发送给算法参数逻辑

parent a3583e62
...@@ -47,91 +47,91 @@ ...@@ -47,91 +47,91 @@
<behaviors:InvokeCommandAction Command="{Binding LoadedCommand}" /> <behaviors:InvokeCommandAction Command="{Binding LoadedCommand}" />
</behaviors:EventTrigger> </behaviors:EventTrigger>
</behaviors:Interaction.Triggers> </behaviors:Interaction.Triggers>
<ScrollViewer VerticalScrollBarVisibility="Disabled"> <!--<ScrollViewer VerticalScrollBarVisibility="Disabled">-->
<Grid> <Grid>
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="30" /> <RowDefinition Height="30" />
<RowDefinition Height="*" /> <RowDefinition Height="*" />
<!--<RowDefinition Height="30" />--> <!--<RowDefinition Height="30" />-->
</Grid.RowDefinitions> </Grid.RowDefinitions>
<!-- 顶部 --> <!-- 顶部 -->
<TextBox x:Name="tbFocus" Visibility="Collapsed" /> <TextBox x:Name="tbFocus" Visibility="Collapsed" />
<Grid Background="{StaticResource TitleBarBackground}"> <Grid Background="{StaticResource TitleBarBackground}">
<!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Left"> <!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<CheckBox Height="30" Style="{StaticResource CheckBox_One_Four}" ToolTip="窗口模式" <CheckBox Height="30" Style="{StaticResource CheckBox_One_Four}" ToolTip="窗口模式"
IsChecked="{Binding Path=IsOneScreenMode,Mode=TwoWay}"></CheckBox> IsChecked="{Binding Path=IsOneScreenMode,Mode=TwoWay}"></CheckBox>
</StackPanel>--> </StackPanel>-->
<TextBlock <TextBlock
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
FontSize="12" FontSize="12"
Foreground="White" Foreground="White"
Text="{Binding Title}" /> Text="{Binding Title}" />
<StackPanel <StackPanel
Grid.Column="2" Grid.Column="2"
HorizontalAlignment="Right" HorizontalAlignment="Right"
VerticalAlignment="Top" VerticalAlignment="Top"
Orientation="Horizontal"> Orientation="Horizontal">
<CheckBox <CheckBox
Height="30" Height="30"
IsChecked="{Binding Path=IsShowAlgorithmTargetBox, Mode=TwoWay}" IsChecked="{Binding Path=IsShowAlgorithmTargetBox, Mode=TwoWay}"
Style="{StaticResource ResourceKey=CheckBox_Eye}" /> Style="{StaticResource ResourceKey=CheckBox_Eye}" />
<!--<Rectangle Width="2" Fill="#88FFFFFF" Height="18" Margin="20,0,20,0"></Rectangle>--> <!--<Rectangle Width="2" Fill="#88FFFFFF" Height="18" Margin="20,0,20,0"></Rectangle>-->
<!--<Button Command="{Binding Path=InitTallyCommand}" ToolTip="初始Tally" <!--<Button Command="{Binding Path=InitTallyCommand}" ToolTip="初始Tally"
Style="{StaticResource Button_Tally}" Height="30"></Button>--> Style="{StaticResource Button_Tally}" Height="30"></Button>-->
<!--<Button Command="{Binding Path=InitNavigation3DCommand}" ToolTip="初始化摇杆" <!--<Button Command="{Binding Path=InitNavigation3DCommand}" ToolTip="初始化摇杆"
Style="{StaticResource Button_Navigation3D}" Height="30"></Button>--> Style="{StaticResource Button_Navigation3D}" Height="30"></Button>-->
<Rectangle <Rectangle
Width="2" Width="2"
Height="18" Height="18"
Margin="20,0,20,0" Margin="20,0,20,0"
Fill="#88FFFFFF" /> Fill="#88FFFFFF" />
<Button <Button
Height="30" Height="30"
Command="{Binding Path=SettingCommand}" Command="{Binding Path=SettingCommand}"
Style="{StaticResource Button_Setting1}" Style="{StaticResource Button_Setting1}"
ToolTip="{DynamicResource SystemSetting}" /> ToolTip="{DynamicResource SystemSetting}" />
<Button <Button
Height="30" Height="30"
Command="{Binding Path=MinCommand}" Command="{Binding Path=MinCommand}"
Style="{StaticResource Button_Min}" Style="{StaticResource Button_Min}"
ToolTip="{DynamicResource Minimize}" /> ToolTip="{DynamicResource Minimize}" />
<Button <Button
Height="30" Height="30"
Command="{Binding Path=CloseCommand}" Command="{Binding Path=CloseCommand}"
Style="{StaticResource Button_Close}" Style="{StaticResource Button_Close}"
ToolTip="{DynamicResource Close}" /> ToolTip="{DynamicResource Close}" />
</StackPanel> </StackPanel>
</Grid> </Grid>
<!-- 主体 --> <!-- 主体 -->
<Grid Grid.Row="1" Margin="0,0,0,0"> <Grid Grid.Row="1" Margin="0,0,0,0">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<!--<RowDefinition Height="45" />--> <!--<RowDefinition Height="45" />-->
<RowDefinition Height="*" /> <RowDefinition Height="*" />
<RowDefinition Height="75" /> <RowDefinition Height="75" />
<RowDefinition Height="*" /> <RowDefinition Height="*" />
<RowDefinition Height="30" /> <RowDefinition Height="30" />
</Grid.RowDefinitions> </Grid.RowDefinitions>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<!--<ColumnDefinition Width="230*" /> <!--<ColumnDefinition Width="230*" />
<ColumnDefinition Width="209*" /> <ColumnDefinition Width="209*" />
<ColumnDefinition Width="21*" />--> <ColumnDefinition Width="21*" />-->
<!--<ColumnDefinition Width="53*" /> <!--<ColumnDefinition Width="53*" />
<ColumnDefinition Width="10*" /> <ColumnDefinition Width="10*" />
<ColumnDefinition Width="53*" />--> <ColumnDefinition Width="53*" />-->
<ColumnDefinition /> <ColumnDefinition />
<ColumnDefinition /> <ColumnDefinition />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<!-- 背景border --> <!-- 背景border -->
<Border <Border
Grid.RowSpan="4" Grid.RowSpan="4"
Grid.ColumnSpan="3" Grid.ColumnSpan="3"
Background="#2C333B" Background="#2C333B"
CornerRadius="6" /> CornerRadius="6" />
<!--<TextBlock <!--<TextBlock
Width="120" Width="120"
Height="40" Height="40"
Margin="0,15,0,0" Margin="0,15,0,0"
...@@ -149,19 +149,16 @@ ...@@ -149,19 +149,16 @@
Style="{StaticResource TextBlockStyle}" Style="{StaticResource TextBlockStyle}"
Text="输出视频" />--> Text="输出视频" />-->
<!--<WrapPanel <!--<WrapPanel
Grid.Row="2" Grid.Row="2"
Grid.Column="1" Grid.Column="1"
Margin="45,30,0,0">--> Margin="45,30,0,0">-->
<!--<ScrollViewer <ScrollViewer
Grid.Row="2" Grid.Row="2"
Grid.Column="1" Grid.Column="1"
VerticalScrollBarVisibility="Disabled">--> VerticalScrollBarVisibility="Disabled">
<Grid <Grid Margin="70,0">
Grid.Row="2"
Grid.Column="1"
Margin="70,0">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition /> <ColumnDefinition />
<ColumnDefinition /> <ColumnDefinition />
...@@ -924,29 +921,36 @@ ...@@ -924,29 +921,36 @@
Style="{StaticResource ButtonStyle}" Style="{StaticResource ButtonStyle}"
Visibility="{Binding ReplaySendVisibility, Mode=TwoWay}" />--> Visibility="{Binding ReplaySendVisibility, Mode=TwoWay}" />-->
<!-- 三个常用算法参数 --> <!-- 三个常用算法参数 -->
<Border <!--<Border
Grid.Row="3" Grid.Row="3"
Grid.ColumnSpan="5" Grid.ColumnSpan="5"
BorderBrush="Gray" BorderBrush="Gray"
BorderThickness="1"> BorderThickness="1">-->
<GroupBox
Grid.Row="3"
Grid.ColumnSpan="5"
BorderBrush="Gray"
BorderThickness="0.25"
Foreground="White"
Header="{DynamicResource AlgorithmParameter}">
<Grid> <Grid>
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition /> <!--<ColumnDefinition />-->
<ColumnDefinition /> <ColumnDefinition Width="1.8*" />
<ColumnDefinition /> <ColumnDefinition Width="1.8*" />
<ColumnDefinition /> <ColumnDefinition Width="1.5*" />
<ColumnDefinition /> <ColumnDefinition />
<ColumnDefinition /> <ColumnDefinition />
<ColumnDefinition /> <ColumnDefinition />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<TextBlock <!--<TextBlock
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
FontSize="14" FontSize="14"
Foreground="White" Foreground="White"
Text="{DynamicResource AlgorithmParameter}" /> Text="{DynamicResource AlgorithmParameter}" />-->
<StackPanel <StackPanel
Grid.Column="1" Grid.Column="0"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Orientation="Horizontal"> Orientation="Horizontal">
<!--<TextBlock <!--<TextBlock
...@@ -957,8 +961,9 @@ ...@@ -957,8 +961,9 @@
Foreground="White" Foreground="White"
Text="{DynamicResource IntervalFrame}" />--> Text="{DynamicResource IntervalFrame}" />-->
<RadioButton <RadioButton
Width="100" Width="110"
Height="40" Height="40"
Command="{Binding IntervalFrameCommand}"
Content="{DynamicResource IntervalFrame}" Content="{DynamicResource IntervalFrame}"
GroupName="_FrameOrPixel_" GroupName="_FrameOrPixel_"
IsChecked="{Binding Path=IsIntervalFrame, Mode=TwoWay}" IsChecked="{Binding Path=IsIntervalFrame, Mode=TwoWay}"
...@@ -966,6 +971,7 @@ ...@@ -966,6 +971,7 @@
<TextBox <TextBox
Width="57" Width="57"
InputMethod.IsInputMethodEnabled="False" InputMethod.IsInputMethodEnabled="False"
IsEnabled="{Binding Matting_intervalIsEnabled}"
PreviewTextInput="OnPreviewTextInputCommon" PreviewTextInput="OnPreviewTextInputCommon"
Style="{StaticResource TextBoxStyle}" Style="{StaticResource TextBoxStyle}"
Text="{Binding Matting_interval, Mode=TwoWay}"> Text="{Binding Matting_interval, Mode=TwoWay}">
...@@ -981,7 +987,7 @@ ...@@ -981,7 +987,7 @@
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Grid.Column="2" Grid.Column="1"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Orientation="Horizontal"> Orientation="Horizontal">
<!--<TextBlock <!--<TextBlock
...@@ -992,8 +998,9 @@ ...@@ -992,8 +998,9 @@
Foreground="White" Foreground="White"
Text="{DynamicResource IntervalPixel}" />--> Text="{DynamicResource IntervalPixel}" />-->
<RadioButton <RadioButton
Width="100" Width="110"
Height="40" Height="40"
Command="{Binding IntervalPixelCommand}"
Content="{DynamicResource IntervalPixel}" Content="{DynamicResource IntervalPixel}"
GroupName="_FrameOrPixel_" GroupName="_FrameOrPixel_"
IsChecked="{Binding Path=IsIntervalPixel, Mode=TwoWay}" IsChecked="{Binding Path=IsIntervalPixel, Mode=TwoWay}"
...@@ -1001,6 +1008,7 @@ ...@@ -1001,6 +1008,7 @@
<TextBox <TextBox
Width="57" Width="57"
InputMethod.IsInputMethodEnabled="False" InputMethod.IsInputMethodEnabled="False"
IsEnabled="{Binding Moving_pixelIsEnabled}"
PreviewTextInput="OnPreviewTextInputCommon" PreviewTextInput="OnPreviewTextInputCommon"
Style="{StaticResource TextBoxStyle}" Style="{StaticResource TextBoxStyle}"
Text="{Binding Moving_pixel, Mode=TwoWay}"> Text="{Binding Moving_pixel, Mode=TwoWay}">
...@@ -1016,7 +1024,7 @@ ...@@ -1016,7 +1024,7 @@
</StackPanel> </StackPanel>
<StackPanel <StackPanel
Grid.Column="3" Grid.Column="2"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Orientation="Horizontal"> Orientation="Horizontal">
<TextBlock <TextBlock
...@@ -1044,7 +1052,7 @@ ...@@ -1044,7 +1052,7 @@
</StackPanel> </StackPanel>
<CheckBox <CheckBox
Grid.Column="4" Grid.Column="3"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Command="{Binding KeepHighestCommand}" Command="{Binding KeepHighestCommand}"
Content="{DynamicResource KeepHighest}" Content="{DynamicResource KeepHighest}"
...@@ -1054,7 +1062,7 @@ ...@@ -1054,7 +1062,7 @@
Style="{StaticResource CheckBox_Setting}" /> Style="{StaticResource CheckBox_Setting}" />
<CheckBox <CheckBox
Grid.Column="5" Grid.Column="4"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Command="{Binding BigModelCommand}" Command="{Binding BigModelCommand}"
Content="{DynamicResource LargeModel}" Content="{DynamicResource LargeModel}"
...@@ -1063,7 +1071,7 @@ ...@@ -1063,7 +1071,7 @@
Style="{StaticResource CheckBox_Setting}" /> Style="{StaticResource CheckBox_Setting}" />
<Button <Button
Grid.Column="6" Grid.Column="5"
Width="100" Width="100"
Height="40" Height="40"
HorizontalAlignment="Center" HorizontalAlignment="Center"
...@@ -1071,7 +1079,8 @@ ...@@ -1071,7 +1079,8 @@
Content="{DynamicResource Save}" Content="{DynamicResource Save}"
Style="{StaticResource ButtonStyle}" /> Style="{StaticResource ButtonStyle}" />
</Grid> </Grid>
</Border> <!--</Border>-->
</GroupBox>
<!-- Replay --> <!-- Replay -->
<Border <Border
Grid.Row="4" Grid.Row="4"
...@@ -1193,9 +1202,9 @@ ...@@ -1193,9 +1202,9 @@
</StackPanel> </StackPanel>
</Grid> </Grid>
<!--</ScrollViewer>--> </ScrollViewer>
<!--</WrapPanel>--> <!--</WrapPanel>-->
<!--<WrapPanel <!--<WrapPanel
Grid.Row="3" Grid.Row="3"
Grid.Column="0" Grid.Column="0"
Margin="0,0,80,0" Margin="0,0,80,0"
...@@ -1222,9 +1231,9 @@ ...@@ -1222,9 +1231,9 @@
Content="音视频停止命令" Content="音视频停止命令"
Style="{StaticResource ButtonStyle}" /> Style="{StaticResource ButtonStyle}" />
--> -->
<!-- <!--
<ToggleButton <ToggleButton
Grid.Column="1" Grid.Column="1"
Width="100" Width="100"
...@@ -1264,9 +1273,9 @@ ...@@ -1264,9 +1273,9 @@
Content="Live" Content="Live"
Style="{StaticResource ButtonStyle}" /> Style="{StaticResource ButtonStyle}" />
--> -->
<!-- <!--
<ToggleButton <ToggleButton
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"
...@@ -1284,9 +1293,9 @@ ...@@ -1284,9 +1293,9 @@
</b:Interaction.Triggers> </b:Interaction.Triggers>
</ToggleButton> </ToggleButton>
--> -->
<!-- <!--
<ToggleButton <ToggleButton
Grid.Row="1" Grid.Row="1"
...@@ -1305,9 +1314,9 @@ ...@@ -1305,9 +1314,9 @@
</b:Interaction.Triggers> </b:Interaction.Triggers>
</ToggleButton> </ToggleButton>
--> -->
<!-- <!--
<ToggleButton <ToggleButton
Grid.Row="1" Grid.Row="1"
Grid.Column="2" Grid.Column="2"
...@@ -1358,9 +1367,9 @@ ...@@ -1358,9 +1367,9 @@
IsEnabled="{Binding SaveEnable}" IsEnabled="{Binding SaveEnable}"
Style="{StaticResource ButtonStyle}" /> Style="{StaticResource ButtonStyle}" />
--> -->
<!--<Button Content="UE设置" Grid.Row="2" Grid.Column="2" Margin="10" Style="{StaticResource ButtonStyle}" Command="{Binding Path=UESettingCommand}" Height="40"/>--> <!--<Button Content="UE设置" Grid.Row="2" Grid.Column="2" Margin="10" Style="{StaticResource ButtonStyle}" Command="{Binding Path=UESettingCommand}" Height="40"/>-->
<!-- <!--
<Button <Button
Grid.Row="2" Grid.Row="2"
Grid.Column="2" Grid.Column="2"
...@@ -1423,8 +1432,8 @@ ...@@ -1423,8 +1432,8 @@
Style="{StaticResource ButtonStyle}" Style="{StaticResource ButtonStyle}"
Visibility="{Binding ReplaySendVisibility, Mode=TwoWay}" /> Visibility="{Binding ReplaySendVisibility, Mode=TwoWay}" />
--> -->
<!--<Button <!--<Button
Grid.Row="4" Grid.Row="4"
Grid.Column="2" Grid.Column="2"
Width="100" Width="100"
...@@ -1434,7 +1443,7 @@ ...@@ -1434,7 +1443,7 @@
Content="Replay Restart" Content="Replay Restart"
Style="{StaticResource ButtonStyle}" Style="{StaticResource ButtonStyle}"
Visibility="{Binding ReplaySendVisibility, Mode=TwoWay}" />--> Visibility="{Binding ReplaySendVisibility, Mode=TwoWay}" />-->
<!-- <!--
<Button <Button
Grid.Row="4" Grid.Row="4"
...@@ -1448,15 +1457,15 @@ ...@@ -1448,15 +1457,15 @@
Visibility="{Binding ReplaySendVisibility, Mode=TwoWay}" /> Visibility="{Binding ReplaySendVisibility, Mode=TwoWay}" />
</Grid> </Grid>
</WrapPanel>--> </WrapPanel>-->
<local:NDIView <local:NDIView
x:Name="cam1" x:Name="cam1"
Grid.Row="0" Grid.Row="0"
Grid.Column="0" Grid.Column="0"
MouseLeftButtonDown="cam1_MouseLeftButtonDown" MouseLeftButtonDown="cam1_MouseLeftButtonDown"
NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_1}" NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_1}"
VideoBorderBrush="blue" /> VideoBorderBrush="blue" />
<!--<GroupBox <!--<GroupBox
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"
Width="360" Width="360"
...@@ -1486,16 +1495,16 @@ ...@@ -1486,16 +1495,16 @@
</StackPanel> </StackPanel>
</GroupBox>--> </GroupBox>-->
<Border <Border
Grid.Row="1" Grid.Row="1"
Grid.Column="0" Grid.Column="0"
Width="480" Width="480"
Margin="0,5" Margin="0,5"
BorderBrush="Gray" BorderBrush="Gray"
BorderThickness="1"> BorderThickness="1">
<StackPanel Orientation="Horizontal"> <StackPanel Orientation="Horizontal">
<!-- 算法目标丢失指示灯, 不可点击 --> <!-- 算法目标丢失指示灯, 不可点击 -->
<!--<CheckBox <!--<CheckBox
Margin="20,0,0,0" Margin="20,0,0,0"
HorizontalAlignment="Left" HorizontalAlignment="Left"
VerticalAlignment="Center" VerticalAlignment="Center"
...@@ -1507,15 +1516,15 @@ ...@@ -1507,15 +1516,15 @@
</MultiBinding> </MultiBinding>
</CheckBox.IsChecked> </CheckBox.IsChecked>
</CheckBox>--> </CheckBox>-->
<TextBlock <TextBlock
Width="70" Width="70"
Margin="30,0,0,0" Margin="30,0,0,0"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
FontSize="14" FontSize="14"
Foreground="White" Foreground="White"
Text="{DynamicResource Algorithm}" /> Text="{DynamicResource Algorithm}" />
<!--<Button <!--<Button
Width="100" Width="100"
Height="40" Height="40"
Margin="10,0,0,0" Margin="10,0,0,0"
...@@ -1529,56 +1538,56 @@ ...@@ -1529,56 +1538,56 @@
Command="{Binding Path=GoOnCommand}" Command="{Binding Path=GoOnCommand}"
Content="{DynamicResource GoOn}" Content="{DynamicResource GoOn}"
Style="{StaticResource ButtonStyle}" />--> Style="{StaticResource ButtonStyle}" />-->
<ToggleButton <ToggleButton
Width="100" Width="100"
Height="40" Height="40"
Margin="0,0,0,0"
Content="{DynamicResource HoldOn}"
IsChecked="{Binding HoldOnIsChecked}"
Style="{StaticResource ToggleButtonStyle}">
<b:Interaction.Triggers>
<b:EventTrigger EventName="Checked">
<b:InvokeCommandAction Command="{Binding HoldonCommand}" />
</b:EventTrigger>
</b:Interaction.Triggers>
</ToggleButton>
<ToggleButton
Width="100"
Height="40"
Margin="10,0"
Content="{DynamicResource GoOn}"
IsChecked="{Binding GoOnIsChecked}"
Style="{StaticResource ToggleButtonStyle}">
<b:Interaction.Triggers>
<b:EventTrigger EventName="Checked">
<b:InvokeCommandAction Command="{Binding GoOnCommand}" />
</b:EventTrigger>
</b:Interaction.Triggers>
</ToggleButton>
<Button
Width="100"
Height="40"
Command="{Binding Path=ResetCommand}"
Content="{DynamicResource Reset}"
Style="{StaticResource ButtonStyle}" />
</StackPanel>
</Border>
<!-- 时间显示 -->
<StackPanel
Grid.Row="1"
Grid.ColumnSpan="2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Orientation="Horizontal">
<fcommon:TimeDisplayControl
Margin="0,0,0,0" Margin="0,0,0,0"
FontSize="30" Content="{DynamicResource HoldOn}"
FontWeight="Bold" IsChecked="{Binding HoldOnIsChecked}"
Foreground="#AAFF0000" /> Style="{StaticResource ToggleButtonStyle}">
<b:Interaction.Triggers>
<b:EventTrigger EventName="Checked">
<b:InvokeCommandAction Command="{Binding HoldonCommand}" />
</b:EventTrigger>
</b:Interaction.Triggers>
</ToggleButton>
<ToggleButton
Width="100"
Height="40"
Margin="10,0"
Content="{DynamicResource GoOn}"
IsChecked="{Binding GoOnIsChecked}"
Style="{StaticResource ToggleButtonStyle}">
<b:Interaction.Triggers>
<b:EventTrigger EventName="Checked">
<b:InvokeCommandAction Command="{Binding GoOnCommand}" />
</b:EventTrigger>
</b:Interaction.Triggers>
</ToggleButton>
<Button
Width="100"
Height="40"
Command="{Binding Path=ResetCommand}"
Content="{DynamicResource Reset}"
Style="{StaticResource ButtonStyle}" />
</StackPanel> </StackPanel>
</Border>
<!--<TextBox <!-- 时间显示 -->
<StackPanel
Grid.Row="1"
Grid.ColumnSpan="2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Orientation="Horizontal">
<fcommon:TimeDisplayControl
Margin="0,0,0,0"
FontSize="30"
FontWeight="Bold"
Foreground="#AAFF0000" />
</StackPanel>
<!--<TextBox
Grid.Row="1" Grid.Row="1"
Grid.Column="1" Grid.Column="1"
Width="30" Width="30"
...@@ -1593,7 +1602,7 @@ ...@@ -1593,7 +1602,7 @@
Style="{StaticResource TextBoxStyle}" Style="{StaticResource TextBoxStyle}"
Text="{Binding AutoSendCount}" />--> Text="{Binding AutoSendCount}" />-->
<!--<StackPanel Grid.Row="1" Grid.Column="1"> <!--<StackPanel Grid.Row="1" Grid.Column="1">
<Button <Button
Width="130" Width="130"
Height="50" Height="50"
...@@ -1623,57 +1632,57 @@ ...@@ -1623,57 +1632,57 @@
Style="{StaticResource BigButtonStyle}" /> Style="{StaticResource BigButtonStyle}" />
</StackPanel>--> </StackPanel>-->
<!-- ***************************************************************************************** --> <!-- ***************************************************************************************** -->
<!--<local:NDIView x:Name="cam3" NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_3}" Grid.Row="1" Grid.Column="0" Margin="10,10,15,10"></local:NDIView> <!--<local:NDIView x:Name="cam3" NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_3}" Grid.Row="1" Grid.Column="0" Margin="10,10,15,10"></local:NDIView>
<local:NDIView x:Name="cam4" NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_4}" Grid.Row="1" Grid.Column="1" Margin="15,10,10,10"></local:NDIView>--> <local:NDIView x:Name="cam4" NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_4}" Grid.Row="1" Grid.Column="1" Margin="15,10,10,10"></local:NDIView>-->
<!-- ***************************************************************************************** --> <!-- ***************************************************************************************** -->
<!--<local:NDIPreviewView x:Name="prevew1" NDIKey="{x:Static Member=domain:NDIViewKeys.Preview_1}" <!--<local:NDIPreviewView x:Name="prevew1" NDIKey="{x:Static Member=domain:NDIViewKeys.Preview_1}"
Grid.Row="1" Grid.Column="0" Margin="130,90,55,10"></local:NDIPreviewView> Grid.Row="1" Grid.Column="0" Margin="130,90,55,10"></local:NDIPreviewView>
<local:NDIPreviewView x:Name="prevew2" NDIKey="{x:Static Member=domain:NDIViewKeys.Preview_2}" <local:NDIPreviewView x:Name="prevew2" NDIKey="{x:Static Member=domain:NDIViewKeys.Preview_2}"
Grid.Row="1" Grid.Column="1" Margin="135,90,50,10"></local:NDIPreviewView>--> Grid.Row="1" Grid.Column="1" Margin="135,90,50,10"></local:NDIPreviewView>-->
<!-- ***************************************************************************************** --> <!-- ***************************************************************************************** -->
<!-- CAM_1 会作为单一窗口时的主窗口 --> <!-- CAM_1 会作为单一窗口时的主窗口 -->
<local:NDIView
x:Name="cam2"
Grid.Row="0"
Grid.Column="1"
Margin="0"
IsCam2="True"
MouseLeftButtonDown="cam2_MouseLeftButtonDown"
NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_2}"
VideoBorderBrush="Red" />
<!-- Replay窗口 -->
<Grid
Grid.Row="2"
Grid.Column="0"
Visibility="{Binding SliderVisibility}">
<local:NDIView <local:NDIView
x:Name="cam2" x:Name="cam3"
Grid.Row="0"
Grid.Column="1"
Margin="0" Margin="0"
IsCam2="True" IsHiddenSetting="True"
MouseLeftButtonDown="cam2_MouseLeftButtonDown" NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_3}"
NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_2}" VideoBorderBrush="Yellow" />
VideoBorderBrush="Red" /> </Grid>
<!-- Replay窗口 -->
<Grid
Grid.Row="2"
Grid.Column="0"
Visibility="{Binding SliderVisibility}">
<local:NDIView
x:Name="cam3"
Margin="0"
IsHiddenSetting="True"
NDIKey="{x:Static Member=domain:NDIViewKeys.CAM_3}"
VideoBorderBrush="Yellow" />
</Grid>
<TextBox <TextBox
Grid.Row="2" Grid.Row="2"
Grid.ColumnSpan="2" Grid.ColumnSpan="2"
Width="45" Width="45"
Height="45" Height="45"
HorizontalAlignment="Center" HorizontalAlignment="Center"
VerticalAlignment="Top" VerticalAlignment="Top"
Background="Yellow" Background="Yellow"
BorderBrush="Red" BorderBrush="Red"
BorderThickness="2" BorderThickness="2"
FontSize="30" FontSize="30"
Foreground="Black" Foreground="Black"
IsEnabled="False" IsEnabled="False"
Style="{StaticResource TextBoxStyle}" Style="{StaticResource TextBoxStyle}"
Text="{Binding AutoSendCount, Mode=TwoWay}" Text="{Binding AutoSendCount, Mode=TwoWay}"
Visibility="{Binding AutoSendVisibility}" /> Visibility="{Binding AutoSendVisibility}" />
<!--<Canvas <!--<Canvas
Grid.Row="2" Grid.Row="2"
Width="740" Width="740"
Height="90"> Height="90">
...@@ -1714,7 +1723,7 @@ ...@@ -1714,7 +1723,7 @@
</b:Interaction.Triggers> </b:Interaction.Triggers>
</Slider> </Slider>
</Canvas>--> </Canvas>-->
<!--<Slider <!--<Slider
Grid.Row="3" Grid.Row="3"
Width="Auto" Width="Auto"
Height="30" Height="30"
...@@ -1733,23 +1742,23 @@ ...@@ -1733,23 +1742,23 @@
</b:EventTrigger> </b:EventTrigger>
</b:Interaction.Triggers> </b:Interaction.Triggers>
</Slider>--> </Slider>-->
<Grid <Grid
Grid.Row="3" Grid.Row="3"
Grid.Column="0" Grid.Column="0"
Visibility="{Binding SliderVisibility}"> Visibility="{Binding SliderVisibility}">
<local:SliderArrange <local:SliderArrange
EndValue="{Binding SliderEndValue, Mode=TwoWay}" EndValue="{Binding SliderEndValue, Mode=TwoWay}"
Maximum="{Binding SliderMaximum}" Maximum="{Binding SliderMaximum}"
Minimum="0" Minimum="0"
SliderHeight="30" SliderHeight="30"
SliderTickFrequency="10" SliderTickFrequency="10"
SliderWidth="810" SliderWidth="810"
StartValue="{Binding SliderStartValue, Mode=TwoWay}" StartValue="{Binding SliderStartValue, Mode=TwoWay}"
Visibility="{Binding SliderVisibility}" /> Visibility="{Binding SliderVisibility}" />
</Grid>
</Grid> </Grid>
<!-- 底部 --> </Grid>
<!--<Border Grid.Row="2" Background="{StaticResource TitleBarBackground}"> <!-- 底部 -->
<!--<Border Grid.Row="2" Background="{StaticResource TitleBarBackground}">
<Grid Margin="110,0,110,0"> <Grid Margin="110,0,110,0">
<Grid.ColumnDefinitions> <Grid.ColumnDefinitions>
<ColumnDefinition Width="120" /> <ColumnDefinition Width="120" />
...@@ -1758,9 +1767,9 @@ ...@@ -1758,9 +1767,9 @@
<ColumnDefinition Width="59*" /> <ColumnDefinition Width="59*" />
<ColumnDefinition Width="120" /> <ColumnDefinition Width="120" />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
--> -->
<!-- 算法服务监控 --> <!-- 算法服务监控 -->
<!-- <!--
<StackPanel <StackPanel
Background="Transparent" Background="Transparent"
Orientation="Horizontal" Orientation="Horizontal"
...@@ -1840,9 +1849,9 @@ ...@@ -1840,9 +1849,9 @@
Foreground="White" Foreground="White"
Text="系统" /> Text="系统" />
</StackPanel> </StackPanel>
--> -->
<!-- 剪切服务监控 --> <!-- 剪切服务监控 -->
<!-- <!--
<StackPanel <StackPanel
Grid.Column="1" Grid.Column="1"
Background="Transparent" Background="Transparent"
...@@ -1922,17 +1931,17 @@ ...@@ -1922,17 +1931,17 @@
Foreground="White" Foreground="White"
Text="界面" /> Text="界面" />
</StackPanel> </StackPanel>
--> -->
<!-- 计算机监控 --> <!-- 计算机监控 -->
<!-- <!--
<StackPanel <StackPanel
Grid.Column="2" Grid.Column="2"
Grid.ColumnSpan="2" Grid.ColumnSpan="2"
Orientation="Horizontal" Orientation="Horizontal"
Visibility="{Binding Path=IsShowAlgorithmTargetBox, Converter={StaticResource Bool2VisibilityConverter}}"> Visibility="{Binding Path=IsShowAlgorithmTargetBox, Converter={StaticResource Bool2VisibilityConverter}}">
--> -->
<!-- CPU --> <!-- CPU -->
<!-- <!--
<TextBlock <TextBlock
Margin="10,0,0,0" Margin="10,0,0,0"
VerticalAlignment="Center" VerticalAlignment="Center"
...@@ -1947,9 +1956,9 @@ ...@@ -1947,9 +1956,9 @@
Foreground="White" Foreground="White"
Text="{Binding Path=SystemMonitorModel.CpuUsedPercentage, StringFormat=P}" Text="{Binding Path=SystemMonitorModel.CpuUsedPercentage, StringFormat=P}"
TextAlignment="Right" /> TextAlignment="Right" />
--> -->
<!-- 内存 --> <!-- 内存 -->
<!-- <!--
<TextBlock <TextBlock
Margin="30,0,0,0" Margin="30,0,0,0"
VerticalAlignment="Center" VerticalAlignment="Center"
...@@ -2053,6 +2062,6 @@ ...@@ -2053,6 +2062,6 @@
</StackPanel> </StackPanel>
</Grid> </Grid>
</Border>--> </Border>-->
</Grid> </Grid>
</ScrollViewer> <!--</ScrollViewer>-->
</UserControl> </UserControl>
...@@ -112,7 +112,7 @@ namespace VIZ.FGOUT.Module ...@@ -112,7 +112,7 @@ namespace VIZ.FGOUT.Module
{ {
Title = "FigureOUT(" + dics[number] + ")"; Title = "FigureOUT(" + dics[number] + ")";
if (number.Equals("DS") || number.Equals("DT") || number.Equals("SS") || number.Equals("ST")) if (number.Equals("DS") || number.Equals("DT") || number.Equals("SS") || number.Equals("ST") || number.Equals("VT"))
{ {
KeepHighestIsEnabled = true; KeepHighestIsEnabled = true;
} }
...@@ -224,6 +224,9 @@ namespace VIZ.FGOUT.Module ...@@ -224,6 +224,9 @@ namespace VIZ.FGOUT.Module
//裁切区域 //裁切区域
this.SelectedCommand = new VCommand(this.Selected); this.SelectedCommand = new VCommand(this.Selected);
this.SendSelectedCommand = new VCommand(this.SendSelected); this.SendSelectedCommand = new VCommand(this.SendSelected);
this.IntervalPixelCommand = new VCommand(this.OnIntervalPixel);
this.IntervalFrameCommand = new VCommand(this.OnIntervalFrame);
} }
/// <summary> /// <summary>
...@@ -430,6 +433,28 @@ namespace VIZ.FGOUT.Module ...@@ -430,6 +433,28 @@ namespace VIZ.FGOUT.Module
} }
} }
private bool _isIntervalFrame;
public bool IsIntervalFrame
{
get => _isIntervalFrame;
set
{
_isIntervalFrame = value;
this.RaisePropertyChanged(nameof(IsIntervalFrame));
}
}
private bool _isIntervalPixel;
public bool IsIntervalPixel
{
get => _isIntervalPixel;
set
{
_isIntervalPixel = value;
this.RaisePropertyChanged(nameof(IsIntervalPixel));
}
}
private bool _isKeepHighest; private bool _isKeepHighest;
/// <summary> /// <summary>
/// 是否保留最高点 /// 是否保留最高点
...@@ -538,7 +563,12 @@ namespace VIZ.FGOUT.Module ...@@ -538,7 +563,12 @@ namespace VIZ.FGOUT.Module
MessageBoxEx.ShowDialog("算法参数保存成功。"); MessageBoxEx.ShowDialog("算法参数保存成功。");
}); });
} }
//如果IsIntervalPixel,把_temp_Matting_interval赋值给Matting_interval
if (IsIntervalPixel)
{
alPackage.Matting_interval = _temp_Matting_interval;
}
//再放回去 //再放回去
var algorithmMessage = JsonConvert.SerializeObject(alPackage, JSON_SERIALIZER_SETTINGS); var algorithmMessage = JsonConvert.SerializeObject(alPackage, JSON_SERIALIZER_SETTINGS);
config.AlgorithmData = algorithmMessage; config.AlgorithmData = algorithmMessage;
...@@ -1171,6 +1201,56 @@ namespace VIZ.FGOUT.Module ...@@ -1171,6 +1201,56 @@ namespace VIZ.FGOUT.Module
} }
} }
private int _temp_Matting_interval;
public VCommand IntervalFrameCommand { get; set; }
private void OnIntervalFrame()
{
Matting_intervalIsEnabled = true;
Moving_pixelIsEnabled = false;
if (Matting_interval == 0)
{
Matting_interval = _temp_Matting_interval;
}
AlgorithmSendCommon();
}
public VCommand IntervalPixelCommand { get; set; }
private void OnIntervalPixel()
{
Matting_intervalIsEnabled = false;
Moving_pixelIsEnabled = true;
_temp_Matting_interval = Matting_interval;
Matting_interval = 0;
AlgorithmSendCommon();
}
private bool _matting_intervalIsEnabled = true;
public bool Matting_intervalIsEnabled
{
get => _matting_intervalIsEnabled;
set
{
_matting_intervalIsEnabled = value;
this.RaisePropertyChanged(nameof(Matting_intervalIsEnabled));
}
}
private bool _moving_pixelIsEnabled = true;
public bool Moving_pixelIsEnabled
{
get => _moving_pixelIsEnabled;
set
{
_moving_pixelIsEnabled = value;
this.RaisePropertyChanged(nameof(Moving_pixelIsEnabled));
}
}
public VCommand KeepHighestCommand { get; set; } public VCommand KeepHighestCommand { get; set; }
private void KeepHighest() private void KeepHighest()
......
...@@ -874,7 +874,7 @@ namespace VIZ.FGOUT.Module ...@@ -874,7 +874,7 @@ namespace VIZ.FGOUT.Module
var number = alPackage.SportsCode; var number = alPackage.SportsCode;
if (!string.IsNullOrEmpty(number)) if (!string.IsNullOrEmpty(number))
{ {
if (number.Equals("DS") || number.Equals("DT") || number.Equals("SS") || number.Equals("ST")) if (number.Equals("DS") || number.Equals("DT") || number.Equals("SS") || number.Equals("ST") || number.Equals("VT"))
{ {
KeepHighestIsEnabled = true; KeepHighestIsEnabled = true;
} }
......
...@@ -472,6 +472,9 @@ namespace VIZ.FGOUT.Module ...@@ -472,6 +472,9 @@ namespace VIZ.FGOUT.Module
return false; return false;
} }
/// <summary>
/// 判断标完出点位置框之后出点是否又移动了
/// </summary>
private bool OutPointIsMoved() private bool OutPointIsMoved()
{ {
if (_RecordEndTime != EndTime) if (_RecordEndTime != EndTime)
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "15CC284A83D045D69995604731E50F83B95A9914DD5852260594F13D2AC94FF3" #pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8E84CF04F9630AF8440F7BF892A0E567159D27CC51997E50F9228CA77CB348C4"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module { ...@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 264 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 261 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton _AutoMode_; internal System.Windows.Controls.RadioButton _AutoMode_;
...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module { ...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 327 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 324 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton _ManualMode_; internal System.Windows.Controls.RadioButton _ManualMode_;
...@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module { ...@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1452 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1461 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam1; internal VIZ.FGOUT.Module.NDIView cam1;
...@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module { ...@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1637 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1646 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam2; internal VIZ.FGOUT.Module.NDIView cam2;
...@@ -90,7 +90,7 @@ namespace VIZ.FGOUT.Module { ...@@ -90,7 +90,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1652 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1661 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam3; internal VIZ.FGOUT.Module.NDIView cam3;
...@@ -140,7 +140,7 @@ namespace VIZ.FGOUT.Module { ...@@ -140,7 +140,7 @@ namespace VIZ.FGOUT.Module {
case 2: case 2:
this._AutoMode_ = ((System.Windows.Controls.RadioButton)(target)); this._AutoMode_ = ((System.Windows.Controls.RadioButton)(target));
#line 269 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 266 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick); this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick);
#line default #line default
...@@ -149,7 +149,7 @@ namespace VIZ.FGOUT.Module { ...@@ -149,7 +149,7 @@ namespace VIZ.FGOUT.Module {
case 3: case 3:
this._ManualMode_ = ((System.Windows.Controls.RadioButton)(target)); this._ManualMode_ = ((System.Windows.Controls.RadioButton)(target));
#line 331 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 328 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick); this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick);
#line default #line default
...@@ -157,7 +157,7 @@ namespace VIZ.FGOUT.Module { ...@@ -157,7 +157,7 @@ namespace VIZ.FGOUT.Module {
return; return;
case 4: case 4:
#line 825 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 822 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon); ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon);
#line default #line default
...@@ -165,7 +165,7 @@ namespace VIZ.FGOUT.Module { ...@@ -165,7 +165,7 @@ namespace VIZ.FGOUT.Module {
return; return;
case 5: case 5:
#line 969 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 975 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon); ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon);
#line default #line default
...@@ -173,7 +173,7 @@ namespace VIZ.FGOUT.Module { ...@@ -173,7 +173,7 @@ namespace VIZ.FGOUT.Module {
return; return;
case 6: case 6:
#line 1004 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1012 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon); ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon);
#line default #line default
...@@ -181,7 +181,7 @@ namespace VIZ.FGOUT.Module { ...@@ -181,7 +181,7 @@ namespace VIZ.FGOUT.Module {
return; return;
case 7: case 7:
#line 1032 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1040 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon); ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon);
#line default #line default
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "15CC284A83D045D69995604731E50F83B95A9914DD5852260594F13D2AC94FF3" #pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "8E84CF04F9630AF8440F7BF892A0E567159D27CC51997E50F9228CA77CB348C4"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // 此代码由工具生成。
...@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module { ...@@ -58,7 +58,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 264 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 261 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton _AutoMode_; internal System.Windows.Controls.RadioButton _AutoMode_;
...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module { ...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 327 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 324 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.RadioButton _ManualMode_; internal System.Windows.Controls.RadioButton _ManualMode_;
...@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module { ...@@ -74,7 +74,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1452 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1461 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam1; internal VIZ.FGOUT.Module.NDIView cam1;
...@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module { ...@@ -82,7 +82,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1637 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1646 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam2; internal VIZ.FGOUT.Module.NDIView cam2;
...@@ -90,7 +90,7 @@ namespace VIZ.FGOUT.Module { ...@@ -90,7 +90,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 1652 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1661 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.FGOUT.Module.NDIView cam3; internal VIZ.FGOUT.Module.NDIView cam3;
...@@ -140,7 +140,7 @@ namespace VIZ.FGOUT.Module { ...@@ -140,7 +140,7 @@ namespace VIZ.FGOUT.Module {
case 2: case 2:
this._AutoMode_ = ((System.Windows.Controls.RadioButton)(target)); this._AutoMode_ = ((System.Windows.Controls.RadioButton)(target));
#line 269 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 266 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick); this._AutoMode_.Click += new System.Windows.RoutedEventHandler(this.AutoMode_OnClick);
#line default #line default
...@@ -149,7 +149,7 @@ namespace VIZ.FGOUT.Module { ...@@ -149,7 +149,7 @@ namespace VIZ.FGOUT.Module {
case 3: case 3:
this._ManualMode_ = ((System.Windows.Controls.RadioButton)(target)); this._ManualMode_ = ((System.Windows.Controls.RadioButton)(target));
#line 331 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 328 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick); this._ManualMode_.Click += new System.Windows.RoutedEventHandler(this.ManualMode_OnClick);
#line default #line default
...@@ -157,7 +157,7 @@ namespace VIZ.FGOUT.Module { ...@@ -157,7 +157,7 @@ namespace VIZ.FGOUT.Module {
return; return;
case 4: case 4:
#line 825 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 822 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon); ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon);
#line default #line default
...@@ -165,7 +165,7 @@ namespace VIZ.FGOUT.Module { ...@@ -165,7 +165,7 @@ namespace VIZ.FGOUT.Module {
return; return;
case 5: case 5:
#line 969 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 975 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon); ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon);
#line default #line default
...@@ -173,7 +173,7 @@ namespace VIZ.FGOUT.Module { ...@@ -173,7 +173,7 @@ namespace VIZ.FGOUT.Module {
return; return;
case 6: case 6:
#line 1004 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1012 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon); ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon);
#line default #line default
...@@ -181,7 +181,7 @@ namespace VIZ.FGOUT.Module { ...@@ -181,7 +181,7 @@ namespace VIZ.FGOUT.Module {
return; return;
case 7: case 7:
#line 1032 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 1040 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml"
((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon); ((System.Windows.Controls.TextBox)(target)).PreviewTextInput += new System.Windows.Input.TextCompositionEventHandler(this.OnPreviewTextInputCommon);
#line default #line default
......
...@@ -55,5 +55,5 @@ using System.Windows; ...@@ -55,5 +55,5 @@ using System.Windows;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值 //可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示: //通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.16.0")] [assembly: AssemblyVersion("1.0.17.0")]
[assembly: AssemblyFileVersion("1.0.16.0")] [assembly: AssemblyFileVersion("1.0.17.0")]
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