using System.Xml.Serialization; namespace SmartCoalApplication.Base.SettingModel { /// /// 相机设置参数配置信息 /// [XmlRoot("ROOT")] public class CameraParamModel { [XmlElement("ParameterSets")] public ParameterSets parame { get; set; } public class ParameterSets { public int Resolution; // 分辨率 public int PixelClock; // 像素时钟 public int BitOfDepth; // 比特深度 public int GlobalGain; // 全局增益 public int Brightness; // 亮度 public int ATExposure; // 自动曝光 public int FMExposure; // fm曝光 public double LNExposure; // 曝光时间 public int PreExposure; // 曝光百分比 public int BlackLevel; // 黑度 public int WhiteBalance; // 白平衡 public int BlackBalance; // 黑平衡 public int Monochromatic; // 单色的 public int FlatFieldCorrection; // 平场校正 public int Sharpness; // 锐利 public int Temperature; // 温度 public int FanMode; // 风扇模式 public int Trigger; // 触发 public int TriggerOutput; // 触发器输出 public int TriggerSource; // 触发源 public int TriggerOption; // 触发选项 public int TriggerNumber; // 触发数 public int BlackLevelHighGain; // 黑电平高增益 public int BlackLevelLowGain; // 黑电平低增益 public int Enhance; // 增强 public int DefectCorrectionValue; // 缺陷修正值 public int MultipleCameras; // 多摄像机 public int FrequencyPermission; // 频率终止 public int FrequencyValue; // 频率值 public int NegativeFilm; // 底片 public int HDR; // 高动态范围成像 public int BlackLevelOffsetEnable; // BlackLevelOffsetable可检测 public int EnhanceStrength; // 增强血统 public int RateMode; // 速率模式 public int AreaWhiteBalanceEnable; // 区域白平衡启用 public int ATExposureMode; // ATExposureMode公司 public int BinningSumation; // BinningSumation酒店 public int Gamma; // 伽马 public int Contrast; // 对比度 public int Saturation; // 饱和 public int GainChannel; // GainChannel公司 public double RedChannel; // 红色通道 public double GreenChannel; // 绿色通道 public double BlueChannel; // 蓝海峡 public int ColorTemperature; // 色温 public int LeftLevels; // 左水平 public int RightLevels; // 右水平 public int RedLeftLevels; // 红左水平 public int RedRightLevels; // 红光级别 public int GreenLeftLevels; // 左绿色级别 public int GreenRightLevels; // 绿色等级 public int BlueLeftLevels; // 蓝左级别 public int BlueRightLevels; // 蓝右级别 public int HistogramStatistic; // 组织统计 public int AutoLevels; // 自动水平仪 public int Horizontal; // 水平 public int Vertical; // 垂直 public int VerticalCorrection; // 垂直校正 public int ChannelsSelect; // 通道选择 public int RotateR90; // 右旋90 不旋转0 旋转1 public int RotateL90; // 左旋90 不旋转0 旋转1 public int Rotate; // 右旋 不旋转0 旋转90度1 旋转180度2 旋转2700度3 public int Hue; // 色调 public int Light; // 轻 /// /// 扩展值 /// public int CapterATExposure;//拍摄时自动曝光 public int PreviewATExposure;//预览时自动曝光 public int ShowColorPBoxFlag; //显示颜色通道 public int CapterATCapterUse;//拍摄时可使用 public int PreviewATCapterUse;//预览时可使用 //起始点坐标 public int previewRectX;//X坐标 public int previewRectY;//Y坐标 //图片尺寸 public int previewRectW;//区域宽度 public int previewRectH;//区域高度 } } }