using Aurora.Api; using PropertyTools.DataAnnotations; namespace ILSOS_PrismaticRD_PTOP.Settings { // Laser 발진 인터락 세팅 (세팅 메뉴에 PropertyGrid로 자동 노출) public class LaserInterlockSetting : ISettingItem { // 체크 시 인터락 동작, 해제 시 미동작 (기본 false: 설정·검증 후 사용) [Browsable(true)] [ReadOnly(false)] [Category("Head Theta Interlock")] [DisplayName("Use Interlock")] public bool HeadThetaInterlockEnabled { get; set; } = false; [Browsable(true)] [ReadOnly(false)] [Category("Head Theta Interlock")] [DisplayName("Front Angle (deg)")] public double HeadThetaFront { get; set; } = 0; [Browsable(true)] [ReadOnly(false)] [Category("Head Theta Interlock")] [DisplayName("Down Angle (deg)")] public double HeadThetaDown { get; set; } = 90; [Browsable(true)] [ReadOnly(false)] [Category("Head Theta Interlock")] [DisplayName("Tolerance (±deg)")] public double HeadThetaTolerance { get; set; } = 2.5; // PLC Head_Theta_Position 스케일. deg×10 가정(미확정) → 실값 확인 후 조정. [Browsable(true)] [ReadOnly(false)] [Category("Head Theta Interlock")] [DisplayName("PLC Scale (deg×?)")] public double HeadThetaPlcScale { get; set; } = 10; } }