Commit 09cc38e2 by liulongfei

支持输出UDP IP 配置

parent 343a7e94
......@@ -223,7 +223,7 @@ namespace VIZ.H2V.ClipTestTool
if (clipSystem == null)
return;
UdpEndpointManager manager = new UdpEndpointManager("UDP", "127.0.0.1", clipSystem.UDP_PORT);
UdpEndpointManager manager = new UdpEndpointManager("UDP", clipSystem.UDP_IP, clipSystem.UDP_PORT);
conn.AddEndpointManager(manager);
}
......
......@@ -122,15 +122,15 @@
</behaviors:Interaction.Triggers>
<!-- 信号1 -->
<Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
<Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" MinWidth="300"
Visibility="{Binding Path=TallyPartViewModel.Tally1.PinValue,Converter={StaticResource Bool2VisibilityConverter}}"
Fill="{Binding Path=TallyPartViewModel.Color1,Converter={StaticResource Color2SolidColorBrushConverter}}"></Rectangle>
<TextBlock Text="{Binding Path=DisplayName,Mode=OneWay}"
<TextBlock Text="{Binding Path=DisplayName,Mode=OneWay}" HorizontalAlignment="Center"
ToolTip="{Binding Path=DisplayName,Mode=OneWay}"
Margin="60,5,60,5" Foreground="White" FontSize="18"
TextWrapping="NoWrap" TextTrimming="CharacterEllipsis"
MaxWidth="300"></TextBlock>
MaxWidth="600"></TextBlock>
</Grid>
<!-- 算法 -->
<Grid Grid.RowSpan="2" Margin="0,16,-6,0">
......
......@@ -22,6 +22,11 @@ namespace VIZ.H2V.Storage
public string NDI_NAME { get; set; }
/// <summary>
/// UDP IP
/// </summary>
public string UDP_IP { get; set; }
/// <summary>
/// UDP端口
/// </summary>
public int UDP_PORT { get; set; }
......
ID,NDI_NAME,UDP_PORT,
1,NDIOutput1,5001,
2,NDIOutput2,5002,
3,NDIOutput3,5003,
4,NDIOutput4,5004,
ID,NDI_NAME,UDP_IP,UDP_PORT
1,NDIOutput1,127.0.0.1,5001
2,NDIOutput2,127.0.0.1,5002
3,NDIOutput3,127.0.0.1,5003
4,NDIOutput4,127.0.0.1,5004
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