Commit 43a791ad by 鲁志-悦动

无效标记改由矩形框实现

parent bf12278e
......@@ -384,20 +384,15 @@ namespace VIZ.FGOUT.Module
set
{
isAutoEnbale = value;
this.RaisePropertyChanged(nameof(IsAutoEnbale));
RaisePropertyChanged(nameof(IsAutoEnbale));
if(value)
{
IsEnbaleTarget = false;
IsStartImaget = false;
SendIsManual("auto");
manualConfig.IsManual = true;
ApplicationDomainEx.LiteDbContext.SetManualConfig.Upsert(manualConfig);
CleanRect();
}
}
}
......@@ -685,17 +680,12 @@ namespace VIZ.FGOUT.Module
private void SavePlace()
{
if(IsAutoEnbale)
{
savePlaceModel.IsManual = true;
}
else
{
savePlaceModel.IsManual = false;
}
savePlaceModel.IsStartMat = IsStartImaget;
ApplicationDomainEx.MessageManager.Send(savePlaceModel);
ApplicationDomain.MessageManager.Send(savePlaceModel);
}
#endregion
......
......@@ -304,7 +304,11 @@
<Border
x:Name="Border"
Background="Transparent"
Background="White"
KeyDown="Border_OnKeyDown"
KeyUp="Border_OnKeyUp"
PreviewKeyDown="Border_OnPreviewKeyDown"
PreviewKeyUp="Border_OnPreviewKeyUp"
PreviewMouseLeftButtonDown="Border_MouseLeftButtonDown"
PreviewMouseLeftButtonUp="Border_MouseLeftButtonUp"
PreviewMouseMove="Border_MouseMove"
......@@ -324,7 +328,8 @@
Height="{Binding ElementName=canvas1, Path=ActualHeight}"
BorderBrush="White"
BorderThickness="6" />
<Canvas x:Name="canvas1" Focusable="False" />
<!--<Canvas x:Name="canvas1" Focusable="False" />-->
<Canvas x:Name="canvas1" Focusable="True" />
</Grid>
</Border>
......
......@@ -16,7 +16,7 @@ namespace VIZ.FGOUT.Module
{
public NDIViewModel vm = new NDIViewModel();
//Rectangle rectStart = new Rectangle();
Rectangle rectStart = new Rectangle();
// Rectangle rectEnd = new Rectangle();
......@@ -30,8 +30,10 @@ namespace VIZ.FGOUT.Module
public List<PointCollection> polygonsInvalid= new List<PointCollection>();
public Rect rectEnd;
public Rect rectInvalid;
//public Rectangle rectInvalid;
public List<Rect> rectsInvalid = new List<Rect>();
public Path myPath = new Path();
//public Path myPath = new Path();
//public Path myPath1 = new Path();
......@@ -63,6 +65,12 @@ namespace VIZ.FGOUT.Module
//// myPath.Data = aa;
// this.canvas1.Children.Add(myPath);
//myPath.Fill = Brushes.Transparent;
//myPath.Stroke = Brushes.Red;
//myPath.StrokeThickness = 1;
//myPath.Data = aa;
//this.canvas1.Children.Add(myPath);
//myPath1.Fill = Brushes.Transparent;
//myPath1.Stroke = Brushes.Red;
//myPath1.StrokeThickness = 1;
......@@ -102,7 +110,7 @@ namespace VIZ.FGOUT.Module
// if (!this.manualConfig.IsManual) return;
// isMouseDown = false;
isMouseDown = false;
// //if (vm.IsDrawStartPlace)
// //{
......@@ -113,7 +121,6 @@ namespace VIZ.FGOUT.Module
// // //{
// // // this.canvas1.Children.Add(rectStart);
// // //}
// //}
// //if (vm.IsDrawEndPlace)
......@@ -185,13 +192,27 @@ namespace VIZ.FGOUT.Module
// aa.AddGeometry(new RectangleGeometry(rectInvalid));
// }
// myPath.Data = aa;
if (vm.IsDrawInvalidPlace)
{
aa = new PathGeometry();
if (!rectsInvalid.Contains(rectInvalid))
{
aa.AddGeometry(new RectangleGeometry(rectInvalid));
rectsInvalid.Add(rectInvalid);
var myPath = new Path();
myPath.Fill = Brushes.Transparent;
myPath.Stroke = Brushes.Red;
myPath.StrokeThickness = 1;
myPath.Data = aa;
canvas1.Children.Add(myPath);
}
}
}
private void Border_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
//startPoint = e.GetPosition(this.canvas1);
//isMouseDown = true;
startPoint = e.GetPosition(this.canvas1);
//if (vm.IsDrawStartPlace)
//{
......@@ -203,23 +224,62 @@ namespace VIZ.FGOUT.Module
// myPath.Stroke = Brushes.Green;
//}
//鼠标左键双击删除上一个图形
if (e.ClickCount == 2)
{
isMouseDown = false;
if (vm.IsDrawStartPlace)
{
var startCount = polygonsStart.Count;
if (startCount > 0)
{
polygonsStart[startCount - 1].Clear();
polygonsStart.RemoveAt(startCount - 1);
}
}
else if (vm.IsDrawEndPlace)
{
if (polygonsEnd.Count > 0)
{
polygonsEnd[0].Clear();
polygonsEnd.RemoveAt(0);
}
}
else if (vm.IsDrawInvalidPlace)
{
//var invalidCount = polygonsInvalid.Count;
//if (invalidCount > 0)
//{
// polygonsInvalid[invalidCount - 1].Clear();
// polygonsInvalid.RemoveAt(invalidCount - 1);
//}
var invalidCount = rectsInvalid.Count;
if (invalidCount > 0)
{
rectsInvalid[invalidCount - 1] = new Rect();
rectsInvalid.RemoveAt(invalidCount - 1);
}
}
}
//鼠标左键单击画点
else if (e.ClickCount == 1)
{
isMouseDown = true;
if (vm.IsDrawStartPlace)
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)
// polygon = null;
//else if (vm.IsDrawInvalidPlace)
// DrawPolygon(e.GetPosition(this.canvas1), Brushes.Red);
}
}
private void Border_MouseMove(object sender, MouseEventArgs e)
{
//if (isMouseDown)
if (isMouseDown)
{
//if (vm.IsDrawStartPlace)
//{
// if (vm.IsDrawStartPlace)
// {
// //DrawPath(startPoint, e.GetPosition(this.canvas1));
// //DrawPolygon(e.GetPosition(this.canvas1));
// //rectStart = new Rect(startPoint, e.GetPosition(this.canvas1));
......@@ -227,19 +287,24 @@ namespace VIZ.FGOUT.Module
// //rectStart.Margin = new Thickness(rect.Left, rect.Top, 0, 0);
// //rectStart.Width = rect.Width;
// //rectStart.Height = rect.Height;
// }
// else if(vm.IsDrawEndPlace)
// {
// rectEnd = new Rect(startPoint, e.GetPosition(this.canvas1));
// //rectEnd.Margin = new Thickness(rect.Left, rect.Top, 0, 0);
// //rectEnd.Width = rect.Width;
// //rectEnd.Height = rect.Height;
// }
// else if(vm.IsDrawInvalidPlace)
// {
// rectInvalid=new Rect(startPoint, e.GetPosition(this.canvas1));
// }
//}
//else if (vm.IsDrawEndPlace)
//{
//rectEnd = new Rect(startPoint, e.GetPosition(this.canvas1));
//rectEnd.Margin = new Thickness(rect.Left, rect.Top, 0, 0);
//rectEnd.Width = rect.Width;
//rectEnd.Height = rect.Height;
//}
//else if (vm.IsDrawInvalidPlace)
//{
// rectInvalid = new Rect(startPoint, e.GetPosition(this.canvas1));
//}
if (vm.IsDrawInvalidPlace)
{
rectInvalid = new Rect(startPoint, e.GetPosition(this.canvas1));
}
}
}
public Polygon polygon;
......@@ -255,12 +320,30 @@ namespace VIZ.FGOUT.Module
Fill = Brushes.Transparent
};
points = new PointCollection();
this.canvas1.Children.Add(polygon);
canvas1.Children.Add(polygon);
}
points.Add(point);
polygon.Points = points;
}
//public Rectangle _rectangle;
//private void DrawRenctangle(Point point, Brush brush)
//{
// if (_rectangle == null)
// {
// _rectangle = new Rectangle
// {
// Stroke = brush,
// StrokeThickness = 1,
// Fill = Brushes.Transparent
// };
// points = new PointCollection();
// canvas1.Children.Add(_rectangle);
// }
// points.Add(point);
// //polygon.Points = points;
//}
private void Border_OnPreviewMouseRightButtonDown(object sender, MouseButtonEventArgs e)
{
if(points == null)
......@@ -281,12 +364,32 @@ namespace VIZ.FGOUT.Module
polygonsEnd.RemoveAt(0);
}
}
else if (vm.IsDrawInvalidPlace)
//else if (vm.IsDrawInvalidPlace)
//{
// if(!polygonsInvalid.Contains(points))
// polygonsInvalid.Add(points);
//}
polygon = null;
}
private void Border_OnPreviewKeyDown(object sender, KeyEventArgs e)
{
if(!polygonsInvalid.Contains(points))
polygonsInvalid.Add(points);
throw new System.NotImplementedException();
}
polygon = null;
private void Border_OnKeyDown(object sender, KeyEventArgs e)
{
throw new System.NotImplementedException();
}
private void Border_OnKeyUp(object sender, KeyEventArgs e)
{
throw new System.NotImplementedException();
}
private void Border_OnPreviewKeyUp(object sender, KeyEventArgs e)
{
throw new System.NotImplementedException();
}
}
}
using log4net;
using OpenCvSharp;
using SharpDX.Mathematics.Interop;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows;
using System.Windows.Media;
using System.Windows.Shapes;
using VIZ.FGOUT.Connection;
......@@ -248,9 +250,8 @@ namespace VIZ.FGOUT.Module
NDIView nDIView = this.GetView<NDIView>();
nDIView.aa = null;
nDIView.myPath.Data = null;
//nDIView.aa = null;
//nDIView.myPath.Data = null;
IsDrawStartPlace = false;
IsDrawEndPlace = false;
......@@ -262,7 +263,8 @@ namespace VIZ.FGOUT.Module
nDIView.polygonsStart.Clear();
nDIView.polygonsEnd.Clear();
nDIView.polygonsInvalid.Clear();
//nDIView.polygonsInvalid.Clear();
nDIView.rectsInvalid.Clear();
nDIView.canvas1.Children.Clear();
nDIView.polygon = null;
......@@ -300,6 +302,8 @@ namespace VIZ.FGOUT.Module
package.start = Coordinate(nDIView.polygonsStart, srcWidth, srcHeight);
package.end = Coordinate(nDIView.polygonsEnd, srcWidth, srcHeight);
package.ignore = Coordinate(nDIView.polygonsInvalid, srcWidth, srcHeight);
package.ignore = Coordinate(nDIView.rectsInvalid, srcWidth, srcHeight);
//if (rectStart.Width == 0 && rectStart.Height == 0)
//{
// package.startPlace = null;
......@@ -330,7 +334,8 @@ namespace VIZ.FGOUT.Module
if (manager == null)
return;
manager.SendJson(package);
MessageBoxEx.ShowDialog("发送成功 IP = " + manager.IP + " Port =" + manager.Port);
//MessageBoxEx.ShowDialog("发送成功 IP = " + manager.IP + " Port =" + manager.Port);
MessageBoxEx.ShowDialog("发送成功");
}
private List<List<List<int>>> Coordinate(List<PointCollection> points, double srcWidth, double srcHeight)
......@@ -354,6 +359,39 @@ namespace VIZ.FGOUT.Module
return listOuterMost;
}
private List<List<List<int>>> Coordinate(List<System.Windows.Rect> rects, 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 rect in rects)
{
int dx = Convert.ToInt32(rect.X / xp);
int dy = Convert.ToInt32(rect.Y / xy);
int width = Convert.ToInt32(rect.Width / xp);
int height = Convert.ToInt32(rect.Height / xy);
int x2 = dx + width;
int y2 = dy;
int x3 = dx + width;
int y3 = dy + height;
int x4 = dx;
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 } };
listOuterMost.Add(coordinates);
}
return listOuterMost;
}
/// <summary>
/// 保存配置命令
/// </summary>
......@@ -389,7 +427,8 @@ namespace VIZ.FGOUT.Module
setPlaceNewConfig.StartPlace = nDIView.polygonsStart;
setPlaceNewConfig.EndPlace = nDIView.polygonsEnd;
setPlaceNewConfig.InvlidPlace = nDIView.polygonsInvalid;
//setPlaceNewConfig.InvlidPlace = nDIView.polygonsInvalid;
setPlaceNewConfig.InvlidPlace = nDIView.rectsInvalid;
//ApplicationDomainEx.LiteDbContext.SetPlaceConfig.Upsert(setPlaceConfig);
ApplicationDomainEx.LiteDbContext.SetPlaceNewConfig.Upsert(setPlaceNewConfig);
......@@ -677,11 +716,17 @@ namespace VIZ.FGOUT.Module
if (setPlaceNewConfig.InvlidPlace.Count > 0)
{
view.polygonsInvalid = setPlaceNewConfig.InvlidPlace;
//view.polygonsInvalid = setPlaceNewConfig.InvlidPlace;
////view.rectInvalid = new Rect(setPlaceConfig.InvlidPlace[0], setPlaceConfig.InvlidPlace[1], setPlaceConfig.InvlidPlace[2], setPlaceConfig.InvlidPlace[3]);
////view.aa.AddGeometry(new RectangleGeometry(view.rectInvalid));
//foreach (var points in setPlaceNewConfig.InvlidPlace)
// AddPoints(view, points, Brushes.Red);
view.rectsInvalid = setPlaceNewConfig.InvlidPlace;
//view.rectInvalid = new Rect(setPlaceConfig.InvlidPlace[0], setPlaceConfig.InvlidPlace[1], setPlaceConfig.InvlidPlace[2], setPlaceConfig.InvlidPlace[3]);
//view.aa.AddGeometry(new RectangleGeometry(view.rectInvalid));
foreach (var points in setPlaceNewConfig.InvlidPlace)
AddPoints(view, points, Brushes.Red);
AddRects(view, points, Brushes.Red);
}
//view.myPath.Data = view.aa;
}
......@@ -699,6 +744,20 @@ namespace VIZ.FGOUT.Module
polygon.Points = points;
}
private void AddRects(NDIView view, System.Windows.Rect points, Brush brush)
{
PathGeometry aa = new PathGeometry();
aa.AddGeometry(new RectangleGeometry(points));
var myPath = new Path
{
Fill = Brushes.Transparent,
Stroke = Brushes.Red,
StrokeThickness = 1,
Data = aa
};
view.canvas1.Children.Add(myPath);
}
/// <summary>
/// 更新裁切框平滑系数
/// </summary>
......
#pragma checksum "..\..\..\..\..\NDIView\View\NDIView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4C53870627456E69FD41DB4A8FBCB21CFC262A56D9C54343A3B4412BE754F5A5"
#pragma checksum "..\..\..\..\..\NDIView\View\NDIView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "50A3F2F42F19F0BA024180A4E588F55EAD42EB852476710A326DD09B9C860D0B"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
......@@ -68,7 +68,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 322 "..\..\..\..\..\NDIView\View\NDIView.xaml"
#line 326 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.Framework.Common.VideoControl video;
......@@ -76,7 +76,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 327 "..\..\..\..\..\NDIView\View\NDIView.xaml"
#line 332 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Canvas canvas1;
......@@ -120,24 +120,48 @@ namespace VIZ.FGOUT.Module {
this.Border = ((System.Windows.Controls.Border)(target));
#line 308 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);
this.Border.KeyDown += new System.Windows.Input.KeyEventHandler(this.Border_OnKeyDown);
#line default
#line hidden
#line 309 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonUp);
this.Border.KeyUp += new System.Windows.Input.KeyEventHandler(this.Border_OnKeyUp);
#line default
#line hidden
#line 310 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove);
this.Border.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Border_OnPreviewKeyDown);
#line default
#line hidden
#line 311 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.Border_OnPreviewKeyUp);
#line default
#line hidden
#line 312 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);
#line default
#line hidden
#line 313 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonUp);
#line default
#line hidden
#line 314 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove);
#line default
#line hidden
#line 315 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_OnPreviewMouseRightButtonDown);
#line default
......
#pragma checksum "..\..\..\..\..\NDIView\View\NDIView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "4C53870627456E69FD41DB4A8FBCB21CFC262A56D9C54343A3B4412BE754F5A5"
#pragma checksum "..\..\..\..\..\NDIView\View\NDIView.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "50A3F2F42F19F0BA024180A4E588F55EAD42EB852476710A326DD09B9C860D0B"
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
......@@ -68,7 +68,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 322 "..\..\..\..\..\NDIView\View\NDIView.xaml"
#line 326 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal VIZ.Framework.Common.VideoControl video;
......@@ -76,7 +76,7 @@ namespace VIZ.FGOUT.Module {
#line hidden
#line 327 "..\..\..\..\..\NDIView\View\NDIView.xaml"
#line 332 "..\..\..\..\..\NDIView\View\NDIView.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Canvas canvas1;
......@@ -120,24 +120,48 @@ namespace VIZ.FGOUT.Module {
this.Border = ((System.Windows.Controls.Border)(target));
#line 308 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);
this.Border.KeyDown += new System.Windows.Input.KeyEventHandler(this.Border_OnKeyDown);
#line default
#line hidden
#line 309 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonUp);
this.Border.KeyUp += new System.Windows.Input.KeyEventHandler(this.Border_OnKeyUp);
#line default
#line hidden
#line 310 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove);
this.Border.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.Border_OnPreviewKeyDown);
#line default
#line hidden
#line 311 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.Border_OnPreviewKeyUp);
#line default
#line hidden
#line 312 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonDown);
#line default
#line hidden
#line 313 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseLeftButtonUp += new System.Windows.Input.MouseButtonEventHandler(this.Border_MouseLeftButtonUp);
#line default
#line hidden
#line 314 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseMove += new System.Windows.Input.MouseEventHandler(this.Border_MouseMove);
#line default
#line hidden
#line 315 "..\..\..\..\..\NDIView\View\NDIView.xaml"
this.Border.PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.Border_OnPreviewMouseRightButtonDown);
#line default
......
......@@ -10,11 +10,11 @@ none
false
DEBUG;TRACE
22-1559853185
4-137960189
90-1236168610
151-737430311
22-808211288
4414250355
90-747441034
151697787199
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;
True
False
D:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\obj\x64\Debug\GeneratedInternalTypeHelper.g.cs

FD:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIMainView\View\NDIMainView.xaml;;
FD:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIPreviewView\View\NDIPreviewView.xaml;;
......
using System.Collections.Generic;
using System.Windows;
using System.Windows.Media;
namespace VIZ.FGOUT.Storage
......@@ -24,6 +25,7 @@ namespace VIZ.FGOUT.Storage
/// <summary>
/// 无效位置
/// </summary>
public List<PointCollection> InvlidPlace { get; set; } = new List<PointCollection>();
//public List<PointCollection> InvlidPlace { get; set; } = new List<PointCollection>();
public List<Rect> InvlidPlace { get; set; } = new List<Rect>();
}
}
......@@ -110,6 +110,7 @@
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="CSV\Algorithm\AlgorithmBorderScene.cs" />
......
4eb86bfe6ccc5d8d0d4c02849c1cddbfdee97841
38478df6363104abbce807186aeaa82dc35c2c4b
2023-09-18 10:23:30,875 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 10:38:25,073 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 10:44:47,795 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 10:45:55,000 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 10:51:20,229 [9] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 10:56:38,016 [9] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 10:56:51,518 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 14:45:06,531 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 14:45:06,875 [21] ERROR VIZ.Framework.Module.AppSetup_CatchUnhandledException - System.TypeInitializationException: “OpenCvSharp.Internal.NativeMethods”的类型初始值设定项引发异常。 ---> System.DllNotFoundException: 无法加载 DLL“OpenCvSharpExtern”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
在 OpenCvSharp.Internal.NativeMethods.redirectError(CvErrorCallback errCallback, IntPtr userdata, IntPtr& prevUserdata)
在 OpenCvSharp.Internal.NativeMethods.LoadLibraries(IEnumerable`1 additionalPaths)
在 OpenCvSharp.Internal.NativeMethods..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 OpenCvSharp.Internal.NativeMethods.core_Mat_new8(Int32 rows, Int32 cols, Int32 type, IntPtr data, IntPtr step, IntPtr& returnValue)
在 OpenCvSharp.Mat..ctor(Int32 rows, Int32 cols, MatType type, IntPtr data, Int64 step)
在 VIZ.FGOUT.Module.NDIViewModel.NDIStream_ExecuteVideoFrame(Object sender, VideoFrameEventArgs e) 位置 D:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\ViewModel\NDIViewModel.Manual_NDI.cs:行号 185
在 VIZ.Framework.Common.VideoStreamBase`1.TriggerExecuteVideoFrame(IVideoFrame frame) 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\VideoStreamBase.cs:行号 79
在 VIZ.Framework.Common.NDIStreamExecuteVideoTask.Execute() 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\NDI\Task\NDIStreamExecuteVideoTask.cs:行号 50
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart()
2023-09-18 14:57:46,005 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 14:57:46,432 [24] ERROR VIZ.Framework.Module.AppSetup_CatchUnhandledException - System.TypeInitializationException: “OpenCvSharp.Internal.NativeMethods”的类型初始值设定项引发异常。 ---> System.DllNotFoundException: 无法加载 DLL“OpenCvSharpExtern”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
在 OpenCvSharp.Internal.NativeMethods.redirectError(CvErrorCallback errCallback, IntPtr userdata, IntPtr& prevUserdata)
在 OpenCvSharp.Internal.NativeMethods.LoadLibraries(IEnumerable`1 additionalPaths)
在 OpenCvSharp.Internal.NativeMethods..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 OpenCvSharp.Internal.NativeMethods.core_Mat_new8(Int32 rows, Int32 cols, Int32 type, IntPtr data, IntPtr step, IntPtr& returnValue)
在 OpenCvSharp.Mat..ctor(Int32 rows, Int32 cols, MatType type, IntPtr data, Int64 step)
在 VIZ.FGOUT.Module.NDIViewModel.NDIStream_ExecuteVideoFrame(Object sender, VideoFrameEventArgs e) 位置 D:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\ViewModel\NDIViewModel.Manual_NDI.cs:行号 186
在 VIZ.Framework.Common.VideoStreamBase`1.TriggerExecuteVideoFrame(IVideoFrame frame) 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\VideoStreamBase.cs:行号 79
在 VIZ.Framework.Common.NDIStreamExecuteVideoTask.Execute() 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\NDI\Task\NDIStreamExecuteVideoTask.cs:行号 50
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart()
2023-09-18 14:59:34,463 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 14:59:34,730 [21] ERROR VIZ.Framework.Module.AppSetup_CatchUnhandledException - System.TypeInitializationException: “OpenCvSharp.Internal.NativeMethods”的类型初始值设定项引发异常。 ---> System.DllNotFoundException: 无法加载 DLL“OpenCvSharpExtern”: 找不到指定的模块。 (异常来自 HRESULT:0x8007007E)。
在 OpenCvSharp.Internal.NativeMethods.redirectError(CvErrorCallback errCallback, IntPtr userdata, IntPtr& prevUserdata)
在 OpenCvSharp.Internal.NativeMethods.LoadLibraries(IEnumerable`1 additionalPaths)
在 OpenCvSharp.Internal.NativeMethods..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 OpenCvSharp.Internal.NativeMethods.core_Mat_new8(Int32 rows, Int32 cols, Int32 type, IntPtr data, IntPtr step, IntPtr& returnValue)
在 OpenCvSharp.Mat..ctor(Int32 rows, Int32 cols, MatType type, IntPtr data, Int64 step)
在 VIZ.FGOUT.Module.NDIViewModel.NDIStream_ExecuteVideoFrame(Object sender, VideoFrameEventArgs e) 位置 D:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\ViewModel\NDIViewModel.Manual_NDI.cs:行号 185
在 VIZ.Framework.Common.VideoStreamBase`1.TriggerExecuteVideoFrame(IVideoFrame frame) 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\VideoStreamBase.cs:行号 79
在 VIZ.Framework.Common.NDIStreamExecuteVideoTask.Execute() 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\NDI\Task\NDIStreamExecuteVideoTask.cs:行号 50
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart()
2023-09-18 15:04:34,491 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:05:45,469 [1] ERROR VIZ.Framework.Module.AppSetup_CatchUnhandledException - SharpDX.SharpDXException: HRESULT: [0x80070057], Module: [General], ApiCode: [E_INVALIDARG/Invalid Arguments], Message: 参数错误。
在 SharpDX.Result.CheckError() 位置 C:\projects\sharpdx\Source\SharpDX\Result.cs:行号 195
在 SharpDX.Direct2D1.RenderTarget.CreateBitmap(Size2 size, IntPtr srcData, Int32 pitch, BitmapProperties bitmapProperties, Bitmap bitmap) 位置 C:\projects\sharpdx\Source\SharpDX.Direct2D1\Generated\DESKTOP_APP\Interfaces.cs:行号 9136
在 SharpDX.Direct2D1.Bitmap..ctor(RenderTarget renderTarget, Size2 size, DataPointer dataPointer, Int32 pitch, BitmapProperties bitmapProperties) 位置 C:\projects\sharpdx\Source\SharpDX.Direct2D1\Bitmap.cs:行号 86
在 VIZ.Framework.Common.VideoCustomRender.RenderVideoFrame(VideoRenderContext context) 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Control\VideoCustomRender.cs:行号 174
在 VIZ.Framework.Common.VideoCustomRender.Render(VideoRenderContext context) 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Control\VideoCustomRender.cs:行号 144
在 VIZ.Framework.Common.VideoCustomRender.Render(RenderTarget target) 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Control\VideoCustomRender.cs:行号 123
在 VIZ.Framework.Common.D2dControl.PrepareAndCallRender() 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\SharpDx\WPF\D2dControl.cs:行号 256
在 VIZ.Framework.Common.D2dControl.OnRendering(Object sender, EventArgs e) 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\SharpDx\WPF\D2dControl.cs:行号 116
在 System.EventHandler.Invoke(Object sender, EventArgs e)
在 System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
在 System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2023-09-18 15:05:52,201 [4] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:07:35,267 [13] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:08:29,817 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:11:36,344 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:14:48,446 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:16:31,330 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:22:23,621 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:24:28,757 [13] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:26:01,949 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:26:44,117 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:29:07,187 [13] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:32:26,088 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:33:50,769 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:36:36,361 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:46:20,680 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:53:03,974 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:55:41,326 [11] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:57:34,585 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 15:58:15,820 [13] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:17:06,850 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:18:47,913 [13] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:19:09,990 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:35:56,990 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:36:36,790 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:38:37,483 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:41:03,840 [23] ERROR VIZ.Framework.Module.AppSetup_CatchUnhandledException - System.NullReferenceException: 未将对象引用设置到对象的实例。
在 VIZ.FGOUT.Module.NDIViewModel.NDIStream_ExecuteVideoFrame(Object sender, VideoFrameEventArgs e) 位置 D:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\ViewModel\NDIViewModel.Manual_NDI.cs:行号 174
在 VIZ.Framework.Common.VideoStreamBase`1.TriggerExecuteVideoFrame(IVideoFrame frame) 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\VideoStreamBase.cs:行号 79
在 VIZ.Framework.Common.NDIStreamExecuteVideoTask.Execute() 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\NDI\Task\NDIStreamExecuteVideoTask.cs:行号 50
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart()
2023-09-18 16:41:15,486 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:42:22,574 [23] ERROR VIZ.Framework.Module.AppSetup_CatchUnhandledException - System.NullReferenceException: 未将对象引用设置到对象的实例。
在 VIZ.FGOUT.Module.NDIViewModel.NDIStream_ExecuteVideoFrame(Object sender, VideoFrameEventArgs e) 位置 D:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIView\ViewModel\NDIViewModel.Manual_NDI.cs:行号 174
在 VIZ.Framework.Common.VideoStreamBase`1.TriggerExecuteVideoFrame(IVideoFrame frame) 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\VideoStreamBase.cs:行号 79
在 VIZ.Framework.Common.NDIStreamExecuteVideoTask.Execute() 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Common\VideoControl\Stream\NDI\Task\NDIStreamExecuteVideoTask.cs:行号 50
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Threading.ThreadHelper.ThreadStart()
2023-09-18 16:45:56,347 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:46:50,417 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:55:00,997 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 16:55:40,262 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 17:04:06,142 [3] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 17:06:40,251 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 17:08:33,850 [9] ERROR VIZ.FGOUT.Module.LoopController - System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
2023-09-20 10:25:19,614 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 10:48:12,175 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 10:58:57,852 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 14:30:51,004 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 14:35:04,348 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 14:37:50,047 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 14:40:09,024 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 14:42:46,993 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 14:43:28,397 [13] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:02:35,540 [4] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:03:32,109 [4] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:14:40,739 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:15:00,166 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:15:18,342 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:15:36,431 [14] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:16:04,720 [3] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:25:11,616 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:26:14,024 [13] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:26:24,490 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 15:26:49,163 [3] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 16:13:00,703 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 16:13:20,481 [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.UdpClient.Receive(IPEndPoint& remoteEP)
在 VIZ.Framework.Connection.UdpConnection.ReceiveMessage() 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Connection\Protocol\UDP\UdpConnection.cs:行号 163
2023-09-20 16:14:59,860 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 16:15:35,557 [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.UdpClient.Receive(IPEndPoint& remoteEP)
在 VIZ.Framework.Connection.UdpConnection.ReceiveMessage() 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Connection\Protocol\UDP\UdpConnection.cs:行号 163
2023-09-20 16:16:09,220 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 16:20:25,197 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 16:21:07,860 [13] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 16:32:37,661 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:41:17,205 [9] ERROR VIZ.FGOUT.Module.LoopController - System.InvalidOperationException: 集合已修改;可能无法执行枚举操作。
在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
在 System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext()
在 System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
......@@ -123,12 +41,13 @@
在 VIZ.Framework.Core.ServiceManager.GetServiceList[T]() 位置 D:\Projects\FGOUT\VIZ.Framework\VIZ.Framework.Core\Core\WPF\ServiceManager.cs:行号 72
在 VIZ.FGOUT.Module.LoopController.UpdateAlgorithmTargetBoxLostFrame() 位置 D:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIMainView\Controller\Loop\LoopController.cs:行号 146
在 VIZ.FGOUT.Module.LoopController.ExecuteLoop() 位置 D:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT.Module\NDIMainView\Controller\Loop\LoopController.cs:行号 82
2023-09-18 17:08:34,539 [3] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 17:11:09,824 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 17:13:14,225 [13] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 17:14:10,270 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 17:15:13,350 [14] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 17:42:11,111 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 17:42:21,567 [3] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 18:46:11,010 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-18 18:47:16,752 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:41:21,863 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:42:46,232 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:43:47,847 [4] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:44:20,365 [4] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:45:24,335 [4] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:45:36,549 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:53:47,837 [10] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:53:48,227 [12] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:55:43,180 [4] ERROR VIZ.FGOUT.Module.AlgorithmControllerBase - 算法'Single'的启动路径:'C:\projects\org\person_v1.1.0.0\main_person_new22.py'不正确!
2023-09-20 17:55:43,575 [12] 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
false
DEBUG;TRACE
D:\Projects\FGOUT\VIZ.FGOUT\VIZ.FGOUT\App.xaml
21265083526
2-1347366880
6-790135758
42-431505870
6968741766
431460283494
CloseAlgorithmWindow.xaml;MainWindow.xaml;
True
False
......@@ -67,14 +67,12 @@ namespace VIZ.Framework.Connection
{
string msg = obj == null ? string.Empty : JsonConvert.SerializeObject(obj, JSON_SERIALIZER_SETTINGS);
SendString(manager, msg, Encoding.UTF8);
log.Info("发送UDPJosn串:"+msg);
}
public static void SendJsonString(this UdpEndpointManager manager, string msg)
{
SendString(manager, msg, Encoding.UTF8);
log.Info("发送UDPJosn串:" + msg);
}
}
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VIZ.Framework.Core;
using VIZ.Framework.Storage;
......
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