Files
HECO2/TestProgram/ErvProtocol/Enums.cs
T
jeon a502322188 chore: HERV 통합 저장소 재초기화 커밋
손상된 .git 히스토리(missing tree)로 재초기화 후 작업트리 전체 커밋.
.claude/ 만 제외(로컬 에이전트 설정). 구 저장소 백업(.git_corrupt_backup/) 포함.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 09:32:17 +09:00

52 lines
1.3 KiB
C#

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;
}
}