|
@ -1,4 +1,5 @@ |
|
|
using EC.Helper.CameraSDK; |
|
|
using EC.Helper.CameraSDK; |
|
|
|
|
|
using EC.Helper.RabbitFunc.Expressions; |
|
|
|
|
|
|
|
|
namespace Cis.Application.Core.Component.MarkSeacher; |
|
|
namespace Cis.Application.Core.Component.MarkSeacher; |
|
|
|
|
|
|
|
@ -27,6 +28,11 @@ public class CameraCalcParams |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public double FocusY { get; set; } |
|
|
public double FocusY { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// ZoomVaryExpr
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public LambdaExpression ZoomVaryExpr { get; set; } |
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 视频宽度
|
|
|
/// 视频宽度
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
@ -37,7 +43,7 @@ public class CameraCalcParams |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
public int VideoHeight { get; set; } |
|
|
public int VideoHeight { get; set; } |
|
|
|
|
|
|
|
|
public static CameraCalcParams New(long id, PtzInfo ptzInfo, double focusX, double focusY, int videoWidth = 1920, int videoHeight = 1080) |
|
|
public static CameraCalcParams New(long id, PtzInfo ptzInfo, double focusX, double focusY, LambdaExpression ZoomVaryExpr, int videoWidth = 1920, int videoHeight = 1080) |
|
|
{ |
|
|
{ |
|
|
return new() |
|
|
return new() |
|
|
{ |
|
|
{ |
|
@ -45,6 +51,7 @@ public class CameraCalcParams |
|
|
PtzInfo = ptzInfo, |
|
|
PtzInfo = ptzInfo, |
|
|
FocusX = focusX, |
|
|
FocusX = focusX, |
|
|
FocusY = focusY, |
|
|
FocusY = focusY, |
|
|
|
|
|
ZoomVaryExpr = ZoomVaryExpr, |
|
|
VideoWidth = videoWidth, |
|
|
VideoWidth = videoWidth, |
|
|
VideoHeight = videoHeight, |
|
|
VideoHeight = videoHeight, |
|
|
}; |
|
|
}; |
|
|