namespace ErvProtocol { // 운전모드 (PC_ERV_Protocol.md 3.1) public enum RunMode : byte { Off = 0x00, Vent = 0x01, // 환기 Auto = 0x02, // 자동 AirClean = 0x03, // 공청 Bypass = 0x04, // 바이패스 } // 자동운전 상태 (3.4) public enum AutoState : byte { Distribute = 0x00, // 분산 Focus = 0x01, // 집중 } // 히스테리시스 프리셋 public enum HystPreset : byte { Eco = 0x00, Normal = 0x01, Turbo = 0x02, } // 공기질 상태 (3.3) - 판단 기준은 협의 예정 public enum AirQuality : byte { VeryBad = 0x01, // 매우나쁨 - 빨강 Bad = 0x02, // 나쁨 - 주황 Normal = 0x03, // 보통 - 초록 Good = 0x04, // 좋음 - 파랑 } // 부가모드 type (CTRL_SUBMODE) public enum SubModeType : byte { SmartSleep = 0x01, // 스마트수면 ComfortCook = 0x02, // 쾌적조리 ReliefRecover = 0x03, // 안심회복 } public static class SubModeBits { public const byte SmartSleep = 0x01; public const byte ComfortCook = 0x02; public const byte ReliefRecover = 0x04; } }