using System.ComponentModel; using DispenserCommon.Atrributes; using SQLite; namespace DispenserCore.Model.Entity; /// /// 相机参数 /// [Table("camera_params")] [Description("相机参数")] public class CameraParams : Entity { [Column("camera_sn"), Description("相机序列号")] public string CameraSn { get; set; } [Column("sdk"), Description("SDK")] public string Sdk { get; set; } [Column("dll"), Description("DLL")] public string Dll { get; set; } [Column("scale_ratio"), Description("视频缩放比例")] public double ScaleRatio { get; set; } [Column("pixel_length"), Description("像素长度"), Property(Format = "0.########")] public double PixelLength { get; set; } [Column("deflect_angle"), Description("相机偏转角度"), Property(Format = "0.#####")] public double DeflectAngle { get; set; } [Column("camera_inner_param_template"), Description("相机内参模板")] public string CameraInnerParamTemplate { get; set; } }