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.

58 lines
1.4 KiB

namespace Cis.Application.Cb;
/// <summary>
/// 相机参数表
/// </summary>
[SugarTable(CbInfo.CbCameraParamsTbName, CbInfo.CbCameraParamsTbDesc)]
[Tenant(CbInfo.DbName)]
public class CbCameraParams : EntityBase
{
/// <summary>
/// 名称
/// </summary>
[SugarColumn(ColumnDescription = "名称", Length = 64)]
[Required, MaxLength(64)]
public string Name { get; set; }
/// <summary>
/// 相机厂商
/// </summary>
[SugarColumn(ColumnDescription = "相机厂商")]
[Required]
public int Manufactor { get; set; }
/// <summary>
/// sdk 端口
/// </summary>
[SugarColumn(ColumnDescription = "sdk端口")]
[Required]
public int SdkPort { get; set; }
/// <summary>
/// 相机类型
/// </summary>
[SugarColumn(ColumnDescription = "相机类型")]
[Required]
public int Type { get; set; }
/// <summary>
/// FocusX
/// </summary>
[SugarColumn(ColumnDescription = "FocusX")]
[Required]
public double FocusX { get; set; }
/// <summary>
/// FocusY
/// </summary>
[SugarColumn(ColumnDescription = "FocusY")]
[Required]
public double FocusY { get; set; }
/// <summary>
/// zoom变化函数
/// </summary>
[SugarColumn(ColumnDescription = "zoom变化函数", Length = 256)]
[Required, MaxLength(256)]
public string ZoomVaryFunc { get; set; }
}