| 124 | /// 3. 控制面聚合体 |
| 125 | #[allow(missing_debug_implementations)] |
| 126 | pub struct DeviceControls { |
| 127 | pub sensor: Box<dyn SensorControl>, // 传感器控制 (曝光, 增益) |
| 128 | pub lens: Box<dyn LensControl>, // 镜头控制 (变焦, 对焦) - 独立锁 |
| 129 | pub system: Box<dyn SystemControl>, // 系统控制 (复位, 触发) |
| 130 | } |
| 131 | |
| 132 | /// 传感器控制 Trait |
| 133 | pub trait SensorControl: Send + Sync { |
nothing calls this directly
no outgoing calls
no test coverage detected