Commit cc5641a4 by 王永辉

标记像素点坐标值改为4K屏的整数坐标值

parent 8d20a4c2
 //------------------------------------------------------------------------------
// <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
21870986562 2-725104376
31364711570 3947974750
171166775462 17-424547842
Themes\Generic.xaml;Widgets\FootballFieldPanel\FootballFieldPanel.xaml; Themes\Generic.xaml;Widgets\FootballFieldPanel\FootballFieldPanel.xaml;
False True
...@@ -24,20 +24,20 @@ namespace VIZ.FGOUT.Connection ...@@ -24,20 +24,20 @@ namespace VIZ.FGOUT.Connection
/// <summary> /// <summary>
/// startPlace /// startPlace
/// </summary> /// </summary>
public List<PointCollection> start { get; set; } public List<List<List<int>>> start { get; set; }
/// <summary> /// <summary>
/// endPalce /// endPalce
/// </summary> /// </summary>
public List<PointCollection> end { get; set; } public List<List<List<int>>> end { get; set; }
/// <summary> /// <summary>
/// InValidPalce /// InValidPalce
/// </summary> /// </summary>
public List<PointCollection> ignore { get; set; } public List<List<List<int>>> ignore { get; set; }
/// <summary> /// <summary>
/// 跟踪框的坐标 /// 跟踪框的坐标
......
...@@ -10,11 +10,11 @@ none ...@@ -10,11 +10,11 @@ none
false false
DEBUG;TRACE DEBUG;TRACE
18560433975 181380438361
1470602451 1-1441241311
11-350624472 11-1602666439
241319896476 23304678694
Style\Button\Button_NdiView.xaml;Style\Button\Button_Setting.xaml;Style\Button\Button_WindowTop.xaml;Style\CheckBox\CheckBox_NdiView.xaml;Style\CheckBox\CheckBox_Setting.xaml;Style\CheckBox\CheckBox_WindowTop.xaml;Style\ComboBox\ComboBox_Setting.xaml;Style\HotkeyBox\HotkeyBox_Setting.xaml;Style\MessageBox\MessageBoxEx.xaml;Style\RadioButton\RadioButton_FootballSide.xaml;Style\RadioButton\RadioButton_NdiView.xaml;Style\RadioButton\RadioButton_Setting.xaml;Style\Slider\Slider_Setting.xaml;Style\TextBlock\TextBlock_Setting.xaml;Style\TextBox\TextBox_Setting.xaml;Style\ToogleButton\ToogleButton_Setting.xaml;Themes\Generic.xaml;Toolkit\NumericUpDown\NumericUpDown.xaml; Style\Button\Button_NdiView.xaml;Style\Button\Button_Setting.xaml;Style\Button\Button_WindowTop.xaml;Style\CheckBox\CheckBox_NdiView.xaml;Style\CheckBox\CheckBox_Setting.xaml;Style\CheckBox\CheckBox_WindowTop.xaml;Style\ComboBox\ComboBox_Setting.xaml;Style\HotkeyBox\HotkeyBox_Setting.xaml;Style\MessageBox\MessageBoxEx.xaml;Style\RadioButton\RadioButton_FootballSide.xaml;Style\RadioButton\RadioButton_NdiView.xaml;Style\RadioButton\RadioButton_Setting.xaml;Style\Slider\Slider_Setting.xaml;Style\TextBlock\TextBlock_Setting.xaml;Style\TextBox\TextBox_Setting.xaml;Style\ToogleButton\ToogleButton_Setting.xaml;Themes\Generic.xaml;Toolkit\NumericUpDown\NumericUpDown.xaml;
False True
...@@ -175,8 +175,9 @@ ...@@ -175,8 +175,9 @@
<WrapPanel <WrapPanel
Grid.Row="1" Grid.Row="1"
Grid.Column="1" Grid.Column="0"
Margin="125,0,0,0"> Margin="0,0,40,0"
HorizontalAlignment="Right">
<Grid> <Grid>
......
using OpenCvSharp.ML; using System.Windows.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input; 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;
using VIZ.Framework.Storage;
namespace VIZ.FGOUT.Module namespace VIZ.FGOUT.Module
{ {
......
...@@ -491,7 +491,8 @@ namespace VIZ.FGOUT.Module ...@@ -491,7 +491,8 @@ namespace VIZ.FGOUT.Module
lock (GlobalUsedPorts) lock (GlobalUsedPorts)
{ {
string ip = clientIP; //string ip = clientIP;
string ip = "192.168.31.70";
int port = 8001; int port = 8001;
//NetHelper.GetAvailableUdpPort(8200, 9200, GlobalUsedPorts); //NetHelper.GetAvailableUdpPort(8200, 9200, GlobalUsedPorts);
GlobalUsedPorts.Add(port); GlobalUsedPorts.Add(port);
......
...@@ -59,11 +59,11 @@ namespace VIZ.FGOUT.Module ...@@ -59,11 +59,11 @@ namespace VIZ.FGOUT.Module
//rectEnd.Name = "rectEnd1"; //rectEnd.Name = "rectEnd1";
//this.canvas1.Children.Add(rectEnd); //this.canvas1.Children.Add(rectEnd);
myPath.Fill = Brushes.Transparent; // myPath.Fill = Brushes.Transparent;
myPath.Stroke = Brushes.Blue; // myPath.Stroke = Brushes.Blue;
myPath.StrokeThickness = 1; // myPath.StrokeThickness = 1;
// myPath.Data = aa; //// myPath.Data = aa;
this.canvas1.Children.Add(myPath); // this.canvas1.Children.Add(myPath);
//myPath1.Fill = Brushes.Transparent; //myPath1.Fill = Brushes.Transparent;
//myPath1.Stroke = Brushes.Red; //myPath1.Stroke = Brushes.Red;
...@@ -205,59 +205,60 @@ namespace VIZ.FGOUT.Module ...@@ -205,59 +205,60 @@ namespace VIZ.FGOUT.Module
// myPath.Stroke = Brushes.Green; // myPath.Stroke = Brushes.Green;
//} //}
if (vm.IsDrawStartPlace || vm.IsDrawEndPlace || vm.IsDrawInvalidPlace) if (vm.IsDrawStartPlace)
DrawPolygon(e.GetPosition(this.canvas1)); DrawPolygon(e.GetPosition(this.canvas1), Brushes.Blue);
else if (vm.IsDrawEndPlace)
DrawPolygon(e.GetPosition(this.canvas1), Brushes.Green);
else if (vm.IsDrawInvalidPlace)
DrawPolygon(e.GetPosition(this.canvas1), Brushes.Red);
//if(e.ClickCount == 2) //if(e.ClickCount == 2)
// polygon = null; // polygon = null;
} }
List<Rect> rectStarts = new List<Rect>();
private void Border_MouseMove(object sender, MouseEventArgs e) private void Border_MouseMove(object sender, MouseEventArgs e)
{ {
if (isMouseDown) //if (isMouseDown)
{ //{
if (vm.IsDrawStartPlace) // if (vm.IsDrawStartPlace)
{ // {
//DrawPath(startPoint, e.GetPosition(this.canvas1)); // //DrawPath(startPoint, e.GetPosition(this.canvas1));
DrawPolygon(e.GetPosition(this.canvas1)); // //DrawPolygon(e.GetPosition(this.canvas1));
//rectStart = new Rect(startPoint, e.GetPosition(this.canvas1)); // //rectStart = new Rect(startPoint, e.GetPosition(this.canvas1));
//rectStarts.Add(new Rect(startPoint, e.GetPosition(this.canvas1)));
// //rectStart.Margin = new Thickness(rect.Left, rect.Top, 0, 0);
//rectStart.Margin = new Thickness(rect.Left, rect.Top, 0, 0); // //rectStart.Width = rect.Width;
//rectStart.Width = rect.Width; // //rectStart.Height = rect.Height;
//rectStart.Height = rect.Height; // }
} // else if(vm.IsDrawEndPlace)
else if(vm.IsDrawEndPlace) // {
{ // rectEnd = new Rect(startPoint, e.GetPosition(this.canvas1));
rectEnd = new Rect(startPoint, e.GetPosition(this.canvas1)); // //rectEnd.Margin = new Thickness(rect.Left, rect.Top, 0, 0);
//rectEnd.Margin = new Thickness(rect.Left, rect.Top, 0, 0); // //rectEnd.Width = rect.Width;
//rectEnd.Width = rect.Width; // //rectEnd.Height = rect.Height;
//rectEnd.Height = rect.Height; // }
} // else if(vm.IsDrawInvalidPlace)
else if(vm.IsDrawInvalidPlace) // {
{ // rectInvalid=new Rect(startPoint, e.GetPosition(this.canvas1));
rectInvalid=new Rect(startPoint, e.GetPosition(this.canvas1)); // }
} //}
}
} }
public Polygon polygon; public Polygon polygon;
public PointCollection points; public PointCollection points;
private void DrawPolygon(Point point) private void DrawPolygon(Point point, Brush brush)
{ {
if (polygon == null) if (polygon == null)
{ {
polygon = new Polygon polygon = new Polygon
{ {
Stroke = Brushes.Blue, Stroke = brush,
StrokeThickness = 1, StrokeThickness = 1,
Fill = Brushes.Transparent Fill = Brushes.Transparent
}; };
points = new PointCollection(); points = new PointCollection();
this.canvas1.Children.Add(polygon); this.canvas1.Children.Add(polygon);
} }
points.Add(point); points.Add(point);
polygon.Points = points; polygon.Points = points;
} }
......
using log4net; using log4net;
using OpenCvSharp;
using SharpDX.Mathematics.Interop; using SharpDX.Mathematics.Interop;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Windows;
using System.Windows.Media; using System.Windows.Media;
using System.Windows.Shapes; using System.Windows.Shapes;
using VIZ.FGOUT.Connection; using VIZ.FGOUT.Connection;
...@@ -13,6 +15,7 @@ using VIZ.FGOUT.Storage; ...@@ -13,6 +15,7 @@ using VIZ.FGOUT.Storage;
using VIZ.Framework.Common; using VIZ.Framework.Common;
using VIZ.Framework.Connection; using VIZ.Framework.Connection;
using VIZ.Framework.Core; using VIZ.Framework.Core;
using VIZ.Framework.Storage;
namespace VIZ.FGOUT.Module namespace VIZ.FGOUT.Module
{ {
...@@ -164,26 +167,17 @@ namespace VIZ.FGOUT.Module ...@@ -164,26 +167,17 @@ namespace VIZ.FGOUT.Module
/// </summary> /// </summary>
private void Replay(ReplayModel replayModel) private void Replay(ReplayModel replayModel)
{ {
if (this.ViewKey != "CAM_1") if (this.ViewKey != "CAM_1")
{ {
return; return;
} }
ReplayPanelView replayPanelView = new ReplayPanelView(); ReplayPanelView replayPanelView = new ReplayPanelView();
RePlayPanelViewModel rePlayPanelViewModel = replayPanelView.DataContext as RePlayPanelViewModel; RePlayPanelViewModel rePlayPanelViewModel = replayPanelView.DataContext as RePlayPanelViewModel;
rePlayPanelViewModel.timecode = timecode; rePlayPanelViewModel.timecode = timecode;
replayPanelView.Show(); replayPanelView.Show();
} }
/// <summary> /// <summary>
/// 开始位置命令 /// 开始位置命令
/// </summary> /// </summary>
...@@ -203,7 +197,6 @@ namespace VIZ.FGOUT.Module ...@@ -203,7 +197,6 @@ namespace VIZ.FGOUT.Module
IsCleanPlace = false; IsCleanPlace = false;
} }
/// <summary> /// <summary>
/// 结束位置命令 /// 结束位置命令
/// </summary> /// </summary>
...@@ -282,24 +275,19 @@ namespace VIZ.FGOUT.Module ...@@ -282,24 +275,19 @@ namespace VIZ.FGOUT.Module
private void SendPlace(SendPlaceModel sendPlaceModel) private void SendPlace(SendPlaceModel sendPlaceModel)
{ {
// 对结束值进行组装 // 对结束值进行组装
NDIView nDIView = this.GetView<NDIView>(); NDIView nDIView = this.GetView<NDIView>();
if (this.ViewKey != "CAM_1") if (this.ViewKey != "CAM_1")
return; return;
//var renderInfo = nDIView.video.GetRenderInfo();
var renderInfo = nDIView.video.GetRenderInfo();
//var rectStart = nDIView.rectStart; //var rectStart = nDIView.rectStart;
var rectEnd = nDIView.rectEnd; //var rectEnd = nDIView.rectEnd;
//var rectInvalid = nDIView.rectInvalid;
var rectInvalid = nDIView.rectInvalid;
var srcWidth = nDIView.video.ActualWidth; var srcWidth = nDIView.video.ActualWidth;
var srcHeight = nDIView.video.ActualHeight; var srcHeight = nDIView.video.ActualHeight;
// ConnectionManager.UdpConnection.AddEndpointManager(new UdpEndpointManager("CAM_1", "192.168.31.95", 8001)); // ConnectionManager.UdpConnection.AddEndpointManager(new UdpEndpointManager("CAM_1", "192.168.31.95", 8001));
...@@ -309,9 +297,9 @@ namespace VIZ.FGOUT.Module ...@@ -309,9 +297,9 @@ namespace VIZ.FGOUT.Module
//AlgorithmPackage_Figout_model package = new AlgorithmPackage_Figout_model(); //AlgorithmPackage_Figout_model package = new AlgorithmPackage_Figout_model();
AlgorithmPackage_Figout_new_model package = new AlgorithmPackage_Figout_new_model(); AlgorithmPackage_Figout_new_model package = new AlgorithmPackage_Figout_new_model();
package.start = nDIView.polygonsStart; package.start = Coordinate(nDIView.polygonsStart, srcWidth, srcHeight);
package.end = nDIView.polygonsEnd; package.end = Coordinate(nDIView.polygonsEnd, srcWidth, srcHeight);
package.ignore = nDIView.polygonsInvalid; package.ignore = Coordinate(nDIView.polygonsInvalid, srcWidth, srcHeight);
//if (rectStart.Width == 0 && rectStart.Height == 0) //if (rectStart.Width == 0 && rectStart.Height == 0)
//{ //{
// package.startPlace = null; // package.startPlace = null;
...@@ -341,12 +329,31 @@ namespace VIZ.FGOUT.Module ...@@ -341,12 +329,31 @@ namespace VIZ.FGOUT.Module
if (manager == null) if (manager == null)
return; return;
manager.SendJson(package); manager.SendJson(package);
MessageBoxEx.ShowDialog("发送成功"); MessageBoxEx.ShowDialog("发送成功");
} }
private List<List<List<int>>> Coordinate(List<PointCollection> points, double srcWidth, double srcHeight)
{
// 视频的宽度
int resWith = ApplicationDomainEx.IniStorage.GetValue<VideoConfig, int>(p => p.VIDEO_WITH);
// 视频的高度
int resHeight = ApplicationDomainEx.IniStorage.GetValue<VideoConfig, int>(p => p.VIDEO_HEIGHT);
double xp = srcWidth / resWith;
double xy = srcHeight / resHeight;
var listOuterMost = new List<List<List<int>>>();
foreach (var pcPoint in points)
{
var listMiddle = new List<List<int>>();
if (pcPoint.Count > 0)
foreach (var point in pcPoint)
listMiddle.Add(new List<int>() { Convert.ToInt32(point.X / xp), Convert.ToInt32(point.Y / xy) });
listOuterMost.Add(listMiddle);
}
return listOuterMost;
}
/// <summary> /// <summary>
/// 保存配置命令 /// 保存配置命令
/// </summary> /// </summary>
...@@ -400,16 +407,12 @@ namespace VIZ.FGOUT.Module ...@@ -400,16 +407,12 @@ namespace VIZ.FGOUT.Module
MessageBoxEx.ShowDialog("保存成功"); MessageBoxEx.ShowDialog("保存成功");
} }
//private List<List<int>> Coordinate(Rect rect, VideoRenderInfo renderInfo, double srcWidth, double srcHeight) //private List<List<int>> Coordinate(Rect rect, VideoRenderInfo renderInfo, double srcWidth, double srcHeight)
//{ //{
// // 视频的宽度 // // 视频的宽度
// int resWith = ApplicationDomainEx.IniStorage.GetValue<VideoConfig, int>(p => p.VIDEO_WITH); // int resWith = ApplicationDomainEx.IniStorage.GetValue<VideoConfig, int>(p => p.VIDEO_WITH);
// // 视频的高度 // // 视频的高度
// int resHeight= ApplicationDomainEx.IniStorage.GetValue<VideoConfig, int>(p => p.VIDEO_HEIGHT); // int resHeight = ApplicationDomainEx.IniStorage.GetValue<VideoConfig, int>(p => p.VIDEO_HEIGHT);
// //int resHeight= ApplicationDomainEx.IniStorage.GetValue<ResConfig, int>(p => p.RES_HIEGHT); // //int resHeight= ApplicationDomainEx.IniStorage.GetValue<ResConfig, int>(p => p.RES_HIEGHT);
// double xp = srcWidth / resWith; // double xp = srcWidth / resWith;
...@@ -429,12 +432,10 @@ namespace VIZ.FGOUT.Module ...@@ -429,12 +432,10 @@ namespace VIZ.FGOUT.Module
// int x4 = dx; // int x4 = dx;
// int y4 = dy + height; // int y4 = dy + height;
// List<List<int>> coordinates = new List<List<int>>() { new List<int>() { dx, dy }, new List<int>() { x2, y2 }, new List<int>() { x3, y3 }, new List<int>() { x4, y4 } };
// List<List<int>> coordinates = new List<List<int>>() { new List<int>() { dx, dy }, new List<int>() { x2, y2 }, new List<int>() { x3, y3 }, new List<int>(){ x4, y4 } };
// return coordinates; // return coordinates;
//} //}
/// <summary> /// <summary>
/// 初始化属性 /// 初始化属性
/// </summary> /// </summary>
...@@ -447,9 +448,6 @@ namespace VIZ.FGOUT.Module ...@@ -447,9 +448,6 @@ namespace VIZ.FGOUT.Module
// 算法FPS统计 // 算法FPS统计
this.AlgorithmFPS = new FPSHelper(); this.AlgorithmFPS = new FPSHelper();
this.AlgorithmFPS.Start(); this.AlgorithmFPS.Start();
} }
/// <summary> /// <summary>
...@@ -667,7 +665,7 @@ namespace VIZ.FGOUT.Module ...@@ -667,7 +665,7 @@ namespace VIZ.FGOUT.Module
//view.rectStart = new Rect(setPlaceConfig.StartPlace[0], setPlaceConfig.StartPlace[1], setPlaceConfig.StartPlace[2], setPlaceConfig.StartPlace[3]); //view.rectStart = new Rect(setPlaceConfig.StartPlace[0], setPlaceConfig.StartPlace[1], setPlaceConfig.StartPlace[2], setPlaceConfig.StartPlace[3]);
//view.aa.AddGeometry(new RectangleGeometry(view.rectStart)); //view.aa.AddGeometry(new RectangleGeometry(view.rectStart));
foreach (var points in setPlaceNewConfig.StartPlace) foreach (var points in setPlaceNewConfig.StartPlace)
AddPoints(view, points); AddPoints(view, points, Brushes.Blue);
} }
if (setPlaceNewConfig.EndPlace.Count > 0) if (setPlaceNewConfig.EndPlace.Count > 0)
...@@ -676,7 +674,7 @@ namespace VIZ.FGOUT.Module ...@@ -676,7 +674,7 @@ namespace VIZ.FGOUT.Module
//view.rectEnd = new Rect(setPlaceConfig.EndPlace[0], setPlaceConfig.EndPlace[1], setPlaceConfig.EndPlace[2], setPlaceConfig.EndPlace[3]); //view.rectEnd = new Rect(setPlaceConfig.EndPlace[0], setPlaceConfig.EndPlace[1], setPlaceConfig.EndPlace[2], setPlaceConfig.EndPlace[3]);
//view.aa.AddGeometry(new RectangleGeometry(view.rectEnd)); //view.aa.AddGeometry(new RectangleGeometry(view.rectEnd));
foreach (var points in setPlaceNewConfig.EndPlace) foreach (var points in setPlaceNewConfig.EndPlace)
AddPoints(view, points); AddPoints(view, points, Brushes.Green);
} }
if (setPlaceNewConfig.InvlidPlace.Count > 0) if (setPlaceNewConfig.InvlidPlace.Count > 0)
...@@ -685,7 +683,7 @@ namespace VIZ.FGOUT.Module ...@@ -685,7 +683,7 @@ namespace VIZ.FGOUT.Module
//view.rectInvalid = new Rect(setPlaceConfig.InvlidPlace[0], setPlaceConfig.InvlidPlace[1], setPlaceConfig.InvlidPlace[2], setPlaceConfig.InvlidPlace[3]); //view.rectInvalid = new Rect(setPlaceConfig.InvlidPlace[0], setPlaceConfig.InvlidPlace[1], setPlaceConfig.InvlidPlace[2], setPlaceConfig.InvlidPlace[3]);
//view.aa.AddGeometry(new RectangleGeometry(view.rectInvalid)); //view.aa.AddGeometry(new RectangleGeometry(view.rectInvalid));
foreach (var points in setPlaceNewConfig.InvlidPlace) foreach (var points in setPlaceNewConfig.InvlidPlace)
AddPoints(view, points); AddPoints(view, points, Brushes.Red);
} }
//view.myPath.Data = view.aa; //view.myPath.Data = view.aa;
...@@ -693,11 +691,11 @@ namespace VIZ.FGOUT.Module ...@@ -693,11 +691,11 @@ namespace VIZ.FGOUT.Module
} }
private void AddPoints(NDIView view, PointCollection points) private void AddPoints(NDIView view, PointCollection points, Brush brush)
{ {
Polygon polygon = new Polygon Polygon polygon = new Polygon
{ {
Stroke = Brushes.Blue, Stroke = brush,
StrokeThickness = 1, StrokeThickness = 1,
Fill = Brushes.Transparent Fill = Brushes.Transparent
}; };
......
...@@ -71,7 +71,7 @@ namespace VIZ.FGOUT.Module ...@@ -71,7 +71,7 @@ namespace VIZ.FGOUT.Module
//如果没有选择预设则不发送 //如果没有选择预设则不发送
if(PresetsItem == null) return; if(PresetsItem == null) return;
UdpEndpointManager manager = ConnectionManager.UdpConnection.GetEndpointManager($"UE"); UdpEndpointManager manager = ConnectionManager.UdpConnection.GetEndpointManager(_endpointKey);
if (manager == null) return; if (manager == null) return;
UEPackage uePackage = new UEPackage(); UEPackage uePackage = new UEPackage();
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F17D6BBFCB868C891664C3375D890DAF01CAC7C6DE76035A166ABE8DF84CF8DA" #pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "01435BBE89EC4DCDB63849DA92F11980D271587C3E8D98E3488B2A1580DCC915"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <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 305 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 306 "..\..\..\..\..\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;
...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module { ...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 323 "..\..\..\..\..\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 VIZ.FGOUT.Module.NDIView cam2; internal VIZ.FGOUT.Module.NDIView cam2;
......
#pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "F17D6BBFCB868C891664C3375D890DAF01CAC7C6DE76035A166ABE8DF84CF8DA" #pragma checksum "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "01435BBE89EC4DCDB63849DA92F11980D271587C3E8D98E3488B2A1580DCC915"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <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 305 "..\..\..\..\..\NDIMainView\View\NDIMainView.xaml" #line 306 "..\..\..\..\..\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;
...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module { ...@@ -66,7 +66,7 @@ namespace VIZ.FGOUT.Module {
#line hidden #line hidden
#line 323 "..\..\..\..\..\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 VIZ.FGOUT.Module.NDIView cam2; internal VIZ.FGOUT.Module.NDIView cam2;
......
...@@ -10,11 +10,11 @@ none ...@@ -10,11 +10,11 @@ none
false false
DEBUG;TRACE DEBUG;TRACE
22-808211288 22-1559853185
90-747441034 90-1236168610
150-1446398279 150-2097665076
NDIMainView\View\NDIMainView.xaml;NDIPreviewView\View\NDIPreviewView.xaml;NDISettingView\View\AlgorithmSettingPanelView.xaml;NDISettingView\View\Algorithm\AlgorithmCablewayPanelView.xaml;NDISettingView\View\Algorithm\AlgorithmNearPanelView.xaml;NDISettingView\View\Algorithm\AlgorithmSinglePanelView.xaml;NDISettingView\View\Algorithm\AlgorithmSixteenPanelView.xaml;NDISettingView\View\Algorithm\AlgorithmTacticsPanelView.xaml;NDISettingView\View\NDISettingPanelView.xaml;NDISettingView\View\NDISettingView.xaml;NDIView\View\NDIView.xaml;SystemSetting\View\AboutPanelView.xaml;SystemSetting\View\CheckDataPanelView.xaml;SystemSetting\View\HotkeySettingPanelView.xaml;SystemSetting\View\MattingImagePanelView.xaml;SystemSetting\View\PackageSettingPanelView.xaml;SystemSetting\View\PreviewSettingPanelView.xaml;SystemSetting\View\ReplayPanelView.xaml;SystemSetting\View\StyleSettingPanelView.xaml;SystemSetting\View\SystemSettingView.xaml;SystemSetting\View\UEControlPanelView.xaml;SystemSetting\View\UESettingPanelView.xaml; NDIMainView\View\NDIMainView.xaml;NDIPreviewView\View\NDIPreviewView.xaml;NDISettingView\View\AlgorithmSettingPanelView.xaml;NDISettingView\View\Algorithm\AlgorithmCablewayPanelView.xaml;NDISettingView\View\Algorithm\AlgorithmNearPanelView.xaml;NDISettingView\View\Algorithm\AlgorithmSinglePanelView.xaml;NDISettingView\View\Algorithm\AlgorithmSixteenPanelView.xaml;NDISettingView\View\Algorithm\AlgorithmTacticsPanelView.xaml;NDISettingView\View\NDISettingPanelView.xaml;NDISettingView\View\NDISettingView.xaml;NDIView\View\NDIView.xaml;SystemSetting\View\AboutPanelView.xaml;SystemSetting\View\CheckDataPanelView.xaml;SystemSetting\View\HotkeySettingPanelView.xaml;SystemSetting\View\MattingImagePanelView.xaml;SystemSetting\View\PackageSettingPanelView.xaml;SystemSetting\View\PreviewSettingPanelView.xaml;SystemSetting\View\ReplayPanelView.xaml;SystemSetting\View\StyleSettingPanelView.xaml;SystemSetting\View\SystemSettingView.xaml;SystemSetting\View\UEControlPanelView.xaml;SystemSetting\View\UESettingPanelView.xaml;
False True
using System; using VIZ.Framework.Storage;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Storage;
namespace VIZ.FGOUT.Storage namespace VIZ.FGOUT.Storage
{ {
...@@ -25,7 +19,5 @@ namespace VIZ.FGOUT.Storage ...@@ -25,7 +19,5 @@ namespace VIZ.FGOUT.Storage
/// </summary> /// </summary>
[Ini(Section = "UDP", DefaultValue = "8100", Type = typeof(int))] [Ini(Section = "UDP", DefaultValue = "8100", Type = typeof(int))]
public string UDP_BINDING_PORT { get; set; } public string UDP_BINDING_PORT { get; set; }
} }
} }
2023-08-29 10:51:24,329 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确! 2023-09-01 10:11:58,072 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 10:51:44,868 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确! 2023-09-01 10:12:56,370 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 10:52:57,068 [9] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确! 2023-09-01 10:27:37,170 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 11:14:11,795 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确! 2023-09-01 14:20:59,317 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 11:15:41,908 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确! 2023-09-01 14:28:49,711 [8] ERROR VIZ.Framework.Connection.UdpConnection - System.Net.Sockets.SocketException (0x80004005): 远程主机强迫关闭了一个现有的连接。
2023-08-29 11:17:51,217 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 11:19:19,812 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 14:05:39,586 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 14:07:33,521 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 14:09:00,856 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 14:15:45,463 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 14:20:17,771 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 14:22:08,193 [4] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 14:28:33,447 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 14:36:10,791 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 15:43:28,460 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 15:48:10,280 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 15:53:29,838 [9] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 15:58:05,173 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:00:15,902 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:01:04,169 [1] ERROR VIZ.Framework.Core.VCommand - System.NullReferenceException: 未将对象引用设置到对象的实例。
在 VIZ.FGOUT.Module.NDIViewModel.SavePlace(SavePlaceModel savePlaceModel)
在 VIZ.Framework.Core.MessageManager.Send[T](T message) 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Core\Core\Message\MessageManager.cs:行号 95
在 VIZ.FGOUT.Module.NDIMainViewModel.SavePlace()
在 VIZ.Framework.Core.VCommand.Execute(Object parameter) 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Core\Core\WPF\VCommand.cs:行号 108
2023-08-29 16:04:35,203 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:06:19,085 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm_StartUDP() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 471
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 254
在 VIZ.FGOUT.Module.AlgorithmControllerBase.<RestartAlgorithm>b__14_0() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 84
2023-08-29 16:21:29,184 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm_StartUDP() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 471
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 254
在 VIZ.FGOUT.Module.AlgorithmControllerBase.<RestartAlgorithm>b__14_0() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 84
2023-08-29 16:22:03,638 [1] ERROR VIZ.Framework.Core.VCommand - System.NullReferenceException: 未将对象引用设置到对象的实例。
在 VIZ.FGOUT.Module.NDIViewModel.SavePlace(SavePlaceModel savePlaceModel) 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\ViewModel\NDIViewModel.cs:行号 378
在 VIZ.Framework.Core.MessageManager.Send[T](T message) 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Core\Core\Message\MessageManager.cs:行号 95
在 VIZ.FGOUT.Module.NDIMainViewModel.SavePlace() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIMainView\ViewModel\NDIMainViewModel.cs:行号 681
在 VIZ.Framework.Core.VCommand.Execute(Object parameter) 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Core\Core\WPF\VCommand.cs:行号 108
2023-08-29 16:27:53,816 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:33:22,089 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm_StartUDP() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 471
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 254
在 VIZ.FGOUT.Module.AlgorithmControllerBase.<RestartAlgorithm>b__14_0() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 84
2023-08-29 16:34:15,066 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:34:44,574 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:41:04,942 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:41:32,673 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm_StartUDP() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 471
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 254
在 VIZ.FGOUT.Module.AlgorithmControllerBase.<RestartAlgorithm>b__14_0() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 84
2023-08-29 16:41:58,234 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:43:49,167 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:52:29,979 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 16:53:15,966 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm_StartUDP() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 471
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 254
在 VIZ.FGOUT.Module.AlgorithmControllerBase.<RestartAlgorithm>b__14_0() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 84
2023-08-29 17:14:39,352 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.List`1.Enumerator.MoveNextRare()
在 System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm_StartUDP() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 471
在 VIZ.FGOUT.Module.AlgorithmControllerBase.ExecuteRestartAlgorithm() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 254
在 VIZ.FGOUT.Module.AlgorithmControllerBase.<RestartAlgorithm>b__14_0() 位置 D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\Controller\Algorithm\AlgorithmControllerBase.cs:行号 84
2023-08-29 17:14:39,424 [24] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 17:23:04,740 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 17:25:42,604 [8] ERROR VIZ.Framework.Connection.UdpConnection - System.Net.Sockets.SocketException (0x80004005): 远程主机强迫关闭了一个现有的连接。
在 System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP) 在 System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
在 System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP) 在 System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
在 VIZ.Framework.Connection.UdpConnection.ReceiveMessage() 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Connection\Protocol\UDP\UdpConnection.cs:行号 168 在 VIZ.Framework.Connection.UdpConnection.ReceiveMessage() 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Connection\Protocol\UDP\UdpConnection.cs:行号 163
2023-08-29 17:26:44,321 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确! 2023-09-01 14:40:30,653 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 17:29:31,064 [8] ERROR VIZ.Framework.Connection.UdpConnection - System.Net.Sockets.SocketException (0x80004005): 远程主机强迫关闭了一个现有的连接。 2023-09-01 14:41:51,751 [8] ERROR VIZ.Framework.Connection.UdpConnection - System.Net.Sockets.SocketException (0x80004005): 远程主机强迫关闭了一个现有的连接。
在 System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP) 在 System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
在 System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP) 在 System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
在 VIZ.Framework.Connection.UdpConnection.ReceiveMessage() 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Connection\Protocol\UDP\UdpConnection.cs:行号 168 在 VIZ.Framework.Connection.UdpConnection.ReceiveMessage() 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Connection\Protocol\UDP\UdpConnection.cs:行号 163
2023-08-29 17:31:49,296 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确! 2023-09-01 14:48:32,169 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 17:36:19,907 [8] ERROR VIZ.Framework.Connection.UdpConnection - System.Net.Sockets.SocketException (0x80004005): 远程主机强迫关闭了一个现有的连接。 2023-09-01 14:51:10,214 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-01 14:58:06,564 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-01 15:36:34,647 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-01 16:14:07,684 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-01 16:15:31,979 [8] ERROR VIZ.Framework.Connection.UdpConnection - System.Net.Sockets.SocketException (0x80004005): 远程主机强迫关闭了一个现有的连接。
在 System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP) 在 System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)
在 System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP) 在 System.Net.Sockets.UdpClient.Receive(IPEndPoint& remoteEP)
在 VIZ.Framework.Connection.UdpConnection.ReceiveMessage() 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Connection\Protocol\UDP\UdpConnection.cs:行号 168 在 VIZ.Framework.Connection.UdpConnection.ReceiveMessage() 位置 D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Connection\Protocol\UDP\UdpConnection.cs:行号 163
2023-08-29 17:36:54,649 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确! 2023-09-01 17:22:50,813 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-08-29 18:01:02,330 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -10,11 +10,11 @@ none ...@@ -10,11 +10,11 @@ none
false false
DEBUG;TRACE DEBUG;TRACE
D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT\App.xaml D:\wyh\FGOUT\FGOUT\VIZ.FGOUT\VIZ.FGOUT\App.xaml
2-1347366880 21265083526
6968741766 6-790135758
431254803023 42-1902222901
CloseAlgorithmWindow.xaml;MainWindow.xaml; CloseAlgorithmWindow.xaml;MainWindow.xaml;
False True
...@@ -10,10 +10,10 @@ none ...@@ -10,10 +10,10 @@ none
false false
DEBUG;TRACE DEBUG;TRACE
91711917753 9-721875057
3-1719726047 3-630027162
19-915820474 192063791830
Path\ArrowPathResource.xaml;Style\Button\Button_MessageBox.xaml;Style\Button\Button_Normal.xaml;Style\Button\Button_WindowTop.xaml;Style\GridSplitter\GridSplitter_None.xaml;Style\ListBox\ListBox_None.xaml;Style\ScrollView\ScrollView_Default.xaml;Style\TextBox\TextBox_None.xaml;Themes\Generic.xaml; Path\ArrowPathResource.xaml;Style\Button\Button_MessageBox.xaml;Style\Button\Button_Normal.xaml;Style\Button\Button_WindowTop.xaml;Style\GridSplitter\GridSplitter_None.xaml;Style\ListBox\ListBox_None.xaml;Style\ScrollView\ScrollView_Default.xaml;Style\TextBox\TextBox_None.xaml;Themes\Generic.xaml;
False False
......
D:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Common\obj\x64\Debug\GeneratedInternalTypeHelper.g.cs 
FD:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Common\MessageBox\MessageBoxEx.xaml;; FD:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Common\MessageBox\MessageBoxEx.xaml;;
FD:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Common\MessageBox\MessageBoxExWindow.xaml;; FD:\wyh\FGOUT\FGOUT\VIZ.Framework\VIZ.Framework.Common\MessageBox\MessageBoxExWindow.xaml;;
......
using log4net; using log4net;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net; using System.Net;
using System.Net.Sockets; using System.Net.Sockets;
using System.Text;
using System.Threading; using System.Threading;
using System.Threading.Tasks;
using VIZ.Framework.Domain;
namespace VIZ.Framework.Connection namespace VIZ.Framework.Connection
{ {
......
using System; using log4net;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Net.Sockets; using System.Net.Sockets;
using System.Net;
using System.Diagnostics;
using log4net;
using VIZ.Framework.Domain; using VIZ.Framework.Domain;
namespace VIZ.Framework.Connection namespace VIZ.Framework.Connection
......
using log4net; using log4net;
using Newtonsoft.Json; using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text; using System.Text;
using System.Threading.Tasks;
namespace VIZ.Framework.Connection namespace VIZ.Framework.Connection
{ {
...@@ -44,7 +40,8 @@ namespace VIZ.Framework.Connection ...@@ -44,7 +40,8 @@ namespace VIZ.Framework.Connection
/// </summary> /// </summary>
/// <param name="manager">UDP终结点管理器</param> /// <param name="manager">UDP终结点管理器</param>
/// <param name="msg">消息</param> /// <param name="msg">消息</param>
public static void SendString(this UdpEndpointManager manager, string msg) public static void SendString(this UdpEndpointManager manager, string
msg)
{ {
SendString(manager, msg, Encoding.UTF8); SendString(manager, msg, Encoding.UTF8);
} }
......
using Microsoft.Win32; using System;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Management;
using System.Net; using System.Net;
using System.Net.NetworkInformation; using System.Net.NetworkInformation;
using System.Net.Sockets; using System.Net.Sockets;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace VIZ.Framework.Core namespace VIZ.Framework.Core
{ {
......
...@@ -10,11 +10,11 @@ none ...@@ -10,11 +10,11 @@ none
false false
DEBUG;TRACE DEBUG;TRACE
11882902973 1-731644535
212023628146 212002329545
25-2140555781 25-1459698188
Themes\Generic.xaml; Themes\Generic.xaml;
False True
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment