5a96a696b1
- 펌웨어(program), C# 대시보드(TestProgram), 시뮬레이터(Simulator), 프로토콜/문서(Protocol, doc) 전체를 단일 저장소로 통합 - program 폴더의 별도 git 저장소를 제거하고 통합 저장소에 흡수 - 빌드 산출물(program/build, bin/obj, *.o/.elf/.bin/.hex 등) .gitignore 처리 - 사내 Synology NAS Git 원격 연결 예정 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
52 lines
1.3 KiB
C#
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;
|
|
}
|
|
}
|