Commit 59b5500a by 鲁志-悦动

算法红绿状态灯方法优化

parent 7406b747
...@@ -62,7 +62,8 @@ namespace VIZ.FGOUT.Module ...@@ -62,7 +62,8 @@ namespace VIZ.FGOUT.Module
{ {
//this.Detect(); //this.Detect();
this.Support.ViewStatus = NDIViewStatus.Detect; //this.Support.ViewStatus = NDIViewStatus.Detect;
this.Support.ViewStatus = NDIViewStatus.CropRoi;
UdpEndpointManager manager = ConnectionManager.UdpConnection.GetEndpointManager(NDIViewKeys.CAM_1); UdpEndpointManager manager = ConnectionManager.UdpConnection.GetEndpointManager(NDIViewKeys.CAM_1);
//算法重启后,向算法发送保存在数据库的相关体育项目的算法数据 //算法重启后,向算法发送保存在数据库的相关体育项目的算法数据
var ndiViewConfig = var ndiViewConfig =
......
...@@ -66,7 +66,7 @@ namespace VIZ.Framework.Connection ...@@ -66,7 +66,7 @@ namespace VIZ.Framework.Connection
{ {
string msg = obj == null ? string.Empty : JsonConvert.SerializeObject(obj, JSON_SERIALIZER_SETTINGS); string msg = obj == null ? string.Empty : JsonConvert.SerializeObject(obj, JSON_SERIALIZER_SETTINGS);
SendString(manager, msg, Encoding.UTF8); SendString(manager, msg, Encoding.UTF8);
log.Info("发送UDPJosn串:"+msg); //log.Info("发送UDPJosn串:"+msg);
} }
/// <summary> /// <summary>
...@@ -77,7 +77,7 @@ namespace VIZ.Framework.Connection ...@@ -77,7 +77,7 @@ namespace VIZ.Framework.Connection
public static void SendJsonString(this UdpEndpointManager manager, string msg) public static void SendJsonString(this UdpEndpointManager manager, string msg)
{ {
SendString(manager, msg, Encoding.UTF8); SendString(manager, msg, Encoding.UTF8);
log.Info("发送UDPJosn串:" + msg); //log.Info("发送UDPJosn串:" + msg);
} }
} }
} }
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