Camera Information System
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
733 B

namespace Cis.Application.Core.Component.MarkSeacher;
public class DaHuaMarkSearcher : MarkSearcherBase
{
public DaHuaMarkSearcher(CameraCalcParams cameraCalcParams) : base(cameraCalcParams)
{
}
#region Implement
protected override double ConvertPanPosToAngle(double panPos)
{
double ret = (-0.1 * panPos) / 180 * Math.PI;
return ret;
}
protected override double ConvertTiltPosToAngle(double tiltPos, double tiltMinPos = 0)
{
double ret = (0.1 * tiltPos) / 180 * Math.PI;
return ret;
}
protected override double GetZoomTag(double zoomPos)
{
double ret = zoomPos / (128.0 / 42.0) + 1;
return ret;
}
#endregion Implement
}