namespace CCDCount.MODEL.ConfigModel { public class CameraConfig { /// /// 相机编号 /// 用于PLC区分相机 /// 生成Config时需要进行不可重复判断 /// public int CamerNo { get; set; } = -1; /// /// 相机序列号 /// public string CameraSNNum { get; set; } = string.Empty; /// /// 曝光时间 /// public float ExposureTimeValue { get; set; } = 100; /// /// 采集行频 /// public int AcquistionLineRateValue { get; set; } = 4000; /// /// 图像高度 /// public int Height { get; set; } /// /// 图像宽度 /// public int Width { get; set; } /// /// 图像X偏移 /// public int OffsetX { get; set; } /// /// 相机名称 /// public string CameraName { get; set; } = string.Empty; /// /// 设备名称 /// public string DeviceName { get; set; } = string.Empty; /// /// 是否为配置文件读取 /// public bool IsLoadCanfig { get; set; } = false; /// /// 是否默认打开 /// public bool IsOpenLoad { get; set; } = true; } }